Function at 0x1400137e0
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x348
movaps xmmword [rsp + 0x330], xmm6
mov rdi, rdx
mov rsi, rcx
call fcn.140012af0
test rax, rax
je 0x140013f92
movups xmm6, xmmword [rax]
inc qword [rax]
mov r14, qword [0x140105118]
movzx eax, byte [r14]
mov ecx, 0x54410
mov edx, 0x10
call fcn.14000b1e0
test rax, rax
je 0x140013857
mov rbx, rax
add rbx, 0x54000
mov r8d, 0x410
mov rcx, rbx
mov dl, 0xff
call sub.msvcrt.dll_memset
mov eax, 0x3ff
mov edx, 0x380
jmp 0x14001386b
mov edx, 0x10
mov r8d, 0x54410
mov cl, 1
call fcn.1400b3420
xor ebx, ebx
mov qword [rsp + 0x160], rbx
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], rdx
mov qword [rsp + 0x178], 0
movups xmmword [rsp + 0x180], xmm6
movzx eax, byte [r14]
mov ecx, 9
mov edx, 1
call fcn.14000b1e0
test rax, rax
je 0x140013fbe
movzx ecx, byte [0x1400dc868]
mov byte [rax + 8], cl
mov rcx, qword [str.Total_CPUIntel_x86MIPSRISC_AlphaPPCSHXARMIntel_Itanium_based_x64RISC_Alpha_x64MSIL_Intel_or_AMD__x64Intel_Itanium_based_x86unknownARM_x64_home_ghost_.cargo_registry_src_index.crates.io_6f17d22bba15001f_sysinfo_0.27.8_src_windows_cpu.rs]
mov qword [rax], rcx
mov qword [rsp + 0x30], 9
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 9
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 1
mov qword [rsp + 0x70], 0
movabs rax, 0x8000000000000000
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 8
mov qword [rsp + 0xb0], 0
mov byte [rsp + 0xb8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 8
mov qword [rsp + 0x110], 0
movzx eax, byte [r14]
mov ecx, 0x120
mov edx, 8
call fcn.14000b1e0
test rax, rax
je 0x140013fcf
mov qword [rsp + 0x118], 2
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], 0
mov qword [rsp + 0xc0], 0
xor ecx, ecx
call fcn.14001c920
test rax, rax
je 0x140013fe0
movups xmm0, xmmword [rax]
inc qword [rax]
movups xmm1, xmmword [0x1400dce10]
movaps xmmword [rsp + 0x140], xmm1
movups xmm1, xmmword [0x1400dce00]
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x150], xmm0
call fcn.140077ad0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], edx
lea rcx, [rsp + 0x190]
lea rdx, [rsp + 0x28]
mov r8d, 0xd53e8000
mov r9d, 0x19db1de
call fcn.140077b00
test byte [rsp + 0x190], 1
je 0x140013a3d
xor ebx, ebx
jmp 0x140013a68
mov r14, qword [rsp + 0x198]
call sub.KERNEL32.dll_GetTickCount64
shr rax, 3
movabs rcx, 0x20c49ba5e353f7cf
mul rcx
shr rdx, 4
xor ebx, ebx
sub r14, rdx
cmovae rbx, r14
movups xmm0, xmmword [rsp + 0x160]
movups xmm1, xmmword [rsp + 0x170]
movups xmm2, xmmword [rsp + 0x180]
movups xmmword [rsp + 0x268], xmm0
movups xmmword [rsp + 0x278], xmm1
movups xmmword [rsp + 0x288], xmm2
xorps xmm6, xmm6
movups xmmword [rsp + 0x2c8], xmm6
movups xmmword [rsp + 0x2d8], xmm6
lea rcx, [rsp + 0x190]
lea rdx, [rsp + 0x30]
mov r8d, 0x90
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [rsp + 0x100]
movups xmmword [rsp + 0x220], xmm0
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x230], rax
movups xmm0, xmmword [rsp + 0x118]
movups xmmword [rsp + 0x238], xmm0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x248], rax
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xd0]
movups xmm2, xmmword [rsp + 0xe0]
movups xmm3, xmmword [rsp + 0xf0]
movups xmmword [rsp + 0x2e8], xmm0
movups xmmword [rsp + 0x2f8], xmm1
movups xmmword [rsp + 0x308], xmm2
movups xmmword [rsp + 0x318], xmm3
movaps xmm0, xmmword [rsp + 0x130]
movaps xmm1, xmmword [rsp + 0x140]
movaps xmm2, xmmword [rsp + 0x150]
movups xmmword [rsp + 0x2b8], xmm2
movups xmmword [rsp + 0x2a8], xmm1
movups xmmword [rsp + 0x298], xmm0
mov qword [rsp + 0x328], rbx
mov qword [rsp + 0x250], 0
mov qword [rsp + 0x258], 8
mov qword [rsp + 0x260], 0
cmp byte [rdi + 4], 0
je 0x140013c88
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov dword [rsp + 0xc0], 0x40
lea rcx, [rsp + 0xc0]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [rsp + 0x2c8], xmm0
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x90], 0
lea rcx, [rsp + 0x30]
mov edx, 0x68
call sub.PSAPI.DLL_GetPerformanceInfo
cmp eax, 1
jne 0x140013c88
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x50]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x80]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x38]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsp + 0x2d8], r8
mov qword [rsp + 0x2e0], rax
movzx edx, byte [rdi + 0xb]
cmp dl, 2
je 0x140013caa
movzx r8d, byte [rdi + 0xc]
and dl, 1
and r8b, 1
lea rcx, [rsp + 0x190]
call fcn.140014170
cmp byte [rdi + 6], 0
je 0x140013d05
lea rcx, [rsp + 0x30]
call fcn.1400282f0
lea rbx, [rsp + 0x220]
mov rcx, rbx
call fcn.140017bf0
mov rax, qword [rsp + 0x220]
test rax, rax
je 0x140013cf2
mov rcx, qword [rsp + 0x228]
shl rax, 5
lea rdx, [rax + rax*2]
mov r8d, 8
call fcn.14000b1f0
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
jmp 0x140013d42
cmp byte [rdi + 5], 0
je 0x140013d42
mov rax, qword [rsp + 0x230]
test rax, rax
je 0x140013d42
mov rbx, qword [rsp + 0x228]
shl rax, 5
lea r14, [rax + rax*2]
nop dword [rax + rax]
mov rcx, rbx
call fcn.140027ee0
add rbx, 0x60
add r14, 0xffffffffffffffa0
jne 0x140013d30
lea rcx, [rsp + 0x298]
cmp byte [rdi + 1], 0
je 0x140013d57
call fcn.14001dc80
jmp 0x140013d61
cmp byte [rdi], 0
je 0x140013d61
call fcn.14001e8c0
movzx eax, byte [rdi + 8]
cmp al, 2
je 0x140013d82
movzx eax, al
movzx edx, word [rdi + 9]
shl edx, 8
or edx, eax
lea rcx, [rsp + 0x190]
call fcn.140014ce0
cmp byte [rdi + 2], 0
je 0x140013dff
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [rsp + 0x130], eax
test eax, eax
je 0x140013e86
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 8
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x130]
mov qword [rsp + 0xc0], rax
movabs rax, 0x2000000000
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0xc0]
call fcn.140017380
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
jmp 0x140013e91
cmp byte [rdi + 3], 0
je 0x140013ede
mov rax, qword [rsp + 0x248]
test rax, rax
je 0x140013ede
mov r14, qword [rsp + 0x240]
shl rax, 4
lea r15, [rax + rax*8]
xor r12d, r12d
lea rbx, [rsp + 0x30]
jmp 0x140013e50
add r12, 0x90
cmp r15, r12
je 0x140013ede
cmp qword [r14 + r12 + 0x78], 0
je 0x140013e40
mov qword [rsp + 0x30], 0
mov rcx, qword [r14 + r12 + 0x50]
xor edx, edx
xor r8d, r8d
mov r9, rbx
call sub.KERNEL32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140013e40
mov rax, qword [rsp + 0x30]
mov qword [r14 + r12 + 0x80], rax
jmp 0x140013e40
mov ebx, 8
xor r14d, r14d
xor r15d, r15d
lea rcx, [rsp + 0x238]
call fcn.140017a70
mov rax, qword [rsp + 0x238]
test rax, rax
je 0x140013ec6
mov rcx, qword [rsp + 0x240]
shl rax, 4
lea rdx, [rax + rax*8]
mov r8d, 8
call fcn.14000b1f0
mov qword [rsp + 0x238], r14
mov qword [rsp + 0x240], rbx
mov qword [rsp + 0x248], r15
cmp byte [rdi + 7], 1
jne 0x140013f60
lea rcx, [rsp + 0x30]
call fcn.1400211c0
lea rbx, [rsp + 0x250]
mov rcx, qword [rsp + 0x258]
mov r14, qword [rsp + 0x260]
inc r14
nop dword [rax]
cmp r14, 1
je 0x140013f27
lea rdi, [rcx + 0x48]
dec r14
call fcn.140016880
mov rcx, rdi
jmp 0x140013f10
mov rax, qword [rsp + 0x250]
test rax, rax
je 0x140013f4f
mov rcx, qword [rsp + 0x258]
shl rax, 3
lea rdx, [rax + rax*8]
mov r8d, 8
call fcn.14000b1f0
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
lea rdx, [rsp + 0x190]
mov r8d, 0x1a0
mov rcx, rsi
call sub.msvcrt.dll_memcpy
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x330]
add rsp, 0x348
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [0x1400dc338]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400dc29d]
lea r9, [0x1400dc150]
lea r8, [rsp + 0x190]
mov edx, 0x46
call fcn.1400c0a20
mov ecx, 1
mov edx, 9
call fcn.1400b3800
jmp 0x14001400c
mov ecx, 8
mov edx, 0x120
call fcn.1400b3800
jmp 0x14001400c
lea rax, [0x1400dcdd0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400dcd36]
lea r9, [0x1400dcb50]
lea r8, [rsp + 0x190]
mov edx, 0x46
call fcn.1400c0a20
ud2