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

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov word [ebp - 0x16], cx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x3c], 0x1582909
jmp 0x40c2d0
mov dword [ebp - 0x3c], eax
nop
nop
nop
nop
mov eax, dword [ebp - 0x3c]
cmp eax, 0x61ceec3f
jg 0x40c350
cmp eax, 0x471c5a8e
jg 0x40c390
cmp eax, 0x3231389e
jg 0x40c3b4
cmp eax, 0x2ca8abdd
jg 0x40c3dd
cmp eax, 0x22900f6d
jg 0x40c408
cmp eax, 0x1d391859
jg 0x40c41f
cmp eax, 0x1ac4676b
jg 0x40c436
cmp eax, 0x355ee01
jg 0x40c44d
cmp eax, 0x90c660b5
jg 0x40c46b
cmp eax, 0x90516926
jne 0x40c2d0
mov dword [ebp - 0x3c], 0xf6f85427
jmp 0x40c2d0
cmp eax, 0x61ceec40
jne 0x40c2d0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x24], eax
mov eax, 0x1d39185a
cmp dword [ecx + edx], 0x4550
jne 0x40c2c9
mov eax, 0x2ca8abde
jmp 0x40c2c9
cmp eax, 0x471c5a8f
jne 0x40c2d0
mov al, byte [ebp - 5]
test al, al
mov eax, 0x22900f6e
jne 0x40c3ac
mov eax, 0x61ceec40
mov dword [ebp - 0x3c], eax
jmp 0x40c2d0
cmp eax, 0x3231389f
jne 0x40c2d0
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x16]
mov eax, 0xf0954f05
cmp dword [ecx + 0x18], edx
jbe 0x40c3d5
mov eax, 0x90c660b6
mov dword [ebp - 0x3c], eax
jmp 0x40c2d0
cmp eax, 0x2ca8abde
jne 0x40c2d0
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x1d39185a
jne 0x40c400
mov eax, 0xc963fa6d
mov dword [ebp - 0x3c], eax
jmp 0x40c2d0
cmp eax, 0x22900f6e
jne 0x40c2d0
mov dword [ebp - 0x3c], 0x355ee02
jmp 0x40c2d0
cmp eax, 0x1d39185a
jne 0x40c2d0
mov dword [ebp - 0x3c], 0x1ac4676c
jmp 0x40c2d0
cmp eax, 0x1ac4676c
jne 0x40c2d0
mov dword [ebp - 0x3c], 0x990e3699
jmp 0x40c2d0
cmp eax, 0x355ee02
jne 0x40c2d0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0xed8075d7
jmp 0x40c2d0
cmp eax, 0x990e3698
jg 0x40c4b5
cmp eax, 0x90c660b6
jne 0x40c2d0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x38]
movzx edx, word [ebp - 0x16]
mov esi, dword [ebp - 0x34]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x3c], 0xed8075d7
jmp 0x40c2d0
cmp eax, 0xacbcb1da
jg 0x40c4d3
cmp eax, 0x990e3699
jne 0x40c2d0
mov dword [ebp - 0x3c], 0x355ee02
jmp 0x40c2d0
cmp eax, 0xc963fa6c
jg 0x40c4f1
cmp eax, 0xacbcb1db
jne 0x40c2d0
mov dword [ebp - 0x3c], 0x1ac4676c
jmp 0x40c2d0
cmp eax, 0xed8075d6
jg 0x40c51b
cmp eax, 0xc963fa6d
jne 0x40c2d0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x3231389f
jmp 0x40c2d0
cmp eax, 0xf0954f04
jg 0x40c52f
cmp eax, 0xed8075d7
jne 0x40c2d0
jmp 0x40c5ae
cmp eax, 0xf6f85426
jg 0x40c54d
cmp eax, 0xf0954f05
jne 0x40c2d0
mov dword [ebp - 0x3c], 0x355ee02
jmp 0x40c2d0
cmp eax, 0xf6f85427
je 0x40c56d
cmp eax, 0x10ce203
jne 0x40c58b
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0xf6f85427
jmp 0x40c2d0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 5]
mov dword [ebp - 0x3c], 0x471c5a8f
jmp 0x40c2d0
cmp eax, 0x1582909
jne 0x40c2d0
mov eax, 0x90516926
cmp dword [ebp - 0xc], 0
je 0x40c5a6
mov eax, 0x3231389f
mov dword [ebp - 0x3c], eax
jmp 0x40c2d0
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret