Function at 0x1400e1940
Capabilities:
Get disk information

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x2ea0]
mov eax, 0x2fa0
call fcn.14012a8c0
sub rsp, rax
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x2fc8], rbx
mov qword [rsp + 0x2fd0], rsi
mov qword [rsp + 0x2fd8], rdi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rbp + 0x2e90], rax
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x44], edi
lea rax, [0x140222eb8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x44], 2
lea r14, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x28], r14
mov dword [rbp - 0x2c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.140094458
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], r8d
lea edx, [rdi + 2]
lea rcx, [rsp + 0x58]
call fcn.1400e1440
nop
call fcn.14010ab78
mov r8, rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
lea rdx, [rbp + 0x2c58]
call fcn.1400943d0
nop
mov rcx, qword [rbp + 0x2c60]
test rcx, rcx
je 0x1400e1a4e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x1400e1a4e
mov rax, qword [rax]
lea edx, [rdi + 1]
call qword [rax]
nop
movdqa xmm0, xmmword [str.ZPEJl__AxW742U_]
movdqu xmmword [rbp + 0x2c58], xmm0
mov ebx, 0x9a758634
mov dword [rbp + 0x2c50], 0x6ef480cb
mov word [rbp + 0x2c54], 0x48dc
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x2c70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
mov r8d, 0x104
lea rdx, [rbp + 0x2d80]
lea rcx, [0x140234470]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1400e1ac8
xor ebx, dword [rsp + 0x40]
lea rdx, [0x140234478]
lea rcx, [0x1402de810]
call fcn.1400dd7b0
test rax, rax
je 0x1400e1b3a
mov dword [rsp + 0x4c], 0x2c00
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x50]
call rax
movzx ecx, byte [rbp + 0x1e8]
movzx eax, cl
xor al, 0xcb
mov byte [rbp + 0x2c50], al
movzx eax, cl
xor al, 0x80
mov byte [rbp + 0x2c51], al
movzx eax, cl
xor al, 0xf4
mov byte [rbp + 0x2c52], al
movzx eax, cl
xor al, 0x6e
mov byte [rbp + 0x2c53], al
movzx eax, cl
xor al, 0xdc
mov byte [rbp + 0x2c54], al
xor cl, 0x48
mov byte [rbp + 0x2c55], cl
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14008d000
mov rcx, rax
lea rdx, [0x1402328e4]
call fcn.14008c03c
nop word [rax + rax]
movzx ebx, byte [rbp + rdi + 0x2c50]
mov eax, ebx
shr rax, 4
movzx edx, byte [rbp + rax + 0x2c58]
lea rcx, [rsp + 0x50]
call fcn.1400ca2b0
and ebx, 0xf
movzx edx, byte [rbp + rbx + 0x2c58]
lea rcx, [rsp + 0x50]
call fcn.1400ca2b0
inc rdi
cmp rdi, 6
jl 0x1400e1b60
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140094c18
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x58]
call fcn.140093684
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1400e1c27
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400e1c1a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
test rax, rax
je 0x1400e1c1a
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
mov edx, 0x10
mov rcx, rbx
call fcn.14012a238
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r14
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x4c], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.14010acb0
nop
mov rax, rsi
mov rcx, qword [rbp + 0x2e90]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x2fa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret