Function at 0x14005a520
Capabilities:
Get disk information
Get hostname
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x1400bb040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp - 0x21], rcx
xor eax, eax
mov dword [rbp - 0x49], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 0xf
mov byte [rcx], al
mov edi, 1
mov dword [rbp - 0x49], edi
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x19]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400ac618]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x14005a648
lea r9, [rbp + 0x3c]
mov r8d, dword [rbp - 0x19]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14005a5b0
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.14006b8e0
mov edi, 7
mov dword [rbp - 0x49], edi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x31]
mov rcx, rbx
call fcn.140065a10
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14005a648
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a643
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a78d
call fcn.14007ba50
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea r9, [rbp + 0x3c]
mov r8d, dword [rbp + 0x13]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14005a660
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.14006b8e0
or edi, 0x18
mov dword [rbp - 0x49], edi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x31]
mov rcx, rbx
call fcn.140065a10
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14005a6f6
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a6f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a78d
call fcn.14007ba50
lea r9, [rbp + 0x3c]
mov r8d, dword [rbp + 0xf]
nop
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14005a700
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.14006b8e0
or edi, 0x60
mov dword [rbp - 0x49], edi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x31]
mov rcx, rbx
call fcn.140065a10
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x14005a799
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a794
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a794
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007ba50
mov dword [rbp + 0x1f], 0x10
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0x3f]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14007b600
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret