Function at 0x437dec
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a8f7
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4b2d60]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x4a0554
lea ecx, [esp + 0x18]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [esp + 0x18]
push eax
push 2
mov dword [esp + 0x44], ebx
call fcn.00411806
or dword [esp + 0x44], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x477678
push 0x80000001
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
call fcn.00434644
add esp, 0x10
test eax, eax
jne 0x438034
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jbe 0x438034
push ebx
mov dword [esp + 0x18], eax
call fcn.004510cb
mov esi, eax
pop ecx
xor eax, eax
push eax
push dword [esp + 0x18]
mov edi, edx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
call fcn.0043d537
test al, al
je 0x438008
sub esi, dword [esp + 0x14]
push ebx
pop eax
push ebx
push 0x3c
sbb edi, eax
push edi
push esi
call fcn.004568e0
push 0x49fa5c
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.004012e2
push edi
push 2
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 1
call fcn.004118d7
or dword [esp + 0x40], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017df
cmp edi, ebx
je 0x437f10
mov eax, edi
xor edx, edx
mov ecx, 0x5a0
div ecx
mov edi, eax
jmp 0x437f14
mov edi, dword [esp + 0x28]
push 0x49fbac
lea ecx, [esp + 0x24]
call fcn.004012e2
push 2
pop eax
push edi
push eax
lea esi, [esp + 0x28]
mov dword [esp + 0x40], eax
call fcn.004118d7
or dword [esp + 0x40], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [ebp + 8]
cmp edi, eax
jb 0x437f55
mov edi, dword [ebp + 0xc]
mov dword [edi], ebx
jmp 0x437f5e
mov ecx, dword [ebp + 0xc]
sub eax, edi
mov dword [ecx], eax
mov edi, ecx
push 0x4a057c
lea ecx, [esp + 0x24]
call fcn.004012e2
mov dword [esp + 0x38], 3
push dword [edi]
lea esi, [esp + 0x24]
push 2
call fcn.004118d7
or dword [esp + 0x40], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.004017df
lea eax, [esp + 0x14]
push eax
push 0x4a05a0
push 0x477678
push 0x80000002
mov dword [esp + 0x24], 0x3e8
call fcn.00434644
add esp, 0x10
test eax, eax
jne 0x438067
cmp dword [esp + 0x14], 0x64
jae 0x438067
push 0x4a05c8
lea ecx, [esp + 0x24]
call fcn.004012e2
mov dword [esp + 0x38], 4
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push 2
call fcn.00411806
mov ecx, dword [esp + 0x2c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017df
mov eax, dword [esp + 0x14]
mov dword [edi], eax
jmp 0x438067
push 0x4a0500
lea ecx, [esp + 0x24]
call fcn.004012e2
push ebx
lea eax, [esp + 0x24]
push eax
push 2
mov dword [esp + 0x44], 5
call fcn.00411806
mov ecx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x43805f
push 0x4a0534
lea ecx, [esp + 0x2c]
call fcn.004012e2
push ebx
lea eax, [esp + 0x2c]
push eax
push esi
push 2
mov dword [esp + 0x48], 6
call fcn.00411336
mov ecx, dword [esp + 0x38]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017df
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret