Function at 0x407db0
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], 0x6f538e19
jmp 0x407e30
mov dword [ebp - 0x4c], 0xbbf211bc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0x9512be35
jg 0x407e50
cmp eax, 0x8e893a30
jne 0x407e30
jmp 0x407e1b
cmp eax, 0x9eb23b7e
jg 0x407e70
cmp eax, 0x9512be36
jne 0x407e30
mov dword [ebp - 0x4c], 0xaef20c98
jmp 0x407e30
cmp eax, 0x6f538e18
jg 0x407ea1
cmp eax, 0x6cd246ee
jg 0x407ec0
cmp eax, 0xa0c637aa
jg 0x407ee3
cmp eax, 0x9eb23b7f
jne 0x407e30
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x40]
setb al
mov byte [ebp - 1], al
mov dword [ebp - 0x4c], 0xf8cb8f1c
jmp 0x407e30
cmp eax, 0x6f538e19
jne 0x407e30
mov eax, 0xf623bc4c
cmp dword [ebp - 8], 0
je 0x407eb8
mov eax, 0x29157c9c
mov dword [ebp - 0x4c], eax
jmp 0x407e30
cmp eax, 0x6cd246ef
jne 0x407e30
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0xaef20c98
jmp 0x407e30
cmp eax, 0x69c924f9
jg 0x408002
cmp eax, 0x67cb48ff
jg 0x408012
cmp eax, 0x4fddf9c2
jg 0x408029
cmp eax, 0x4a4f61be
jg 0x40804f
cmp eax, 0x3e8cab35
jg 0x408066
cmp eax, 0x3cd3e3b5
jg 0x40809b
cmp eax, 0x39e7b658
jg 0x4080b9
cmp eax, 0x3614705e
jg 0x4080d0
cmp eax, 0x2ef1a3ee
jg 0x4080e7
cmp eax, 0x29157c9b
jg 0x4080fe
cmp eax, 0x20a2f7f1
jg 0x408149
cmp eax, 0x1c88bb58
jg 0x408160
cmp eax, 0xaca88db
jg 0x408177
cmp eax, 0xf8cb8f1b
jg 0x40818e
cmp eax, 0xf623bc4b
jg 0x4081b2
cmp eax, 0xe8fbc00c
jg 0x4081df
cmp eax, 0xd2f6170a
jg 0x4081f6
cmp eax, 0xc17fb61b
jg 0x408223
cmp eax, 0xbf9ad8b1
jg 0x40825f
cmp eax, 0xbdd83bfa
jg 0x408283
cmp eax, 0xbbf211bb
jg 0x4082ae
cmp eax, 0xaef20c97
jg 0x4082c5
cmp eax, 0xaa81691b
jg 0x4082e8
cmp eax, 0xa0c637ab
je 0x4082ff
cmp eax, 0xa22b01f7
jne 0x40830f
mov dword [ebp - 0x4c], 0x67cb4900
jmp 0x407e30
cmp eax, 0x69c924fa
jne 0x407e30
jmp 0x408326
cmp eax, 0x67cb4900
jne 0x407e30
mov dword [ebp - 0x4c], 0x1c88bb59
jmp 0x407e30
cmp eax, 0x4fddf9c3
jne 0x407e30
xor eax, eax
sub eax, dword [ebp - 0x48]
mov ecx, 1
sub ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], 0x4a4f61bf
jmp 0x407e30
cmp eax, 0x4a4f61bf
jne 0x407e30
mov dword [ebp - 0x4c], 0xa0c637ab
jmp 0x407e30
cmp eax, 0x3e8cab36
jne 0x407e30
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, 0xa22b01f7
cmp dword [ecx + edx], 0x4550
jne 0x408093
mov eax, 0xbdd83bfb
mov dword [ebp - 0x4c], eax
jmp 0x407e30
cmp eax, 0x3cd3e3b6
jne 0x407e30
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0x69c924fa
jmp 0x407e30
cmp eax, 0x39e7b659
jne 0x407e30
mov dword [ebp - 0x4c], 0x29157c9c
jmp 0x407e30
cmp eax, 0x3614705f
jne 0x407e30
mov dword [ebp - 0x4c], 0x9eb23b7f
jmp 0x407e30
cmp eax, 0x2ef1a3ef
jne 0x407e30
mov dword [ebp - 0x4c], 0x3cd3e3b6
jmp 0x407e30
cmp eax, 0x29157c9c
jne 0x407e30
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], 0x4a4f61bf
jmp 0x407e30
cmp eax, 0x20a2f7f2
jne 0x407e30
mov dword [ebp - 0x4c], 0x67cb4900
jmp 0x407e30
cmp eax, 0x1c88bb59
jne 0x407e30
mov dword [ebp - 0x4c], 0x3cd3e3b6
jmp 0x407e30
cmp eax, 0xaca88dc
jne 0x407e30
mov dword [ebp - 0x4c], 0xa0c637ab
jmp 0x407e30
cmp eax, 0xf8cb8f1c
jne 0x407e30
mov al, byte [ebp - 1]
test al, al
mov eax, 0xc17fb61c
jne 0x4081aa
mov eax, 0xaa81691c
mov dword [ebp - 0x4c], eax
jmp 0x407e30
cmp eax, 0xf623bc4c
jne 0x407e30
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x2ef1a3ef
jne 0x4081d7
mov eax, 0x3e8cab36
mov dword [ebp - 0x4c], eax
jmp 0x407e30
cmp eax, 0xe8fbc00d
jne 0x407e30
mov dword [ebp - 0x4c], 0x8e893a30
jmp 0x407e30
cmp eax, 0xd2f6170b
jne 0x407e30
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], 0x69c924fa
jmp 0x407e30
cmp eax, 0xc17fb61c
jne 0x407e30
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.00401f40
mov dword [ebp - 0x44], eax
mov ecx, 0xd2f6170b
cmp eax, dword [ebp - 0x14]
je 0x408257
mov ecx, 0xe8fbc00d
mov dword [ebp - 0x4c], ecx
jmp 0x407e30
cmp eax, 0xbf9ad8b2
jne 0x407e30
mov al, byte [ebp - 2]
test al, al
mov eax, 0x9eb23b7f
jne 0x40827b
mov eax, 0x3614705f
mov dword [ebp - 0x4c], eax
jmp 0x407e30
cmp eax, 0xbdd83bfb
jne 0x407e30
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xa22b01f7
jne 0x4082a6
mov eax, 0x9512be36
mov dword [ebp - 0x4c], eax
jmp 0x407e30
cmp eax, 0xbbf211bc
jne 0x407e30
mov dword [ebp - 0x4c], 0x4fddf9c3
jmp 0x407e30
cmp eax, 0xaef20c98
jne 0x407e30
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0x39e7b659
jmp 0x407e30
cmp eax, 0xaa81691c
jne 0x407e30
mov dword [ebp - 0x4c], 0x3cd3e3b6
jmp 0x407e30
mov byte [ebp - 2], 1
mov dword [ebp - 0x4c], 0xbf9ad8b2
jmp 0x407e30
cmp eax, 0xa5498223
jne 0x407e30
mov dword [ebp - 0x4c], 0x8e893a30
jmp 0x407e30
mov eax, dword [ebp - 0xc]
add esp, 0x50
pop ebp
ret