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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff590
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa70], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040771c
xor eax, eax
push ebp
push 0x534e7d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x534e46
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 8]
call fcn.004079b0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00407310
push eax
lea eax, [ebp - 0xa70]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov ecx, 0x534e90
call fcn.0040a738
mov eax, dword [ebp - 0xa70]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00527bf0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
lea eax, [ebp - 0xa6c]
push eax
push 0x802
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00527bf0
mov eax, dword [ebp - 4]
add eax, 0x64
lea edx, [ebp - 0x81c]
mov ecx, 0x401
call fcn.00407934
lea eax, [ebp - 0x14]
push eax
push 0x802
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
mov eax, dword [ebp - 4]
add eax, 0x58
lea edx, [ebp - 0x81c]
mov ecx, 0x401
call fcn.00407934
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x50], edx
push 0x802
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
mov eax, dword [ebp - 4]
add eax, 0x5c
lea edx, [ebp - 0x81c]
mov ecx, 0x401
call fcn.00407934
push 0x802
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
mov eax, dword [ebp - 4]
add eax, 0x54
lea edx, [ebp - 0x81c]
mov ecx, 0x401
call fcn.00407934
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
movzx eax, word [ebp - 0x1a]
call fcn.00534954
mov edx, dword [ebp - 4]
mov word [edx + 0x68], ax
push 0x802
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
mov eax, dword [ebp - 4]
add eax, 0x60
lea edx, [ebp - 0x81c]
mov ecx, 0x401
call fcn.00407934
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
mov eax, dword [ebp - 0x14]
dec eax
je 0x534e1f
dec eax
je 0x534e28
dec eax
je 0x534e31
jmp 0x534e38
mov eax, dword [ebp - 4]
mov byte [eax + 0x6a], 0
jmp 0x534e38
mov eax, dword [ebp - 4]
mov byte [eax + 0x6a], 2
jmp 0x534e38
mov eax, dword [ebp - 4]
mov byte [eax + 0x6a], 1
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x534e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534e84
lea eax, [ebp - 0xa70]
call fcn.0040a6f4
lea eax, [ebp - 0x18]
call fcn.0040712c
lea eax, [ebp - 8]
call fcn.00407724
ret