Function at 0x1401b1f0a
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x3f8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x360], xmm6
mov qword [rbp + 0x358], 0xfffffffffffffffe
mov r12, rdx
mov r15, rcx
mov al, byte [rdx + 9]
cmp al, 2
je 0x1401b203b
mov bl, byte [r12 + 0xa]
test al, al
je 0x1401b1fac
xorps xmm0, xmm0
lea rcx, [rbp + 0x120]
movaps xmmword [rcx], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
mov dword [rcx], 0x40
call qword [sym.imp.kernel32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x1401b1f7e
xor edi, edi
jmp 0x1401b1f86
push 1
pop rdi
call fcn.1401c2c84
mov rax, qword [rbp + 0x128]
mov qword [r15 + 0xc0], rax
mov rax, qword [rbp + 0x130]
mov qword [r15 + 0xc8], rax
mov rcx, rdi
xor edx, edx
call fcn.1401af825
test bl, 1
je 0x1401b203b
xorps xmm0, xmm0
lea rcx, [rbp + 0x120]
movaps xmmword [rcx + 0x50], xmm0
movaps xmmword [rcx + 0x40], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx], xmm0
and qword [rcx + 0x60], 0
push 0x68
pop rdx
call qword [sym.imp.kernel32.dll_K32GetPerformanceInfo]
test eax, eax
je 0x1401b203b
mov r8, qword [rbp + 0x140]
mov rdx, qword [rbp + 0x130]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rbp + 0x170]
mov rax, rcx
mul rdx
push 0xffffffffffffffff
pop r10
cmovo rax, r10
mov rdx, qword [rbp + 0x128]
sub rdx, r8
cmovb rdx, r9
mov qword [r15 + 0xd0], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [r15 + 0xd8], rax
cmp byte [r12 + 0xb], 2
movabs rsi, 0x8000000000000000
mov qword [rbp + 0x348], r15
je 0x1401b2403
mov r13b, byte [r12 + 0xc]
lea rdi, [r15 + 0xe0]
cmp qword [r15 + 0xe0], 0
jne 0x1401b22f3
lea r8, [rbp + 0x320]
and qword [r8], 0
xor r14d, r14d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.pdh.dll_PdhOpenQueryA]
mov ebx, eax
test ebx, ebx
jne 0x1401b20ca
mov rax, qword [rbp + 0x320]
mov qword [rbp + 0x308], rax
lea r14, [rbp + 0x120]
mov rcx, r14
call fcn.1401b1e62
mov rcx, r14
call fcn.1401b1ec9
mov qword [rbp + 0x2a8], rax
mov qword [rbp + 0x310], rdx
lea r14, [0x140264000]
mov qword [rbp + 0x318], r14
mov rcx, rdi
call fcn.1401569af
mov r15, qword [rbp + 0x348]
and qword [r15 + 0xf8], 0
and qword [r15 + 0x118], 0
mov rcx, qword [rbp + 0x318]
mov qword [r15 + 0xe0], rcx
xorps xmm0, xmm0
movups xmmword [r15 + 0xe8], xmm0
mov rax, qword [rbp + 0x2a8]
mov qword [r15 + 0x100], rax
mov rax, qword [rbp + 0x310]
mov qword [r15 + 0x108], rax
mov rax, qword [rbp + 0x308]
mov qword [r15 + 0x110], rax
test ebx, ebx
jne 0x1401b22ea
mov qword [rbp + 0x308], r12
lea rdx, str.Processor__Total___Idle_Timetot_0Processor____Idle_Time
lea rcx, [rbp + 0x320]
push 0x1e
pop r8
call fcn.14003f3ec
mov byte [rbp + 0x355], 1
lea rdx, [0x14026470e]
lea rcx, [rbp + 0x120]
push 5
pop r8
call fcn.14003f3ec
lea r8, [r15 + 0x48]
mov byte [rbp + 0x355], 0
lea rcx, [rbp + 0x320]
lea r9, [rbp + 0x120]
mov rdx, rdi
call fcn.1401b3db3
mov byte [rbp + 0x310], r13b
mov edx, r13d
and dl, 1
mov rcx, r15
call fcn.1401b424f
mov rbx, rax
mov qword [rbp + 0x318], rdx
xor eax, eax
lea rsi, [rbp + 0x2f0]
lea r14, [rbp + 0x320]
cmp rbx, qword [rbp + 0x318]
je 0x1401b22c8
mov r12, rax
mov qword [rbp + 0x2d8], rax
lea rax, [0x140264730]
mov qword [rbp + 0x120], rax
push 2
pop rax
mov qword [rbp + 0x128], rax
and qword [rbp + 0x140], 0
lea r15, [rbp + 0x2d8]
mov qword [rbp + 0x2c0], r15
lea rax, [fcn.140024bb0]
mov qword [rbp + 0x2c8], rax
lea r13, [rbp + 0x2c0]
mov qword [rbp + 0x130], r13
push 1
pop rax
mov qword [rbp + 0x138], rax
mov rcx, rsi
lea rdx, [rbp + 0x120]
call fcn.140015f59
mov qword [rbp + 0x2c0], r15
lea rax, [0x140264758]
mov qword [rbp + 0x120], rax
push 2
pop rax
mov qword [rbp + 0x128], rax
and qword [rbp + 0x140], 0
lea rax, [fcn.140024bb0]
mov qword [rbp + 0x2c8], rax
mov qword [rbp + 0x130], r13
push 1
pop rax
mov qword [rbp + 0x138], rax
mov byte [rbp + 0x354], 1
mov rcx, r14
lea rdx, [rbp + 0x120]
call fcn.140015f59
add rbx, 0x48
mov byte [rbp + 0x354], 0
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9, r14
call fcn.1401b3db3
add rbx, 0x28
mov rax, r12
inc rax
jmp 0x1401b21c7
mov rcx, qword [rdi]
mov r15, qword [rbp + 0x348]
movabs rsi, 0x8000000000000000
mov r12, qword [rbp + 0x308]
mov r13b, byte [rbp + 0x310]
test rcx, rcx
je 0x1401b2403
mov rcx, qword [r15 + 0x110]
call qword [sym.imp.pdh.dll_PdhCollectQueryData]
cmp qword [r15 + 0x48], rsi
je 0x1401b232c
lea rdx, [r15 + 0x48]
mov rcx, rdi
call fcn.1401b4271
invalid
add byte [rax], al
test eax, eax
je 0x1401b2bad
add byte [rax], al
movss xmm1, dword [0x1401ce4e0]
subss xmm1, xmm0
movss dword [r15 + 0x68], xmm1
mov edx, r13d
and dl, 1
mov rcx, r15
call fcn.1401b424f
mov rbx, rax
mov r14, rdx
add rbx, 0x48
movss xmm6, dword [0x1401ce4e0]
lea rax, [rbx - 0x48]
cmp rax, r14
je 0x1401b237f
cmp qword [rbx], rsi
je 0x1401b2379
mov rcx, rdi
mov rdx, rbx
call fcn.1401b4271
test eax, eax
je case.0x140042a7a.1161
movaps xmm1, xmm6
subss xmm1, xmm0
movss dword [rbx + 0x20], xmm1
add rbx, 0x70
jmp 0x1401b234c
test r13b, 1
je 0x1401b2403
cmp byte [r15 + 0x88], 0
jne 0x1401b2403
mov rdi, qword [r15 + 0x80]
lea rbx, [rbp + 0x120]
mov rcx, rbx
mov rdx, rdi
call case.0x14002e130.2531
mov rsi, qword [r15 + 0x78]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
shl rax, 3
shl eax, 3
imul r8, rdi, 0x70
xor r9d, r9d
leave
mov r10, rsi
test r8, r8
je 0x1401b23e5
cmp rax, r9
je 0x1401b23e5
mov r11, qword [rdx + r9]
mov qword [r10 + 0x60], r11
add r10, 0x70
add r9, 8
add r8, 0xffffffffffffff90
jmp 0x1401b23c5
call fcn.140174a51
test rdi, rdi
je 0x1401b23f5
mov rax, qword [rsi + 0x60]
jmp 0x1401b23f7
xor eax, eax
mov qword [r15 + 0x60], rax
mov byte [r15 + 0x88], 1
mov al, byte [r12]
cmp al, 2
je 0x1401b2b55
mov rcx, qword [r12 + 1]
mov byte [rbp + 0x2b7], al
mov qword [rbp + 0x2b8], rcx
lea rbx, [rbp + 0x290]
mov edi, 0x80000
mov edx, 0x80000
mov rcx, rbx
call fcn.1401481de
push 5
pop r14
lea r15, [rbp + 0x320]
mov r13, qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
lea r12, [rbp + 0x120]
and dword [rbp + 0x320], 0
mov rcx, rbx
mov rdx, rdi
call fcn.14005ae72
mov rsi, qword [rbp + 0x298]
mov ecx, r14d
mov rdx, rsi
mov r8d, edi
mov r9, r15
stc
call r13
mov rcx, r12
mov edx, eax
call fcn.1401b03eb
cmp qword [rbp + 0x120], 0
je 0x1401b24c8
cmp dword [rbp + 0x130], 0xd0000004
mov rcx, qword [rbp + 0x128]
mov ecx, dword [rbp + 0x128]
jne 0x1401b2578
mov esi, dword [rbp + 0x320]
test rcx, rcx
je 0x1401b24b7
mov rax, qword [rcx]
call qword [rax + 0x10]
add rdi, rdi
lea eax, [rsi + 0x2800]
test esi, esi
cmovne rdi, rax
clc
jmp 0x1401b2453
mov qword [rbp + 0x2a0], rdi
push 8
pop rcx
mov edx, 0xfa0
call fcn.140004b2b
test rax, rax
je 0x1401b2b86
lea rdi, [rbp + 0x278]
mov qword [rdi], 0x1f4
mov qword [rdi + 8], rax
and qword [rdi + 0x10], 0
add byte [rcx], dh
fild dword [rbp + 0x31]
test byte [rbx + rcx*4 - 0x5b], 0x48
movsd dword [rdi], dword [rsi]
add rax, qword [rax]
invalid
test rcx, rcx
je 0x1401b2583
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x290]
mov rdx, rsi
jmp 0x1401b2b50
lea rcx, str.global_key_idle_disappearedC:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_sysinfo_0.30.11_srcwindows_system.rs
lea r8, [0x140264800]
push 0x1b
jmp 0x1401b2b80