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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x409dfb
sub esp, 0xbc
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.00473770
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00458840
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0045e560
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x28
call fcn.00404130
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409db8
lea ecx, [eax + 2]
mov edx, dword [esp + 0x5c]
cmp edx, ecx
jg 0x409b9b
mov dword [esp], 0
lea eax, [0x7163ac]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x31
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00455df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00470dd0
mov ebx, dword [esp + 0x68]
lea ebp, [eax + ebx - 1]
cmp word [ebp], 0x282e
jne 0x409b5d
lea ebp, [eax + ebx + 1]
cmp byte [ebp], 0x2a
jne 0x409b5d
mov dword [esp + 0x60], eax
sub edx, eax
mov dword [esp + 0x64], edx
lea ebp, [edx - 2]
mov dword [esp + 0x5c], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
lea ecx, [ebp + ebx]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
mov dword [esp + 4], esi
mov byte [esp + 8], 0x29
call fcn.00404130
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x409d76
lea ecx, [eax + 2]
mov edx, dword [esp + 0x5c]
cmp ecx, edx
jl 0x409c41
mov dword [esp], 0
lea eax, [0x715376]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2e
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.00455df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00470dd0
mov ebx, dword [esp + 0x70]
lea ebp, [ebx + eax]
cmp word [ebp], 0x2e29
jne 0x409c03
mov edx, dword [esp + 0x60]
dec edx
mov ebp, dword [esp + 0x64]
sub ebp, eax
add ebp, 0xfffffffc
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
lea ecx, [ebx + ebp]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x74]
mov ebp, eax
xor eax, eax
call fcn.004773ce
mov dword [esp + 0x78], 0xd
lea ecx, [0x704cde]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], edx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x88], 1
lea ecx, [0x7320bc]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x90], ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa0], esi
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa8], 0x13
lea ecx, [0x707a5f]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb8], 8
lea ecx, [0x703083]
mov dword [esp + 0xb4], ecx
mov dword [esp], 0
lea ecx, [esp + 0x74]
mov dword [esp + 4], ecx
mov dword [esp + 8], 9
mov dword [esp + 0xc], 9
call fcn.00455c20
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0046b860
mov ecx, dword [esp + 8]
lea edx, [0x6ce200]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00470a40
lea eax, [esp + 0x1c]
mov dword [esp], eax
lea eax, [0x707a4c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
call fcn.00455df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00470dd0
lea eax, [esp + 0x3c]
mov dword [esp], eax
lea eax, [0x707a39]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
call fcn.00455df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00470dd0
nop
call fcn.00475ee0
jmp fcn.00409ad0