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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x609acb
sub esp, 0xb4
mov eax, 0
mov dword [esp + 0xb0], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
lea eax, [0x81df80]
mov dword [esp], eax
call fcn.00474030
mov eax, dword [esp + 4]
lea ecx, [0x642220]
cmp eax, ecx
jne 0x6095f7
mov eax, dword [esp + 8]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea edx, [0x609ae0]
mov dword [esp + 0xa0], edx
lea edx, [0x81df80]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x2f], 1
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 4]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [ebx + 0x18]
mov esi, dword [ebx + 0x1c]
mov ebp, dword [ebp + 0x1c]
mov dword [esp], esi
mov esi, dword [esp + 0xbc]
mov dword [esp + 4], esi
mov edi, dword [esp + 0xc0]
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x6095b6
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
cmp ecx, edx
ja 0x609ab9
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x78]
xor eax, eax
xor ebp, ebp
lea esi, [esp + 0x2c]
xor edi, edi
jmp 0x609636
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0060e3c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov eax, dword [0x81cad8]
lea ecx, [0x6db880]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0xb4
ret
mov dword [ebx + eax*4 - 0xc], ebp
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov ebx, ebp
mov eax, ecx
mov ebp, esi
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
je 0x609793
sub ecx, eax
cmp ecx, 0xd
jle 0x609781
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], esi
lea esi, [eax + 0xb]
mov ebp, dword [esp + 0x3c]
cmp ebp, esi
jb 0x609ab0
sub edx, eax
mov dword [esp + 0x54], edx
add ecx, 0xfffffff5
add edx, 0xfffffff5
neg edx
sar edx, 0x1f
and esi, edx
cmp ecx, 1
jbe 0x609aa6
movzx esi, word [ebx + esi]
rol si, 8
movzx esi, si
lea ecx, [esi + eax + 0xd]
cmp ebp, ecx
jl 0x60976f
mov edx, dword [esp + 0x44]
cmp edx, ecx
jb 0x609aa1
cmp eax, ecx
ja 0x609a9c
inc edi
mov ebp, dword [esp + 0x54]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
lea ebp, [ebx + eax]
mov eax, ebx
mov ebx, dword [esp + 0x34]
cmp ebx, edi
jb 0x6096d2
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x6c], eax
jmp 0x60972c
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x642bc0]
mov dword [esp + 0x10], eax
call fcn.0044fab0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x6c], esi
mov ebx, ebp
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x38], ebx
lea eax, [edi + edi*2]
add esi, 0xd
mov ebx, dword [esp + 0x6c]
mov dword [ebx + eax*4 - 8], esi
mov esi, dword [esp + 0x54]
mov dword [ebx + eax*4 - 4], esi
mov esi, dword [0x8489b0]
test esi, esi
je 0x609618
mov esi, edi
call fcn.0046a610
mov dword [edi], ebp
mov edx, dword [ebx + eax*4 - 0xc]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x44]
mov edi, esi
jmp 0x609618
mov eax, dword [0x81caec]
lea ecx, [0x6db754]
xor edi, edi
xor esi, esi
jmp 0x609797
mov eax, dword [0x81caec]
lea ecx, [0x6db754]
xor edi, edi
xor esi, esi
jmp 0x609797
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x6097a5
mov dword [esp + 0x30], edi
xor eax, eax
xor ecx, ecx
jmp 0x6097df
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov ebx, dword [esp + 0x84]
lea esi, [ebx + 0xc]
mov ebx, dword [esp + 0x54]
lea eax, [ebx + 1]
mov edi, dword [esp + 0x30]
cmp eax, edi
jge 0x60999a
mov dword [esp + 0x54], eax
mov byte [esp + 0x2e], cl
mov dword [esp + 0x84], esi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xbc]
mov dword [esp + 4], ebp
mov edi, dword [esp + 0xc0]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], 1
call fcn.00609d10
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x1c]
mov byte [esp + 0x2d], cl
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
test eax, eax
je 0x6098b1
mov dword [esp + 0x70], ebx
mov dword [esp + 0x40], edx
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0xc0]
mov dword [esp + 8], ebp
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], al
call fcn.0060b4b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6098a7
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x6098a1
mov eax, ecx
mov ebx, dword [esp + 0x70]
jmp 0x6098af
mov ebx, dword [esp + 0x14]
jmp 0x6098af
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
mov edx, eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x48], edx
lea eax, [0x6710c0]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
lea edx, [0x644300]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00472590
movzx eax, byte [esp + 0x10]
movzx ecx, byte [esp + 0x2d]
movzx edx, byte [esp + 0x2e]
or ecx, edx
test al, al
je 0x60992d
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
mov ebx, dword [eax]
cmp byte [ebx], 2
je 0x60993b
movzx ebx, byte [ebx + 1]
test bl, bl
jne 0x6097ca
jmp 0x60993b
mov eax, dword [esp + 0x48]
test eax, eax
je 0x6097ca
jmp 0x609966
lea ecx, [0x6db8d0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
mov eax, dword [esp + 0x8c]
mov eax, dword [eax]
lea ecx, [0x6db8d0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
test cl, cl
je 0x609a6f
lea eax, [0x645fc0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00404dc0
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0x1b4]
mov dword [esp + 0x7c], eax
mov ecx, dword [ecx + 0x1c0]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x90], edx
lea edx, [esp + 0x7c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x90]
mov dword [esp], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
mov byte [esp + 0x14], 1
call fcn.0044c4d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x609a6f
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00405a70
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
call eax
add esp, 0xb4
ret
call fcn.0046a6d0
call fcn.0046a6b0
mov eax, 1
call fcn.0046a670
mov eax, esi
mov ecx, ebp
call fcn.0046a6d0
call fcn.0046a6b0
nop
call fcn.00437f20
add esp, 0xb4
ret
call fcn.00469200
jmp fcn.00609470