Function at 0x409a30
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], 0x12532078
jmp 0x409ab0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0x8e0d07d6
nop
nop
mov eax, dword [ebp - 0x4c]
cmp eax, 0x87ce9c43
jg 0x409ad0
cmp eax, 0x87193858
jne 0x409ab0
jmp 0x409a9b
cmp eax, 0x892cf6c9
jg 0x409b10
cmp eax, 0x87ce9c44
jne 0x409ab0
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, 0x796f092f
cmp dword [ecx + edx], 0x4550
jne 0x409b00
mov eax, 0x8f69b71b
mov dword [ebp - 0x4c], eax
jmp 0x409ab0
cmp eax, 0x8e0d07d5
jg 0x409b27
cmp eax, 0x892cf6ca
jne 0x409ab0
mov dword [ebp - 0x4c], 0xfca508fe
jmp 0x409ab0
cmp eax, 0x8f011a5e
jg 0x409b51
cmp eax, 0x8e0d07d6
jne 0x409ab0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x4c], 0x63cfe00
jmp 0x409ab0
cmp eax, 0x8f69b71a
jg 0x409b6f
cmp eax, 0x8f011a5f
jne 0x409ab0
mov dword [ebp - 0x4c], 0xfca508fe
jmp 0x409ab0
cmp eax, 0x919ba73b
jg 0x409ba1
cmp eax, 0x8f69b71b
jne 0x409ab0
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0x796f092f
jne 0x409b99
mov eax, 0xa3ef39d9
mov dword [ebp - 0x4c], eax
jmp 0x409ab0
cmp eax, 0x9c284de9
jg 0x409bbf
cmp eax, 0x919ba73c
jne 0x409ab0
mov dword [ebp - 0x4c], 0x569f77f2
jmp 0x409ab0
cmp eax, 0xa2c5997c
jg 0x409be3
cmp eax, 0x9c284dea
jne 0x409ab0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x4c], 0xc67785df
jmp 0x409ab0
cmp eax, 0xa3ef39d8
jg 0x409c17
cmp eax, 0xa2c5997d
jne 0x409ab0
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], 0x7976ded8
jmp 0x409ab0
cmp eax, 0xc67785de
jg 0x409c35
cmp eax, 0xa3ef39d9
jne 0x409ab0
mov dword [ebp - 0x4c], 0x8e0d07d6
jmp 0x409ab0
cmp eax, 0xc8ecdfc7
jg 0x409c65
cmp eax, 0xc67785df
jne 0x409ab0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
setne byte [ebp - 1]
mov dword [ebp - 0x4c], 0xc8ecdfc8
jmp 0x409ab0
cmp eax, 0xd944d061
jg 0x409c90
cmp eax, 0xc8ecdfc8
jne 0x409ab0
mov al, byte [ebp - 1]
test al, al
mov eax, 0x4678d447
jne 0x409c88
mov eax, 0x87ce9c44
mov dword [ebp - 0x4c], eax
jmp 0x409ab0
cmp eax, 0xe3f1b813
jg 0x409cae
cmp eax, 0xd944d062
jne 0x409ab0
mov dword [ebp - 0x4c], 0x46e0c9a9
jmp 0x409ab0
cmp eax, 0xeec187fb
jg 0x409d00
cmp eax, 0xe3f1b814
jne 0x409ab0
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], 0x5b0ce1cf
jmp 0x409ab0
cmp eax, 0xfca508fd
jg 0x409d25
cmp eax, 0xeec187fc
jne 0x409ab0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0x75fe847f
jmp 0x409ab0
cmp eax, 0xffdff6c4
jg 0x409d43
cmp eax, 0xfca508fe
jne 0x409ab0
mov dword [ebp - 0x4c], 0x919ba73c
jmp 0x409ab0
cmp eax, 0x63cfdff
jg 0x409d61
cmp eax, 0xffdff6c5
jne 0x409ab0
mov dword [ebp - 0x4c], 0xc67785df
jmp 0x409ab0
cmp eax, 0xd9e7f2a
jg 0x409d7f
cmp eax, 0x63cfe00
jne 0x409ab0
mov dword [ebp - 0x4c], 0xe3f1b814
jmp 0x409ab0
cmp eax, 0x12532077
jg 0x409d9d
cmp eax, 0xd9e7f2b
jne 0x409ab0
mov dword [ebp - 0x4c], 0x348eda54
jmp 0x409ab0
cmp eax, 0x14f8047d
jg 0x409dc7
cmp eax, 0x12532078
jne 0x409ab0
mov eax, 0xffdff6c5
cmp dword [ebp - 8], 0
je 0x409dbf
mov eax, 0xe3f1b814
mov dword [ebp - 0x4c], eax
jmp 0x409ab0
cmp eax, 0x332dd2c1
jg 0x409de5
cmp eax, 0x14f8047e
jne 0x409ab0
mov dword [ebp - 0x4c], 0xd9e7f2b
jmp 0x409ab0
cmp eax, 0x348eda53
jg 0x409e03
cmp eax, 0x332dd2c2
jne 0x409ab0
mov dword [ebp - 0x4c], 0x7976ded8
jmp 0x409ab0
cmp eax, 0x3a68eb18
jg 0x409e21
cmp eax, 0x348eda54
jne 0x409ab0
mov dword [ebp - 0x4c], 0x75fe847f
jmp 0x409ab0
cmp eax, 0x4678d446
jg 0x409e3f
cmp eax, 0x3a68eb19
jne 0x409ab0
mov dword [ebp - 0x4c], 0xd944d062
jmp 0x409ab0
cmp eax, 0x46e0c9a8
jg 0x409e5d
cmp eax, 0x4678d447
jne 0x409ab0
mov dword [ebp - 0x4c], 0xd944d062
jmp 0x409ab0
cmp eax, 0x4b9ac391
jg 0x409e7b
cmp eax, 0x46e0c9a9
jne 0x409ab0
mov dword [ebp - 0x4c], 0x348eda54
jmp 0x409ab0
cmp eax, 0x4ff0bbc8
jg 0x409e99
cmp eax, 0x4b9ac392
jne 0x409ab0
mov dword [ebp - 0x4c], 0x14f8047e
jmp 0x409ab0
cmp eax, 0x569f77f1
jg 0x409eb7
cmp eax, 0x4ff0bbc9
jne 0x409ab0
mov dword [ebp - 0x4c], 0x14f8047e
jmp 0x409ab0
cmp eax, 0x5b0ce1ce
jg 0x409ed8
cmp eax, 0x569f77f2
jne 0x409ab0
inc dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0x5b0ce1cf
jmp 0x409ab0
cmp eax, 0x67300033
jg 0x409f04
cmp eax, 0x5b0ce1cf
jne 0x409ab0
mov ecx, dword [ebp - 0x48]
mov eax, 0x67300034
cmp ecx, dword [ebp - 0x40]
jb 0x409efc
mov eax, 0x4b9ac392
mov dword [ebp - 0x4c], eax
jmp 0x409ab0
cmp eax, 0x75fe847e
jg 0x409f47
cmp eax, 0x67300034
jne 0x409ab0
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.00402540
mov dword [ebp - 0x44], eax
mov ecx, 0xa2c5997d
cmp eax, dword [ebp - 0x14]
je 0x409f3f
mov ecx, 0x8f011a5f
mov dword [ebp - 0x4c], ecx
jmp 0x409ab0
cmp eax, 0x75fe847f
je 0x409f61
cmp eax, 0x796f092f
jne 0x409f74
mov dword [ebp - 0x4c], 0x348eda54
jmp 0x409ab0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x4c], 0x332dd2c2
jmp 0x409ab0
cmp eax, 0x7976ded8
jne 0x409ab0
mov eax, dword [ebp - 0xc]
add esp, 0x50
pop ebp
ret