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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a4e8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x592174]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebx + 0xc]
mov ecx, edi
mov esi, dword [ebx + 8]
mov edx, esi
push eax
mov dword [ebp - 0x34], eax
call fcn.004d5c90
mov ecx, dword [ebp - 0x34]
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
sub esi, 0x94
sub edi, 0x94
mov dword [ebp - 0x14], esi
push edi
mov ecx, esi
call fcn.004d2ec0
mov edx, dword [ebp - 0x3c]
lea eax, [esi + 0x7c]
mov dword [ebp - 0x28], eax
add edx, 0xffffff6c
lea eax, [esi + 0x64]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], eax
mov ecx, edi
lea eax, [esi + 0x48]
sub ecx, 0x94
mov dword [ebp - 0x20], eax
lea edi, [edx + 0x2c]
lea eax, [esi + 0x30]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x18]
mov dword [ebp - 0x18], eax
lea esi, [ecx + 0x2c]
mov dword [ebp - 0x2c], ecx
nop dword [eax + eax]
push ecx
mov ecx, edx
call fcn.004d7660
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub ecx, 0x94
sub dword [ebp - 0x1c], 0x94
sub edx, 0x94
sub dword [ebp - 0x20], 0x94
sub dword [ebp - 0x24], 0x94
sub dword [ebp - 0x28], 0x94
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
test al, al
je 0x4d67ea
cmp ecx, dword [ebp - 0x2c]
je 0x4d66aa
call fcn.004185c0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi - 0x1c], 0
mov dword [esi - 0x18], 7
mov word [ecx], ax
lea eax, [esi - 0x14]
cmp edx, eax
je 0x4d66df
mov ecx, edx
call fcn.004185c0
movups xmm0, xmmword [esi - 0x14]
mov eax, dword [ebp - 0x18]
movups xmmword [eax], xmm0
movq xmm0, qword [esi - 4]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi - 4], 0
mov dword [esi], 7
mov word [esi - 0x14], ax
mov eax, dword [ebp - 0x1c]
lea ecx, [esi + 4]
cmp eax, ecx
je 0x4d6718
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [esi + 4]
mov eax, dword [ebp - 0x1c]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov edx, dword [ebp - 0x20]
lea eax, [esi + 0x1c]
cmp edx, eax
je 0x4d6751
mov ecx, edx
call fcn.004185c0
movups xmm0, xmmword [esi + 0x1c]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
movups xmmword [edx], xmm0
movq xmm0, qword [esi + 0x2c]
movq qword [edx + 0x10], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], cx
mov ecx, dword [ebp - 0x14]
mov al, byte [esi + 0x34]
mov byte [ecx + 0x60], al
lea eax, [esi + 0x38]
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4d6791
call fcn.004185c0
movups xmm0, xmmword [esi + 0x38]
mov ecx, dword [ebp - 0x24]
movups xmmword [ecx], xmm0
movq xmm0, qword [esi + 0x48]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 7
mov word [esi + 0x38], cx
mov eax, dword [ebp - 0x28]
lea ecx, [esi + 0x50]
cmp eax, ecx
je 0x4d67ca
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [esi + 0x50]
mov eax, dword [ebp - 0x28]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x60]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 7
mov word [esi + 0x50], ax
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x38], ecx
je 0x4d695f
mov edx, dword [ebp - 0x30]
sub ecx, 0x94
sub esi, 0x94
jmp 0x4d6628
cmp ecx, dword [ebp - 0x30]
je 0x4d6820
call fcn.004185c0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi - 0x1c], 0
mov dword [edi - 0x18], 7
mov word [ecx], ax
lea eax, [edi - 0x14]
cmp edx, eax
je 0x4d6855
mov ecx, edx
call fcn.004185c0
movups xmm0, xmmword [edi - 0x14]
mov eax, dword [ebp - 0x18]
movups xmmword [eax], xmm0
movq xmm0, qword [edi - 4]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi - 4], 0
mov dword [edi], 7
mov word [edi - 0x14], ax
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 4]
cmp eax, ecx
je 0x4d688e
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [edi + 4]
mov eax, dword [ebp - 0x1c]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x14]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov word [edi + 4], ax
mov edx, dword [ebp - 0x20]
lea eax, [edi + 0x1c]
cmp edx, eax
je 0x4d68c7
mov ecx, edx
call fcn.004185c0
movups xmm0, xmmword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
xor ecx, ecx
movups xmmword [edx], xmm0
movq xmm0, qword [edi + 0x2c]
movq qword [edx + 0x10], xmm0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 7
mov word [edi + 0x1c], cx
mov ecx, dword [ebp - 0x14]
mov al, byte [edi + 0x34]
mov byte [ecx + 0x60], al
lea eax, [edi + 0x38]
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x4d6907
call fcn.004185c0
movups xmm0, xmmword [edi + 0x38]
mov ecx, dword [ebp - 0x24]
movups xmmword [ecx], xmm0
movq xmm0, qword [edi + 0x48]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 7
mov word [edi + 0x38], cx
mov eax, dword [ebp - 0x28]
lea ecx, [edi + 0x50]
cmp eax, ecx
je 0x4d6940
mov ecx, eax
call fcn.004185c0
movups xmm0, xmmword [edi + 0x50]
mov eax, dword [ebp - 0x28]
movups xmmword [eax], xmm0
movq xmm0, qword [edi + 0x60]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 7
mov word [edi + 0x50], ax
mov edx, dword [ebp - 0x30]
sub edi, 0x94
sub edx, 0x94
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x34], edx
je 0x4d6985
mov ecx, dword [ebp - 0x2c]
jmp 0x4d6630
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x30]
sub esi, 0x94
push edi
mov ecx, esi
call fcn.004d2ec0
push esi
mov esi, dword [ebp - 0x34]
mov edx, edi
mov ecx, esi
call fcn.004d5830
add esp, 4
jmp 0x4d69b3
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x2c]
sub esi, 0x94
push edi
mov ecx, esi
call fcn.004d2ec0
mov ecx, dword [ebp - 0x38]
mov edx, edi
push esi
call fcn.004d5830
mov esi, dword [ebp - 0x34]
add esp, 4
mov ecx, dword [ebp - 0x38]
push esi
call fcn.004d2ec0
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x3c]
cmp esi, edi
je 0x4d69d3
push ecx
mov ecx, esi
call fcn.004d27d0
add esi, 0x94
cmp esi, edi
jne 0x4d69c1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret