Function at 0x40b370
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], 0x43114f91
jmp 0x40b3f0
mov dword [ebp - 0x4c], 0xa864519a
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0x65d8e343
jg 0x40b410
cmp eax, 0x8805e97b
jg 0x40b420
cmp eax, 0x80cc5572
jne 0x40b3f0
jmp 0x40b8d5
cmp eax, 0x65d8e344
jne 0x40b3f0
jmp 0x40b3db
cmp eax, 0x8e2cb5f9
jg 0x40b437
cmp eax, 0x8805e97c
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x17133b1e
jmp 0x40b3f0
cmp eax, 0x91d6cfe7
jg 0x40b44e
cmp eax, 0x8e2cb5fa
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x5c56f920
jmp 0x40b3f0
cmp eax, 0x977fbd6b
jg 0x40b47e
cmp eax, 0x91d6cfe8
jne 0x40b3f0
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], 0x5c56f920
jmp 0x40b3f0
cmp eax, 0xa7681822
jg 0x40b4c1
cmp eax, 0x977fbd6c
jne 0x40b3f0
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.00402280
mov dword [ebp - 0x44], eax
mov ecx, 0x4f14ac61
cmp eax, dword [ebp - 0x14]
je 0x40b4b9
mov ecx, 0xa7681823
mov dword [ebp - 0x4c], ecx
jmp 0x40b3f0
cmp eax, 0x5ddf4bf9
jg 0x40b593
cmp eax, 0x5c56f91f
jg 0x40b5aa
cmp eax, 0x59b50cbb
jg 0x40b5d7
cmp eax, 0x560d5e5e
jg 0x40b5fb
cmp eax, 0x5266cf1a
jg 0x40b612
cmp eax, 0x4f14ac60
jg 0x40b629
cmp eax, 0x43114f90
jg 0x40b640
cmp eax, 0x34736b7c
jg 0x40b663
cmp eax, 0x2f2182a7
jg 0x40b6ae
cmp eax, 0x2b9d533e
jg 0x40b6db
cmp eax, 0x24345983
jg 0x40b6f2
cmp eax, 0x1a36c946
jg 0x40b709
cmp eax, 0x17133b1d
jg 0x40b720
cmp eax, 0x129f90f3
jg 0x40b737
cmp eax, 0x68e310d
jg 0x40b768
cmp eax, 0x1c9045c
jg 0x40b78d
cmp eax, 0xa8645199
jg 0x40b7ab
cmp eax, 0xa7681823
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x17133b1e
jmp 0x40b3f0
cmp eax, 0x5ddf4bfa
jne 0x40b3f0
mov dword [ebp - 0x4c], 0xc5e7a777
jmp 0x40b3f0
cmp eax, 0x5c56f920
jne 0x40b3f0
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], 0x24345984
jmp 0x40b3f0
cmp eax, 0x59b50cbc
jne 0x40b3f0
mov al, byte [ebp - 1]
test al, al
mov eax, 0x5266cf1b
jne 0x40b5f3
mov eax, 0x8e2cb5fa
mov dword [ebp - 0x4c], eax
jmp 0x40b3f0
cmp eax, 0x560d5e5f
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x5ddf4bfa
jmp 0x40b3f0
cmp eax, 0x5266cf1b
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x80cc5572
jmp 0x40b3f0
cmp eax, 0x4f14ac61
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x2b9d533f
jmp 0x40b3f0
cmp eax, 0x43114f91
jne 0x40b3f0
mov eax, 0xde5a691e
cmp dword [ebp - 8], 0
je 0x40b65b
mov eax, 0x34736b7d
mov dword [ebp - 0x4c], eax
jmp 0x40b3f0
cmp eax, 0x34736b7d
jne 0x40b3f0
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], 0x68e310e
jmp 0x40b3f0
cmp eax, 0x2f2182a8
jne 0x40b3f0
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], 0x129f90f4
jmp 0x40b3f0
cmp eax, 0x2b9d533f
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x129f90f4
jmp 0x40b3f0
cmp eax, 0x24345984
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x2b9d533f
jmp 0x40b3f0
cmp eax, 0x1a36c947
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x1c9045d
jmp 0x40b3f0
cmp eax, 0x17133b1e
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x65d8e344
jmp 0x40b3f0
cmp eax, 0x129f90f4
jne 0x40b3f0
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 byte [ebp - 1], 1
mov dword [ebp - 0x4c], 0x59b50cbc
jmp 0x40b3f0
cmp eax, 0x68e310e
jne 0x40b3f0
mov ecx, dword [ebp - 0x48]
mov eax, 0x977fbd6c
cmp ecx, dword [ebp - 0x40]
jb 0x40b785
mov eax, 0xdd77ad83
mov dword [ebp - 0x4c], eax
jmp 0x40b3f0
cmp eax, 0x1c9045d
jne 0x40b3f0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0x80cc5572
jmp 0x40b3f0
cmp eax, 0xabd22b74
jg 0x40b7cc
cmp eax, 0xa864519a
jne 0x40b3f0
inc dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0x68e310e
jmp 0x40b3f0
cmp eax, 0xb0e7035a
jg 0x40b7f6
cmp eax, 0xabd22b75
jne 0x40b3f0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0x34736b7d
jmp 0x40b3f0
cmp eax, 0xb844d3d1
jg 0x40b832
cmp eax, 0xb0e7035b
jne 0x40b3f0
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, 0xd19551bd
cmp dword [ecx + edx], 0x4550
jne 0x40b82a
mov eax, 0xb844d3d2
mov dword [ebp - 0x4c], eax
jmp 0x40b3f0
cmp eax, 0xc5e7a776
jg 0x40b864
cmp eax, 0xb844d3d2
jne 0x40b3f0
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xd19551bd
jne 0x40b85c
mov eax, 0xabd22b75
mov dword [ebp - 0x4c], eax
jmp 0x40b3f0
cmp eax, 0xd19551bc
jg 0x40b882
cmp eax, 0xc5e7a777
jne 0x40b3f0
mov dword [ebp - 0x4c], 0x1c9045d
jmp 0x40b3f0
cmp eax, 0xd19551bd
je 0x40b89c
cmp eax, 0xdd77ad83
jne 0x40b8a8
mov dword [ebp - 0x4c], 0x1c9045d
jmp 0x40b3f0
mov dword [ebp - 0x4c], 0x5ddf4bfa
jmp 0x40b3f0
cmp eax, 0xde5a691e
jne 0x40b3f0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x1a36c947
jne 0x40b8cd
mov eax, 0xb0e7035b
mov dword [ebp - 0x4c], eax
jmp 0x40b3f0
mov eax, dword [ebp - 0xc]
add esp, 0x50
pop ebp
ret