Function at 0x14000fa80
Capabilities:
Get disk information
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x68], r8
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], 0x105
lea rax, [0x14002f820]
mov qword [rsp + 0x30], rax
lea rax, [0x14002f70c]
mov qword [rsp + 0x28], rax
lea rax, [0x14002f928]
mov qword [rsp + 0x20], rax
lea r9, [0x14002f708]
mov r8d, 0x105
lea rdx, [0x14002f710]
lea rcx, [0x1400216a0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc0], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp + 0xc0], eax
mov dword [rbp + 0xc4], ebx
mov dword [rbp + 0xc8], ecx
mov dword [rbp + 0xcc], edx
movzx ebx, word [rbp + 0xce]
add bx, dx
add bx, word [rbp + 0xca]
add bx, cx
add bx, word [rbp + 0xc6]
add bx, word [rbp + 0xc4]
add bx, word [rbp + 0xc2]
add bx, ax
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140021378]
mov qword [rbp - 0x70], rax
lea rax, [0x140020e90]
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 2
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], r14
mov dword [rbp + 0x18], r14d
mov edx, dword [rbp + 0xb0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov edx, dword [0x14002f708]
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
movzx edx, bx
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
nop
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], setsockopt
mov byte [rsp + 0x48], r14b
mov dword [rsp + 0x40], 0xa
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rax
mov ecx, dword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000fc8f
mov rax, qword [rbp - 0x18]
mov r8, qword [rax]
test r8, r8
je 0x14000fc8f
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x10]
cmovb r8, qword [rbp + 0x10]
sub r8, rdx
jmp 0x14000fcc4
test cl, 4
jne 0x14000fcb6
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000fcb6
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp - 8]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14000fcc4
mov r8, qword [rbp + 0xc8]
mov rdx, qword [rbp + 0xc0]
test rdx, rdx
je 0x14000fcd4
lea rcx, [rsp + 0x48]
call fcn.140006350
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000fce1
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400064b0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], setsockopt
mov byte [rax], 0
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x70]
call fcn.140012670
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000fd7a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fd75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fd75
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018284
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], setsockopt
mov byte [rsp + 0x48], 0
mov rax, qword [rbp - 0x80]
mov r8, rax
shr r8, 2
mov qword [rsi], r14
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], setsockopt
mov byte [rsi], 0
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov rcx, rsi
call fcn.140006350
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14000fe0a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fe04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fe04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140018284
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r15
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x58]
call fcn.140005a20
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000fe7d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000fe78
add rdx, 0x27
mov rbx, qword [rcx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000feb5
mov rcx, rbx
call fcn.140018284
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], setsockopt
mov byte [rdi], 0
mov rax, rsi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140017fd0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3