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

Disassembly:
mov eax, 0x4ddc78
call 0x575ad8
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.0051a6ac
push 0x40
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x523877
mov ecx, eax
call fcn.0050b99b
mov edi, eax
or dword [ebp - 4], 0xffffffff
push ecx
mov esi, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0x67
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x515fcc
call 0x58d204
lea ecx, [ebx + 0x1a8]
push esi
call 0x54d20a
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0051c398
push 1
lea ecx, [edi + 0x30]
pop esi
push eax
mov dword [ebp - 4], esi
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call 0x58d196
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0x2c], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0x4b
mov dword [ebp - 0x14], ecx
call 0x58bba8
push 0x40
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x523907
mov ecx, eax
call fcn.0050b99b
mov edi, eax
jmp 0x523909
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0x65
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x515fb4
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 3
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x58d196
mov ecx, dword [ebp - 0x14]
push edi
mov dword [edi + 0x2c], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0x4c
call 0x58bba8
push 0x40
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 4
je 0x52399a
mov ecx, eax
call fcn.0050b99b
mov edi, eax
jmp 0x52399c
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [edi + 8], 0x64
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x515f9c
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 5
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call 0x58d196
lea ecx, [ebx + 0x14]
push edi
mov dword [edi + 0x2c], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0xfffffff6
mov dword [ebp - 0x14], ecx
call 0x58bba8
push 0x40
call 0x58c41a
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 6
je 0x523a30
mov ecx, eax
call fcn.0050b99b
mov edi, eax
jmp 0x523a32
xor edi, edi
or dword [ebp - 4], 0xffffffff
push ecx
mov ebx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov dword [edi + 8], 0x66
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x51538c
call 0x58d204
push ebx
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x1a8]
call 0x54d20a
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.0051c398
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 7
call 0x58d2cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call 0x58d196
mov ecx, dword [ebp - 0x14]
push edi
mov dword [edi + 0x2c], esi
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0xfffffff7
call 0x58bba8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret