Function at 0x47e6c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x4d5630]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, 0x5a4d
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x118], ebx
cmp word [edi], ax
jne 0x47ea21
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
jne 0x47ea21
mov eax, dword [ecx + 0x110]
add eax, dword [esi + 0x2c]
add eax, dword [esi + 0x1c]
mov dword [ecx + 0x118], eax
mov eax, dword [esi + 8]
mov dword [ecx + 0x10c], eax
lea eax, [ecx + 0xc]
mov dword [ebp - 0x10c], eax
cmp byte [eax], bl
jne 0x47e7a3
push dword [esi + 0x78]
push esi
push edi
call fcn.0047e410
add esp, 0xc
test eax, eax
je 0x47e75a
push dword [eax + 0xc]
push esi
push edi
call fcn.0047e410
mov ecx, dword [ebp - 0x110]
add esp, 0xc
push eax
call fcn.0047e340
jmp 0x47e7a3
call fcn.00438e90
test eax, eax
jg 0x47e790
push 0
push 0x104
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
lea ecx, [ebp - 0x1c8]
mov ebx, 1
call fcn.00438400
add eax, 8
push str.Could_not_find_exports_directory
push eax
call fcn.00404c5e
add esp, 8
test bl, 1
je 0x47e7a3
lea ecx, [ebp - 0x1c8]
and ebx, 0xfffffffe
call fcn.00438510
push dword [esi + 0x88]
push esi
push edi
call fcn.0047e410
add esp, 0xc
test eax, eax
je 0x47e8f8
push eax
call fcn.0047e470
add esp, 4
test eax, eax
je 0x47e89f
push dword [eax]
mov ecx, dword [eax + 4]
push esi
push edi
mov dword [ebp - 0x114], ecx
call fcn.0047e410
add esp, 0xc
mov dword [ebp - 0x118], eax
test eax, eax
je 0x47e83f
mov esi, dword [ebp - 0x10c]
cmp byte [esi], 0
jne 0x47e810
push esi
push 0x80
push str.ORIGINALFILENAME
push dword [ebp - 0x114]
push eax
call fcn.0047eaa0
add esp, 0x14
mov eax, dword [ebp - 0x110]
add eax, 0x8c
push eax
push 0x80
push str.FILEVERSION
push dword [ebp - 0x114]
push dword [ebp - 0x118]
call fcn.0047eaa0
add esp, 0x14
jmp 0x47e960
call fcn.00438e90
test eax, eax
jg 0x47e88e
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x1c8]
push 0
push 0x11a
mov esi, str._unknown_
cmp byte [eax], 0
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
cmovne esi, eax
or ebx, 2
call fcn.00438400
push esi
add eax, 8
push str.Could_not_find_version_info_in
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.00404c5e
add esp, 8
test bl, 2
je 0x47e95a
and ebx, 0xfffffffd
jmp 0x47e94f
call fcn.00438e90
test eax, eax
jg 0x47e8ee
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x1c8]
push 0
push 0x11e
mov esi, str._unknown_
cmp byte [eax], 0
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
cmovne esi, eax
or ebx, 4
call fcn.00438400
push esi
add eax, 8
push str.Could_not_find_version_resource_in
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.00404c5e
add esp, 8
test bl, 4
je 0x47e95a
and ebx, 0xfffffffb
jmp 0x47e94f
call fcn.00438e90
test eax, eax
jg 0x47e947
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x1c8]
push 0
push 0x122
mov esi, str._unknown_
cmp byte [eax], 0
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
cmovne esi, eax
or ebx, 8
call fcn.00438400
push esi
add eax, 8
push str.Could_not_find_resources_directory_in
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.00404c5e
add esp, 8
test bl, 8
je 0x47e95a
and ebx, 0xfffffff7
lea ecx, [ebp - 0x1c8]
call fcn.00438510
mov esi, dword [ebp - 0x10c]
cmp byte [esi], 0
jne 0x47ea85
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetMappedFileNameA
test eax, eax
je 0x47e9bf
lea eax, [ebp - 0x108]
push 0x5c
push eax
call fcn.0048e020
add esp, 8
test eax, eax
je 0x47ea85
mov ecx, dword [ebp - 0x110]
inc eax
push eax
call fcn.0047e340
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret 4
call fcn.00438e90
cmp eax, 2
jg 0x47e9fa
or ebx, 0x10
call sub.KERNEL32.DLL_GetLastError
push eax
push 2
push 0x12e
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
lea ecx, [ebp - 0x1d0]
call fcn.004384e0
add eax, 0x10
push str.GetMappedFileNameA_failed
push eax
call fcn.00404c5e
add esp, 8
test bl, 0x10
je 0x47ea85
lea ecx, [ebp - 0x1d0]
call fcn.00438780
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486d53
mov esp, ebp
pop ebp
ret 4
call fcn.00438e90
cmp eax, 2
jg 0x47ea75
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x1c8]
add eax, 0xc
mov esi, str._unknown_
push 2
push 0x132
push str.c:_buildbot_slaveworkdir_reposlar6desktop_2013_3desktopwindowscrash_reportermodule_info_impl.cc
cmp byte [eax], bl
mov ebx, 0x20
cmovne esi, eax
call fcn.00438400
push esi
add eax, 8
push str.GetNtHeaders_failed_for
push eax
call fcn.00404c5e
add esp, 8
push eax
call fcn.00404c5e
add esp, 8
test bl, 0x20
je 0x47ea85
lea ecx, [ebp - 0x1c8]
call fcn.00438510
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00486d53
mov esp, ebp
pop ebp
ret 4