Function at 0x48ab80
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5baee0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x629960]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x629960]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
push eax
mov dword [esp + 0x4c], eax
push eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.0048b6d0
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], 1
cmp byte [esi + 0x28], 0
jne 0x48adbf
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x48ac10
cmp byte [esi + 0x29], 0
push ebx
je 0x48acf1
call eax
cmp dword [esi + 8], 0
je 0x48acf9
mov eax, dword [esi + 4]
mov edi, dword [eax]
lea eax, [esp + 0x18]
add edi, 8
cmp eax, edi
je 0x48ac43
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00437e60
lea eax, [edi + 0x18]
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x48ac58
mov eax, dword [eax]
push eax
push dword [eax]
call fcn.0048ae50
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call edi
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 8], 0
jne 0x48ac82
push ebx
call edi
jmp 0x48adb0
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 4]
lea edi, [edx + 0x20]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, edi
dec dword [esi + 8]
call fcn.0048b650
push dword [edi]
call fcn.0048c32c
mov edi, dword [esp + 0x18]
add esp, 4
cmp dword [edi + 0x1c], 8
jb 0x48acc6
push dword [edi + 8]
call fcn.0048c32c
add esp, 4
xor eax, eax
mov dword [edi + 0x1c], 7
mov dword [edi + 0x18], 0
push edi
mov word [edi + 8], ax
call fcn.0048c32c
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 4
push ebx
call edi
jmp 0x48adb0
call eax
cmp dword [esi + 8], 0
jg 0x48ad09
push ebx
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x48adb0
mov eax, dword [esi + 4]
mov edi, dword [eax]
lea eax, [esp + 0x18]
add edi, 8
cmp eax, edi
je 0x48ad25
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00437e60
lea eax, [edi + 0x18]
lea ecx, [esp + 0x30]
cmp ecx, eax
je 0x48ad3a
mov eax, dword [eax]
push eax
push dword [eax]
call fcn.0048ae50
mov eax, dword [esi + 4]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov ecx, dword [edx + 4]
lea edi, [edx + 0x20]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, edi
dec dword [esi + 8]
call fcn.0048b650
push dword [edi]
call fcn.0048c32c
mov edi, dword [esp + 0x18]
add esp, 4
cmp dword [edi + 0x1c], 8
jb 0x48ad7e
push dword [edi + 8]
call fcn.0048c32c
add esp, 4
xor eax, eax
mov dword [edi + 0x1c], 7
mov dword [edi + 0x18], 0
push edi
mov word [edi + 8], ax
call fcn.0048c32c
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 4
push ebx
call edi
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [eax + 4]
cmp byte [esi + 0x28], 0
mov eax, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
je 0x48ac10
lea ecx, [esp + 0x30]
call fcn.0048b650
push dword [esp + 0x30]
call fcn.0048c32c
add esp, 4
cmp dword [esp + 0x2c], 8
jb 0x48ade7
push dword [esp + 0x18]
call fcn.0048c32c
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004a16e5
mov esp, ebp
pop ebp
ret