Function at 0x1400011d0
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 - 0x100]
sub rsp, 0x200
mov rax, qword [0x140074010]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov rdi, r8
mov rsi, rdx
mov qword [rbp - 0x78], rdx
mov qword [rbp - 0x78], r8
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], 0x105
lea rax, [0x140075190]
mov qword [rsp + 0x30], rax
lea rax, [0x140075074]
mov qword [rsp + 0x28], rax
lea rax, [0x140075298]
mov qword [rsp + 0x20], rax
lea r9, [0x140075070]
mov r8d, 0x105
lea rdx, [0x140075080]
lea rcx, [0x140060c00]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe0], xmm0
xor eax, eax
xor ecx, ecx
cpuid
mov dword [rbp + 0xe0], eax
mov dword [rbp + 0xe4], ebx
mov dword [rbp + 0xe8], ecx
mov dword [rbp + 0xec], edx
movdqu xmm0, xmmword [rbp + 0xe0]
movups xmm1, xmm0
psrldq xmm0, 8
paddw xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddw xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
paddw xmm1, xmm0
movd ebx, xmm1
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140060cb8]
mov qword [rbp - 0x50], rax
lea rax, [0x140060c20]
mov qword [rbp - 0x40], rax
lea rcx, [rbp + 0x48]
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 - 0x38]
lea rcx, [rbp - 0x50]
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 - 0x50]
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 - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
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 - 0x38], rax
mov qword [rbp + 0x30], r14
mov dword [rbp + 0x38], r14d
mov edx, dword [rbp + 0xd0]
lea rcx, [rbp - 0x40]
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 [0x140075070]
lea rcx, [rbp - 0x40]
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 - 0x40]
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
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140067f20]
movdqu xmmword [rsp + 0x58], xmm1
mov byte [rsp + 0x48], r14b
mov dword [rsp + 0x40], 0xa
movups xmmword [rbp + 0xe0], xmm0
mov ecx, dword [rbp + 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400013da
mov rax, qword [rbp + 8]
mov r8, qword [rax]
test r8, r8
je 0x1400013da
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x30]
cmovb r8, qword [rbp + 0x30]
sub r8, rdx
jmp 0x14000140f
test cl, 4
jne 0x140001401
mov rax, qword [rbp]
mov rcx, qword [rax]
test rcx, rcx
je 0x140001401
mov rax, qword [rbp - 0x20]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x18]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x14000140f
mov r8, qword [rbp + 0xe8]
mov rdx, qword [rbp + 0xe0]
test rdx, rdx
je 0x14000141f
lea rcx, [rsp + 0x48]
call fcn.140001e90
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000142c
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.140001e10
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1400031c0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400014ba
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005c354
movdqa xmm0, xmmword [0x140067f20]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rax, qword [rbp - 0x60]
mov r8, rax
shr r8, 2
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov rcx, rsi
call fcn.140002010
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140001543
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000153d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000153d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005c354
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x38]
call fcn.140001c10
lea rcx, [rbp - 0x30]
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 + 0x48]
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 0x1400015b6
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400015b1
add rdx, 0x27
mov rbx, qword [rcx - 8]
sub rcx, rbx
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400015ee
mov rcx, rbx
call fcn.14005c354
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rax, rsi
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.14005c2f0
mov rbx, qword [rsp + 0x230]
add rsp, 0x200
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