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

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov word [ebp - 0x12], cx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], 0x879dbe00
jmp 0x40bce0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ebp - 0x12]
mov esi, dword [ebp - 0x30]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x38], 0xfc596e72
nop
nop
nop
nop
mov eax, dword [ebp - 0x38]
cmp eax, 0x70d5a924
jg 0x40bd10
cmp eax, 0x976f0008
jg 0x40bd20
cmp eax, 0x879dbe00
jne 0x40bce0
mov eax, 0x976f0009
cmp dword [ebp - 8], 0
je 0x40bd08
mov eax, 0xcb15e6cf
mov dword [ebp - 0x38], eax
jmp 0x40bce0
cmp eax, 0x70d5a925
jne 0x40bce0
jmp 0x40bca9
cmp eax, 0xaee08ec6
jg 0x40bd4d
cmp eax, 0x976f0009
jne 0x40bce0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x1c818902
jne 0x40bd48
mov eax, 0xd7e7411f
mov dword [ebp - 0x38], eax
jmp 0x40bce0
cmp eax, 0x523a8e70
jg 0x40bdce
cmp eax, 0x4ddc7826
jg 0x40bdf1
cmp eax, 0x3871ea67
jg 0x40be08
cmp eax, 0x1c818901
jg 0x40be33
cmp eax, 0x1164075c
jg 0x40be4a
cmp eax, 0x4b57f6b
jg 0x40be61
cmp eax, 0xfc596e71
jg 0x40be78
cmp eax, 0xe35639d1
jg 0x40be88
cmp eax, 0xd7e7411e
jg 0x40bea6
cmp eax, 0xaee08ec7
je 0x40bedb
cmp eax, 0xb08e5e68
jne 0x40bee7
mov dword [ebp - 0x38], 0xaee08ec7
jmp 0x40bce0
cmp eax, 0x523a8e71
jne 0x40bce0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xcb15e6cf
jmp 0x40bce0
cmp eax, 0x4ddc7827
jne 0x40bce0
mov dword [ebp - 0x38], 0xb08e5e68
jmp 0x40bce0
cmp eax, 0x3871ea68
jne 0x40bce0
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x4b57f6c
jne 0x40be2b
mov eax, 0x523a8e71
mov dword [ebp - 0x38], eax
jmp 0x40bce0
cmp eax, 0x1c818902
jne 0x40bce0
mov dword [ebp - 0x38], 0xe35639d2
jmp 0x40bce0
cmp eax, 0x1164075d
jne 0x40bce0
mov dword [ebp - 0x38], 0xe35639d2
jmp 0x40bce0
cmp eax, 0x4b57f6c
jne 0x40bce0
mov dword [ebp - 0x38], 0xb08e5e68
jmp 0x40bce0
cmp eax, 0xfc596e72
jne 0x40bce0
jmp 0x40bf10
cmp eax, 0xe35639d2
jne 0x40bce0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x38], 0xfc596e72
jmp 0x40bce0
cmp eax, 0xd7e7411f
jne 0x40bce0
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x20], eax
mov eax, 0x4b57f6c
cmp dword [ecx + edx], 0x4550
jne 0x40bed3
mov eax, 0x3871ea68
mov dword [ebp - 0x38], eax
jmp 0x40bce0
mov dword [ebp - 0x38], 0xe35639d2
jmp 0x40bce0
cmp eax, 0xcb15e6cf
jne 0x40bce0
mov ecx, dword [ebp - 0x28]
movzx edx, word [ebp - 0x12]
mov eax, 0x1164075d
cmp dword [ecx + 0x18], edx
jbe 0x40bf08
mov eax, 0x70d5a925
mov dword [ebp - 0x38], eax
jmp 0x40bce0
mov eax, dword [ebp - 0xc]
add esp, 0x34
pop esi
pop ebp
ret