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

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66d3c0
sub esp, 0x78
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x10], 0
mov ecx, dword [0x98d0b8]
test ecx, ecx
je 0x66cf06
mov ecx, dword [eax + 0x14]
call fcn.00471ab0
mov dword [edi], ecx
mov dword [eax + 0x14], 0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x66cf23
mov edx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x7c]
lea ecx, [eax + 0x24]
mov edx, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov dword [esp + 8], 9
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0066c8f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x58]
lea esi, [esp + 0x14]
call fcn.00472242
lea edi, [esp + 0x3c]
lea esi, [esp + 0x58]
call fcn.00472242
test eax, eax
jne 0x66d377
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
cmp dword [ecx + 0x20], eax
jb 0x66d343
mov edx, dword [ecx + 0x30]
mov ebx, dword [edx]
mov dword [esp], eax
call ebx
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x7c]
mov esi, dword [ebp]
mov edi, dword [ebp + 4]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
call fcn.0047d7d0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x66d317
movzx eax, byte [esp + 0x3d]
mov byte [esp + 0x33], al
mov eax, dword [0x96c924]
lea ecx, [0x6e3960]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x33]
mov dword [esp + 8], eax
call fcn.0040c7c0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x66d017
lea eax, [0x74d188]
mov ecx, dword [eax]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x7c]
mov ebp, dword [ebx + 0x78]
mov edx, dword [ebx + 0x18]
mov dword [esp], ebp
lea edi, [esp + 4]
lea esi, [esp + 0x3c]
call fcn.00472242
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov edx, eax
mov eax, dword [esp + 0x54]
call eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x66d146
mov ecx, dword [esp + 0x2c]
lea edx, [0x7a4750]
cmp eax, edx
jne 0x66d11e
mov eax, dword [ecx + 8]
mov dword [esp + 0x50], eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x74], edx
mov ecx, dword [ecx]
mov dword [esp + 0x4c], ecx
lea ebx, [0x6ec1a0]
mov dword [esp], ebx
call fcn.0040bc10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x66d0ba
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
jmp 0x66d0d2
call fcn.00471ad0
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx + 0x14]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x7a4344]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00409f20
mov eax, dword [esp + 4]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x7a46b0]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x78
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0066d3d0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x66d2eb
mov eax, dword [esp + 0x7c]
movzx ecx, byte [eax + 0x64]
test cl, cl
je 0x66d25b
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
call fcn.00671560
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
lea edx, [0x6db0e0]
mov dword [esp], edx
call fcn.0040bc10
mov eax, dword [esp + 4]
lea ecx, [0x71e180]
mov dword [eax], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
jne 0x66d1d4
mov ecx, dword [esp + 0x7c]
jmp 0x66d1df
call fcn.00471ab0
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [esp + 0x70], eax
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
call fcn.00466330
mov eax, dword [esp + 8]
lea ecx, [0x6e0660]
mov edx, dword [esp + 0x70]
mov dword [edx + 8], ecx
mov ecx, dword [0x98d0b8]
test ecx, ecx
je 0x66d222
call fcn.00471ac0
mov dword [edi], eax
mov ecx, dword [edx + 0xc]
mov dword [edi + 4], ecx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x70]
mov ebx, dword [ecx]
lea ebp, [0x735bf6]
mov dword [esp], ebp
mov dword [esp + 4], 0x19
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
mov edx, ecx
call ebx
mov eax, dword [esp + 0x7c]
cmp byte [esp + 0x3d], 1
jne 0x66d2bb
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x66d2bb
mov ecx, dword [esp + 0x48]
lea edx, [0x7a4ecc]
cmp ecx, edx
jne 0x66d3a3
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
call fcn.006705a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x78
ret
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x78
ret
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov eax, dword [0x95fe78]
mov ecx, dword [0x95fe7c]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x78
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x8c], eax
add esp, 0x78
ret
mov eax, dword [0x7a4ed0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x6ee480]
mov dword [esp + 8], eax
call fcn.00409ce0
nop
call fcn.004706b0
jmp fcn.0066ced0