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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x284]
cmp eax, dword [ecx + 8]
jbe 0x60a416
sub esp, 0x304
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x138]
mov eax, dword [ecx + 0x13c]
test edx, edx
je 0x609903
nop
movzx ebx, byte [0xa851a8]
test bl, bl
je 0x6098c9
mov dword [0xa851ac], edx
mov ebx, dword [0xaab020]
test ebx, ebx
jne 0x6098be
mov dword [0xa851b0], eax
jmp 0x6098c9
lea edi, [0xa851b0]
call fcn.004643b0
mov dword [esp + 0x248], edx
mov dword [esp + 0x24c], eax
mov edx, dword [esp + 0x248]
test edx, edx
je 0x6098fb
nop
movzx ebx, byte [edx + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x609909
or ebx, 0x80
jmp 0x609909
xor ebx, ebx
xor edx, edx
xor eax, eax
jmp 0x609909
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x1f
call fcn.004c1eb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x64], eax
cmp eax, 9
ja 0x60995c
cmp eax, 7
jne 0x609940
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x609982
cmp eax, 8
jne 0x60994c
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x609982
cmp eax, 9
jne 0x60a3db
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x609982
cmp eax, 0xa
jne 0x609967
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x609982
cmp eax, 0xb
jne 0x609975
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x609982
cmp eax, 0xc
jne 0x60a3db
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x609ebe
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x308]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x6099e3
lea edi, [esp + 0x68]
xor eax, eax
call fcn.00464628
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x7aa1e0]
cmp ecx, ebx
jne 0x60a3c5
lea edi, [esp + 0x68]
call fcn.00464940
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
jmp 0x609a1e
lea edi, [esp + 0x148]
xor eax, eax
call fcn.00464624
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x7a9ca0]
cmp ecx, ebx
jne 0x60a3af
lea edi, [esp + 0x148]
call fcn.00464918
mov ecx, dword [esp + 0x160]
mov ebx, dword [esp + 0x24]
sub ebx, ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00602c20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x609a4c
mov edx, dword [0xa846b0]
xor ebx, ebx
jmp 0x609a84
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x60a3a8
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp edx, 3
jbe 0x60a39c
mov ebx, dword [ebp + ebx]
xor edx, edx
test edx, edx
jne 0x609eac
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ebx
lea eax, [0x79dd80]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x240], eax
mov ecx, dword [esp + 0x30]
cmp ecx, 1
je 0x609b48
cmp ecx, 2
je 0x609b1b
cmp ecx, 3
jne 0x609af1
lea eax, [0x79dd80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x79dd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ca510
mov eax, dword [esp + 8]
jmp 0x609b73
lea eax, [0x79dd80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x79dd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ca510
mov eax, dword [esp + 8]
jmp 0x609b73
lea eax, [0x79dd80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x79dd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ca510
mov eax, dword [esp + 8]
add eax, 0xfffffffc
jmp 0x609b73
lea eax, [0x79dd80]
mov dword [esp], eax
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x79dd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ca510
mov eax, dword [esp + 8]
add eax, 0xfffffff8
mov ecx, dword [esp + 0x50]
lea edx, [eax + ecx]
cmp ecx, edx
setb bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
xchg ebp, eax
cmp al, bl
xchg ebp, eax
jne 0x609e3a
mov ebx, dword [esp + 0x308]
mov ebp, dword [ebx + 0x2ac]
cmp ebp, ecx
jbe 0x609ba7
cmp ebp, edx
jae 0x609c12
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x758c80]
mov dword [esp + 0x250], eax
lea eax, [0x843694]
mov dword [esp + 0x254], eax
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00537be0
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
lea eax, [0x79dd80]
mov dword [esp], eax
mov ecx, dword [esp + 0x240]
mov dword [esp + 4], ecx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x79dd80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004ca510
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
lea ecx, [0x758ec0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0044b030
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x290]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [esp + 0x34]
cmp edx, ebp
jb 0x60a395
mov esi, dword [esp + 0x50]
cmp esi, ebp
ja 0x60a38c
sub edx, esi
neg edx
sar edx, 0x1f
and edx, esi
add edx, ebx
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jl 0x609cab
mov ebx, ebp
mov dword [esp + 0x23c], eax
cmp eax, edx
je 0x609cc6
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00464d50
lea eax, [0x77f140]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x609cf7
mov eax, dword [esp + 0x23c]
mov dword [edi], eax
jmp 0x609d03
mov eax, dword [esp + 0x23c]
call fcn.004643b0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xffffffff
lea eax, [0x843fbc]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [0x846244]
mov dword [esp + 8], eax
lea eax, [0xaaacd4]
mov dword [esp + 0xc], eax
lea eax, [0x73dc20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0x14], eax
call fcn.004c91a0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x609dc8
lea eax, [0x7807c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x244], eax
lea ecx, [0x79dd80]
mov dword [esp], ecx
mov edx, dword [esp + 0x240]
mov dword [esp + 4], edx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x79dd80]
mov edx, dword [esp + 0x244]
mov dword [edx], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x609daf
mov dword [edx + 4], eax
jmp 0x609db7
lea edi, [edx + 4]
call fcn.004643b0
mov eax, dword [esp + 0x240]
mov ecx, dword [eax + 4]
xor ebx, ebx
jmp 0x609f0b
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x758c80]
mov dword [esp + 0x250], eax
lea eax, [0x84369c]
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x308]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00537be0
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0
lea eax, [0x758c80]
mov dword [esp + 0x250], eax
lea eax, [0x843694]
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x308]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [esp + 0x250]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00537be0
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov dword [esp + 0x30c], 0
add esp, 0x304
ret
mov ecx, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov dword [eax + 0xc], esi
lea esi, [esi + esi*2]
mov dword [edi + esi*4 - 0xc], ecx
mov dword [edi + esi*4 - 8], edx
lea esi, [edi + esi*4 - 4]
xchg ebp, eax
mov byte [esi], al
xchg ebp, eax
mov ebp, dword [esp + 0x4c]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x40]
lea ecx, [ebp + 8]
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
cmp dword [eax + 8], ebx
jle 0x60a0bb
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x308]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00602c20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x609f51
mov ebx, dword [0xa846b0]
xor ebp, ebp
jmp 0x609f88
mov ebx, dword [ecx + 0x28c]
mov ebp, dword [ecx + 0x288]
mov esi, dword [ecx + 0x290]
cmp ebx, eax
jb 0x60a385
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x60a379
mov ebp, dword [esi + ebp]
xor ebx, ebx
test ebx, ebx
jne 0x60a0ad
test ebp, 1
je 0x609f9f
mov ebx, ebp
and ebp, 0xfffffffe
jmp 0x609fa1
mov ebx, ebp
mov dword [esp + 0x54], ebp
lea esi, [eax + 4]
cmp edx, esi
jae 0x609fb6
mov eax, dword [0xa846b0]
xor edx, edx
jmp 0x609ff7
mov edx, dword [ecx + 0x28c]
mov edi, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, esi
jb 0x60a370
sub ebp, eax
sub edx, eax
add ebp, 0xfffffffc
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and esi, ebp
add edx, 0xfffffffc
cmp edx, 3
jbe 0x60a364
mov edx, dword [esi + edi]
mov ebp, dword [esp + 0x54]
xor eax, eax
test eax, eax
jne 0x60a09d
mov eax, dword [esp + 0x244]
mov esi, dword [eax + 0xc]
inc esi
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jb 0x60a01f
test ebx, 1
jmp 0x609ed0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x2c], edx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x7803c0]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x244]
mov dword [ebx + 0x10], edx
mov edx, dword [0xaab020]
test edx, edx
jne 0x60a078
mov dword [ebx + 8], eax
mov edx, dword [esp + 0x60]
test edx, 1
jmp 0x60a08a
lea edi, [ebx + 8]
call fcn.004643b0
mov edx, dword [esp + 0x60]
test edx, 1
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov edi, eax
mov eax, ebx
jmp 0x609ed0
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
jmp 0x60a0bb
mov eax, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x60a0c6
xor ecx, ecx
jmp 0x60a0e7
mov dword [esp + 0x30c], edx
add esp, 0x304
ret
mov ebp, dword [esp + 0x48]
lea ecx, [ebp + 1]
add ebx, 4
mov edx, dword [esp + 0x244]
mov eax, ebx
cmp ecx, 0x400
jge 0x60a0c6
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x308]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00602c20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x60a12c
mov edx, dword [0xa846b0]
xor ebx, ebx
jmp 0x60a163
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x60a35d
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 3
jbe 0x60a351
mov ebx, dword [eax + ebx]
xor edx, edx
test edx, edx
jne 0x60a28f
mov dword [esp + 0x28], ebx
lea edi, [esp + 0x280]
xor eax, eax
call fcn.00464655
mov ecx, dword [esp + 0x308]
mov edx, dword [ecx + 0xac]
mov ebp, dword [ecx + 0xb0]
mov dword [esp + 0x5c], ebp
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x60a2b4
lea edi, [esp + 0x280]
call fcn.00464655
lea edi, [esp + 0x2ac]
lea esi, [esp + 0x280]
call fcn.00464b02
mov ecx, dword [esp + 0x2b0]
mov edx, dword [esp + 0x2b4]
mov ebp, dword [esp + 0x244]
mov esi, ecx
mov ecx, dword [ebp + 0x18]
inc ecx
mov edi, edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x1c]
cmp ebx, ecx
jae 0x60a250
mov dword [esp + 0x5c], edi
mov dword [esp + 0x238], esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x780440]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x244]
mov dword [ebx + 0x1c], edx
mov edx, dword [0xaab020]
test edx, edx
jne 0x60a237
mov dword [ebx + 0x14], eax
jmp 0x60a23f
lea edi, [ebx + 0x14]
call fcn.004643b0
mov ebp, ebx
mov esi, dword [esp + 0x238]
mov edi, dword [esp + 0x5c]
mov edx, eax
xor eax, eax
mov dword [ebp + 0x18], ecx
dec ecx
shl ecx, 4
mov ebx, dword [esp + 0x3c]
mov dword [edx + ecx], ebx
mov ebp, dword [esp + 0x28]
mov dword [edx + ecx + 4], ebp
mov dword [edx + ecx + 0xc], edi
mov ebp, dword [0xaab020]
lea edi, [edx + ecx + 8]
test ebp, ebp
jne 0x60a281
mov dword [edx + ecx + 8], esi
jmp 0x60a0d4
mov eax, esi
call fcn.004643b0
xor eax, eax
jmp 0x60a0d4
mov edx, dword [esp + 0x244]
jmp 0x60a0c6
add edx, 0x2c
mov ecx, dword [esp + 0x58]
inc ecx
mov ebp, dword [esp + 0x5c]
mov ebx, esi
mov esi, edi
mov edi, ecx
mov ecx, dword [esp + 0x308]
cmp edi, ebp
jge 0x60a19f
mov dword [esp + 0x58], edi
lea edi, [esp + 0x2d8]
mov esi, edx
call fcn.00464b02
mov ecx, dword [esp + 0x2e4]
mov esi, ebx
mov ebx, dword [esp + 0x2e8]
mov edi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
jmp 0x60a307
mov esi, dword [esp + 0x23c]
add esi, 0x28
inc ebp
mov edi, ecx
mov dword [esp + 0x20], ebp
mov ecx, esi
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
cmp ebp, ebx
jge 0x60a29b
mov dword [esp + 0x23c], ecx
lea edi, [esp + 0x258]
mov esi, ecx
call fcn.00464b0c
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x278], ecx
jne 0x60a2ec
lea edi, [esp + 0x280]
lea esi, [esp + 0x2d8]
call fcn.00464b02
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
jmp 0x60a1ab
mov eax, 3
mov ecx, edx
call fcn.00464430
mov ecx, edx
call fcn.004644a0
mov eax, 3
mov ecx, edx
call fcn.00464430
mov eax, esi
mov ecx, edx
call fcn.004644a0
mov eax, 3
mov ecx, ebx
call fcn.00464430
mov ecx, ebx
call fcn.004644a0
mov eax, esi
mov ecx, ebp
call fcn.004644a0
mov ecx, ebp
call fcn.00464480
mov eax, 3
mov ecx, edx
call fcn.00464430
mov ecx, edx
call fcn.004644a0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x758500]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x758500]
mov dword [esp + 8], eax
call fcn.00409250
lea eax, [0x774fa0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x7be739]
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
lea ecx, [0x7653c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00436340
nop
call fcn.00462fa0
jmp fcn.00609860