Function at 0x10033160
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1018d23b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
push 0x64
call fcn.1017c342
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x2c], edi
je 0x100331bf
mov ecx, esi
call fcn.10087340
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x28]
mov byte [esp + 0x44], 1
call fcn.100315c0
mov dword [esi], 0x10198c84
mov dword [esp + 0xc], esi
jmp 0x100331c5
mov dword [esp + 0xc], edi
mov esi, edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [eax + 4]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 0x10]
mov dword [esi + 0x38], ecx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x3c], edx
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x44], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x4c], edx
mov ecx, dword [eax + 0x28]
mov dword [esi + 0x50], ecx
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x54], edx
mov ecx, dword [eax + 0x30]
mov dword [esi + 0x58], ecx
mov edx, dword [eax + 0x34]
mov dword [esi + 0x5c], edx
mov eax, dword [eax + 0x38]
mov ecx, esi
mov dword [esi + 0x60], eax
call fcn.10087510
test eax, eax
jne 0x1003324c
cmp esi, edi
je 0x10033236
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push ebp
lea eax, [ebx + 0x14]
push 1
push eax
lea ecx, [esp + 0x24]
call fcn.10084010
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ebp, edx
mov dword [esp + 0x30], 2
mov dword [esp + 0x18], ebp
inc ebp
cmp ebp, edi
jne 0x10033290
cmp eax, edi
je 0x10033285
push eax
call fcn.1017c36b
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x1003337e
cmp eax, edi
jne 0x100332c8
lea edi, [ebp*4]
push edi
call fcn.1017c342
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x1003337e
mov ecx, dword [ebx + 0xc]
cmp ebp, ecx
jg 0x100332e6
cmp ebp, edx
jle 0x100332de
mov ecx, ebp
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 8], ebp
jmp 0x1003337e
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x10033310
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x10033304
mov eax, 4
jmp 0x10033310
cmp eax, 0x400
jle 0x10033310
mov eax, 0x400
add eax, ecx
cmp ebp, eax
mov dword [esp + 0x38], eax
jl 0x1003331e
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x38]
lea ecx, [eax*4]
push ecx
call fcn.1017c342
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
sub edx, ecx
lea eax, [eax + ecx*4]
push edx
push eax
call fcn.100352e0
mov eax, dword [ebx + 4]
push eax
call fcn.1017c36b
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
add esp, 0x10
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [eax + ecx*4], esi
lea ecx, [esp + 0x1c]
call fcn.10084070
mov ecx, dword [esp + 0x28]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4