Function at 0x4a9d30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x588168
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x4a9d68
xor eax, eax
jmp 0x4aa1c8
cmp dword [esi + 0x60], ebx
je 0x4a9d87
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4a9d84
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x60], ebx
mov ecx, dword [ebx]
mov edx, dword [ecx]
lea edi, [esi + 0x64]
push edi
push 0x599bf4
push ebx
xor ebp, ebp
call edx
mov eax, dword [edi]
test eax, eax
je 0x4aa16f
mov ecx, dword [eax]
mov edx, dword [ecx + 0x58]
lea ebx, [esi + 0xa0]
push ebx
push 1
push eax
call edx
test dword [ebx], 0x20000
je 0x4a9e0b
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
je 0x4a9de0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x599af4
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], ebx
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x28], 0xffffffff
je 0x4a9e0b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x34], 0
jne 0x4a9f11
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x34], eax
je 0x4a9e37
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x599b04
push ecx
call eax
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x28], 1
je 0x4a9e64
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4a9e58
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov ebp, eax
jmp 0x4a9ea9
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push eax
call edx
mov ebp, eax
jmp 0x4a9ea9
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4a9efd
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x3c]
call fcn.004a8410
mov eax, dword [esp + 0x38]
test eax, eax
mov byte [esp + 0x28], 2
je 0x4a9e98
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push ebx
push eax
call edx
mov ebp, eax
mov eax, dword [esp + 0x38]
test eax, eax
mov byte [esp + 0x28], 1
je 0x4a9ea9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor ebx, ebx
cmp ebp, ebx
jge 0x4a9ef9
test dword [esi + 0xa0], 0x20000
je 0x4a9ec6
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push eax
call edx
mov dword [esi + 0xa0], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x4a9edc
mov dword [edi], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x4a9eee
mov dword [esi + 0x60], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
jmp 0x4aa1b4
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x28], 0xffffffff
je 0x4a9f11
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test dword [esi + 0xa0], 0x20000
jne 0x4a9f72
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
test eax, eax
mov dword [esp + 0x34], 0
je 0x4a9f43
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x599af4
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], 3
call eax
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x28], 0xffffffff
je 0x4a9f72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
lea ebx, [esi + 0x70]
push ebx
mov dword [esi + 0x90], 0
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x599be4
push eax
call edx
mov ebp, eax
test ebp, ebp
jge 0x4a9fb5
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebx
push 0x599bd4
push eax
call edx
mov ebp, eax
test ebp, ebp
jl 0x4a9fc1
mov dword [esi + 0x90], 3
jmp 0x4a9fe0
mov dword [esi + 0x90], 7
jmp 0x4a9fe0
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebx
push 0x599bc4
push eax
call edx
mov ebp, eax
test ebp, ebp
jl 0x4a9fe0
mov dword [esi + 0x90], 1
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
test eax, eax
mov dword [esp + 0x14], 0
je 0x4aa006
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x599b98
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x9c]
push edx
push dword [esp + 0x18]
mov dword [esp + 0x30], 4
push eax
mov eax, dword [ecx + 0x4c]
call eax
mov ebx, dword [ebx]
test ebx, ebx
je 0x4aa03a
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1c]
push edx
push 0
push 1
push ebx
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0
push str.AXWIN
push eax
call edx
test dword [esi + 0xa0], 0x400
jne 0x4aa153
mov eax, dword [esi + 4]
lea ebx, [esi + 0xb4]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0xbc]
sub ecx, dword [ebx]
mov edx, dword [esi + 0xc0]
sub edx, dword [esi + 0xb8]
lea ebx, [esi + 0xa4]
lea ebp, [esi + 0xac]
push ebx
push ebp
mov dword [ebp], ecx
mov dword [esi + 0xb0], edx
call fcn.004a6a90
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push ebx
push 1
push eax
call edx
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
push ebx
push 1
push eax
call edx
push ebp
push ebx
call fcn.004a6a10
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0xb8]
add eax, dword [ebp]
add ecx, dword [esi + 0xb0]
mov edx, dword [esi]
lea ebx, [esi + 0xb4]
mov dword [esi + 0xbc], eax
mov eax, dword [edx + 0x10]
mov dword [esi + 0xc0], ecx
mov ecx, esi
call eax
test eax, eax
mov dword [esp + 0x38], 0
je 0x4aa10a
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push 0x599af4
push eax
mov eax, dword [ecx]
call eax
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x38]
mov edi, dword [edi]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x2c]
push ebx
push edx
push 0
push eax
push 0
push 0xfffffffffffffffb
push edi
mov byte [esp + 0x44], 5
call ecx
mov edx, dword [esi + 4]
push 0x507
push 0
push 0
push edx
mov ebp, eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [esp + 0x38]
test eax, eax
mov byte [esp + 0x28], 4
je 0x4aa153
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x28], 0xffffffff
je 0x4aa16b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push 0x599b58
push ebx
mov dword [esp + 0x34], 6
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4aa1b4
mov edi, dword [eax]
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
add edi, 0xc
call edx
push eax
mov eax, dword [edi]
push ebx
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x28], 0xffffffff
je 0x4aa1c6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc