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

Disassembly:
push 0xffffffffffffffff
push 0x5461a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x5ab980]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
xor ebx, ebx
push 0x4e3f
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x64
add esi, 0x8c
push ebx
push ecx
push ebx
mov ecx, esi
call fcn.0050f738
push 0x4f24
lea ecx, [esp + 0x10]
call fcn.00517fef
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x78
push ebx
push edx
push 1
mov ecx, esi
call fcn.0050f738
push 0x4f25
lea ecx, [esp + 0x10]
call fcn.00517fef
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x78
push ebx
push eax
push 2
mov ecx, esi
call fcn.0050f738
push 0xda
lea ecx, [esp + 0x10]
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push 0x50
push ebx
push ecx
push 3
mov ecx, esi
call fcn.0050f738
push 0xdc
lea ecx, [esp + 0x10]
call fcn.00517fef
mov edx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
push edx
push 1
push 1
mov ecx, esi
call fcn.0050f78b
mov ecx, dword [0x5b8cb0]
mov edi, eax
lea eax, [esp + 0x18]
add ecx, 0x10
push eax
call fcn.00492cf0
mov eax, dword [eax]
mov ecx, esi
push eax
push 1
push edi
mov byte [esp + 0x30], 1
call fcn.0050f886
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.005128e4
mov eax, dword [0x5b8cb4]
lea edx, [esp + 0x18]
push edx
lea ecx, [eax + 0x10]
call fcn.00492cf0
mov eax, dword [eax]
mov ecx, esi
push eax
push 2
push edi
mov byte [esp + 0x30], 2
call fcn.0050f886
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.005128e4
push 0xdd
lea ecx, [esp + 0x10]
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push ecx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edi, eax
mov eax, dword [0x5b8cb0]
lea edx, [esp + 0x18]
push edx
lea ecx, [eax + 0x10]
call fcn.00492d20
mov eax, dword [eax]
mov ecx, esi
push eax
push 1
push edi
mov byte [esp + 0x30], 3
call fcn.0050f886
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.005128e4
mov edx, dword [0x5b8cb4]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [edx + 0x10]
call fcn.00492d20
mov eax, dword [eax]
mov ecx, esi
push eax
push 2
push edi
mov byte [esp + 0x30], 4
call fcn.0050f886
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.005128e4
push 0x1fd
lea ecx, [esp + 0x10]
call fcn.00517fef
mov eax, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push eax
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edi, eax
mov ecx, dword [0x5b8cb0]
lea edx, [esp + 0x18]
add ecx, 0xcc
push ecx
push edx
call fcn.00423160
add esp, 8
mov eax, dword [eax]
mov ecx, esi
push eax
push 1
push edi
mov byte [esp + 0x30], 5
call fcn.0050f886
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.005128e4
mov eax, dword [0x5b8cb4]
lea ecx, [esp + 0x18]
add eax, 0xcc
push eax
push ecx
call fcn.00423160
add esp, 8
mov eax, dword [eax]
mov ecx, esi
push eax
push 2
push edi
mov byte [esp + 0x30], 6
call fcn.0050f886
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.005128e4
push 0xde
lea ecx, [esp + 0x10]
call fcn.00517fef
mov edx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push edx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov ecx, dword [0x5b8cb0]
mov edi, eax
lea eax, [esp + 0x18]
add ecx, 0x10
push eax
call fcn.004878c0
mov eax, dword [eax]
mov ecx, esi
push eax
push 1
push edi
mov byte [esp + 0x30], 7
call fcn.0050f886
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.005128e4
mov eax, dword [0x5b8cb4]
lea edx, [esp + 0x18]
push edx
lea ecx, [eax + 0x10]
call fcn.004878c0
mov eax, dword [eax]
mov ecx, esi
push eax
push 2
push edi
mov byte [esp + 0x30], 8
call fcn.0050f886
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.005128e4
push 0xdf
lea ecx, [esp + 0x10]
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push ecx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edx, dword [0x5b8cb0]
mov edi, eax
mov ecx, esi
mov eax, dword [edx + 0xec]
push eax
push 1
push edi
call fcn.0050f886
mov eax, dword [0x5b8cb4]
mov ecx, esi
mov eax, dword [eax + 0xec]
push eax
push 2
push edi
call fcn.0050f886
push 0xe0
lea ecx, [esp + 0x10]
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push ecx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edx, dword [0x5b8cb0]
mov edi, eax
mov ecx, esi
mov eax, dword [edx + 0xf4]
push eax
push 1
push edi
call fcn.0050f886
mov eax, dword [0x5b8cb4]
mov ecx, esi
mov eax, dword [eax + 0xf4]
push eax
push 2
push edi
call fcn.0050f886
push 0xe1
lea ecx, [esp + 0x10]
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push ecx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edx, dword [0x5b8cb0]
mov edi, eax
mov ecx, esi
mov eax, dword [edx + 0xf0]
push eax
push 1
push edi
call fcn.0050f886
mov eax, dword [0x5b8cb4]
mov ecx, esi
mov eax, dword [eax + 0xf0]
push eax
push 2
push edi
call fcn.0050f886
push 0xe2
lea ecx, [esp + 0x10]
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push ecx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edx, dword [0x5b8cb0]
mov edi, eax
mov ecx, esi
mov eax, dword [edx + 0xdc]
push eax
push 1
push edi
call fcn.0050f886
mov eax, dword [0x5b8cb4]
mov ecx, esi
mov eax, dword [eax + 0xdc]
push eax
push 2
push edi
call fcn.0050f886
push 0xe3
lea ecx, [esp + 0x10]
call fcn.00517fef
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push ecx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edx, dword [0x5b8cb0]
mov edi, eax
mov ecx, esi
mov eax, dword [edx + 0xd8]
push eax
push 1
push edi
call fcn.0050f886
mov eax, dword [0x5b8cb4]
mov ecx, esi
mov eax, dword [eax + 0xd8]
push eax
push 2
push edi
call fcn.0050f886
mov ecx, dword [0x5ab980]
mov dword [esp + 0x10], ecx
mov edx, dword [0x5b8cb0]
mov byte [esp + 0x24], 9
mov eax, dword [edx + 0x7a8]
neg eax
sbb eax, eax
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x487802
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [0x5b8cb0]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [eax + 0x79c]
call fcn.00511df1
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push ecx
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov edx, dword [esp + 0x10]
mov edi, eax
push edx
push 1
push edi
mov ecx, esi
call fcn.0050f886
mov ecx, dword [esp + 0xc]
mov edx, dword [0x5b8cb4]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [edx + 0x79c]
call fcn.00511d05
test eax, eax
je 0x4877fc
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 2
push edi
call fcn.0050f886
cmp dword [esp + 0x14], ebx
jne 0x48778a
mov ecx, dword [0x5b8cb4]
mov eax, dword [ecx + 0x7a8]
neg eax
sbb eax, eax
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x487884
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [0x5b8cb4]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [edx + 0x79c]
call fcn.00511df1
mov ecx, dword [esp + 0xc]
mov edx, dword [0x5b8cb0]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [edx + 0x79c]
call fcn.00511d05
test eax, eax
jne 0x48787e
mov eax, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ebx
inc edi
push eax
push edi
push 1
mov ecx, esi
call fcn.0050f78b
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
push 2
push edi
mov ecx, esi
call fcn.0050f886
cmp dword [esp + 0x14], ebx
jne 0x48781a
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call fcn.005128e4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005128e4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret