Function at 0x40c9b0
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], 0x659516cb
jmp 0x40ca10
mov dword [ebp - 0x3c], eax
nop
nop
nop
nop
mov eax, dword [ebp - 0x3c]
cmp eax, 0xbf69b581
jg 0x40ca40
cmp eax, 0x80c9f8d0
jne 0x40ca10
mov al, byte [ebp - 5]
test al, al
mov eax, 0x2cba1fb6
jne 0x40ca09
mov eax, 0x4329c213
jmp 0x40ca09
cmp eax, 0x7b14a9a3
jg 0x40caa0
cmp eax, 0x6ed8776b
jg 0x40cabe
cmp eax, 0x659516ca
jg 0x40cad5
cmp eax, 0x5793c766
jg 0x40caf8
cmp eax, 0x50e7784c
jg 0x40cb21
cmp eax, 0xc473cb6c
jg 0x40cb4c
cmp eax, 0xbf69b582
jne 0x40ca10
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ebp - 0x16]
mov eax, 0x20aa6713
cmp dword [ecx + 0x18], edx
jbe 0x40ca97
mov eax, 0x4216801e
mov dword [ebp - 0x3c], eax
jmp 0x40ca10
cmp eax, 0x7b14a9a4
jne 0x40ca10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x42e23090
jmp 0x40ca10
cmp eax, 0x6ed8776c
jne 0x40ca10
mov dword [ebp - 0x3c], 0x7b14a9a4
jmp 0x40ca10
cmp eax, 0x659516cb
jne 0x40ca10
mov eax, 0xd0075173
cmp dword [ebp - 0xc], 0
je 0x40caf0
mov eax, 0xbf69b582
mov dword [ebp - 0x3c], eax
jmp 0x40ca10
cmp eax, 0x5793c767
jne 0x40ca10
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], 0x80c9f8d0
jmp 0x40ca10
cmp eax, 0x50e7784d
jne 0x40ca10
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x6ed8776c
jne 0x40cb44
mov eax, 0x3f9c6927
mov dword [ebp - 0x3c], eax
jmp 0x40ca10
cmp eax, 0xd0075172
jg 0x40cb70
cmp eax, 0xc473cb6d
jne 0x40ca10
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], 0x5793c767
jmp 0x40ca10
cmp eax, 0x20aa6712
jg 0x40cb8e
cmp eax, 0xd0075173
jne 0x40ca10
mov dword [ebp - 0x3c], 0x5793c767
jmp 0x40ca10
cmp eax, 0x2cba1fb5
jg 0x40cbac
cmp eax, 0x20aa6713
jne 0x40ca10
mov dword [ebp - 0x3c], 0x7b14a9a4
jmp 0x40ca10
cmp eax, 0x3f9c6926
jg 0x40cbca
cmp eax, 0x2cba1fb6
jne 0x40ca10
mov dword [ebp - 0x3c], 0x7b14a9a4
jmp 0x40ca10
cmp eax, 0x4216801d
jg 0x40cbf4
cmp eax, 0x3f9c6927
jne 0x40ca10
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xbf69b582
jmp 0x40ca10
cmp eax, 0x4216801e
je 0x40cc2c
cmp eax, 0x4329c213
jne 0x40cc64
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, 0x6ed8776c
cmp dword [ecx + edx], 0x4550
jne 0x40cc24
mov eax, 0x50e7784d
mov dword [ebp - 0x3c], eax
jmp 0x40ca10
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], 0x42e23090
jmp 0x40ca10
cmp eax, 0x42e23090
jne 0x40ca10
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret