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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x6ff775
sub esp, 0xa8
lea edi, [esp + 0x68]
xor eax, eax
call fcn.004663d0
lea ecx, [0x8ac5b8]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x6c], ecx
lea ecx, [0x847a18]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0x10000
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], eax
lea ebp, [esp + 0x68]
mov dword [esp], ebp
call fcn.004f6730
movzx eax, byte [esp + 4]
test al, al
je 0x6ff6fc
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044dae0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006feae0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x848460]
mov dword [esp + 8], eax
call fcn.004ed4d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x6ff232
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
jmp 0x6ff19a
movzx edx, byte [ecx]
cmp dl, 0x23
je 0x6ff21d
cmp dl, 0x3b
je 0x6ff21d
cmp dl, 0x5b
jne 0x6ff375
lea ebx, [eax + ecx - 1]
cmp byte [ebx], 0x5d
jne 0x6ff375
lea edx, [eax - 1]
cmp edx, 1
jb 0x6ff768
add eax, 0xfffffffe
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004edad0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x6ff291
xor edx, edx
xor ebx, ebx
jmp 0x6ff19a
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1c]
lea edx, [0x7a3c20]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00410f90
movzx eax, byte [esp + 0x14]
test al, al
je 0x6ff2c8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
jmp 0x6ff288
call fcn.0040cc40
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp]
mov dword [esp + 0x64], edx
lea ebx, [0x7a3c20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
call fcn.00411310
mov edi, dword [esp + 0x10]
test byte [edi], al
mov eax, dword [0xaec8c0]
test eax, eax
jne 0x6ff36a
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x44], edx
lea ebx, [0x7a3b20]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
call fcn.00411310
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov eax, dword [esp + 0xac]
inc dword [eax + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
jmp 0x6ff288
mov eax, dword [esp + 0x64]
call fcn.00466130
jmp 0x6ff316
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x6ff574
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x6ff574
cmp dl, 0x20
jne 0x6ff56b
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1c]
lea edx, [0x7a3c20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.00410f90
movzx eax, byte [esp + 0x14]
test al, al
jne 0x6ff4f9
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1c]
lea edx, [0x7a3c20]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x80447b]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.00410c40
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [0x7a3420]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.00410f90
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x6ff4f0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.004edad0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
lea edx, [0x848574]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.0044d9c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.006fec30
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
jmp 0x6ff19a
xor eax, eax
xor ecx, ecx
jmp 0x6ff442
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0x1c]
lea edx, [0x7a3c20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call fcn.00410c40
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
lea ecx, [0x7a3420]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
call fcn.00410f90
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
je 0x6ff3d3
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x6ff442
cmp dl, 9
je 0x6ff39e
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x80173d]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
call fcn.004eb8e0
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x6ff6f3
mov eax, dword [esp + 0x60]
movzx ebx, byte [eax]
cmp bl, 0x20
je 0x6ff66a
cmp bl, 9
je 0x6ff66a
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x6ff763
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004edad0
mov eax, dword [esp + 0x40]
lea ecx, [eax + 1]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x3c]
cmp ebp, ecx
jb 0x6ff75a
mov dword [esp + 0x34], ebx
mov dword [esp + 0x5c], edx
sub ebp, eax
lea eax, [ebp - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x60]
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004edad0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.006fec30
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x5c]
jmp 0x6ff19a
mov dword [esp], 0
lea ecx, [0x80e31c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x16
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.0044d960
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edx, [0x7b28c0]
mov dword [esp], edx
call fcn.0040c160
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov eax, dword [0xaec8c0]
test eax, eax
jne 0x6ff6e8
mov eax, dword [esp + 0x48]
mov dword [edi], eax
lea eax, [0x8ac7c0]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], edi
add esp, 0xa8
ret
mov eax, dword [esp + 0x48]
call fcn.00466130
jmp 0x6ff6cd
mov eax, dword [esp + 0x60]
jmp 0x6ff66a
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [0xacd15c]
cmp dword [0xacd158], eax
je 0x6ff73b
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
add esp, 0xa8
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403800
movzx eax, byte [esp + 0xc]
test al, al
je 0x6ff718
xor eax, eax
xor ecx, ecx
jmp 0x6ff726
mov eax, ecx
mov ecx, ebp
call fcn.00466210
call fcn.004661d0
mov eax, 1
mov ecx, edx
call fcn.00466210
nop
call fcn.00464bd0
jmp fcn.006ff140