Function at 0x48b9e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x62e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x634f1c], 0
push ebx
push esi
push edi
mov dword [ebp - 0x3c], edx
mov byte [ebp - 9], cl
je 0x48ba4e
movzx eax, word [0x634f1e]
push 0
lea eax, [eax + eax*2]
shl eax, 4
push eax
push dword [0x6349c0]
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x48bac9
movzx eax, word [0x634f1e]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push 0
push dword [0x6349c0]
call fcn.00582250
add esp, 0xc
jmp 0x48bac9
xor eax, eax
xor ebx, ebx
mov word [ebp - 8], ax
cmp ax, word [0x634f20]
jae 0x48bac9
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 [0x6349c0]
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 0x48bab0
mov eax, dword [0x6349c0]
push esi
add eax, edi
push 0
push eax
call fcn.00582250
add esp, 0xc
mov ax, word ds:[ebp - 8]
add ebx, dword [ebp - 0x1c]
inc ax
mov word [ebp - 8], ax
cmp ax, word [0x634f20]
jb 0x48ba60
push 0x30
push 0
push 0x637d00
call fcn.00582250
movzx eax, word [0x634f1e]
add esp, 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x48bd1a
mov eax, dword [0x634c50]
mov ebx, dword [0x634c58]
mov ecx, ebx
mov edx, dword [0x6349c0]
sub ecx, eax
mov esi, dword [0x634c38]
add edx, 8
lea edi, [eax + 8]
mov dword [ebp - 0x24], esi
mov eax, dword [0x634c28]
sub eax, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [0x634c4c]
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 [0x637d18], eax
mov eax, dword [edx + 0x14]
adc dword [0x637d1c], eax
mov eax, dword [edx - 8]
add dword [0x637d00], eax
mov eax, dword [edx - 4]
adc dword [0x637d04], eax
mov eax, dword [edx + 0x20]
add dword [0x637d28], eax
mov eax, dword [edx + 0x18]
add dword [0x637d20], eax
mov eax, dword [edx + 0x1c]
adc dword [0x637d24], eax
mov eax, dword [edx]
add dword [0x637d08], eax
mov eax, dword [edx + 4]
adc dword [0x637d0c], eax
mov eax, dword [edx + 8]
add dword [0x637d10], eax
mov eax, dword [edx + 0xc]
adc dword [0x637d14], 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 0x48bcfb
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 0x48bceb
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 0x48bcfb
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 0x48bb30
mov ecx, dword [0x637d08]
mov edx, ecx
sub edx, dword [0x637d50]
mov eax, dword [0x637d0c]
mov edi, eax
sbb edi, dword [0x637d54]
mov dword [ebp - 0x1c], edx
mov dword [0x637d58], edx
mov dword [0x637d50], ecx
mov ecx, dword [0x637d10]
mov edx, ecx
sub edx, dword [0x637d60]
mov dword [0x637d54], eax
mov eax, dword [0x637d14]
mov ebx, eax
sbb ebx, dword [0x637d64]
mov dword [ebp - 0x28], edx
mov dword [0x637d68], edx
mov dword [0x637d60], ecx
mov ecx, dword [0x637d00]
mov edx, ecx
sub edx, dword [0x637cf0]
mov dword [0x637d64], eax
mov eax, dword [0x637d04]
mov esi, eax
sbb esi, dword [0x637cf4]
mov dword [0x637cf8], edx
add edx, dword [ebp - 0x28]
mov dword [0x637cfc], esi
adc esi, ebx
mov dword [0x637d5c], edi
add edx, dword [ebp - 0x1c]
mov dword [0x637d6c], ebx
adc esi, edi
mov dword [0x637cf0], ecx
cmp byte [ebp - 9], 0
mov dword [0x637cf4], eax
je 0x48be87
mov eax, edx
or eax, esi
je 0x48be73
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 [0x634ed0]
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 [0x634ed4]
jmp 0x48be87
mov dword [0x634ed0], 0
mov dword [0x634ed4], 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.005802ef
mov esp, ebp
pop ebp
ret