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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
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 dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov dword [ebp - 0x4c], 0xcda56e65
jmp 0x40bb70
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x34]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x30]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x4c], 0xe31256bd
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0xa38491b3
jg 0x40bb90
cmp eax, 0x9ca47b86
jne 0x40bb70
jmp 0x40bb4b
cmp eax, 0xa705ee83
jg 0x40bbb0
cmp eax, 0xa38491b4
jne 0x40bb70
mov dword [ebp - 0x4c], 0xe7cd3b6c
jmp 0x40bb70
cmp eax, 0xad7714a9
jg 0x40bbe5
cmp eax, 0xa705ee84
jne 0x40bb70
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x20], eax
mov eax, 0xde84d1da
cmp dword [ecx + edx], 0x4550
jne 0x40bbe0
mov eax, 0xec8b1369
mov dword [ebp - 0x4c], eax
jmp 0x40bb70
cmp eax, 0xb683425f
jg 0x40bc37
cmp eax, 0xad7714aa
jne 0x40bb70
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0x57fc0a2e
jmp 0x40bb70
cmp eax, 0x7b6ac32d
jg 0x40bd14
cmp eax, 0x783de00d
jg 0x40bd3b
cmp eax, 0x57fc0a2d
jg 0x40bd77
cmp eax, 0x55bba758
jg 0x40bd9c
cmp eax, 0x4fd1a55e
jg 0x40bdb3
cmp eax, 0x4dfb6067
jg 0x40bdcd
cmp eax, 0x1c88873c
jg 0x40bde4
cmp eax, 0xffaab4b8
jg 0x40bdfb
cmp eax, 0xf1418234
jg 0x40be1f
cmp eax, 0xecf12b96
jg 0x40be36
cmp eax, 0xec8b1368
jg 0x40be4d
cmp eax, 0xe7cd3b6b
jg 0x40be64
cmp eax, 0xe521e5e1
jg 0x40be82
cmp eax, 0xe31256bc
jg 0x40be99
cmp eax, 0xde84d1d9
jg 0x40bea6
cmp eax, 0xb6834260
je 0x40bebd
cmp eax, 0xb6ad8001
jne 0x40bed5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0xf1418235
jne 0x40bd0c
mov eax, 0xa705ee84
mov dword [ebp - 0x4c], eax
jmp 0x40bb70
cmp eax, 0x7b6ac32e
jne 0x40bb70
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 1]
mov dword [ebp - 0x4c], 0xffaab4b9
jmp 0x40bb70
cmp eax, 0x783de00e
jne 0x40bb70
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x2c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x3c], eax
mov dword [esp], eax
call fcn.00402e80
mov dword [ebp - 0x44], eax
mov ecx, 0x9ca47b86
cmp eax, dword [ebp - 0x14]
je 0x40bd6f
mov ecx, 0x55bba759
mov dword [ebp - 0x4c], ecx
jmp 0x40bb70
cmp eax, 0x57fc0a2e
jne 0x40bb70
mov ecx, dword [ebp - 0x48]
mov eax, 0x783de00e
cmp ecx, dword [ebp - 0x40]
jb 0x40bd94
mov eax, 0xa38491b4
mov dword [ebp - 0x4c], eax
jmp 0x40bb70
cmp eax, 0x55bba759
jne 0x40bb70
mov dword [ebp - 0x4c], 0x4fd1a55f
jmp 0x40bb70
cmp eax, 0x4fd1a55f
jne 0x40bb70
inc dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0x57fc0a2e
jmp 0x40bb70
cmp eax, 0x4dfb6068
jne 0x40bb70
mov dword [ebp - 0x4c], 0x1c88873d
jmp 0x40bb70
cmp eax, 0x1c88873d
jne 0x40bb70
mov dword [ebp - 0x4c], 0xe7cd3b6c
jmp 0x40bb70
cmp eax, 0xffaab4b9
jne 0x40bb70
mov al, byte [ebp - 1]
test al, al
mov eax, 0xde84d1da
jne 0x40be17
mov eax, 0xb6834260
mov dword [ebp - 0x4c], eax
jmp 0x40bb70
cmp eax, 0xf1418235
jne 0x40bb70
mov dword [ebp - 0x4c], 0x4dfb6068
jmp 0x40bb70
cmp eax, 0xecf12b97
jne 0x40bb70
mov dword [ebp - 0x4c], 0x4dfb6068
jmp 0x40bb70
cmp eax, 0xec8b1369
jne 0x40bb70
mov dword [ebp - 0x4c], 0x7b6ac32e
jmp 0x40bb70
cmp eax, 0xe7cd3b6c
jne 0x40bb70
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0xe31256bd
jmp 0x40bb70
cmp eax, 0xe521e5e2
jne 0x40bb70
mov dword [ebp - 0x4c], 0x7b6ac32e
jmp 0x40bb70
cmp eax, 0xe31256bd
jne 0x40bb70
jmp 0x40bef8
cmp eax, 0xde84d1da
jne 0x40bb70
mov dword [ebp - 0x4c], 0xe7cd3b6c
jmp 0x40bb70
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0xad7714aa
jmp 0x40bb70
cmp eax, 0xcda56e65
jne 0x40bb70
mov eax, 0xb6ad8001
cmp dword [ebp - 8], 0
je 0x40bef0
mov eax, 0xad7714aa
mov dword [ebp - 0x4c], eax
jmp 0x40bb70
mov eax, dword [ebp - 0xc]
add esp, 0x50
pop ebp
ret