<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>b07c00</author_name>
  <author_url>https://blog.hatena.ne.jp/b07c00/</author_url>
  <blog_title>バイナリの歩き方</blog_title>
  <blog_url>https://07c00.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Windows環境において、多くのAPI関数の先頭に存在するMOV EDI,EDIという命令。たとえばMessageBoxWの先頭2バイトを次のようなプログラムで調べてみる。 // VC++ 2010 Express版 #include &lt;stdio.h&gt; #include &lt;Windows.h&gt; int main() { HMODULE user32 = ::LoadLibrary(L&quot;user32.dll&quot;); auto pMessageBoxW = reinterpret_cast&lt;decltype(MessageBoxW)*&gt; (GetProcAddress(user32, &quot;Mess…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F07c00.hatenablog.com%2Fentry%2F2013%2F08%2F06%2F165333&quot; title=&quot;関数先頭にあるMOV EDI,EDIって何だろう？ - バイナリの歩き方&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/b/b07c00/20130806/20130806163637.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-06 16:53:33</published>
  <title>関数先頭にあるMOV EDI,EDIって何だろう？</title>
  <type>rich</type>
  <url>https://07c00.hatenablog.com/entry/2013/08/06/165333</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
