Function at 0x66c860
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fa5bf
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [edi], vtable.RYLCreature.0
xorps xmm0, xmm0
movups xmmword [edi + 0x14], xmm0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xf
mov byte [edi + 0x14], 0
movups xmmword [edi + 0x48], xmm0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x48], 0
movups xmmword [edi + 0x60], xmm0
lea ecx, [edi + 0x70]
mov dword [edi + 0x74], 0xf
mov dword [ecx], 0
mov dword [ebp - 0x10], ecx
mov byte [edi + 0x60], 0
movups xmmword [edi + 0x78], xmm0
lea ecx, [edi + 0x88]
mov dword [edi + 0x8c], 0xf
mov dword [ecx], 0
mov dword [ebp - 0x14], ecx
mov byte [edi + 0x78], 0
xor eax, eax
mov byte [ebp - 4], 3
mov word [edi + 0x128], ax
lea esi, [edi + 0x1c0]
mov dword [edi + 0x198], eax
mov dword [edi + 0x19c], eax
mov dword [edi + 0x1a0], eax
mov dword [edi + 0x1a4], eax
mov dword [edi + 0x1a8], eax
mov dword [edi + 0x1ac], eax
mov dword [edi + 0x1b0], eax
mov dword [edi + 0x1b4], eax
mov dword [edi + 0x1b8], eax
mov dword [edi + 0x1bc], eax
push 8
mov dword [ebp - 0x24], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.006df8c3
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov dword [edi + 0x1e4], 0xffffffff
mov ecx, edi
mov dword [edi + 0x1e8], 0
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0
push 0
mov byte [ebp - 4], 4
mov dword [edi + 0x44], 0
mov dword [edi + 0x220], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x204], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.0066ebb0
mov ecx, dword [ebp + 0xc]
mov edx, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x66ca20
sub edx, esi
push edx
push ecx
lea ecx, [edi + 0x14]
call fcn.00451530
mov esi, dword [ebp + 0x10]
mov edx, esi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x66ca40
sub edx, ecx
lea ecx, [edi + 0x48]
push edx
push esi
call fcn.00451530
movq xmm0, qword [ebp + 0x14]
lea esi, [edi + 0x60]
mov eax, dword [ebp + 0x1c]
movq qword [edi + 0x12c], xmm0
movss xmm0, dword [ebp + 0x20]
mov dword [edi + 0x134], eax
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
movss dword [edi + 0x144], xmm0
mov ecx, dword [esi + 0x14]
cmp ecx, 6
jb 0x66cac5
cmp ecx, 0xf
jbe 0x66caa6
mov esi, dword [esi]
mov ecx, dword [ebp - 0x10]
push 6
push str.FACE01
push esi
mov dword [ecx], 6
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x66cb20
mov edx, ecx
mov eax, bind
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x66cadb
mov ecx, bind
jmp 0x66cae8
lea eax, [ecx + edx]
mov ecx, 0xf
cmp eax, ecx
cmova ecx, eax
lea eax, [ebp + 8]
mov dword [ebp + 8], ecx
push eax
push esi
call fcn.0044e4d0
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [ecx], 6
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], ecx
mov ecx, dword [str.FACE01]
mov dword [eax], ecx
mov cx, word [0x706904]
mov word [eax + 4], cx
mov byte [eax + 6], 0
mov dword [esi], eax
mov eax, dword [edi + 0x8c]
lea esi, [edi + 0x78]
cmp eax, 6
jb 0x66cb54
cmp eax, 0xf
jbe 0x66cb35
mov esi, dword [esi]
mov ecx, dword [ebp - 0x14]
push 6
push str.HAIR01
push esi
mov dword [ecx], 6
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 6], 0
jmp 0x66cbaf
mov ecx, eax
mov edx, bind
shr ecx, 1
sub edx, ecx
cmp eax, edx
jbe 0x66cb6a
mov ecx, bind
jmp 0x66cb77
add eax, ecx
mov ecx, 0xf
cmp eax, 0xf
cmova ecx, eax
lea eax, [ebp + 8]
mov dword [ebp + 8], ecx
push eax
push esi
call fcn.0044e4d0
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ecx], 6
mov ecx, dword [ebp + 8]
mov dword [esi + 0x14], ecx
mov ecx, dword [str.HAIR01]
mov dword [eax], ecx
mov cx, word [0x7068fc]
mov word [eax + 4], cx
mov byte [eax + 6], 0
mov dword [esi], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
lea ecx, [edi + 0xc4]
cmp eax, dword [edx]
jne 0x66cbde
push 0x64
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x66cbff
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x30], xmm0
movups xmmword [ecx + 0x40], xmm0
movups xmmword [ecx + 0x50], xmm0
mov dword [ecx + 0x60], 0
xor eax, eax
mov byte [edi + 0x24c], 0
mov word [edi + 0x210], ax
mov eax, edi
mov byte [edi + 0x151], 0
mov byte [edi + 0x21c], 0
mov word [edi + 0x254], 0
mov word [edi + 0x160], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c