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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66d53c
sub esp, 0x5c
mov eax, dword [esp + 0x68]
cmp eax, 4
jge 0x66d2c7
cmp eax, 3
jne 0x66d2bb
mov ecx, dword [esp + 0x64]
movzx edx, word [ecx]
cmp dx, 0x6374
jne 0x66d2b3
movzx edx, byte [ecx + 2]
cmp dl, 0x70
jne 0x66d20d
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
call fcn.0052e110
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 8]
test ecx, ecx
jne 0x66d1ee
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], esi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xa
mov dword [esp + 0xc], 0x10
call fcn.0047c3b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x66d1cf
mov dword [esp + 0x2c], eax
mov eax, dword [0xac9840]
mov ecx, dword [0xac983c]
mov edx, dword [0xac9838]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00529730
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
call fcn.0066d750
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x66d1b0
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], ebx
lea eax, [0x79ba00]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [0xac9840]
mov edi, dword [esp + 4]
mov ecx, dword [0xac983c]
mov edx, dword [0xac9838]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [0xadb480]
test eax, eax
jne 0x66d1a4
mov dword [edi], edx
mov dword [esp + 0x38], edi
mov dword [edi + 0xc], 0
lea eax, [0x7b7820]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x66d18f
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
lea ecx, [0x845330]
mov dword [eax + 8], ecx
mov edx, dword [0xadb480]
test edx, edx
jne 0x66d179
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x66d169
mov dword [eax + 0x14], edx
lea ecx, [0x8469a0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, edx
call fcn.0044c870
mov eax, ecx
jmp 0x66d144
lea edi, [eax + 0xc]
mov edx, eax
mov eax, dword [esp + 0x38]
call fcn.0044c870
mov ebx, eax
mov eax, edx
mov edx, ebx
jmp 0x66d134
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0044c870
mov eax, ecx
jmp 0x66d11a
mov eax, edx
call fcn.0044c870
jmp 0x66d0e6
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
cmp eax, 4
jne 0x66d220
mov edx, dword [ecx]
cmp edx, 0x34706374
je 0x66cfbe
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x7716e0]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00407520
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x7e083b]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bb7b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
cmp eax, 4
jmp 0x66d210
cmp eax, 4
mov ecx, dword [esp + 0x64]
jmp 0x66d210
je 0x66d4fd
jne 0x66d4f4
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
cmp edx, 0x36706374
je 0x66cfbe
cmp eax, 4
jne 0x66d220
mov edx, dword [ecx]
cmp edx, 0x78696e75
jne 0x66d220
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.0066af10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x66d4d5
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ebx
lea eax, [0x78fd00]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov dword [edi + 4], 1
mov eax, dword [0xadb480]
test eax, eax
jne 0x66d4c5
lea ecx, [0x7d4165]
mov dword [edi], ecx
mov dword [esp + 0x48], edi
mov dword [edi + 0xc], 4
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x66d4b0
lea eax, [0x7d485e]
mov dword [edi + 8], eax
lea eax, [0x78fd00]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x70]
mov dword [edi + 4], eax
mov eax, dword [0xadb480]
test eax, eax
jne 0x66d4a2
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [esp + 0x44], edi
mov dword [edi + 0xc], 4
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x66d48d
lea eax, [0x7d485e]
mov dword [edi + 8], eax
lea eax, [0x7b7820]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x66d478
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
lea ecx, [0x845370]
mov dword [eax + 8], ecx
mov edx, dword [0xadb480]
test edx, edx
jne 0x66d466
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x66d454
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
lea ecx, [0x8469a0]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x5c
ret
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0044c870
mov eax, ecx
jmp 0x66d42f
lea edi, [eax + 0xc]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.0044c870
mov eax, edx
jmp 0x66d41b
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0044c870
mov eax, ecx
jmp 0x66d401
lea ecx, [edi + 8]
mov edi, ecx
lea eax, [0x7d485e]
call fcn.0044c870
jmp 0x66d3d8
mov eax, dword [esp + 0x6c]
call fcn.0044c870
jmp 0x66d3b6
lea ecx, [edi + 8]
mov edi, ecx
lea eax, [0x7d485e]
call fcn.0044c870
jmp 0x66d389
lea eax, [0x7d4165]
call fcn.0044c870
jmp 0x66d367
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x64]
jmp 0x66d2e8
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x7d483e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x66d530
mov eax, dword [esp + 0x68]
jmp 0x66cf96
mov eax, dword [esp + 0x68]
cmp eax, 4
jmp 0x66d2cd
call fcn.0044b110
jmp fcn.0066cf70