Function at 0x40cd10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x484a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x4a8c20]
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.0x40cd81
jmp dword [eax*4 + 0x40cf90]
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.0044a100
push 0
push 0xf4240
push edx
push eax
call fcn.0044a050
push edx
push eax
lea eax, [esp + 0x1c]
push 0x4a421c
push eax
call fcn.0046a3cd
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.0044a100
push 0
push 0xf4240
jmp 0x40ce48
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.0044a100
push 0
push 0x3b9aca00
push edx
push eax
call fcn.0044a050
push edx
push eax
lea eax, [esp + 0x1c]
push 0x4a421c
push eax
call fcn.0046a3cd
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.0044a100
push 0
push 0x3b9aca00
push edx
push eax
call fcn.0044a050
push edx
push eax
lea ecx, [esp + 0x18]
push 0x4a421c
push ecx
call fcn.0046a3cd
add esp, 0x10
jmp case.default.0x40cd81
push edx
push ecx
lea edx, [esp + 0x1c]
push 0x4a421c
push edx
call fcn.0046a3cd
push ebp
push edi
lea eax, [esp + 0x28]
push 0x4a421c
push eax
call fcn.0046a3cd
add esp, 0x20
jmp case.default.0x40cd81
add ecx, 1
push 0
adc edx, 0
push 0x64
push edx
push ecx
call fcn.0044a100
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.0044a050
push edx
push eax
lea edx, [esp + 0x1c]
push 0x4a421c
push edx
call fcn.0046a3cd
add esp, 0x10
add edi, 1
adc ebp, 0
push 0
push 0x64
push ebp
push edi
call fcn.0044a100
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.0044a050
push edx
push eax
lea edx, [esp + 0x18]
push 0x4a421c
push edx
call fcn.0046a3cd
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x1d4]
push eax
call fcn.0047012e
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x198]
call fcn.0047012e
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.0047162c
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.0047162c
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret