Function at 0x42a360
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47faf0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebp
push edi
mov eax, dword [0x4a1620]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0044bb76
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42a3a1
push 0x80004005
call fcn.004012e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push ebp
push ebp
mov dword [esp + 0x40], ebp
mov ecx, dword [esi + 0x253c]
push 0x188
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esi + 0x251c]
call fcn.0044edf2
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx - 0xc]
cmp eax, ebp
jge 0x42a3ea
or eax, 0xffffffff
jmp 0x42a405
push 0x48e77c
push ecx
call fcn.004665a4
add esp, 8
cmp eax, ebp
jne 0x42a401
or eax, 0xffffffff
jmp 0x42a405
sub eax, dword [esp + 0xc]
add eax, 1
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00436a00
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call fcn.00405a40
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a44b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
call fcn.0044ee5a
push ecx
mov byte [esp + 0x3c], 2
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x48bce8
call fcn.004014f0
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x40], 3
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00402200
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x44], 2
call fcn.00419cb0
cmp byte [esi + 0x48c0], 0
je 0x42a4b6
mov byte [esi + 0x48c0], 0
mov dword [0x4a5c94], ebp
mov dword [0x4a5c90], ebp
mov eax, dword [0x4a5c94]
sub eax, ebp
je 0x42a51f
mov edi, 1
sub eax, edi
jne 0x42a56b
cmp dword [esp + 0x24], edi
mov dword [0x4a5c94], ebp
jg 0x42a4dd
jmp fcn.0044c4a2
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0x4814]
mov edx, dword [esi + 0x4810]
push ecx
push edx
push eax
call fcn.004669bd
add esp, 4
push eax
push esi
call fcn.0041eb10
test eax, eax
jne 0x42a56b
add dword [esi + 0x48b0], edi
mov dword [esi + 0x48bc], 0x64
mov byte [esi + 0x48c0], 1
jmp 0x42a56b
cmp dword [esp + 0x24], ebp
jg 0x42a52a
jmp fcn.0044c4a2
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x1c], esp
mov edi, esp
push eax
call fcn.00402200
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.004110b0
mov eax, 1
add dword [0x4a5c90], eax
mov dword [esi + 0x48bc], 0x708
mov dword [0x4a5c94], eax
mov edi, eax
cmp dword [0x4a5c90], 0x19
jle 0x42a581
add dword [esi + 0x48b0], edi
mov byte [esi + 0x48c0], 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.0044f09f
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a5b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x30
ret