Function at 0x14004c5b0
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 [0x1400c4010]
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, [0x1400badf8]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x14004c6d8
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 0x14004c640
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.1400413d0
mov edi, 0x61
mov dword [rbp - 0x49], edi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x31]
mov rcx, rbx
call fcn.14003c8d0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14004c6d8
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c6d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c81d
call fcn.140051e4c
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 0x14004c6f0
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.1400413d0
or edi, 6
mov dword [rbp - 0x49], edi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x31]
mov rcx, rbx
call fcn.14003c8d0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14004c786
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c781
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c81d
call fcn.140051e4c
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 0x14004c790
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.1400413d0
or edi, 0x18
mov dword [rbp - 0x49], edi
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rdx, qword [rbp - 0x41]
mov r8, qword [rbp - 0x31]
mov rcx, rbx
call fcn.14003c8d0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x14004c829
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c824
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c824
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051e4c
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.140051cb0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret