Function at 0x10b4314
Capabilities:
Get number of processors

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b434b
test byte [eax + 0x1c], 4
je 0x10b434b
cmp byte [eax + 0x19], 4
jb 0x10b434b
push 0x100b080
push 0x5d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
xor ebx, ebx
mov edi, 0x100b090
cmp dword [esi], ebx
jne 0x10b4366
push 0x100b4b0
push 0x6fd
push edi
call fcn.0107b644
cmp byte [esi + 0x40], bl
je 0x10b437b
push 0x100b498
push 0x6fe
push edi
call fcn.0107b644
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
mov eax, dword [ebp + 0x20]
push 6
pop ecx
mov dword [eax], ebx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x10b43c5
mov eax, dword [ebp + 0x20]
mov dword [eax], 0x7b
mov dword [ebp - 4], 2
jmp 0x10b463c
cmp dword [esi + 0x74], ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0xf8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x18], eax
seta al
movzx edi, al
neg edi
sbb edi, edi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x30], 0x40
mov dword [ebp + 8], 1
and edi, eax
mov eax, dword [esi]
test eax, eax
je 0x10b4423
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
xor eax, eax
push eax
push eax
push 0x48
push 3
push eax
push 0x80
push edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0xc0100080
push esi
call dword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jge 0x10b4483
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
cmp eax, 3
je 0x10b445f
cmp eax, 0x35
jne 0x10b4513
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b44e7
test byte [eax + 0x1c], 4
je 0x10b44e7
cmp byte [eax + 0x19], 4
jb 0x10b44e7
push dword [ebp + 8]
push 0x100b080
push 0x5e
jmp 0x10b44dc
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
call fcn.010b0cd6
push 1
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x10b457f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x40
jne 0x10b4558
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b44e7
test byte [eax + 0x1c], 4
je 0x10b44e7
cmp byte [eax + 0x19], 4
jb 0x10b44e7
push dword [ebp + 8]
push 0x100b080
push 0x60
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [ebp + 8]
imul eax, eax, 0x3e8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [ebp + 8]
add eax, eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 8
mov dword [ebp + 8], eax
jb 0x10b4413
jmp 0x10b45f1
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4543
test byte [eax + 0x1c], 4
je 0x10b4543
cmp byte [eax + 0x19], 2
jb 0x10b4543
push dword [ebx + 8]
push dword [ebx + 0xc]
push 0x100b080
push 0x5f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
jmp 0x10b4638
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b4543
test byte [eax + 0x1c], 4
je 0x10b4543
cmp byte [eax + 0x19], 2
jb 0x10b4543
push dword [ebx + 8]
push dword [ebx + 0xc]
push 0x100b080
push 0x61
jmp 0x10b4538
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x18]
je 0x10b45c7
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b45b5
test byte [eax + 0x1c], 4
je 0x10b45b5
cmp byte [eax + 0x19], 2
jb 0x10b45b5
push dword [ebp + 0x18]
push ecx
push 0x100b080
push 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01083f04
mov eax, dword [ebp + 0x20]
mov dword [eax], 0x45d
mov dword [ebp - 4], 5
jmp 0x10b463a
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x10b45f6
test byte [eax + 0x1c], 4
je 0x10b45f6
cmp byte [eax + 0x19], 4
jb 0x10b45f6
push 0x100b080
push 0x63
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [0x111024c]
cmp dword [ebp - 8], 8
jne 0x10b4633
cmp eax, 0x111024c
je 0x10b4628
test byte [eax + 0x1c], 4
je 0x10b4628
cmp byte [eax + 0x19], 2
jb 0x10b4628
push 8
push 0x100b080
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
mov eax, dword [0x111024c]
mov dword [ebp - 4], 5
xor ebx, ebx
jmp 0x10b4641
mov eax, dword [esi]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
xor ebx, ebx
mov eax, dword [0x111024c]
cmp dword [ebp - 0x10], ebx
je 0x10b4661
push dword [ebp - 0x10]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [0x111024c]
pop edi
pop esi
pop ebx
cmp eax, 0x111024c
je 0x10b4689
test byte [eax + 0x1c], 4
je 0x10b4689
cmp byte [eax + 0x19], 4
jb 0x10b4689
push 0x100b080
push 0x65
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [ebp - 4]
leave
ret 0x1c