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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66c9f7
sub esp, 0x54
mov eax, dword [esp + 0x58]
test byte [eax], al
lea ecx, [eax + 0x90]
mov dword [esp], ecx
call fcn.00473600
mov eax, dword [esp + 0x58]
lea ecx, [eax + 0xa0]
mov dword [esp], ecx
call fcn.00473600
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x66c784
mov eax, dword [esi + 0x10]
lea ecx, [0x6e4500]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0044e0b0
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x66c781
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [esi + 0x30]
mov dword [edi + 4], eax
mov dword [esi + 0x30], ecx
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x66c7d7
mov eax, dword [esi + 0x10]
lea ecx, [0x6e4500]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0044e0b0
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x66c7d4
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [esi + 0x3c]
mov dword [edi + 4], eax
mov dword [esi + 0x3c], ecx
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x66c82a
mov eax, dword [esi + 0x10]
lea ecx, [0x6e4500]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.0044e0b0
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x66c827
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [esi + 0x48]
mov dword [edi + 4], eax
mov dword [esi + 0x48], ecx
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x66c876
lea edi, [esp + 0x30]
call fcn.00468bb6
lea edi, [esp]
lea esi, [esp + 0x30]
call fcn.00468bb6
call fcn.0066efe0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
mov dword [edx + 0x54], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x66c871
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx + 0x58]
mov dword [edi + 4], eax
mov dword [edx + 0x58], ecx
mov esi, edx
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x66c8c0
lea eax, [0x71e8e0]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
movzx edx, byte [ecx + 0x1e]
mov byte [eax + 0x7d], dl
mov edx, dword [0x9eca70]
test edx, edx
je 0x66c8b1
call fcn.00468460
mov dword [edi], eax
mov edx, dword [ecx + 0x5c]
mov dword [edi + 4], edx
mov dword [ecx + 0x5c], eax
mov dword [esp], eax
call fcn.006511c0
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 0x5c]
test byte [eax], al
lea edi, [eax + 0x64]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x2c], ecx
lea esi, [0x7aadf4]
call fcn.00468bf2
mov eax, dword [eax + 0x34]
mov byte [eax + 0x43a], 2
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00677410
mov eax, dword [esp + 0x58]
mov dword [eax + 0x34], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
mov ecx, dword [ecx + 0x24]
mov ebx, dword [eax + 0x20]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov byte [esp + 8], 0
call ecx
mov eax, dword [esp + 0x58]
mov byte [eax + 0x88], 0
mov byte [eax + 0x89], 0
mov byte [eax + 0x8a], 0
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x28], ecx
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x66c96b
mov ecx, dword [esp + 0x60]
jmp 0x66c97c
call fcn.00468460
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov edx, dword [eax + 0x2c]
mov dword [edi + 4], edx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x60], 0
mov ecx, dword [0x9eca70]
test ecx, ecx
je 0x66c99a
mov ecx, dword [eax + 0x64]
call fcn.00468450
mov dword [edi], ecx
mov dword [eax + 0x64], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov dword [eax + 0x68], 0
mov ecx, dword [0x9eca70]
test ecx, ecx
je 0x66c9d8
mov ecx, dword [eax + 0x6c]
call fcn.00468450
mov dword [edi], ecx
mov dword [eax + 0x6c], 0
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
add esp, 0x54
ret
call fcn.00467050
jmp fcn.0066c6f0