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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x685eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x780784]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
xor esi, esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], eax
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
cmp byte [ecx + 0xd], 0
jne 0x4ad61d
mov esi, ecx
cmp dword [edi + 0x14], 0x10
mov edx, edi
mov dword [ebp - 0x18], esi
jb 0x4ad5d4
mov edx, dword [edi]
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x4ad5e0
mov ecx, dword [esi + 0x10]
push dword [edi + 0x10]
push edx
push dword [esi + 0x20]
push ecx
call fcn.0047b480
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x4ad606
mov esi, dword [esi + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], 0
jmp 0x4ad614
mov eax, esi
mov dword [ebp + 0xc], 1
mov esi, dword [esi]
mov dword [ebp - 0x10], eax
cmp byte [esi + 0xd], 0
je 0x4ad5c7
mov esi, dword [ebp + 0xc]
cmp byte [eax + 0xd], 0
jne 0x4ad66f
cmp dword [eax + 0x24], 0x10
lea edx, [eax + 0x10]
jb 0x4ad62f
mov edx, dword [eax + 0x10]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x4ad639
mov ecx, dword [edi]
push dword [eax + 0x20]
push edx
push dword [edi + 0x10]
push ecx
call fcn.0047b480
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x4ad66f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x28f5c28
je 0x4ad7a8
mov dword [ebp - 0x14], eax
push 0x64
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0060c962
mov ecx, eax
add esp, 4
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
movups xmm0, xmmword [edi]
push ecx
push esi
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ecx + 0x20], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
movups xmm0, xmmword [edi + 0x18]
push dword [ebp - 0x18]
movups xmmword [ecx + 0x28], xmm0
movq xmm0, qword [edi + 0x28]
movq qword [ecx + 0x38], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
movups xmm0, xmmword [edi + 0x30]
movups xmmword [ecx + 0x40], xmm0
movq xmm0, qword [edi + 0x40]
movq qword [ecx + 0x50], xmm0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0xf
mov byte [edi + 0x30], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0
mov eax, dword [edi + 0x48]
mov dword [ecx + 0x58], eax
mov eax, dword [edi + 0x4c]
mov dword [ecx + 0x5c], eax
mov eax, dword [edi + 0x50]
mov dword [ecx + 0x60], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov word [ecx + 0xc], 0
mov ecx, dword [ebp - 0x1c]
call fcn.00489510
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.0047bb90
int3