Function at 0x10158ac0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dbdf8
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x10205ac8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xec], ebx
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 8]
push esi
call fcn.1016b300
mov ecx, dword [ebx + 8]
push esi
mov dword [ebp - 0xe8], eax
call fcn.1016b2e0
push esi
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x74], edx
call fcn.1016b2f0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x70], ecx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
call fcn.101695f0
mov esi, dword [ebp - 0xe8]
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, dword [esi + 0x30]
mov ebx, dword [esi + 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], eax
cmp ebx, eax
je 0x10158bae
mov esi, eax
lea ecx, [ebp - 0x2c]
sub esi, ebx
push esi
call fcn.100ba9c0
mov edi, dword [ebp - 0x2c]
push esi
push ebx
push edi
call fcn.101b6150
mov esi, dword [ebp - 0xe8]
sub edi, ebx
add esp, 0xc
add edi, dword [ebp - 0x34]
mov dword [ebp - 0x28], edi
movzx eax, word [esi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push 0x10
push eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 1
mov word [ebp - 0x14], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
call fcn.10169c40
add esp, 8
mov eax, dword [esi + 0x14]
xor edi, edi
mov ecx, dword [esi + 0x18]
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], ecx
cmp eax, ecx
je 0x10158c4a
mov esi, ecx
lea ecx, [ebp - 0x44]
sub esi, eax
push esi
call fcn.100ba9c0
mov edi, dword [ebp - 0x44]
push esi
mov esi, dword [ebp - 0xe0]
push esi
push edi
call fcn.101b6150
mov ebx, dword [ebp - 0x3c]
mov eax, edi
sub eax, esi
add esp, 0xc
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0xe4], edx
cmp esi, edx
je 0x10158cb5
cmp ecx, eax
je 0x10158c98
mov al, byte [esi]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x10158cab
push esi
push ecx
lea ecx, [ebp - 0x20]
call fcn.100d04d0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xe4]
inc esi
cmp esi, edx
je 0x10158cb5
mov eax, dword [ebp - 0x18]
jmp 0x10158c87
lea eax, [ebp - 0x36]
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xe0]
call fcn.101557c0
lea eax, [ebp - 0x32]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xe0]
call fcn.101557c0
lea eax, [ebp - 0x12]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xe0]
call fcn.101557c0
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0xe4], eax
cmp esi, eax
je 0x10158d29
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x18]
je 0x10158d13
mov al, byte [esi]
mov byte [ecx], al
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
jmp 0x10158d20
push esi
push ecx
lea ecx, [ebp - 0x20]
call fcn.100d04d0
mov ecx, dword [ebp - 0x1c]
inc esi
cmp esi, dword [ebp - 0xe4]
jne 0x10158d01
lea eax, [ebp - 0x50]
mov dword [ebp - 0x60], 0
push eax
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x68]
movq qword [ebp - 0x68], xmm0
push eax
call fcn.10169e70
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x54], 0
push eax
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x5c], xmm0
call fcn.1016a050
push 0x64
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.101b66d0
add esp, 0x24
lea ecx, [ebp - 0xdc]
call fcn.10168360
push dword [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.10169740
mov ecx, dword [ebp - 0xec]
add esp, 4
mov esi, eax
push dword [ebp - 0x30]
mov ecx, dword [ecx + 4]
call fcn.10153830
mov ecx, dword [ebp - 0xe8]
or eax, esi
movzx ecx, word [ecx + 0x10]
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.101682a0
push dword [ebp - 0x5c]
lea ecx, [ebp - 0xdc]
push 1
call fcn.10168420
push dword [ebp - 0x50]
lea ecx, [ebp - 0xdc]
call fcn.10168410
push 0
lea ecx, [ebp - 0xdc]
call fcn.10167ed0
push eax
lea ecx, [ebp - 0xdc]
call fcn.10168400
push eax
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax]
call fcn.10155150
test al, al
je 0x10158f9d
call fcn.101697b0
test eax, eax
jne 0x10158f9d
movzx esi, word [ebp - 0x8c]
cmp esi, 0x8c1
ja 0x10158f79
je 0x10158f81
test esi, esi
je 0x10158e53
cmp esi, 0x8c0
jmp 0x10158f7f
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xdc]
mov eax, dword [eax]
mov byte [eax + 0x14], 1
call fcn.101683c0
lea ecx, [ebp - 0x5c]
call fcn.1006ce20
lea ecx, [ebp - 0x68]
call fcn.1006ce20
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10158ec7
mov edx, dword [ebp - 0x18]
mov eax, ecx
sub edx, ecx
mov byte [ebp - 4], 0xa
cmp edx, 0x1000
jb 0x10158ea8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10158fa6
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test edi, edi
je 0x10158ef9
sub ebx, edi
mov eax, edi
mov byte [ebp - 4], 0xb
cmp ebx, 0x1000
jb 0x10158eef
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10158fab
push ebx
push edi
call fcn.101b44e7
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.1006ce20
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10158f4e
mov edx, dword [ebp - 0x24]
mov eax, ecx
sub edx, ecx
mov byte [ebp - 4], 0xc
cmp edx, 0x1000
jb 0x10158f2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10158fab
push edx
push ecx
call fcn.101b44e7
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x30]
call fcn.101696e0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101b4a00
mov esp, ebp
pop ebp
ret 4
cmp esi, 0x8c2
jne 0x10158fb0
call fcn.100d18c0
push eax
call fcn.100d18c0
push eax
call fcn.100d18c0
push eax
call fcn.100d18c0
push eax
push 0x69
jmp 0x10158fc9
call fcn.101697b0
mov esi, eax
jmp 0x10158fb0
call fcn.100ecc9c
call fcn.100ecc9c
call fcn.100d18c0
push eax
call fcn.100d18c0
push eax
call fcn.100d18c0
push eax
call fcn.100d18c0
push eax
push esi
lea ecx, [ebp - 0x178]
call fcn.100d7fa0
push 0x101e9878
lea eax, [ebp - 0x178]
push eax
call fcn.101b5d27
int3