Function at 0x140055c00
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 [0x1400b7040]
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, [0x1400a8640]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x140055d28
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 0x140055c90
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.140067980
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.140061ab0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140055d28
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055d23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055e6d
call fcn.140077af0
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 0x140055d40
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.140067980
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.140061ab0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140055dd6
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055dd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055e6d
call fcn.140077af0
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 0x140055de0
lea r8, [rbp + 0x3c]
mov rdx, r9
lea rcx, [rbp - 0x41]
call fcn.140067980
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.140061ab0
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140055e79
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055e74
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140077af0
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.1400776a0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret