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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x66657b
sub esp, 0x90
lea edi, [esp + 0x3c]
lea esi, [esp + 0xa0]
call fcn.0047222e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test eax, 0x80000000
je 0x666061
shl eax, 1
mov edx, ecx
shl ecx, 1
mov ebx, edx
shr edx, 0x1f
or edx, eax
mov eax, edx
shl edx, 1
shr eax, 0x1f
shr ecx, 0x1f
or edx, ecx
add edx, 0xd7b17f80
adc eax, 0xd
jmp 0x66606b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ebx, ecx
test eax, eax
sete al
test edx, edx
sete cl
and eax, ecx
test al, al
je 0x6660a4
test ebx, 0x3fffffff
jne 0x6660a4
lea eax, [0x74d1b0]
mov dword [esp + 0xb4], eax
lea eax, [0x74d158]
mov dword [esp + 0xb8], eax
add esp, 0x90
ret
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 8], edx
call fcn.00665ec0
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x6660e2
mov edx, dword [eax + 0x84]
jmp 0x6660ee
lea ecx, [0x7a56a4]
lea edx, [0x98cc80]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov ebx, dword [eax + 0x70]
mov dword [esp + 0x84], ebx
test ebx, ebx
jne 0x666113
movzx ebp, byte [esp + 0xc]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x666436
lea edi, [esp]
lea esi, [esp + 0xa0]
call fcn.0047222e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.00665e20
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x666140
xor ecx, ecx
jmp 0x6661ba
lea edi, [esp + 0x54]
lea esi, [esp + 0xa0]
call fcn.0047222e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x54]
call fcn.0047222e
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00516760
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x94]
mov dword [ebx + 0x80], eax
mov eax, dword [0x98d0b8]
test eax, eax
je 0x6661b4
call fcn.00471ac0
mov dword [edi], edx
mov eax, dword [ebx + 0x84]
mov dword [edi + 4], eax
mov dword [ebx + 0x84], edx
mov dword [esp + 0x68], ecx
lea eax, [0x6d9640]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004050f0
mov eax, dword [0x98d0b8]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x6661eb
mov eax, dword [esp + 0x94]
jmp 0x6661ff
call fcn.00471ac0
mov dword [edi], ecx
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0x70]
mov dword [edi + 4], edx
mov dword [esp + 0x6c], ecx
mov dword [eax + 0x70], ecx
lea edx, [0x6f85c0]
mov dword [esp], edx
call fcn.0040bc10
mov eax, dword [esp + 4]
lea ecx, [0x666740]
mov dword [eax], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x66623e
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x94]
jmp 0x66625d
call fcn.00471ad0
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov edx, dword [esp + 0x9c]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x94]
mov dword [edi + 8], ebx
mov dword [esp + 0x80], eax
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
lea ecx, [0x6d9640]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004050f0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
lea ecx, [0x6f48e0]
mov dword [esp], ecx
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
lea ecx, [0x6f8560]
mov dword [esp], ecx
call fcn.0040bc10
mov eax, dword [esp + 4]
lea ecx, [0x6666b0]
mov dword [eax], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x6662e3
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x68]
jmp 0x6662ff
call fcn.00471ad0
mov ecx, dword [esp + 0x8c]
mov dword [edi], ecx
mov edx, dword [esp + 0x50]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x68]
mov dword [edi + 8], ebx
mov dword [esp + 0x7c], eax
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
lea edi, [esp]
lea esi, [esp + 0xa0]
call fcn.0047222e
call fcn.004bced0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bb2e0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x6f52a0]
mov dword [esp], ecx
call fcn.0040bc10
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
lea ecx, [0x706080]
mov dword [esp], ecx
call fcn.0040bc10
mov eax, dword [esp + 4]
lea ecx, [0x666590]
mov dword [eax], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x666398
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x50]
jmp 0x6663c8
call fcn.00471af0
mov ecx, dword [esp + 0x84]
mov dword [edi], ecx
mov edx, dword [esp + 0x80]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x88]
mov dword [edi + 0xc], ebp
mov esi, dword [esp + 0x50]
mov dword [edi + 0x10], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], esi
mov dword [esp], eax
call fcn.004425a0
lea eax, [0x6eb640]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
lea ecx, [0x6a00a0]
mov dword [eax], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x66640c
mov ecx, dword [esp + 0x88]
jmp 0x66641a
call fcn.00471ab0
mov ecx, dword [esp + 0x88]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0x90
ret
lea edi, [esp]
lea esi, [esp + 0xa0]
call fcn.0047222e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call fcn.00665e20
movzx eax, byte [esp + 0x1c]
test al, al
je 0x66655a
lea edi, [esp + 0x54]
lea esi, [esp + 0xa0]
call fcn.0047222e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x54]
call fcn.0047222e
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00516760
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x94]
mov dword [ebx + 0x80], eax
mov eax, dword [0x98d0b8]
test eax, eax
je 0x6664db
call fcn.00471ac0
mov dword [edi], edx
mov eax, dword [ebx + 0x84]
mov dword [edi + 4], eax
mov dword [ebx + 0x84], edx
lea eax, [0x6eb3a0]
mov dword [esp], eax
call fcn.0040bc10
mov eax, dword [esp + 4]
lea ecx, [0x6667c0]
mov dword [eax], ecx
mov ecx, dword [0x98d0b8]
lea edi, [eax + 4]
test ecx, ecx
je 0x666535
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], edi
lea eax, [0x722ec0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xa0]
mov dword [esp + 8], eax
call fcn.0040eba0
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
lea esi, [esp + 0xa0]
call fcn.0047222e
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
add esp, 0x90
ret
lea eax, [0x74d1b0]
mov dword [esp + 0xb4], eax
lea eax, [0x74d158]
mov dword [esp + 0xb8], eax
add esp, 0x90
ret
call fcn.004706b0
jmp fcn.00666000