Function at 0x41d6f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x485610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x30], 0
test ebx, ebx
jne 0x41d736
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], 0xffffffff
call fcn.0047b122
xor eax, eax
jmp 0x41db25
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x3c], eax
mov dword [esi + 0xf4], ecx
call fcn.004061a0
mov ecx, eax
call fcn.00408280
mov edi, eax
mov edx, dword [edi]
push edx
call dword [0x48a0c8]
mov ebp, eax
push 0
push ebp
push 0
push 0
call fcn.004789f4
push eax
lea ecx, [esp + 0x44]
call fcn.0047b196
push ebp
mov byte [esp + 0x34], 1
call dword [0x48a048]
push 0x78
push 0x46
push 0
lea eax, [esp + 0x24]
push 0
push eax
call dword [0x48a5a4]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esi + 0x15c]
call fcn.0047b269
mov eax, 0x42080000
mov dword [esi + 0x12c], 0x42700000
mov dword [esi + 0x128], eax
mov dword [esi + 0x130], eax
mov dword [esi + 0x134], 0x41700000
mov eax, dword [edi + 4]
mov edx, eax
xor ecx, ecx
and edx, 0xff
mov cl, ah
or edx, 0xffffff00
and ecx, 0xff
shl edx, 8
or edx, ecx
xor ecx, ecx
shr eax, 0x10
shl edx, 8
and eax, 0xff
mov ebp, dword [0x48a5a0]
or edx, eax
mov dword [esi + 0x148], edx
mov eax, dword [edi + 0xc]
mov edx, eax
mov cl, ah
and edx, 0xff
and ecx, 0xff
or edx, 0xffffff00
shl edx, 8
or edx, ecx
shr eax, 0x10
shl edx, 8
and eax, 0xff
or edx, eax
lea eax, [esi + 0xf8]
mov dword [esi + 0x14c], edx
lea edx, [esp + 0x18]
push edx
push eax
call ebp
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi]
mov eax, dword [edi + 8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edx, dword [edi + 4]
lea ecx, [eax + ecx - 0x23]
mov eax, dword [esp + 0x24]
sub edx, eax
mov eax, dword [esp + 0x1c]
add edx, eax
lea eax, [esp + 0x18]
push edx
push ecx
push eax
call dword [0x48a528]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x18]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x40]
push 0
push 0
lea eax, [esp + 0x20]
push ebx
push eax
push 0x92000000
push 0
push ecx
push 0
mov ecx, esi
call fcn.00478272
test eax, eax
jne 0x41d8c7
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], al
call fcn.0047b122
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], 0xffffffff
call fcn.0047b122
xor eax, eax
jmp 0x41db25
mov edx, dword [esi + 0xf4]
lea ebx, [esi + 0xe4]
push ebx
push edx
call fcn.004061a0
mov ecx, eax
call fcn.00409eb0
test eax, eax
jne 0x41d8eb
mov dword [ebx], 0xffffffff
mov eax, dword [esi + 0x1c]
push 0x80000
push 0x64
push eax
call dword [0x48a524]
push 0x75
push 0x1e
lea ebp, [esi + 0x118]
push 0x11
push 5
push ebp
call dword [0x48a5a4]
mov ecx, dword [esi + 0x1c]
push 0x7d0
push ecx
call fcn.00477d67
push eax
push ebp
lea ebp, [esi + 0x54]
push 0x5000001a
mov ecx, ebp
call fcn.004758cf
mov eax, dword [esi + 0xf4]
cmp eax, 0x1300
jne 0x41d96d
mov eax, dword [ebx]
mov edx, 0xb
sub edx, eax
mov dword [esi + 0x150], 1
mov dword [esi + 0x154], 0xa
mov dword [esi + 0x158], 2
mov dword [esp + 0x38], edx
jmp 0x41da68
cmp eax, 0x200
jne 0x41d9dd
lea eax, [esp + 0x10]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
push 0
call fcn.004061a0
mov ecx, eax
call fcn.0040c9b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x154], eax
sub eax, ecx
mov dword [esi + 0x150], ecx
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x14]
shr eax, 0x1f
add edx, eax
push ecx
mov dword [esi + 0x158], edx
lea edx, [esp + 0x3c]
push edx
push 0
call fcn.004061a0
mov ecx, eax
call fcn.0040c930
jmp 0x41da68
cmp eax, 0x201
jne 0x41da4a
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
push 1
call fcn.004061a0
mov ecx, eax
call fcn.0040c9b0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x154], eax
sub eax, ecx
mov dword [esi + 0x150], ecx
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
lea ecx, [esp + 0x10]
shr eax, 0x1f
add edx, eax
push ecx
mov dword [esi + 0x158], edx
lea edx, [esp + 0x3c]
push edx
push 1
call fcn.004061a0
mov ecx, eax
call fcn.0040c930
jmp 0x41da68
mov dword [esi + 0x150], 0
mov dword [esi + 0x154], 0x64
mov dword [esi + 0x158], 0xa
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x150]
push 0
push eax
push ecx
mov ecx, ebp
call fcn.00475938
mov edx, dword [esi + 0x70]
mov ebp, dword [0x48a5b4]
push 2
push 0
push 0x417
push edx
call ebp
mov eax, dword [esi + 0x158]
push eax
mov eax, dword [esi + 0x70]
push 0
push 0x415
push eax
call ebp
mov ecx, dword [esi + 0x150]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esi + 0x154]
lea eax, [ecx + edx]
mov dword [ebx], eax
push eax
mov eax, dword [esi + 0x70]
push 1
push 0x405
push eax
call ebp
mov ecx, dword [ebx]
push ecx
mov ecx, esi
call fcn.0041e520
lea ebp, [esi + 0x108]
push edi
push ebp
call dword [0x48a5a0]
push ebp
mov ecx, esi
call fcn.0047e6b7
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x40]
mov dword [esi + 0x44], 0x10
mov dword [esi + 0x4c], edx
mov dword [esi + 0x48], 2
mov byte [esp + 0x30], 0
call fcn.0047b122
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], 0xffffffff
call fcn.0047b122
mov eax, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14