Function at 0x40bf00
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], 0x706f57c2
jmp 0x40bf60
mov dword [ebp - 0x3c], 0xb7a7c2f
mov eax, dword [ebp - 0x3c]
cmp eax, 0x94f4d4d3
jg 0x40bf80
cmp eax, 0x87904d24
jne 0x40bf60
jmp 0x40bf59
cmp eax, 0x7baef7e4
jg 0x40bfe0
cmp eax, 0x78281ee3
jg 0x40bff7
cmp eax, 0x747a366d
jg 0x40c03a
cmp eax, 0x706f57c1
jg 0x40c051
cmp eax, 0x4bdfca6c
jg 0x40c074
cmp eax, 0x4748c03d
jg 0x40c084
cmp eax, 0x3ed2076f
jg 0x40c0a7
cmp eax, 0x984bd8b0
jg 0x40c0be
cmp eax, 0x94f4d4d4
jne 0x40bf60
mov dword [ebp - 0x3c], 0x392ec91e
jmp 0x40bf60
cmp eax, 0x7baef7e5
jne 0x40bf60
mov dword [ebp - 0x3c], 0xaeea982f
jmp 0x40bf60
cmp eax, 0x78281ee4
jne 0x40bf60
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], 0xaeea982f
jmp 0x40bf60
cmp eax, 0x747a366e
jne 0x40bf60
mov dword [ebp - 0x3c], 0xb94e2051
jmp 0x40bf60
cmp eax, 0x706f57c2
jne 0x40bf60
mov eax, 0x223bc969
cmp dword [ebp - 0xc], 0
je 0x40c06c
mov eax, 0x392ec91e
mov dword [ebp - 0x3c], eax
jmp 0x40bf60
cmp eax, 0x4bdfca6d
jne 0x40bf60
jmp 0x40c384
cmp eax, 0x4748c03e
jne 0x40bf60
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xb7a7c2f
jmp 0x40bf60
cmp eax, 0x3ed20770
jne 0x40bf60
mov dword [ebp - 0x3c], 0x9f9582
jmp 0x40bf60
cmp eax, 0xaeea982e
jg 0x40c0dc
cmp eax, 0x984bd8b1
jne 0x40bf60
mov dword [ebp - 0x3c], 0x9f9582
jmp 0x40bf60
cmp eax, 0xb94e2050
jg 0x40c126
cmp eax, 0xaeea982f
jne 0x40bf60
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], 0x6055242
jmp 0x40bf60
cmp eax, 0xd2694a04
jg 0x40c152
cmp eax, 0xb94e2051
jne 0x40bf60
mov eax, dword [ebp - 0x2c]
movzx ecx, word [ebp - 0x16]
cmp dword [eax + 0x18], ecx
setbe byte [ebp - 5]
mov dword [ebp - 0x3c], 0x3507a8f7
jmp 0x40bf60
cmp eax, 0xd558fc45
jg 0x40c170
cmp eax, 0xd2694a05
jne 0x40bf60
mov dword [ebp - 0x3c], 0xa9a1f98
jmp 0x40bf60
cmp eax, 0xedb2e331
jg 0x40c18e
cmp eax, 0xd558fc46
jne 0x40bf60
mov dword [ebp - 0x3c], 0x33cbb55f
jmp 0x40bf60
cmp eax, 0x9f9581
jg 0x40c1b9
cmp eax, 0xedb2e332
jne 0x40bf60
mov al, byte [ebp - 6]
test al, al
mov eax, 0x127795b7
jne 0x40c1b1
mov eax, 0x87904d24
mov dword [ebp - 0x3c], eax
jmp 0x40bf60
cmp eax, 0x6055241
jg 0x40c1e7
cmp eax, 0x9f9582
jne 0x40bf60
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 6]
mov dword [ebp - 0x3c], 0xedb2e332
jmp 0x40bf60
cmp eax, 0xa9a1f97
jg 0x40c205
cmp eax, 0x6055242
jne 0x40bf60
mov dword [ebp - 0x3c], 0x4bdfca6d
jmp 0x40bf60
cmp eax, 0x3a68c81f
jg 0x40c278
cmp eax, 0x392ec91d
jg 0x40c28f
cmp eax, 0x3507a8f6
jg 0x40c2a6
cmp eax, 0x33cbb55e
jg 0x40c2ca
cmp eax, 0x25f5fc10
jg 0x40c2e8
cmp eax, 0x223bc968
jg 0x40c2ff
cmp eax, 0x19d14427
jg 0x40c32c
cmp eax, 0xa9a1f98
je 0x40c361
cmp eax, 0xb7a7c2f
jne 0x40c36d
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x94f4d4d4
jmp 0x40bf60
cmp eax, 0x3a68c820
jne 0x40bf60
mov dword [ebp - 0x3c], 0xd2694a05
jmp 0x40bf60
cmp eax, 0x392ec91e
jne 0x40bf60
mov dword [ebp - 0x3c], 0xb94e2051
jmp 0x40bf60
cmp eax, 0x3507a8f7
jne 0x40bf60
mov al, byte [ebp - 5]
test al, al
mov eax, 0x25f5fc11
jne 0x40c2c2
mov eax, 0x7baef7e5
mov dword [ebp - 0x3c], eax
jmp 0x40bf60
cmp eax, 0x33cbb55f
jne 0x40bf60
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0x4bdfca6d
jmp 0x40bf60
cmp eax, 0x25f5fc11
jne 0x40bf60
mov dword [ebp - 0x3c], 0xd2694a05
jmp 0x40bf60
cmp eax, 0x223bc969
jne 0x40bf60
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0xd558fc46
jne 0x40c324
mov eax, 0x19d14428
mov dword [ebp - 0x3c], eax
jmp 0x40bf60
cmp eax, 0x19d14428
jne 0x40bf60
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, 0x127795b7
cmp dword [ecx + edx], 0x4550
jne 0x40c359
mov eax, 0x984bd8b1
mov dword [ebp - 0x3c], eax
jmp 0x40bf60
mov dword [ebp - 0x3c], 0x33cbb55f
jmp 0x40bf60
cmp eax, 0x127795b7
jne 0x40bf60
mov dword [ebp - 0x3c], 0x33cbb55f
jmp 0x40bf60
mov eax, dword [ebp - 0x10]
add esp, 0x38
pop esi
pop ebp
ret