Function at 0x140194170
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140194170
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
lea rdi, [rsp + 0x30]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x180]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x48]
mov rdi, rax
mov rsi, qword [rsp + 0x188]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x78]
mov rdi, rax
mov rsi, qword [rsp + 0x188]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
xorps xmm0, xmm0
movss dword [rsp + 0x94], xmm0
cmp qword [rsp + 0x198], 0
je 0x14019425a
lea rcx, [rsp + 0xa8]
call sym.ProcessHacker.exe_PhQuerySystemTime
mov rax, qword [rsp + 0x198]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
jmp 0x140194305
cmp qword [0x1405e4098], 0
jne 0x1401942ba
xor r9d, r9d
mov r8d, 0x30
lea rdx, [rsp + 0x108]
mov ecx, 3
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x1401942ba
mov eax, dword [rsp + 0x108]
mov dword [0x1405e4098], eax
mov eax, dword [rsp + 0x10c]
mov dword [0x1405e409c], eax
mov rax, qword [rsp + 0x128]
mov rcx, qword [0x1405e4098]
sub rcx, rax
mov rax, rcx
mov qword [0x1405e4098], rax
lea rcx, [rsp + 0xa8]
call sym.ProcessHacker.exe_PhQuerySystemTime
mov rax, qword [0x1405e4098]
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xe8], rax
cvtsi2ss xmm0, qword [rsp + 0xe8]
cvtsi2ss xmm1, qword [rsp + 0xc8]
divss xmm0, xmm1
mulss xmm0, dword [0x1403e14d4]
movss dword [rsp + 0x94], xmm0
mov eax, dword [rsp + 0x190]
and eax, 1
test eax, eax
jne 0x14019438b
movss xmm0, dword [rsp + 0x94]
call fcn.140013810
comiss xmm0, dword [0x1403e14d4]
jbe 0x140194364
movss xmm0, dword [0x1403e14d4]
movss dword [rsp + 0x94], xmm0
movss xmm0, dword [rsp + 0x94]
call fcn.140013810
movss xmm1, dword [0x1404e799c]
comiss xmm1, xmm0
jbe 0x14019438b
xorps xmm0, xmm0
movss dword [rsp + 0x94], xmm0
mov eax, dword [rsp + 0x190]
and eax, 2
test eax, eax
je 0x1401943b5
mov r8, qword [0x1405e4118]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.USER32.dll_FillRect]
jmp 0x1401943d6
mov ecx, 5
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.USER32.dll_FillRect]
mov r8d, 0xffffffff
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.140008440
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x190]
and eax, 2
test eax, eax
je 0x1401944a9
mov r8, qword [0x1405e4118]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.USER32.dll_FillRect]
mov eax, dword [rsp + 0x190]
and eax, 1
test eax, eax
je 0x140194470
movss xmm0, dword [rsp + 0x94]
comiss xmm0, dword [0x1403e14d4]
jbe 0x14019444e
mov dword [rsp + 0x150], 0x808080
jmp 0x140194459
mov dword [rsp + 0x150], 0x878200
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
jmp 0x140194483
mov edx, 0x878200
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x30], rax
jmp 0x14019454d
mov ecx, 0xf
call qword [sym.imp.USER32.dll_GetSysColorBrush]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.USER32.dll_FillRect]
mov eax, dword [rsp + 0x190]
and eax, 1
test eax, eax
je 0x140194519
movss xmm0, dword [rsp + 0x94]
comiss xmm0, dword [0x1403e14d4]
jbe 0x1401944f7
mov dword [rsp + 0x154], 0x808080
jmp 0x140194502
mov dword [rsp + 0x154], 0x9eca9e
mov edx, dword [rsp + 0x154]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
jmp 0x14019452c
mov edx, 0x9eca9e
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, 0x12
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x190]
and eax, 1
test eax, eax
je 0x1401945aa
movss xmm0, dword [rsp + 0x94]
call fcn.140013810
comiss xmm0, dword [0x1403e14d4]
jbe 0x140194583
movss xmm0, dword [0x1403e14d4]
movss dword [rsp + 0x94], xmm0
movss xmm0, dword [rsp + 0x94]
call fcn.140013810
movss xmm1, dword [0x1404e799c]
comiss xmm1, xmm0
jbe 0x1401945aa
xorps xmm0, xmm0
movss dword [rsp + 0x94], xmm0
cvtsi2ss xmm0, dword [rsp + 0x50]
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
mulss xmm1, dword [rsp + 0x94]
divss xmm1, dword [0x1403e14d4]
addss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x50]
sub edx, ecx
mov ecx, edx
mov dword [rsp + 0x28], 0xf00021
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_PatBlt]
cmp qword [rsp + 0x30], 0
je 0x140194636
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SelectObject]
mov r8d, 0xffffffff
mov edx, 0xffffffff
lea rcx, [rsp + 0x78]
call fcn.140008440
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
mov ecx, 2
call qword [sym.imp.GDI32.dll_GetStockObject]
mov r8, rax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.USER32.dll_FrameRect]
mov rcx, rsp
lea rdx, [0x1404e6fc0]
call fcn.140015750
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x168
pop rdi
pop rsi
ret