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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66e6b9
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
test byte [ecx], al
lea edx, [ecx + 0x34]
mov dword [esp + 0x40], edx
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], ebx
mov ebp, dword [eax + 8]
mov dword [esp + 0x34], ebp
mov dword [esp], edx
call fcn.00472830
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x66e6d0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
jmp 0x66e486
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [esp], ecx
call fcn.004713e0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
movzx ebp, byte [eax + 0x52]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x66e66a
mov ebp, dword [ecx + 0xc4]
test ebp, ebp
jne 0x66e63d
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x3c], eax
mov ebp, dword [ebx + 0x14]
mov dword [esp], edx
call ebp
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0x4c]
mov ebx, eax
xor eax, eax
call fcn.004690fa
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x4c]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov byte [esp + 0x14], 0
call fcn.0044b120
mov eax, dword [esp + 0x18]
test eax, eax
jge 0x66e5a5
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x98]
mov ebx, dword [eax + 0x94]
test ecx, ecx
je 0x66e530
mov ebp, dword [ecx]
cmp ebp, ebx
jl 0x66e532
mov ebp, ebx
test ebp, ebp
jle 0x66e467
mov esi, dword [esp + 0x70]
cmp esi, ebp
jl 0x66e544
mov esi, ebp
mov ebp, dword [esp + 0x38]
mov ebp, dword [ebp + 0xa4]
cmp esi, ebp
jle 0x66e556
test ecx, ecx
jmp 0x66e55a
test ecx, ecx
mov ebp, esi
je 0x66e562
mov ecx, dword [ecx]
cmp ecx, ebx
jl 0x66e564
mov ecx, ebx
cmp ecx, ebp
jl 0x66e697
sub ebx, ebp
mov dword [eax + 0x94], ebx
mov eax, dword [eax + 0x98]
test eax, eax
je 0x66e580
sub dword [eax], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
je 0x66e610
cmp eax, 1
jne 0x66e5e5
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [0x9674c8]
mov ecx, dword [0x9674cc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [0x9674d0]
mov ecx, dword [0x9674d4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [0x9674b0]
mov ecx, dword [0x9674b4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
lea eax, [0x6f44e0]
mov dword [esp], eax
lea eax, [0x7b0748]
mov dword [esp + 4], eax
call fcn.00438b10
nop
call fcn.00438090
add esp, 0x68
ret
call fcn.00467a60
jmp fcn.0066e3c0