Function at 0x140001940
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x1402bf7c0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor r15d, r15d
mov dword [rbp - 0x59], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
lea r8d, [r15 + 0xd]
lea rdx, str.61A345B5496B2
call fcn.140007f00
mov dword [rbp - 0x59], 1
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.1400015b0
nop
mov dl, 1
lea rcx, [rbp - 1]
call fcn.1400015b0
nop
lea rcx, [rbp - 0x51]
call fcn.140001450
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140001720
nop
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400019dc
mov r9, qword [rax]
mov rbx, qword [rax + 0x10]
mov rsi, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
mov rax, rcx
sub rax, rsi
cmp rbx, rax
ja 0x140001a20
lea rax, [rbx + rsi]
mov qword [rdi + 0x10], rax
mov r14, rdi
cmp rcx, 0xf
jbe 0x140001a07
mov r14, qword [rdi]
lea rcx, [r14 + rsi]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + r14]
mov byte [rax + rsi], 0
jmp 0x140001a31
mov qword [rsp + 0x20], rbx
mov rdx, rbx
mov rcx, rdi
call fcn.140007d70
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0xf
jbe 0x140001a6f
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dadf8
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140001a9f
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001a97
mov rax, qword [rdi]
mov word [rcx + rax], 0x2d
jmp 0x140001abc
mov qword [rsp + 0x20], 1
lea r9, [0x14027c658]
mov edx, 1
mov rcx, rdi
call fcn.140007d70
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 9]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14027c644]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
cmovne r15d, dword [rbp - 9]
mov edx, r15d
lea rcx, [rbp - 0x31]
call fcn.1400075c0
mov dword [rbp - 0x59], 9
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.140001720
nop
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140001b1b
mov r9, qword [rax]
mov rdx, qword [rax + 0x10]
mov rcx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x140001b5a
lea rsi, [rcx + rdx]
mov qword [rdi + 0x10], rsi
mov rbx, rdi
cmp r8, 0xf
jbe 0x140001b46
mov rbx, qword [rdi]
add rcx, rbx
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140001b68
mov qword [rsp + 0x20], rdx
mov rcx, rdi
call fcn.140007d70
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140001ba6
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ba1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ba1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dadf8
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140001bd6
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001bce
mov rax, qword [rdi]
mov word [rax + rcx], 0x2d
jmp 0x140001bf3
mov qword [rsp + 0x20], 1
lea r9, [0x14027c658]
mov edx, 1
mov rcx, rdi
call fcn.140007d70
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x31]
call fcn.140007330
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001720
nop
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140001c1a
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140001c5d
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001c45
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rsi], 0
jmp 0x140001c6e
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.140007d70
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140001cac
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ca7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dadf8
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140001cdc
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001cd4
mov rax, qword [rdi]
mov word [rax + rcx], 0x2d
jmp 0x140001cf9
mov qword [rsp + 0x20], 1
lea r9, [0x14027c658]
mov edx, 1
mov rcx, rdi
call fcn.140007d70
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.140007330
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001720
nop
mov r9, rax
cmp qword [rax + 0x18], 0xf
jbe 0x140001d20
mov r9, qword [rax]
mov rsi, qword [rax + 0x10]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140001d63
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x140001d4b
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x140001d74
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.140007d70
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0xf
jbe 0x140001db3
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dadf8
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140001df1
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001dec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001dec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dadf8
movdqa xmm0, xmmword [0x14027cbd0]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140001e40
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001e3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401dadf8
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401da8c0
lea r11, [rsp + 0xe0]
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