Function at 0x4a53ec
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a5a30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4a5a15
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004a4cb4
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
je 0x4a5a15
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
je 0x4a5a15
mov eax, dword [ebp - 4]
call fcn.00479d14
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
jne 0x4a5463
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38e]
mov eax, dword [eax + 0x2d]
mov dword [ebp - 0x14], eax
jmp 0x4a5472
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38e]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x448344]
call fcn.0044ee28
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a5a0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38e]
mov edx, dword [edx + 0x18]
call fcn.0044b320
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38e]
mov edx, dword [edx + 0x18]
call fcn.0044af4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38e]
cmp byte [eax + 0x28], 1
jne 0x4a5518
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x14]
call fcn.0044b320
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 0x14]
call fcn.0044af4c
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
lea edx, [ebp - 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov dword [ebp - 8], 4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x388], 0
je 0x4a555b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3a1], 0
jl 0x4a555b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
mov eax, dword [eax + 0x38]
add eax, 8
mov dword [ebp - 8], eax
jmp 0x4a5587
mov eax, dword [0x4b0128]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4a5587
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38e]
cmp byte [eax + 0x3e], 0
je 0x4a5587
mov dword [ebp - 8], 0x18
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38e]
mov edx, dword [edx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38e]
cmp byte [eax + 0x28], 0
jne 0x4a5657
cmp dword [ebp - 0x14], 0x1fffffff
je 0x4a5657
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x14]
call fcn.0044b320
mov eax, dword [ebp - 0x2c]
add eax, 3
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
call fcn.0042ce00
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00470e34
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
pop edx
call fcn.0044b5c0
add eax, dword [ebp - 8]
add eax, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
call fcn.0042ce00
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00470e34
cmp dword [ebp - 0x58], 0
je 0x4a5873
mov eax, dword [ebp - 4]
cmp dword [eax + 0x388], 0
je 0x4a56c8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3a1], 0
jl 0x4a56c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x30]
call fcn.004a53a4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3a1]
push eax
push 1
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov edx, eax
mov ecx, dword [ebp - 0x30]
add ecx, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x388]
call fcn.00489bc0
jmp 0x4a5828
mov eax, dword [0x4b0128]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x4a5828
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38e]
cmp byte [eax + 0x3e], 0
je 0x4a5828
mov dl, 1
mov eax, dword [0x448344]
call fcn.0044ee28
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4a5821
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b0128]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x4b0128]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x20]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov edx, 0xff00ff
call fcn.0044b320
mov eax, dword [ebp - 0x20]
call fcn.0044f748
mov eax, dword [eax + 0x44]
mov edx, 0xff00ff
call fcn.0044af4c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0042ce00
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0044f748
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov dl, 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00450bf4
mov eax, dword [0x4b0128]
mov eax, dword [eax]
mov eax, dword [eax + 0xa0]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0044f748
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x3c]
push 0x14
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x14
mov edx, 4
mov eax, 4
call fcn.0042ce00
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov ecx, dword [ebp - 0x20]
pop edx
mov ebx, dword [eax]
call dword [ebx + 0x80]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5828
mov eax, dword [ebp - 0x20]
call fcn.00404db8
ret
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0042ce00
push 0x824
lea eax, [ebp - 0x40]
push eax
push 0xffffffffffffffff
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00470e34
mov eax, dword [ebp - 0x5c]
call fcn.004068a0
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
call fcn.0044c528
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp - 4]
cmp dword [eax + 0x399], 0
je 0x4a58ee
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38e]
mov edx, dword [edx + 0x36]
call fcn.0044b320
mov eax, dword [ebp - 0x2c]
add eax, 3
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x39d]
add ecx, dword [ebp - 0x30]
add ecx, 0x64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x39d]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.0042ce00
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov edx, dword [ebp - 0x14]
call fcn.0044b320
mov eax, dword [ebp - 4]
cmp dword [eax + 0x394], 0
je 0x4a59cd
mov eax, dword [ebp - 4]
call fcn.004a4ce4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
call fcn.0042ce00
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov edx, 0x1fffffff
call fcn.0044b320
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x48]
mov dl, 1
call fcn.0044b4a0
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38e]
mov edx, dword [edx + 0x3a]
call fcn.0044a7cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38e]
mov al, byte [eax + 0x35]
dec al
je 0x4a598b
dec al
jne 0x4a5994
mov dword [ebp - 0x18], 1
jmp 0x4a5999
mov dword [ebp - 0x18], 2
jmp 0x4a5999
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
or eax, 0x24
or eax, 0x800
push eax
lea eax, [ebp - 0x40]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x394]
call fcn.004068a0
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
call fcn.0044c528
push eax
call sub.user32.dll_DrawTextW
mov eax, dword [ebp - 0x1c]
call fcn.0044f748
mov edx, eax
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004a5f74
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004981d0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5a15
mov eax, dword [ebp - 0x1c]
call fcn.00404db8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5a37
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.0040680c
ret