Function at 0x10b4455
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 [0x111124c]
cmp eax, 0x111124c
je 0x10b448c
test byte [eax + 0x1c], 4
je 0x10b448c
cmp byte [eax + 0x19], 4
jb 0x10b448c
push 0x100b070
push 0x5d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
xor ebx, ebx
mov edi, 0x100b080
cmp dword [esi], ebx
jne 0x10b44a7
push 0x100b4a0
push 0x6fd
push edi
call fcn.0107b4be
cmp byte [esi + 0x40], bl
je 0x10b44bc
push 0x100b488
push 0x6fe
push edi
call fcn.0107b4be
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 0x10b4506
mov eax, dword [ebp + 0x20]
mov dword [eax], 0x7b
mov dword [ebp - 4], 2
jmp 0x10b477d
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 0x10b4564
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 0x10b45c4
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
cmp eax, 3
je 0x10b45a0
cmp eax, 0x35
jne 0x10b4654
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4628
test byte [eax + 0x1c], 4
je 0x10b4628
cmp byte [eax + 0x19], 4
jb 0x10b4628
push dword [ebp + 8]
push 0x100b070
push 0x5e
jmp 0x10b461d
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0xc]
call fcn.010b0e17
push 1
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x10b46c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x40
jne 0x10b4699
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4628
test byte [eax + 0x1c], 4
je 0x10b4628
cmp byte [eax + 0x19], 4
jb 0x10b4628
push dword [ebp + 8]
push 0x100b070
push 0x60
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
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 0x10b4554
jmp 0x10b4732
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4684
test byte [eax + 0x1c], 4
je 0x10b4684
cmp byte [eax + 0x19], 2
jb 0x10b4684
push dword [ebx + 8]
push dword [ebx + 0xc]
push 0x100b070
push 0x5f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x20]
jmp 0x10b4779
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4684
test byte [eax + 0x1c], 4
je 0x10b4684
cmp byte [eax + 0x19], 2
jb 0x10b4684
push dword [ebx + 8]
push dword [ebx + 0xc]
push 0x100b070
push 0x61
jmp 0x10b4679
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x18]
je 0x10b4708
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b46f6
test byte [eax + 0x1c], 4
je 0x10b46f6
cmp byte [eax + 0x19], 2
jb 0x10b46f6
push dword [ebp + 0x18]
push ecx
push 0x100b070
push 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109ba57
mov eax, dword [ebp + 0x20]
mov dword [eax], 0x45d
mov dword [ebp - 4], 5
jmp 0x10b477b
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x10b4737
test byte [eax + 0x1c], 4
je 0x10b4737
cmp byte [eax + 0x19], 4
jb 0x10b4737
push 0x100b070
push 0x63
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [0x111124c]
cmp dword [ebp - 8], 8
jne 0x10b4774
cmp eax, 0x111124c
je 0x10b4769
test byte [eax + 0x1c], 4
je 0x10b4769
cmp byte [eax + 0x19], 2
jb 0x10b4769
push 8
push 0x100b070
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
mov eax, dword [0x111124c]
mov dword [ebp - 4], 5
xor ebx, ebx
jmp 0x10b4782
mov eax, dword [esi]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
xor ebx, ebx
mov eax, dword [0x111124c]
cmp dword [ebp - 0x10], ebx
je 0x10b47a2
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 [0x111124c]
pop edi
pop esi
pop ebx
cmp eax, 0x111124c
je 0x10b47ca
test byte [eax + 0x1c], 4
je 0x10b47ca
cmp byte [eax + 0x19], 4
jb 0x10b47ca
push 0x100b070
push 0x65
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
mov eax, dword [ebp - 4]
leave
ret 0x1c