Function at 0x409c40
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], 0xe6c744af
jmp 0x409cc0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], 0x7f54baf
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0x86ce817f
jg 0x409ce0
cmp eax, 0x827ce4e3
jne 0x409cc0
jmp 0x409cab
cmp eax, 0x93e5975f
jg 0x409d00
cmp eax, 0x86ce8180
jne 0x409cc0
mov dword [ebp - 0x4c], 0x9a5943cf
jmp 0x409cc0
cmp eax, 0x9a5943ce
jg 0x409d17
cmp eax, 0x93e59760
jne 0x409cc0
mov dword [ebp - 0x4c], 0xd56ef020
jmp 0x409cc0
cmp eax, 0x9ec60216
jg 0x409d2e
cmp eax, 0x9a5943cf
jne 0x409cc0
mov dword [ebp - 0x4c], 0x4101255
jmp 0x409cc0
cmp eax, 0x7bda9ad5
jg 0x409d53
cmp eax, 0xa0ef20c4
jg 0x409d71
cmp eax, 0x9ec60217
jne 0x409cc0
mov dword [ebp - 0x4c], 0xbe6a643e
jmp 0x409cc0
cmp eax, 0x7bda9ad6
jne 0x409cc0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0xa0ef20c5
jmp 0x409cc0
cmp eax, 0xbe6a643d
jg 0x409d88
cmp eax, 0xa0ef20c5
jne 0x409cc0
jmp 0x40a2a8
cmp eax, 0xc81f458d
jg 0x409db2
cmp eax, 0xbe6a643e
jne 0x409cc0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x40]
setb al
mov byte [ebp - 2], al
mov dword [ebp - 0x4c], 0x412d7fd7
jmp 0x409cc0
cmp eax, 0xc927485f
jg 0x409dea
cmp eax, 0xc81f458e
jne 0x409cc0
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.00401fd0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 0x4db1e446
jmp 0x409cc0
cmp eax, 0xd56ef01f
jg 0x409e3c
cmp eax, 0xc9274860
jne 0x409cc0
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], 0x9ec60217
jmp 0x409cc0
cmp eax, 0xd7b4fa42
jg 0x409e5a
cmp eax, 0xd56ef020
jne 0x409cc0
mov dword [ebp - 0x4c], 0x7bda9ad6
jmp 0x409cc0
cmp eax, 0xd967d060
jg 0x409e8e
cmp eax, 0xd7b4fa43
jne 0x409cc0
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], 0xa0ef20c5
jmp 0x409cc0
cmp eax, 0xe37d6169
jg 0x409eac
cmp eax, 0xd967d061
jne 0x409cc0
mov dword [ebp - 0x4c], 0xe80141c8
jmp 0x409cc0
cmp eax, 0xe5385c0e
jg 0x409ecd
cmp eax, 0xe37d616a
jne 0x409cc0
inc dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0x6c53d4d0
jmp 0x409cc0
cmp eax, 0xe6c744ae
jg 0x409eeb
cmp eax, 0xe5385c0f
jne 0x409cc0
mov dword [ebp - 0x4c], 0xd967d061
jmp 0x409cc0
cmp eax, 0xe80141c7
jg 0x409f15
cmp eax, 0xe6c744af
jne 0x409cc0
mov eax, 0xaa1302d
cmp dword [ebp - 8], 0
je 0x409f0d
mov eax, 0xc9274860
mov dword [ebp - 0x4c], eax
jmp 0x409cc0
cmp eax, 0xf0680485
jg 0x409f33
cmp eax, 0xe80141c8
jne 0x409cc0
mov dword [ebp - 0x4c], 0x7bda9ad6
jmp 0x409cc0
cmp eax, 0xf3ab800f
jg 0x409f51
cmp eax, 0xf0680486
jne 0x409cc0
mov dword [ebp - 0x4c], 0x64fd2b28
jmp 0x409cc0
cmp eax, 0xff6a03b5
jg 0x409f6f
cmp eax, 0xf3ab8010
jne 0x409cc0
mov dword [ebp - 0x4c], 0xbe6a643e
jmp 0x409cc0
cmp eax, 0x4101254
jg 0x409f8d
cmp eax, 0xff6a03b6
jne 0x409cc0
mov dword [ebp - 0x4c], 0xd967d061
jmp 0x409cc0
cmp eax, 0x7f54bae
jg 0x409fab
cmp eax, 0x4101255
jne 0x409cc0
mov dword [ebp - 0x4c], 0x783de906
jmp 0x409cc0
cmp eax, 0xaa1302c
jg 0x409fdb
cmp eax, 0x7f54baf
jne 0x409cc0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 4]
mov dword [ebp - 0x4c], 0x21e49c48
jmp 0x409cc0
cmp eax, 0x202f7344
jg 0x409ff9
cmp eax, 0xaa1302d
jne 0x409cc0
mov dword [ebp - 0x4c], 0x7f54baf
jmp 0x409cc0
cmp eax, 0x2188fc6b
jg 0x40a017
cmp eax, 0x202f7345
jne 0x409cc0
mov dword [ebp - 0x4c], 0x93e59760
jmp 0x409cc0
cmp eax, 0x783de905
jg 0x40a0d5
cmp eax, 0x773e8d77
jg 0x40a0ec
cmp eax, 0x6c53d4cf
jg 0x40a103
cmp eax, 0x64fd2b27
jg 0x40a11a
cmp eax, 0x637ab875
jg 0x40a141
cmp eax, 0x58efdbf1
jg 0x40a165
cmp eax, 0x4f0ebb59
jg 0x40a19a
cmp eax, 0x4db1e445
jg 0x40a1b1
cmp eax, 0x441b91cf
jg 0x40a1e9
cmp eax, 0x412d7fd6
jg 0x40a200
cmp eax, 0x3d125e78
jg 0x40a224
cmp eax, 0x3c4b5365
jg 0x40a248
cmp eax, 0x39e88938
jg 0x40a25f
cmp eax, 0x2188fc6c
je 0x40a279
cmp eax, 0x21e49c48
jne 0x40a291
mov al, byte [ebp - 4]
test al, al
mov eax, 0x3c4b5366
jne 0x40a0cd
mov eax, 0x58efdbf2
mov dword [ebp - 0x4c], eax
jmp 0x409cc0
cmp eax, 0x783de906
jne 0x409cc0
mov dword [ebp - 0x4c], 0xe37d616a
jmp 0x409cc0
cmp eax, 0x773e8d78
jne 0x409cc0
mov dword [ebp - 0x4c], 0x93e59760
jmp 0x409cc0
cmp eax, 0x6c53d4d0
jne 0x409cc0
mov dword [ebp - 0x4c], 0x9ec60217
jmp 0x409cc0
cmp eax, 0x64fd2b28
jne 0x409cc0
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
setne byte [ebp - 3]
mov dword [ebp - 0x4c], 0x3d125e79
jmp 0x409cc0
cmp eax, 0x637ab876
jne 0x409cc0
mov al, byte [ebp - 1]
test al, al
mov eax, 0xd7b4fa43
jne 0x40a15d
mov eax, 0x441b91d0
mov dword [ebp - 0x4c], eax
jmp 0x409cc0
cmp eax, 0x58efdbf2
jne 0x409cc0
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, 0x773e8d78
cmp dword [ecx + edx], 0x4550
jne 0x40a192
mov eax, 0xf0680486
mov dword [ebp - 0x4c], eax
jmp 0x409cc0
cmp eax, 0x4f0ebb5a
jne 0x409cc0
mov dword [ebp - 0x4c], 0x4db1e446
jmp 0x409cc0
cmp eax, 0x4db1e446
jne 0x409cc0
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.00401fd0
mov dword [ebp - 0x44], eax
cmp eax, dword [ebp - 0x14]
sete byte [ebp - 1]
mov dword [ebp - 0x4c], 0x637ab876
jmp 0x409cc0
cmp eax, 0x441b91d0
jne 0x409cc0
mov dword [ebp - 0x4c], 0x9a5943cf
jmp 0x409cc0
cmp eax, 0x412d7fd7
jne 0x409cc0
mov al, byte [ebp - 2]
test al, al
mov eax, 0x4f0ebb5a
jne 0x40a21c
mov eax, 0xff6a03b6
mov dword [ebp - 0x4c], eax
jmp 0x409cc0
cmp eax, 0x3d125e79
jne 0x409cc0
mov al, byte [ebp - 3]
test al, al
mov eax, 0x773e8d78
jne 0x40a240
mov eax, 0x2188fc6c
mov dword [ebp - 0x4c], eax
jmp 0x409cc0
cmp eax, 0x3c4b5366
jne 0x409cc0
mov dword [ebp - 0x4c], 0x7bda9ad6
jmp 0x409cc0
cmp eax, 0x39e88939
jne 0x409cc0
inc dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0xe37d616a
jmp 0x409cc0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0xc9274860
jmp 0x409cc0
cmp eax, 0x22516e44
jne 0x409cc0
mov dword [ebp - 0x4c], 0x64fd2b28
jmp 0x409cc0
mov eax, dword [ebp - 0xc]
add esp, 0x50
pop ebp
ret