Function at 0x40c450
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], 0xbad41881
jmp 0x40c4c0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0x1aa7c2bd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x3c]
cmp eax, 0x9d0961cc
jg 0x40c4e0
cmp eax, 0x8bd49f63
jne 0x40c4c0
jmp 0x40c4a9
cmp eax, 0xbad41880
jg 0x40c500
cmp eax, 0x9d0961cd
jne 0x40c4c0
mov dword [ebp - 0x3c], 0x1aa7c2bd
jmp 0x40c4c0
cmp eax, 0xc49002d1
jg 0x40c523
cmp eax, 0xbad41881
jne 0x40c4c0
mov eax, 0x9d0961cd
cmp dword [ebp - 0xc], 0
je 0x40c51e
mov eax, 0x78abcadc
mov dword [ebp - 0x3c], eax
jmp 0x40c4c0
cmp eax, 0xde7bf122
jg 0x40c53a
cmp eax, 0xc49002d2
jne 0x40c4c0
mov dword [ebp - 0x3c], 0x293a062c
jmp 0x40c4c0
cmp eax, 0x7dbaadb8
jg 0x40c60a
cmp eax, 0x7b40162d
jg 0x40c621
cmp eax, 0x78abcadb
jg 0x40c63f
cmp eax, 0x6586135c
jg 0x40c668
cmp eax, 0x58b3b15f
jg 0x40c67f
cmp eax, 0x529c996f
jg 0x40c6c2
cmp eax, 0x506bef01
jg 0x40c6d9
cmp eax, 0x460686ed
jg 0x40c6e9
cmp eax, 0x43f7d53a
jg 0x40c700
cmp eax, 0x32474979
jg 0x40c71e
cmp eax, 0x293a062b
jg 0x40c741
cmp eax, 0x1aa7c2bc
jg 0x40c758
cmp eax, 0x155f0775
jg 0x40c781
cmp eax, 0x5f84417
jg 0x40c798
cmp eax, 0xde7bf123
je 0x40c7cd
cmp eax, 0xdf852139
jne 0x40c7e6
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x6586135d
jne 0x40c602
mov eax, 0x3247497a
mov dword [ebp - 0x3c], eax
jmp 0x40c4c0
cmp eax, 0x7dbaadb9
jne 0x40c4c0
mov dword [ebp - 0x3c], 0xc49002d2
jmp 0x40c4c0
cmp eax, 0x7b40162e
jne 0x40c4c0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x43f7d53b
jmp 0x40c4c0
cmp eax, 0x78abcadc
jne 0x40c4c0
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x16]
mov eax, 0xe664ef47
cmp dword [ecx + 0x18], edx
jbe 0x40c660
mov eax, 0x58b3b160
mov dword [ebp - 0x3c], eax
jmp 0x40c4c0
cmp eax, 0x6586135d
jne 0x40c4c0
mov dword [ebp - 0x3c], 0xc49002d2
jmp 0x40c4c0
cmp eax, 0x58b3b160
jne 0x40c4c0
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], 0x506bef02
jmp 0x40c4c0
cmp eax, 0x529c9970
jne 0x40c4c0
mov dword [ebp - 0x3c], 0x506bef02
jmp 0x40c4c0
cmp eax, 0x506bef02
jne 0x40c4c0
jmp 0x40c7fd
cmp eax, 0x460686ee
jne 0x40c4c0
mov dword [ebp - 0x3c], 0x155f0776
jmp 0x40c4c0
cmp eax, 0x43f7d53b
jne 0x40c4c0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x529c9970
jmp 0x40c4c0
cmp eax, 0x3247497a
jne 0x40c4c0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x78abcadc
jmp 0x40c4c0
cmp eax, 0x293a062c
jne 0x40c4c0
mov dword [ebp - 0x3c], 0x155f0776
jmp 0x40c4c0
cmp eax, 0x1aa7c2bd
jne 0x40c4c0
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], 0xde7bf123
jmp 0x40c4c0
cmp eax, 0x155f0776
jne 0x40c4c0
mov dword [ebp - 0x3c], 0x43f7d53b
jmp 0x40c4c0
cmp eax, 0x5f84418
jne 0x40c4c0
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, 0x6586135d
cmp dword [ecx + edx], 0x4550
jne 0x40c7c5
mov eax, 0xdf852139
mov dword [ebp - 0x3c], eax
jmp 0x40c4c0
mov al, byte [ebp - 5]
test al, al
mov eax, 0x460686ee
jne 0x40c7de
mov eax, 0x5f84418
mov dword [ebp - 0x3c], eax
jmp 0x40c4c0
cmp eax, 0xe664ef47
jne 0x40c4c0
mov dword [ebp - 0x3c], 0x155f0776
jmp 0x40c4c0
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret