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

Disassembly:
mov ecx, dword [0x98d270]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x144]
cmp eax, dword [ecx + 8]
jbe 0x66c802
sub esp, 0x1c4
mov eax, dword [esp + 0x1cc]
jmp 0x66c3ee
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00468c28
mov ecx, dword [esp + 0x1c8]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call fcn.0067ac90
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x60]
lea esi, [esp + 0x40]
call fcn.004690f0
lea ecx, [0x6ee1a0]
mov dword [esp], ecx
lea edx, [esp + 0x60]
mov dword [esp + 4], edx
call fcn.004cf4a0
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x1c8]
mov dword [esp], edx
lea ebx, [0x6aa160]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0067b980
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x66c7ce
lea edi, [esp + 0x80]
xor eax, eax
call fcn.00468c28
lea ecx, [esp + 0x40]
mov dword [esp], ecx
lea edx, [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x20
call fcn.00403500
movzx ecx, byte [esp + 0xc]
test cl, cl
jne 0x66c799
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov ecx, dword [esp + 0x1c8]
mov edx, dword [ecx + 0x28c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x30]
sub edx, ebp
cmp ebx, eax
jb 0x66c4f5
cmp dword [esp + 0x4c], eax
jae 0x66c517
cmp ebx, eax
jbe 0x66c4f5
mov edx, dword [esp + 0x4c]
mov ebx, eax
sub eax, edx
mov esi, eax
jmp 0x66c51b
mov edx, dword [esp + 0x4c]
cmp edx, eax
jbe 0x66c507
mov edx, eax
sub eax, ebx
mov ebx, edx
mov esi, eax
jmp 0x66c51b
mov esi, eax
sub eax, ebx
mov ebx, esi
sub esi, edx
cmp esi, eax
ja 0x66c51b
mov esi, eax
jmp 0x66c51b
mov ebx, eax
mov esi, edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], esi
movzx eax, byte [ecx + 0x295]
test al, al
je 0x66c562
mov dword [esp], ecx
lea eax, [0x6aa160]
mov dword [esp + 4], eax
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.0067e370
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x66c594
mov dword [esp], ecx
lea eax, [0x6aa160]
mov dword [esp + 4], eax
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.0067da10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x66c784
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x180], edx
mov ecx, dword [esp + 0x40]
test ecx, ecx
jne 0x66c5f5
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.00468bf8
mov ecx, dword [esp + 0x1c8]
mov esi, dword [ecx + 0x78]
lea ebp, [0x6fcbe0]
cmp esi, ebp
jne 0x66c7eb
mov esi, dword [ecx + 0x7c]
lea edi, [esp + 0xa0]
call fcn.00468f10
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0xbc]
jmp 0x66c5f9
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 8], ecx
call fcn.0067b0e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x184], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0067a640
movzx eax, byte [esp + 8]
test al, al
je 0x66c3ea
lea edi, [esp + 0x18c]
xor eax, eax
call fcn.00468c22
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x190], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x194], ecx
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x19c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1a0], ecx
lea edi, [esp + 0x1a4]
lea esi, [esp + 0x40]
call fcn.004690f0
mov ecx, dword [esp + 0x1c8]
mov edx, dword [ecx + 0x1b4]
mov ebx, dword [ecx + 0x1b0]
inc ebx
mov ebp, dword [ecx + 0x1ac]
cmp edx, ebx
jae 0x66c72a
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x6e2900]
mov dword [esp + 0x10], eax
call fcn.0044e1d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c8]
mov dword [ebx + 0x1b4], eax
mov eax, dword [0x98d4e0]
test eax, eax
je 0x66c719
call fcn.004689a0
mov dword [edi], ecx
mov ebp, dword [ebx + 0x1ac]
mov dword [edi + 4], ebp
mov dword [ebx + 0x1ac], ecx
mov ebx, edx
mov ebp, ecx
mov ecx, dword [esp + 0x1c8]
mov dword [ecx + 0x1b0], ebx
mov edx, dword [0x98d4e0]
imul ebx, ebx, 0x38
lea edi, [ebx + ebp - 0x38]
test edx, edx
je 0x66c773
mov dword [esp + 0x188], edi
lea eax, [0x6e2900]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x18c]
mov dword [esp + 8], eax
call fcn.00411600
mov ecx, dword [esp + 0x1c8]
mov edi, dword [esp + 0x188]
lea esi, [esp + 0x18c]
call fcn.004690b4
jmp 0x66c3ea
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], ecx
add esp, 0x1c4
ret
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax + 0x1b0]
test ecx, ecx
je 0x66c7b1
mov byte [eax + 0x2a8], 1
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0
add esp, 0x1c4
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], ecx
add esp, 0x1c4
ret
mov dword [esp], esi
mov dword [esp + 4], ebp
lea eax, [0x6be780]
mov dword [esp + 8], eax
call fcn.004099c0
nop
call fcn.00467590
jmp fcn.0066c3c0