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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x66c792
sub esp, 0xcc
mov eax, 0
mov dword [esp + 0xc8], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xd0], 0
lea eax, [0x6d14b9]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.004becb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x6d59dd]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x14
call fcn.00454370
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
nop
call fcn.004c1760
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x6d19e3]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xb
call fcn.00454370
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0xa4]
mov edx, eax
xor eax, eax
call fcn.0046cb2a
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xb0], 2
lea ecx, [0x6cf9c5]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], edx
lea ebx, [esp + 0xa4]
mov dword [esp], ebx
mov dword [esp + 4], 3
mov dword [esp + 8], 3
call fcn.0066dd00
nop
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004c0ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x66c443
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea edx, [0x6929c0]
mov dword [esp + 0x94], edx
lea edx, [0x748608]
mov dword [esp + 0x98], edx
je 0x66c3f0
mov eax, dword [eax + 4]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov eax, dword [0x96ee08]
lea ecx, [0x7491c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c7d50
mov dword [esp + 0xd0], 0
add esp, 0xcc
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x66c7a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0xc8], ecx
mov byte [esp + 0x23], 1
lea ecx, [0x69dae0]
mov dword [esp], ecx
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [esp + 0xc4], eax
mov dword [eax], 0
lea ecx, [0x7491d4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.004eb830
mov eax, dword [esp + 8]
nop
mov dword [esp], eax
lea eax, [0x683b80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004e51f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x66c517
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax]
mov dword [esp + 0xc0], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x66c5c4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea edx, [0x6929c0]
mov dword [esp + 0x7c], edx
lea edx, [0x748610]
mov dword [esp + 0x80], edx
je 0x66c55c
mov eax, dword [eax + 4]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov eax, dword [0x96ee08]
lea ecx, [0x7491c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c7d50
mov dword [esp + 0xd0], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
inc edx
mov ecx, dword [esp + 0xc0]
cmp edx, eax
jge 0x66c68b
lea edi, [ecx + edx*8]
mov edi, dword [edi + 4]
lea ecx, [ecx + edx*8]
test edi, edi
je 0x66c5bc
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov eax, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004d22d0
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x2c]
cmp ebx, eax
jb 0x66c612
mov ebp, dword [esp + 0x50]
jmp 0x66c65a
mov dword [esp + 0x3c], edx
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6929c0]
mov dword [esp + 0x10], eax
call fcn.004508b0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x3c]
lea esi, [ebp + eax*8 - 4]
mov dword [esi], edx
mov edx, dword [0x9aef70]
lea esi, [ebp + eax*8 - 8]
test edx, edx
je 0x66c67a
call fcn.0046c8a0
mov dword [edi], ecx
mov edx, dword [esi]
mov dword [edi + 4], edx
mov dword [esi], ecx
mov edx, dword [esp + 0x40]
mov esi, eax
mov eax, dword [esp + 0x44]
jmp 0x66c5bc
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
lea eax, [0x6cf9c7]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
call fcn.004d1ac0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x5c]
mov edx, eax
xor eax, eax
call fcn.0046cb28
mov dword [esp + 0x60], 6
lea eax, [0x6d0588]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], 5
lea eax, [0x6d01f6]
mov dword [esp + 0x64], eax
mov dword [esp + 0x70], 3
lea eax, [0x6cfbc1]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], 6
lea eax, [0x6d058e]
mov dword [esp + 0x74], eax
xor eax, eax
xor ecx, ecx
jmp 0x66c723
mov ebx, dword [esp + 0x44]
lea eax, [ebx + 1]
mov edx, dword [esp + 0x4c]
cmp eax, 4
jge 0x66c768
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + eax*8 + 0x5c]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], edx
mov ebp, dword [esp + 0x24]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004d3430
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x66c762
mov eax, dword [esp + 0x38]
lea ecx, [eax + 1]
jmp 0x66c718
mov ecx, dword [esp + 0x38]
jmp 0x66c718
mov dword [esp + 0xd0], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xc8]
mov eax, dword [edx]
call eax
add esp, 0xcc
ret
call fcn.0046b490
jmp fcn.0066c230