Function at 0x10042140
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10151acd
mov eax, dword fs:[0]
push eax
mov eax, 0x143c
call fcn.100f4ea0
mov eax, dword [0x101a42b4]
xor eax, esp
mov dword [esp + 0x1438], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101a42b4]
xor eax, esp
push eax
lea eax, [esp + 0x1450]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1460]
mov edi, dword [esp + 0x1464]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov ebp, 0xf
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x1458], 1
mov bh, bh
mov edx, dword [esp + 0x1468]
cmp edx, ebx
jge 0x100421dd
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009fd0
jmp 0x10042374
jle 0x10042220
cmp edx, 0x64
jl 0x10042220
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x24]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009fd0
mov dword [esp + 0x14], 1
mov byte [esp + 0x1458], bl
cmp dword [esp + 0x34], 0x10
jb 0x10042397
mov eax, dword [esp + 0x20]
push eax
jmp 0x1004238f
push edi
call fcn.10039b40
add esp, 4
push ecx
pop ecx
mov ecx, dword [edi + 0x220]
cmp dword [ecx + edx*4], ebx
lea ecx, [ecx + edx*4]
je 0x100421e4
mov eax, dword [esp + 0x146c]
cmp eax, ebx
jl 0x1004235c
mov ecx, dword [ecx]
movzx edx, word [ecx + 0xe09c0]
cmp eax, edx
jge 0x1004235c
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, eax
push 0x3ff
lea ecx, [esp + 0x51]
push ebx
push ecx
mov byte [esp + 0x58], bl
call fcn.100f4ed0
add esp, 0xc
test dh, dh
push 0xfff
lea edx, [esp + 0x451]
push ebx
push edx
mov byte [esp + 0x458], bl
call fcn.100f4ed0
add esp, 0xc
push edx
pop edx
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.10036980
add esp, 8
push edx
pop edx
mov al, 0x25
mov dl, 0x73
mov cl, 0x24
mov byte [esp + 0x39], dl
mov byte [esp + 0x3c], dl
mov dl, 0x2e
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], al
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], al
mov byte [esp + 0x3f], 0x64
mov byte [esp + 0x40], dl
mov byte [esp + 0x41], al
mov byte [esp + 0x42], 0x64
mov byte [esp + 0x43], dl
mov byte [esp + 0x44], al
mov byte [esp + 0x45], 0x64
mov byte [esp + 0x46], cl
mov byte [esp + 0x47], al
mov byte [esp + 0x48], 0x64
mov byte [esp + 0x49], bl
test ebx, ebx
movzx ecx, byte [edi + 0x27]
movzx edx, word [edi + 4]
movzx eax, byte [edi + 3]
push ecx
movzx ecx, byte [edi + 2]
push edx
push eax
push ecx
add edi, 0xc
push edi
lea edx, [esp + 0x460]
push edx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.100f5cb0
add esp, 0x20
test esi, esi
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.1000a4a0
mov dword [esp + 0x14], 1
mov byte [esp + 0x1458], bl
lea ecx, [esp + 0x1c]
call fcn.10006710
jmp 0x100423a3
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009fd0
mov dword [esp + 0x14], 1
mov byte [esp + 0x1458], bl
cmp dword [esp + 0x34], 0x10
jb 0x10042397
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100e2dad
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov eax, esi
mov ecx, dword [esp + 0x1450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1438]
xor ecx, esp
call fcn.100f43d6
add esp, 0x1448
ret