Function at 0x4094e0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov word [ebp - 0x1a], cx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], 0x2a055c95
jmp 0x409540
mov dword [ebp - 0x40], 0x9f6c5572
mov eax, dword [ebp - 0x40]
cmp eax, 0x9f6c5571
jg 0x409560
cmp eax, 0x874b7a42
jne 0x409540
jmp 0x409539
cmp eax, 0x65599b8e
jg 0x4095a0
cmp eax, 0x51eed931
jg 0x4095b0
cmp eax, 0xa4495241
jg 0x4095c0
cmp eax, 0x9f6c5572
jne 0x409540
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 9]
mov dword [ebp - 0x40], 0x433d9385
jmp 0x409540
cmp eax, 0x65599b8f
jne 0x409540
mov dword [ebp - 0x40], 0x396f8f07
jmp 0x409540
cmp eax, 0x51eed932
jne 0x409540
mov dword [ebp - 0x40], 0x20c722f0
jmp 0x409540
cmp eax, 0xb4281542
jg 0x4095f2
cmp eax, 0xa4495242
jne 0x409540
mov eax, dword [ebp - 0x28]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xd3b15d00
jne 0x4095ea
mov eax, 0xc1351a0a
mov dword [ebp - 0x40], eax
jmp 0x409540
cmp eax, 0xbe610645
jg 0x409610
cmp eax, 0xb4281543
jne 0x409540
mov dword [ebp - 0x40], 0x7890932
jmp 0x409540
cmp eax, 0x433d9384
jg 0x409635
cmp eax, 0x3fc84587
jg 0x409659
cmp eax, 0xc1351a09
jg 0x40969c
cmp eax, 0xbe610646
jne 0x409540
jmp 0x409842
cmp eax, 0x433d9385
jne 0x409540
mov al, byte [ebp - 9]
test al, al
mov eax, 0x396d5777
jne 0x409651
mov eax, 0x2d39f62f
mov dword [ebp - 0x40], eax
jmp 0x409540
cmp eax, 0x3fc84588
jne 0x409540
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ebp - 0x1a]
mov esi, dword [ebp - 0x38]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x40], 0x65599b8f
jmp 0x409540
cmp eax, 0xd3b15cff
jg 0x4096c6
cmp eax, 0xc1351a0a
jne 0x409540
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xe72eb7f8
jmp 0x409540
cmp eax, 0xe185b994
jg 0x4096e4
cmp eax, 0xd3b15d00
jne 0x409540
mov dword [ebp - 0x40], 0x7890932
jmp 0x409540
cmp eax, 0xe72eb7f7
jg 0x409708
cmp eax, 0xe185b995
jne 0x409540
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], 0x9f6c5572
jmp 0x409540
cmp eax, 0xf37b313d
jg 0x409738
cmp eax, 0xe72eb7f8
jne 0x409540
mov ecx, dword [ebp - 0x30]
movzx edx, word [ebp - 0x1a]
mov eax, 0x51eed932
cmp dword [ecx + 0x18], edx
jbe 0x409730
mov eax, 0x3fc84588
mov dword [ebp - 0x40], eax
jmp 0x409540
cmp eax, 0xf8cf8cfe
jg 0x409756
cmp eax, 0xf37b313e
jne 0x409540
mov dword [ebp - 0x40], 0x396f8f07
jmp 0x409540
cmp eax, 0x7890931
jg 0x409774
cmp eax, 0xf8cf8cff
jne 0x409540
mov dword [ebp - 0x40], 0x20c722f0
jmp 0x409540
cmp eax, 0x20c722ef
jg 0x409792
cmp eax, 0x7890932
jne 0x409540
mov dword [ebp - 0x40], 0xf8cf8cff
jmp 0x409540
cmp eax, 0x2a055c94
jg 0x4097b7
cmp eax, 0x20c722f0
jne 0x409540
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0x65599b8f
jmp 0x409540
cmp eax, 0x2d39f62e
jg 0x4097e1
cmp eax, 0x2a055c95
jne 0x409540
mov eax, 0x874b7a42
cmp dword [ebp - 0x10], 0
je 0x4097d9
mov eax, 0xe72eb7f8
mov dword [ebp - 0x40], eax
jmp 0x409540
cmp eax, 0x2d39f62f
je 0x4097fb
cmp eax, 0x396d5777
jne 0x409825
mov dword [ebp - 0x40], 0x20c722f0
jmp 0x409540
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x28], eax
mov eax, 0xd3b15d00
cmp dword [ecx + edx], 0x4550
jne 0x40981d
mov eax, 0xa4495242
mov dword [ebp - 0x40], eax
jmp 0x409540
cmp eax, 0x396f8f07
jne 0x409540
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x40], 0xbe610646
jmp 0x409540
mov eax, dword [ebp - 8]
add esp, 0x3c
pop esi
pop ebp
ret