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

Disassembly:
push 0xffffffffffffffff
push 0x4f9776
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x14], ebx
call fcn.004d5280
mov cl, byte [esp + 0x13]
lea esi, [ebx + 0xac]
xor eax, eax
mov dword [esp + 0x30], eax
mov byte [esi], cl
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x1c]
mov dword [ebx], 0x4fc528
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
mov ebp, 1
push edx
push ebp
push eax
mov ecx, esi
mov byte [esp + 0x3c], 1
mov dword [esp + 0x30], 0x9ccb
mov dword [esp + 0x2c], ebp
call fcn.004d3e30
mov edx, dword [esi + 8]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push edx
mov ecx, esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], 0x9ccc
mov dword [esp + 0x2c], ebp
call fcn.004d3e30
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
mov dword [esp + 0x1c], 2
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x24], 0x9d03
cmp edx, ebp
mov dword [esp + 0x20], ebp
mov edi, ecx
jae 0x4d2ef8
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x4d2e4f
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, ebx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
jbe 0x4d2e4b
mov ebp, edx
test ebx, ebx
jne 0x4d2e53
xor edx, edx
jmp 0x4d2e65
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ebx, [edx + ebp]
test ebx, ebx
mov eax, ebx
jge 0x4d2e70
xor eax, eax
lea edx, [eax + eax*2]
shl edx, 2
push edx
call fcn.004de48f
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.0042d610
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.0042d660
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
add edx, 0xc
mov ecx, esi
push edx
push eax
push edi
call fcn.0042d610
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0042c050
mov eax, dword [esi + 4]
push eax
call fcn.004de3a6
lea ecx, [ebx + ebx*2]
add esp, 4
lea edx, [ebp + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.00428700
inc eax
mov ebx, dword [esp + 0x14]
mov dword [esi + 4], ebp
lea eax, [eax + eax*2]
lea ecx, [ebp + eax*4]
mov dword [esi + 8], ecx
jmp 0x4d2fd0
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, edi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
jae 0x4d2f6f
lea edx, [edi + 0xc]
push edx
push ecx
push edi
mov ecx, esi
call fcn.0042d610
mov ebp, dword [esi + 8]
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
push eax
push ebp
call fcn.0042d660
mov eax, dword [esi + 8]
cmp edi, eax
je 0x4d2fcc
mov edx, dword [esp + 0x1c]
mov ecx, edi
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x20]
cmp edi, eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
jne 0x4d2f50
jmp 0x4d2fcc
push ecx
push ecx
add ecx, 0xfffffff4
push ecx
mov ecx, esi
call fcn.0042d610
mov ecx, dword [esi + 8]
lea eax, [ecx - 0xc]
cmp edi, eax
je 0x4d2fa8
sub eax, 0xc
sub ecx, 0xc
mov edx, eax
mov ebx, ecx
cmp eax, edi
mov ebp, dword [edx]
mov dword [ebx], ebp
mov ebp, dword [edx + 4]
mov dword [ebx + 4], ebp
mov edx, dword [edx + 8]
mov dword [ebx + 8], edx
jne 0x4d2f86
mov ebx, dword [esp + 0x14]
lea eax, [edi + 0xc]
cmp edi, eax
je 0x4d2fcc
mov edx, dword [esp + 0x1c]
mov ecx, edi
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x20]
cmp edi, eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
jne 0x4d2faf
add dword [esi + 8], 0xc
mov ecx, dword [esp + 0x28]
xor eax, eax
pop edi
mov dword [ebx + 0xbc], eax
mov dword [ebx + 0xd0], eax
mov dword [ebx + 0xcc], eax
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xd4], eax
pop esi
mov dword [ebx + 0xc0], 0x50
mov dword [ebx + 0xc4], 0x64
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret