Function at 0x180184180
Capabilities:
Get system information on windows

Disassembly:
jmp 0x180184180
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 [0x1805a6200]
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 0x18018426a
lea rcx, [rsp + 0xa8]
call sym.ProcessMonitor.dll_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 0x180184315
cmp qword [0x1808e90f8], 0
jne 0x1801842ca
xor r9d, r9d
mov r8d, 0x30
lea rdx, [rsp + 0x108]
mov ecx, 3
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jl 0x1801842ca
mov eax, dword [rsp + 0x108]
mov dword [0x1808e90f8], eax
mov eax, dword [rsp + 0x10c]
mov dword [0x1808e90fc], eax
mov rax, qword [rsp + 0x128]
mov rcx, qword [0x1808e90f8]
sub rcx, rax
mov rax, rcx
mov qword [0x1808e90f8], rax
lea rcx, [rsp + 0xa8]
call sym.ProcessMonitor.dll_PhQuerySystemTime
mov rax, qword [0x1808e90f8]
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 [0x1803b59c4]
movss dword [rsp + 0x94], xmm0
mov eax, dword [rsp + 0x190]
and eax, 1
test eax, eax
jne 0x18018439b
movss xmm0, dword [rsp + 0x94]
call fcn.180012fb0
comiss xmm0, dword [0x1803b59c4]
jbe 0x180184374
movss xmm0, dword [0x1803b59c4]
movss dword [rsp + 0x94], xmm0
movss xmm0, dword [rsp + 0x94]
call fcn.180012fb0
movss xmm1, dword [0x1804b7964]
comiss xmm1, xmm0
jbe 0x18018439b
xorps xmm0, xmm0
movss dword [rsp + 0x94], xmm0
mov eax, dword [rsp + 0x190]
and eax, 2
test eax, eax
je 0x1801843c5
mov r8, qword [0x1808e9170]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.USER32.dll_FillRect]
jmp 0x1801843e6
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.1800080f0
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x190]
and eax, 2
test eax, eax
je 0x1801844b9
mov r8, qword [0x1808e9170]
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 0x180184480
movss xmm0, dword [rsp + 0x94]
comiss xmm0, dword [0x1803b59c4]
jbe 0x18018445e
mov dword [rsp + 0x150], 0x808080
jmp 0x180184469
mov dword [rsp + 0x150], 0x878200
mov edx, dword [rsp + 0x150]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
jmp 0x180184493
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 0x18018455d
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 0x180184529
movss xmm0, dword [rsp + 0x94]
comiss xmm0, dword [0x1803b59c4]
jbe 0x180184507
mov dword [rsp + 0x154], 0x808080
jmp 0x180184512
mov dword [rsp + 0x154], 0x9eca9e
mov edx, dword [rsp + 0x154]
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.GDI32.dll_SetDCBrushColor]
jmp 0x18018453c
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 0x1801845ba
movss xmm0, dword [rsp + 0x94]
call fcn.180012fb0
comiss xmm0, dword [0x1803b59c4]
jbe 0x180184593
movss xmm0, dword [0x1803b59c4]
movss dword [rsp + 0x94], xmm0
movss xmm0, dword [rsp + 0x94]
call fcn.180012fb0
movss xmm1, dword [0x1804b7964]
comiss xmm1, xmm0
jbe 0x1801845ba
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 [0x1803b59c4]
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 0x180184646
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.1800080f0
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, [0x1804b7020]
call fcn.180014e20
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0x168
pop rdi
pop rsi
ret