Function at 0x417a40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x41e007
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0xdb8624]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call dword [0x41f2b8]
mov ecx, dword [eax]
xor edi, edi
cmp dword [ecx + 4], edi
lea ecx, [esp + 0x1c]
sete byte [esp + 0x17]
call dword [0x41f508]
or ebp, 0xffffffff
cmp byte [esp + 0x17], 0
je 0x417ac3
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x48]
call fcn.00417860
push eax
mov ecx, ebx
mov dword [esp + 0x40], edi
call dword [0x41f2b4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
mov dword [esp + 0x28], 0x16f
mov dword [esp + 0x2c], 0x119
call dword [0x41fbe8]
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call dword [0x41fb0c]
push edi
lea ecx, [esp + 0x1c]
call dword [0x41fb10]
push edi
lea ecx, [esp + 0x1c]
call dword [0x41fb14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call dword [0x41fb18]
mov eax, dword [eax]
shr eax, 0x1d
and al, 1
movzx edx, al
mov eax, dword [esp + 0x18]
shl edx, 0x1d
xor edx, eax
and edx, 0x20000000
xor eax, edx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], eax
call dword [0x41fb1c]
mov ecx, 0x425158
push ecx
mov eax, 0x75
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov edi, dword [0x41fc00]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
mov dword [esp + 0x40], 1
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 2
test eax, eax
je 0x417bac
push ebx
mov ecx, eax
call dword [0x41fb40]
mov ebx, dword [esp + 0x20]
mov dword [ebx], 0x4228ec
mov dword [ebx + 8], 0x4228c8
jmp 0x417bae
xor ebx, ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
mov dword [esi], ebx
call fcn.00417880
push eax
mov ecx, ebx
mov dword [esp + 0x40], 3
call dword [0x41f2b4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
mov ecx, dword [esi]
mov ebx, dword [0x41fb24]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 0x41
mov dword [esp + 0x2c], 0x6e
mov dword [esp + 0x30], 0x14f
mov dword [esp + 0x34], 0x8c
call ebx
mov ecx, 0x425030
push ecx
mov eax, 0x127
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x40], 4
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 5
test eax, eax
je 0x417c7f
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, eax
call dword [0x41fb40]
mov eax, dword [esp + 0x20]
mov dword [eax], 0x4228ec
mov dword [eax + 8], 0x4228c8
mov dword [esp + 0x1c], eax
jmp 0x417c87
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 4], edx
call fcn.004178a0
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 6
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x28], 0x82
mov dword [esp + 0x2c], 0xe6
mov dword [esp + 0x30], 0xdc
mov dword [esp + 0x34], 0xfc
call ebx
mov ecx, 0x425030
push ecx
mov eax, 0x127
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x40], 7
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 8
test eax, eax
je 0x417d5b
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, eax
call dword [0x41fb40]
mov eax, dword [esp + 0x24]
mov dword [eax], 0x4228ec
mov dword [eax + 8], 0x4228c8
mov dword [esp + 0x1c], eax
jmp 0x417d63
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 8], edx
call fcn.004178c0
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 9
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], 0x41
mov dword [esp + 0x2c], 0x46
mov dword [esp + 0x30], 0x14f
mov dword [esp + 0x34], 0x64
call ebx
mov ecx, 0x425030
push ecx
mov eax, 0x127
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x40], 0xa
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0xb
test eax, eax
je 0x417e44
push ecx
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], esp
push ecx
mov ecx, eax
call dword [0x41fb20]
mov eax, dword [esp + 0x24]
mov dword [eax], 0x422b54
mov dword [eax + 8], 0x422b34
mov dword [esp + 0x1c], eax
jmp 0x417e4c
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 0xc], edx
call fcn.004178e0
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 0xc
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x28], 0x1e
mov dword [esp + 0x2c], 0x46
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x64
call ebx
mov ecx, 0x424fd0
push ecx
mov eax, 0x59
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x40], 0xd
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0xe
test eax, eax
je 0x417f2d
push ecx
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], esp
push ecx
mov ecx, eax
call dword [0x41fb20]
mov eax, dword [esp + 0x24]
mov dword [eax], 0x422b54
mov dword [eax + 8], 0x422b34
mov dword [esp + 0x1c], eax
jmp 0x417f35
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 0x10], edx
call fcn.00417900
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 0xf
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x28], 0x1e
mov dword [esp + 0x2c], 0x96
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0xb4
call ebx
mov ecx, 0x424f78
push ecx
mov eax, 0x57
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x40], 0x10
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0x11
test eax, eax
je 0x418016
push ecx
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], esp
push ecx
mov ecx, eax
call dword [0x41fb20]
mov eax, dword [esp + 0x24]
mov dword [eax], 0x422b54
mov dword [eax + 8], 0x422b34
mov dword [esp + 0x1c], eax
jmp 0x41801e
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 0x14], edx
call fcn.004078f0
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 0x12
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x28], 0x5a
mov dword [esp + 0x2c], 0xff
mov dword [esp + 0x30], 0x168
mov dword [esp + 0x34], 0x112
call ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x48]
call fcn.00417920
mov ecx, dword [esi + 0x14]
push eax
mov dword [esp + 0x40], 0x13
call edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0x14
test eax, eax
je 0x4180e6
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, eax
call dword [0x41fb40]
mov eax, dword [esp + 0x24]
mov dword [eax], 0x4228ec
mov dword [eax + 8], 0x4228c8
mov dword [esp + 0x1c], eax
jmp 0x4180ee
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 0x18], edx
call fcn.00417940
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 0x15
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], 0x41
mov dword [esp + 0x2c], 0xbe
mov dword [esp + 0x30], 0x14f
mov dword [esp + 0x34], 0xdc
call ebx
mov ecx, 0x425030
push ecx
mov eax, 0x127
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov ecx, dword [esi + 0x18]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x40], 0x16
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0x17
test eax, eax
je 0x4181cf
push ecx
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], esp
push ecx
mov ecx, eax
call dword [0x41fb20]
mov eax, dword [esp + 0x24]
mov dword [eax], 0x422b54
mov dword [eax + 8], 0x422b34
mov dword [esp + 0x1c], eax
jmp 0x4181d7
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 0x1c], edx
call fcn.00417960
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 0x18
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x28], 0x66
mov dword [esp + 0x2c], 0xe
mov dword [esp + 0x30], 0x106
mov dword [esp + 0x34], 0x1d
call ebx
mov ecx, 0x424f58
push ecx
mov eax, 0x1d
push eax
lea ecx, [esp + 0x24]
call dword [0x41f2b0]
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x40], 0x19
call edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
push ecx
mov eax, esp
mov dword [eax], 0x84
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x28], esp
call dword [0x41f9bc]
push 0x18
call fcn.00419d10
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], 0x1a
test eax, eax
je 0x4182c1
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, eax
call dword [0x41fb40]
mov eax, dword [esp + 0x24]
mov dword [eax], 0x4228ec
mov dword [eax + 8], 0x4228c8
mov dword [esp + 0x1c], eax
jmp 0x4182c9
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
mov dword [esi + 0x20], edx
call fcn.00417980
mov ecx, dword [esp + 0x1c]
push eax
mov dword [esp + 0x40], 0x1b
call dword [0x41f2b4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x28], 0x41
mov dword [esp + 0x2c], 0x96
mov dword [esp + 0x30], 0x14f
mov dword [esp + 0x34], 0xb4
call ebx
mov ecx, 0x425030
push ecx
mov eax, 0x127
push eax
lea ecx, [esp + 0x28]
call dword [0x41f2b0]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x40], 0x1c
call edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], ebp
call dword [0x41f508]
mov edi, dword [esp + 0x44]
push edi
mov ecx, esi
call fcn.00416560
push edi
call dword [0x41f2ac]
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4