Function at 0x140001870
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 [0x1402bc7c0]
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.140004b40
mov dword [rbp - 0x59], 1
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.140001540
nop
mov dl, 1
lea rcx, [rbp - 1]
call fcn.140001540
nop
lea rcx, [rbp - 0x51]
call fcn.1400013e0
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140001650
nop
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x14000190c
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 0x140001950
lea rax, [rbx + rsi]
mov qword [rdi + 0x10], rax
mov r14, rdi
cmp rcx, 0x10
jb 0x140001937
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 0x140001961
mov qword [rsp + 0x20], rbx
mov rdx, rbx
mov rcx, rdi
call fcn.140004c40
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14000199f
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000199a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000199a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d7b18
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1400019cf
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400019c7
mov rax, qword [rdi]
mov word [rcx + rax], 0x2d
jmp 0x1400019ec
mov qword [rsp + 0x20], 1
lea r9, [0x1402795f8]
mov edx, 1
mov rcx, rdi
call fcn.140004c40
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, [0x1402795e4]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
cmovne r15d, dword [rbp - 9]
mov edx, r15d
lea rcx, [rbp - 0x31]
call fcn.140004520
mov dword [rbp - 0x59], 9
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.140001650
nop
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x140001a4b
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 0x140001a8f
lea rax, [rbx + rsi]
mov qword [rdi + 0x10], rax
mov r14, rdi
cmp rcx, 0x10
jb 0x140001a76
mov r14, qword [rdi]
lea rcx, [r14 + rsi]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rbx]
mov byte [rax + rsi], 0
jmp 0x140001aa0
mov qword [rsp + 0x20], rbx
mov rdx, rbx
mov rcx, rdi
call fcn.140004c40
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140001ade
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ad9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ad9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d7b18
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140001b0e
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140001b06
mov rax, qword [rdi]
mov word [rax + rcx], 0x2d
jmp 0x140001b2b
mov qword [rsp + 0x20], 1
lea r9, [0x1402795f8]
mov edx, 1
mov rcx, rdi
call fcn.140004c40
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x31]
call fcn.140004140
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001650
nop
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x140001b52
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 0x140001b95
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140001b7d
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 0x140001ba6
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.140004c40
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140001be4
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bdf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d7b18
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140001c14
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140001c0c
mov rax, qword [rdi]
mov word [rax + rcx], 0x2d
jmp 0x140001c31
mov qword [rsp + 0x20], 1
lea r9, [0x1402795f8]
mov edx, 1
mov rcx, rdi
call fcn.140004c40
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.140004140
mov rdx, rax
lea rcx, [rbp - 0x51]
call fcn.140001650
nop
mov r9, rax
cmp qword [rax + 0x18], 0x10
jb 0x140001c58
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 0x140001c9b
lea rax, [rcx + rsi]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140001c83
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 0x140001cac
mov qword [rsp + 0x20], rsi
mov rdx, rsi
mov rcx, rdi
call fcn.140004c40
nop
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x140001ceb
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ce5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001ce5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d7b18
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x140001d29
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d7b18
movdqa xmm0, xmmword [0x1402798a0]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0x10
jb 0x140001d78
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401d7b18
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1401d75d0
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