Function at 0x40538a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov edx, 0x2f
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x405390
mov eax, dword [esp + 0xc8]
mov dword [0x41ed14], eax
mov edx, dword [esp + 0xc4]
lea ecx, [esp]
call fcn.00408000
push dword [0x41ed14]
push dword [0x41ed14]
push 0x1000
call fcn.0040f440
lea eax, [esp + 0x54]
push eax
call fcn.00417320
push dword [0x41ed14]
push dword [0x41ed14]
push 0x1000
call fcn.0040f440
lea eax, [esp + 0x58]
push eax
call fcn.00417320
lea eax, [esp + 0x10]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x1c]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0xa4]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0xb0]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x28]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x34]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x68]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x74]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x80]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x8c]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x98]
push eax
call dword [0x41e220]
add esp, 4
lea eax, [esp + 0x40]
push eax
call dword [0x41e220]
add esp, 4
sub esp, 4
push 0x10
mov eax, str.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F
push eax
call fcn.004173d0
push eax
mov dword [esp + 8], eax
lea eax, [esp + 0x4c]
push eax
call dword [0x41e300]
add esp, 0xc
push eax
push dword [esp + 4]
call fcn.00417440
pop eax
add esp, 4
sub esp, 4
push 0xa
mov eax, str.55066263022277343669578718895168534326250603453777594175500187360389116729240
push eax
call fcn.004173d0
push eax
mov dword [esp + 8], eax
lea eax, [esp + 0x1c]
push eax
call dword [0x41e300]
add esp, 0xc
push eax
push dword [esp + 4]
call fcn.00417440
pop eax
add esp, 4
sub esp, 4
push 0xa
mov eax, str.32670510020758816978083085130507043184471273380659243275938904335757337482424
push eax
call fcn.004173d0
push eax
mov dword [esp + 8], eax
lea eax, [esp + 0x28]
push eax
call dword [0x41e300]
add esp, 0xc
push eax
push dword [esp + 4]
call fcn.00417440
pop eax
add esp, 4
sub esp, 4
push 0x10
push dword [esp + 8]
call fcn.004173d0
push eax
mov dword [esp + 8], eax
lea eax, [esp + 0x74]
push eax
call dword [0x41e300]
add esp, 0xc
push eax
push dword [esp + 4]
call fcn.00417440
pop eax
add esp, 4
push dword [0x41ed14]
push dword [0x41ed14]
lea eax, [esp + 0x70]
push eax
push 2
mov eax, dword [esp + 0x60]
push eax
call dword [0x41dfec]
add esp, 0x10
pop dword [0x41ed14]
push dword [0x41ed14]
push dword [0x41ed14]
push 0x18
push 0xffffffff
mov eax, dword [esp + 0x60]
push eax
call fcn.00416e40
lea eax, [esp + 8]
push eax
call fcn.00417320
push 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
call dword [0x41e128]
add esp, 0xc
push 0
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [0x41e128]
add esp, 0xc
mov dword [esp + 8], 2
jmp 0x40560b
push dword [esp + 4]
call fcn.0040ede0
cmp eax, dword [esp + 8]
jl 0x4059ac
push 3
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e124]
add esp, 0xc
push 2
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x41e124]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x88]
push eax
call dword [0x41e48c]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x94]
push eax
call dword [0x41e3c8]
add esp, 0xc
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e48c]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [0x41e258]
add esp, 0xc
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e48c]
add esp, 0xc
push 2
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x41e124]
add esp, 0xc
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x88]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xac]
push eax
call dword [0x41e258]
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x41e48c]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0xb8]
push eax
call dword [0x41e258]
add esp, 0xc
push 0
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x30]
push eax
call dword [0x41e128]
add esp, 0xc
push 0
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [0x41e128]
add esp, 0xc
push dword [0x41ed14]
push dword [0x41ed14]
push 1
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.0040ed00
add dword [0x41ed14], 2
mov edx, 0x41a3d6
pop ecx
mov dword [0x41ed14], ecx
add ecx, dword [0x41cfec]
call fcn.00408070
je 0x4059a2
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x41e3c8]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x88]
push eax
call dword [0x41e48c]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [0x41e258]
add esp, 0xc
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e48c]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x88]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xac]
push eax
call dword [0x41e258]
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x70]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x7c]
push eax
call dword [0x41e48c]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x88]
push eax
call dword [0x41e018]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xb8]
push eax
call dword [0x41e258]
add esp, 0xc
push 0
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x30]
push eax
call dword [0x41e128]
add esp, 0xc
push 0
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [0x41e128]
add esp, 0xc
inc dword [esp + 8]
jno 0x40560b
push dword [0x41ed14]
push dword [0x41ed14]
lea eax, [esp + 0x30]
push eax
push 0x10
mov eax, dword [esp + 0x60]
push eax
call dword [0x41dfec]
add esp, 0x10
pop dword [0x41ed14]
push dword [0x41ed14]
push dword [0x41ed14]
lea eax, [esp + 0x3c]
push eax
push 0x10
mov eax, dword [esp + 0x64]
push eax
call dword [0x41dfec]
add esp, 0x10
pop dword [0x41ed14]
push dword [0x41ed14]
push dword [0x41ed14]
push 0x18
push 0xffffffff
mov eax, dword [esp + 0x60]
push eax
call fcn.00416e40
lea eax, [esp + 0x5c]
push eax
call fcn.00417320
push dword [0x41ed14]
push dword [0x41ed14]
mov eax, 0x41a3d2
push eax
push 0x40
push dword [esp + 0x68]
call fcn.0040f2d0
lea eax, [esp + 0x5c]
push eax
call fcn.00417320
push dword [0x41ed14]
push dword [0x41ed14]
push 0x18
push 0xffffffff
mov eax, dword [esp + 0x64]
push eax
call fcn.00416e40
lea eax, [esp + 0x60]
push eax
call fcn.00417320
push dword [0x41ed14]
push dword [0x41ed14]
mov eax, 0x41a3d2
push eax
push 0x40
push dword [esp + 0x6c]
call fcn.0040f2d0
lea eax, [esp + 0x60]
push eax
call fcn.00417320
push dword [0x41ed14]
mov edx, 0x41a0de
push edx
call fcn.004172c0
mov edx, dword [esp + 0x5c]
push edx
call fcn.004172c0
mov edx, dword [esp + 0x60]
push edx
call fcn.004172c0
lea eax, [esp + 0x64]
push eax
call fcn.00417320
push dword [0x41ed14]
push dword [0x41ed14]
push dword [0x41ed14]
push 1
push dword [esp + 0x6c]
call fcn.0040f3c0
add dword [0x41ed14], 2
mov eax, str.13579bdf
push eax
mov edx, dword [0x41cfec]
add dword [esp + 4], edx
call fcn.0040eeb0
pop dword [0x41ed14]
mov ebx, eax
and ebx, ebx
jle 0x405b46
push dword [0x41ed14]
mov edx, 0x41a0d8
push edx
call fcn.004172c0
mov edx, dword [esp + 0x5c]
push edx
call fcn.004172c0
lea eax, [esp + 0x68]
push eax
call fcn.00417320
jmp 0x405b6b
push dword [0x41ed14]
mov edx, 0x41a0d2
push edx
call fcn.004172c0
mov edx, dword [esp + 0x5c]
push edx
call fcn.004172c0
lea eax, [esp + 0x68]
push eax
call fcn.00417320
lea eax, [esp + 0x10]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x1c]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0xa4]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0xb0]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x28]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x34]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x68]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x74]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x80]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x8c]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x98]
push eax
call dword [0x41e0fc]
add esp, 4
lea eax, [esp + 0x40]
push eax
call dword [0x41e0fc]
add esp, 4
mov edx, dword [esp + 0x60]
push dword [0x41ed14]
push edx
call fcn.004172c0
mov edx, 0x41a38a
push edx
call fcn.004172c0
mov edx, dword [esp + 0x68]
push edx
call fcn.004172c0
pop eax
add eax, dword [0x41cfec]
jmp 0x405c60
push dword [esp + 4]
call fcn.004173a0
push dword [esp + 0x50]
call fcn.004173a0
push dword [esp + 0x54]
call fcn.004173a0
push dword [esp + 0x64]
call fcn.004173a0
push dword [esp + 0x60]
call fcn.004173a0
push dword [esp]
call fcn.004173a0
push dword [esp + 0x58]
call fcn.004173a0
push dword [esp + 0xc]
call fcn.004173a0
push dword [esp + 0x5c]
call fcn.004173a0
add esp, 0xbc
pop ebx
ret 4