Function at 0x48ba80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x633f88], 0
push ebx
push esi
push edi
mov dword [ebp - 0x3c], edx
mov byte [ebp - 9], cl
je 0x48baee
movzx eax, word [0x633f8a]
push 0
lea eax, [eax + eax*2]
shl eax, 4
push eax
push dword [0x633a2c]
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x48bb69
movzx eax, word [0x633f8a]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push 0
push dword [0x633a2c]
call fcn.00580ff0
add esp, 0xc
jmp 0x48bb69
xor eax, eax
xor ebx, ebx
mov word [ebp - 8], ax
cmp ax, word [0x633f8c]
jae 0x48bb69
nop
push dword [ebp - 8]
call sym.SystemInformer.exe_PhGetActiveProcessorCount
movzx eax, ax
mov dword [ebp - 0x1c], eax
movzx eax, ax
push 0
lea esi, [eax + eax*2]
movzx eax, bx
shl esi, 4
push esi
lea edi, [eax + eax*2]
mov eax, dword [0x633a2c]
shl edi, 4
add eax, edi
push eax
push 2
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
test eax, eax
jns 0x48bb50
mov eax, dword [0x633a2c]
push esi
add eax, edi
push 0
push eax
call fcn.00580ff0
add esp, 0xc
mov ax, word ds:[ebp - 8]
add ebx, dword [ebp - 0x1c]
inc ax
mov word [ebp - 8], ax
cmp ax, word [0x633f8c]
jb 0x48bb00
push 0x30
push 0
push 0x636de0
call fcn.00580ff0
movzx eax, word [0x633f8a]
add esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x48bdba
mov eax, dword [0x633cc0]
mov ebx, dword [0x633cc4]
mov ecx, ebx
mov edx, dword [0x633a2c]
sub ecx, eax
mov esi, dword [0x633ca8]
add edx, 8
lea edi, [eax + 8]
mov dword [ebp - 0x24], esi
mov eax, dword [0x633c98]
sub eax, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [0x633cbc]
sub eax, esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
lea ebx, [ebx]
mov eax, dword ds:[edx - 8]
sub dword [edx], eax
mov eax, dword [edx - 4]
sbb dword [edx + 4], eax
mov eax, dword [edx + 0x10]
add dword [0x636df8], eax
mov eax, dword [edx + 0x14]
adc dword [0x636dfc], eax
mov eax, dword [edx - 8]
add dword [0x636de0], eax
mov eax, dword [edx - 4]
adc dword [0x636de4], eax
mov eax, dword [edx + 0x20]
add dword [0x636e08], eax
mov eax, dword [edx + 0x18]
add dword [0x636e00], eax
mov eax, dword [edx + 0x1c]
adc dword [0x636e04], eax
mov eax, dword [edx]
add dword [0x636de8], eax
mov eax, dword [edx + 4]
adc dword [0x636dec], eax
mov eax, dword [edx + 8]
add dword [0x636df0], eax
mov eax, dword [edx + 0xc]
adc dword [0x636df4], eax
mov ecx, dword [edx]
sub ecx, dword [ebx]
mov eax, dword [edx + 4]
sbb eax, dword [ebx + 4]
mov esi, dword [ebp - 0x2c]
mov dword [edi + esi + 4], eax
mov dword [edi + esi], ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebx], eax
mov esi, dword [ebp - 0x34]
mov dword [ebx + 4], ecx
mov ecx, dword [edx + 8]
sub ecx, dword [edi - 8]
mov eax, dword [edx + 0xc]
sbb eax, dword [edi - 4]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [edi - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [edi - 4], ecx
mov ebx, dword [edx - 8]
mov ecx, dword [ebp - 0x34]
sub ebx, dword [eax + ecx]
mov ecx, dword [edx - 4]
sbb ecx, dword [eax + esi + 4]
mov eax, dword [ebp - 0x2c]
add eax, edi
mov dword [ebp - 0x38], ecx
cmp byte [ebp - 9], 0
mov dword [eax + esi + 4], ecx
mov dword [eax + esi], ebx
mov ecx, dword [edx - 4]
mov eax, dword [edx - 8]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx + esi], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
mov dword [eax + esi + 4], ecx
mov esi, dword [ebp - 0x24]
je 0x48bd9b
mov eax, dword [ebp - 0x2c]
add ebx, dword [edi]
mov ecx, dword [eax + edi]
mov eax, dword [eax + edi + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [edi + 4]
adc ecx, dword [ebp - 0x38]
add ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
adc ecx, eax
mov eax, ebx
or eax, ecx
je 0x48bd8b
mov eax, ecx
mov dword [ebp - 0x48], ebx
and ecx, 0x7fffffff
mov dword [ebp - 0x50], 0
and eax, 0x80000000
mov dword [ebp - 0x44], ecx
fild qword [ebp - 0x48]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
fild qword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [ebp - 0x60], 0
and eax, 0x80000000
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], eax
fchs
mov eax, dword [ebp - 0x28]
faddp st(1)
mov dword [ebp - 0x18], 0
fstp dword [ebp - 0x30]
fld dword [ebp - 0x30]
fild qword [ebp - 0x58]
fild qword [ebp - 0x60]
fchs
faddp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdiv st(1)
fstp dword [esi + eax]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x68], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x64], ecx
fild qword [ebp - 0x68]
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fchs
faddp st(1)
fstp dword [ebp - 0x10]
fdivr dword [ebp - 0x10]
fstp dword [esi]
jmp 0x48bd9b
mov eax, dword [ebp - 0x28]
mov dword [esi + eax], 0
mov dword [esi], 0
mov ebx, dword [ebp - 0x20]
add esi, 4
add ebx, 0x10
mov dword [ebp - 0x24], esi
add edx, 0x30
mov dword [ebp - 0x20], ebx
add edi, 0x10
sub dword [ebp - 0x1c], 1
jne 0x48bbd0
mov ecx, dword [0x636de8]
mov edx, ecx
sub edx, dword [0x636e40]
mov eax, dword [0x636dec]
mov edi, eax
sbb edi, dword [0x636e44]
mov dword [ebp - 0x1c], edx
mov dword [0x636e48], edx
mov dword [0x636e40], ecx
mov ecx, dword [0x636df0]
mov edx, ecx
sub edx, dword [0x636e30]
mov dword [0x636e44], eax
mov eax, dword [0x636df4]
mov ebx, eax
sbb ebx, dword [0x636e34]
mov dword [ebp - 0x28], edx
mov dword [0x636e38], edx
mov dword [0x636e30], ecx
mov ecx, dword [0x636de0]
mov edx, ecx
sub edx, dword [0x636dd0]
mov dword [0x636e34], eax
mov eax, dword [0x636de4]
mov esi, eax
sbb esi, dword [0x636dd4]
mov dword [0x636dd8], edx
add edx, dword [ebp - 0x28]
mov dword [0x636ddc], esi
adc esi, ebx
mov dword [0x636e4c], edi
add edx, dword [ebp - 0x1c]
mov dword [0x636e3c], ebx
adc esi, edi
mov dword [0x636dd0], ecx
cmp byte [ebp - 9], 0
mov dword [0x636dd4], eax
je 0x48bf27
mov eax, edx
or eax, esi
je 0x48bf13
mov dword [ebp - 0x18], edx
mov eax, esi
mov ecx, esi
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
and ecx, 0x80000000
fild qword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
fild qword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, edi
and edi, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x14], edi
fchs
faddp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fild qword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x28]
fild qword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, ebx
and ebx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x14], ebx
fchs
faddp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fdiv st(1)
fstp dword [0x633f3c]
fild qword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
fild qword [ebp - 0x18]
fchs
faddp st(1)
fstp dword [ebp - 0x10]
fdivr dword [ebp - 0x10]
fstp dword [0x633f40]
jmp 0x48bf27
mov dword [0x633f3c], 0
mov dword [0x633f40], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax + 4], esi
pop esi
mov dword [eax], edx
pop ebx
call fcn.0057ee0f
mov esp, ebp
pop ebp
ret