Function at 0x40b670
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], 0xb33e2c30
jmp 0x40b6f0
mov dword [ebp - 0x4c], 0x92170935
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0x8d30a288
jg 0x40b710
cmp eax, 0x849599e1
jne 0x40b6f0
jmp 0x40b6db
cmp eax, 0x7ec42883
jg 0x40b770
cmp eax, 0x792491ef
jg 0x40b7bb
cmp eax, 0x53463321
jg 0x40b7d9
cmp eax, 0x92170934
jg 0x40b806
cmp eax, 0x8d30a289
jne 0x40b6f0
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, 0x88948ec
cmp dword [ecx + edx], 0x4550
jne 0x40b761
mov eax, 0x94d2aeb4
mov dword [ebp - 0x4c], eax
jmp 0x40b6f0
cmp eax, 0x7ec42884
jne 0x40b6f0
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], 0x37c3afb7
jmp 0x40b6f0
cmp eax, 0x792491f0
jne 0x40b6f0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0x2b968dd2
jmp 0x40b6f0
cmp eax, 0x53463322
jne 0x40b6f0
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], 0x3543eff9
jmp 0x40b6f0
cmp eax, 0x94d2aeb3
jg 0x40b845
cmp eax, 0x92170935
jne 0x40b6f0
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.00402700
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x14]
sete byte [ebp - 1]
mov dword [ebp - 0x4c], 0xbf88ebb5
jmp 0x40b6f0
cmp eax, 0x9eddc404
jg 0x40b877
cmp eax, 0x94d2aeb4
jne 0x40b6f0
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x88948ec
jne 0x40b86f
mov eax, 0xc2e7b8b3
mov dword [ebp - 0x4c], eax
jmp 0x40b6f0
cmp eax, 0xa2d4e604
jg 0x40b8a7
cmp eax, 0x9eddc405
jne 0x40b6f0
mov eax, 0xd59c0896
sub eax, dword [ebp - 0x48]
mov ecx, 0xd59c0897
sub ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], 0x37c3afb7
jmp 0x40b6f0
cmp eax, 0xabdbea10
jg 0x40b8d1
cmp eax, 0xa2d4e605
jne 0x40b6f0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x40]
setb al
mov byte [ebp - 2], al
mov dword [ebp - 0x4c], 0xc4c855d0
jmp 0x40b6f0
cmp eax, 0x38dde284
jg 0x40b982
cmp eax, 0x37c3afb6
jg 0x40b999
cmp eax, 0x3543eff8
jg 0x40b9b0
cmp eax, 0x2b968dd1
jg 0x40b9dd
cmp eax, 0x92c7b9e
jg 0x40b9ed
cmp eax, 0x88948eb
jg 0x40ba1a
cmp eax, 0x74565b0
jg 0x40ba31
cmp eax, 0xff34d8cd
jg 0x40ba48
cmp eax, 0xec48b148
jg 0x40ba5f
cmp eax, 0xc9f63de8
jg 0x40ba76
cmp eax, 0xc4c855cf
jg 0x40baa7
cmp eax, 0xc2e7b8b2
jg 0x40bacb
cmp eax, 0xbf88ebb4
jg 0x40baee
cmp eax, 0xabdbea11
je 0x40bb12
cmp eax, 0xac4bd865
jne 0x40bb1e
mov dword [ebp - 0x4c], 0x2b968dd2
jmp 0x40b6f0
cmp eax, 0x38dde285
jne 0x40b6f0
mov dword [ebp - 0x4c], 0x9eddc405
jmp 0x40b6f0
cmp eax, 0x37c3afb7
jne 0x40b6f0
mov dword [ebp - 0x4c], 0xa2d4e605
jmp 0x40b6f0
cmp eax, 0x3543eff9
jne 0x40b6f0
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], 0xac4bd865
jmp 0x40b6f0
cmp eax, 0x2b968dd2
jne 0x40b6f0
jmp 0x40bb41
cmp eax, 0x92c7b9f
jne 0x40b6f0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x74565b1
jne 0x40ba12
mov eax, 0x8d30a289
mov dword [ebp - 0x4c], eax
jmp 0x40b6f0
cmp eax, 0x88948ec
jne 0x40b6f0
mov dword [ebp - 0x4c], 0x792491f0
jmp 0x40b6f0
cmp eax, 0x74565b1
jne 0x40b6f0
mov dword [ebp - 0x4c], 0x792491f0
jmp 0x40b6f0
cmp eax, 0xff34d8ce
jne 0x40b6f0
mov dword [ebp - 0x4c], 0x3543eff9
jmp 0x40b6f0
cmp eax, 0xec48b149
jne 0x40b6f0
mov dword [ebp - 0x4c], 0xa2d4e605
jmp 0x40b6f0
cmp eax, 0xc9f63de9
jne 0x40b6f0
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.00402700
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 0x92170935
jmp 0x40b6f0
cmp eax, 0xc4c855d0
jne 0x40b6f0
mov al, byte [ebp - 2]
test al, al
mov eax, 0x849599e1
jne 0x40bac3
mov eax, 0xabdbea11
mov dword [ebp - 0x4c], eax
jmp 0x40b6f0
cmp eax, 0xc2e7b8b3
jne 0x40b6f0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0x7ec42884
jmp 0x40b6f0
cmp eax, 0xbf88ebb5
jne 0x40b6f0
mov al, byte [ebp - 1]
test al, al
mov eax, 0xff34d8ce
jne 0x40bb0a
mov eax, 0x38dde285
mov dword [ebp - 0x4c], eax
jmp 0x40b6f0
mov dword [ebp - 0x4c], 0x792491f0
jmp 0x40b6f0
cmp eax, 0xb33e2c30
jne 0x40b6f0
mov eax, 0x92c7b9f
cmp dword [ebp - 8], 0
je 0x40bb39
mov eax, 0x7ec42884
mov dword [ebp - 0x4c], eax
jmp 0x40b6f0
mov eax, dword [ebp - 0xc]
add esp, 0x50
pop ebp
ret