Function at 0x40c790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4a5850]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x100]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push eax
mov byte [esp + 0x30], 1
call ebx
mov ecx, dword [esi + 0x5206]
mov edx, dword [esi + 0x520a]
mov edi, dword [esi + 0x520e]
mov ebp, dword [esi + 0x5212]
cmp eax, 3
ja case.default.0x40c801
jmp dword [eax*4 + 0x40ca10]
mov eax, dword [esi + 0x8c]
push edx
push ecx
mov ecx, dword [eax + 0x84]
push ecx
mov edx, dword [eax + 0x80]
push edx
call fcn.00447a00
push 0
push 0xf4240
push edx
push eax
call fcn.00447950
push edx
push eax
lea eax, [esp + 0x1c]
push 0x4a120c
push eax
call fcn.00467e5d
mov ecx, dword [esi + 0x8c]
add esp, 0x10
mov edx, dword [ecx + 0x84]
push ebp
push edi
push edx
mov eax, dword [ecx + 0x80]
push eax
call fcn.00447a00
push 0
push 0xf4240
jmp 0x40c8c8
mov eax, dword [esi + 0x8c]
push edx
push ecx
mov ecx, dword [eax + 0x84]
push ecx
mov edx, dword [eax + 0x80]
push edx
call fcn.00447a00
push 0
push 0x3b9aca00
push edx
push eax
call fcn.00447950
push edx
push eax
lea eax, [esp + 0x1c]
push 0x4a120c
push eax
call fcn.00467e5d
mov ecx, dword [esi + 0x8c]
add esp, 0x10
mov edx, dword [ecx + 0x84]
push ebp
push edi
push edx
mov eax, dword [ecx + 0x80]
push eax
call fcn.00447a00
push 0
push 0x3b9aca00
push edx
push eax
call fcn.00447950
push edx
push eax
lea ecx, [esp + 0x18]
push 0x4a120c
push ecx
call fcn.00467e5d
add esp, 0x10
jmp case.default.0x40c801
push edx
push ecx
lea edx, [esp + 0x1c]
push 0x4a120c
push edx
call fcn.00467e5d
push ebp
push edi
lea eax, [esp + 0x28]
push 0x4a120c
push eax
call fcn.00467e5d
add esp, 0x20
jmp case.default.0x40c801
add ecx, 1
push 0
adc edx, 0
push 0x64
push edx
push ecx
call fcn.00447a00
mov ecx, dword [esi + 0x8c]
mov ebx, dword [ecx + 0x5c]
push ebx
mov ecx, dword [ecx + 0x58]
push ecx
push edx
push eax
call fcn.00447950
push edx
push eax
lea edx, [esp + 0x1c]
push 0x4a120c
push edx
call fcn.00467e5d
add esp, 0x10
add edi, 1
adc ebp, 0
push 0
push 0x64
push ebp
push edi
call fcn.00447a00
mov ecx, dword [esi + 0x8c]
mov edi, dword [ecx + 0x5c]
push edi
mov ecx, dword [ecx + 0x58]
push ecx
push edx
push eax
call fcn.00447950
push edx
push eax
lea edx, [esp + 0x18]
push 0x4a120c
push edx
call fcn.00467e5d
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x1d4]
push eax
call fcn.0046dbbe
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x198]
call fcn.0046dbbe
mov edx, dword [esi + 0x8c]
mov eax, dword [edx + 0x58]
push eax
mov eax, dword [esi + 0x13c]
push 0
push 0x46f
push eax
call ebx
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x178]
mov eax, dword [ecx + 0x58]
push eax
push 0
push 0x46f
push edx
call ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.0046f0bc
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.0046f0bc
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret