Function at 0x40b250
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], 0xa144fb0f
jmp 0x40b2d0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0xde7d8db8
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0x5dd0bd97
jg 0x40b390
cmp eax, 0x569c0201
jg 0x40b3a0
cmp eax, 0x4336c513
jg 0x40b3b7
cmp eax, 0x3bf6a458
jg 0x40b3e4
cmp eax, 0x2611e70c
jg 0x40b3fb
cmp eax, 0x20f45d20
jg 0x40b428
cmp eax, 0x1b74b077
jg 0x40b43f
cmp eax, 0x10b8b9e1
jg 0x40b463
cmp eax, 0xc1daee9
jg 0x40b47a
cmp eax, 0x278510a
jg 0x40b491
cmp eax, 0xfa156425
jg 0x40b4c2
cmp eax, 0xebfef230
jg 0x40b4f7
cmp eax, 0xe9cf761c
jg 0x40b511
cmp eax, 0xe1b2fe98
jg 0x40b52f
cmp eax, 0x88cad1f5
jg 0x40b55c
cmp eax, 0x877fddfc
jne 0x40b2d0
mov dword [ebp - 0x4c], 0xe9cf761d
jmp 0x40b2d0
cmp eax, 0x5dd0bd98
jne 0x40b2d0
jmp 0x40b2bb
cmp eax, 0x569c0202
jne 0x40b2d0
mov dword [ebp - 0x4c], 0xebfef231
jmp 0x40b2d0
cmp eax, 0x4336c514
jne 0x40b2d0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x91436dff
jne 0x40b3dc
mov eax, 0xfa156426
mov dword [ebp - 0x4c], eax
jmp 0x40b2d0
cmp eax, 0x3bf6a459
jne 0x40b2d0
mov dword [ebp - 0x4c], 0xb18a2f3c
jmp 0x40b2d0
cmp eax, 0x2611e70d
jne 0x40b2d0
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], 0xe1b2fe99
jmp 0x40b2d0
cmp eax, 0x20f45d21
jne 0x40b2d0
mov dword [ebp - 0x4c], 0xe1b2fe99
jmp 0x40b2d0
cmp eax, 0x1b74b078
jne 0x40b2d0
mov al, byte [ebp - 1]
test al, al
mov eax, 0x20f45d21
jne 0x40b45b
mov eax, 0x569c0202
mov dword [ebp - 0x4c], eax
jmp 0x40b2d0
cmp eax, 0x10b8b9e2
jne 0x40b2d0
mov dword [ebp - 0x4c], 0xd1e6bb38
jmp 0x40b2d0
cmp eax, 0xc1daeea
jne 0x40b2d0
mov dword [ebp - 0x4c], 0x88cad1f6
jmp 0x40b2d0
cmp eax, 0x278510b
jne 0x40b2d0
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.00402150
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 0xb18a2f3c
jmp 0x40b2d0
cmp eax, 0xfa156426
jne 0x40b2d0
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, 0x8b1bd25a
cmp dword [ecx + edx], 0x4550
jne 0x40b4ef
mov eax, 0xc751fb58
mov dword [ebp - 0x4c], eax
jmp 0x40b2d0
cmp eax, 0xebfef231
jne 0x40b2d0
inc dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0xdf70bf18
jmp 0x40b2d0
cmp eax, 0xe9cf761d
jne 0x40b2d0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0xd1e6bb38
jmp 0x40b2d0
cmp eax, 0xe1b2fe99
jne 0x40b2d0
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], 0x10b8b9e2
jmp 0x40b2d0
cmp eax, 0x8b1bd259
jg 0x40b57a
cmp eax, 0x88cad1f6
jne 0x40b2d0
mov dword [ebp - 0x4c], 0x99fb94c4
jmp 0x40b2d0
cmp eax, 0x91436dfe
jg 0x40b598
cmp eax, 0x8b1bd25a
jne 0x40b2d0
mov dword [ebp - 0x4c], 0xe9cf761d
jmp 0x40b2d0
cmp eax, 0x99fb94c3
jg 0x40b5b6
cmp eax, 0x91436dff
jne 0x40b2d0
mov dword [ebp - 0x4c], 0x88cad1f6
jmp 0x40b2d0
cmp eax, 0xa144fb0e
jg 0x40b5d4
cmp eax, 0x99fb94c4
jne 0x40b2d0
mov dword [ebp - 0x4c], 0xe9cf761d
jmp 0x40b2d0
cmp eax, 0xb18a2f3b
jg 0x40b5fe
cmp eax, 0xa144fb0f
jne 0x40b2d0
mov eax, 0x4336c514
cmp dword [ebp - 8], 0
je 0x40b5f6
mov eax, 0xde7d8db8
mov dword [ebp - 0x4c], eax
jmp 0x40b2d0
cmp eax, 0xc751fb57
jg 0x40b63d
cmp eax, 0xb18a2f3c
jne 0x40b2d0
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.00402150
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x14]
sete byte [ebp - 1]
mov dword [ebp - 0x4c], 0x1b74b078
jmp 0x40b2d0
cmp eax, 0xd1e6bb37
jg 0x40b66f
cmp eax, 0xc751fb58
jne 0x40b2d0
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x8b1bd25a
jne 0x40b667
mov eax, 0x5dd0bd98
mov dword [ebp - 0x4c], eax
jmp 0x40b2d0
cmp eax, 0xde7d8db8
je 0x40b697
cmp eax, 0xdf70bf18
jne 0x40b6d7
mov ecx, dword [ebp - 0x48]
mov eax, 0x3bf6a459
cmp ecx, dword [ebp - 0x40]
jb 0x40b68f
mov eax, 0x877fddfc
mov dword [ebp - 0x4c], eax
jmp 0x40b2d0
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], 0xdf70bf18
jmp 0x40b2d0
cmp eax, 0xd1e6bb38
jne 0x40b2d0
mov eax, dword [ebp - 0xc]
add esp, 0x50
pop ebp
ret