Function at 0x66af90
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 0x66b2c2
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x66afb6
mov ecx, dword [ecx]
jmp 0x66afb8
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea eax, [0x6f44e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044e560
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x58]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x40]
mov edx, eax
xor eax, eax
call fcn.004690f4
lea eax, [0x72ce00]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0040e110
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov edx, dword [esp + 0x34]
jmp 0x66b032
mov dword [esi], ecx
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0040e350
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x66b215
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006660f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
cmp eax, 7
jne 0x66b08b
cmp dword [ecx], 0x69617254
jne 0x66b0f5
cmp word [ecx + 4], 0x656c
jne 0x66b0f5
cmp byte [ecx + 6], 0x72
jne 0x66b0f5
jmp 0x66b18f
cmp eax, 0xe
je 0x66b0c6
cmp eax, 0x11
jne 0x66b0f5
mov dword [esp], ecx
lea eax, [0x73ec52]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x11
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66b17d
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x66b0f5
mov dword [esp], ecx
lea eax, [0x73d9cb]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
call fcn.004034e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66b187
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
inc edx
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jb 0x66b108
mov ebp, dword [esp + 0x2c]
jmp 0x66b148
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6f44e0]
mov dword [esp + 0x10], eax
call fcn.0044e6e0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, edx
mov ebx, ecx
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebx
lea esi, [ebp + edx*8 - 4]
mov dword [esi], eax
mov eax, dword [0x995310]
lea esi, [ebp + edx*8 - 8]
test eax, eax
je 0x66b018
call fcn.00468e70
mov dword [edi], ecx
mov eax, dword [esi]
mov dword [edi + 4], eax
jmp 0x66b018
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
jmp 0x66b18f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x6f44e0]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x74157e]
mov dword [esp], eax
mov dword [esp + 4], 0x16
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c1f50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x70
ret
test ecx, ecx
je 0x66b298
nop
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409dc0
mov eax, dword [esp + 0xc]
lea ecx, [0x7b2220]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00494e10
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
lea eax, [0x7ae8f8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004cf320
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x70
ret
call fcn.00467a60
jmp fcn.0066af90