Function at 0x14001ec70
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1400db010]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rdx
xor ebx, ebx
mov dword [rsp + 0x78], ebx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov qword [rdx + 0x10], rbx
mov dword [rsp + 0x78], 1
lea rdx, [rbp - 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edx, 0x7ff
cmp eax, edx
jae 0x14001ed0b
lea rdx, [rbp - 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov edx, eax
test eax, eax
je 0x14001f01c
cmp eax, 0x801
jae 0x14001f01c
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov r8d, edx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400368f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
xor r8d, r8d
lea rdx, [0x1400839fe]
lea rcx, [rsp + 0x38]
call fcn.1400368f0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov r8d, 1
lea rdx, [0x1400c9f04]
lea rcx, [rsp + 0x58]
call fcn.1400368f0
nop
mov r8, qword [rsp + 0x58]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x14001ef1b
lea rdx, [rsp + 0x38]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp r15, 0x10
cmovae rdx, r14
lea rcx, [rsp + 0x58]
mov r9, qword [rsp + 0x70]
cmp r9, 0x10
cmovae rcx, r8
mov rdi, qword [rsp + 0x68]
cmp rdi, qword [rsp + 0x48]
jne 0x14001ede1
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001ef25
mov rax, qword [rbp - 0x60]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
mov r13d, 0xa
mov byte [rsp + 0x30], 0
nop dword [rax]
lea rsi, [rsp + 0x58]
cmp r9, 0x10
cmovae rsi, r8
lea r12, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae r12, qword [rbp - 0x70]
cmp rdi, rax
ja 0x14001ee83
sub rax, rdi
cmp rbx, rax
ja 0x14001ee7f
test rdi, rdi
je 0x14001eec2
lea r14, [rax + r12]
lea rcx, [r12 + rbx]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, rcx
mov edx, r15d
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14001ee7f
nop dword [rax]
nop dword [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001eeb5
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x14001ee50
mov rax, qword [rbp - 0x60]
cmp byte [rsp + 0x30], 0
je 0x14001ef1b
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
test r13, r13
je 0x14001ef25
xor ebx, ebx
dec r13
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
jmp 0x14001ede7
sub rbx, r12
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x14001ee7f
mov byte [rsp + 0x30], 1
lea r9, [rsp + 0x38]
cmp r15, 0x10
cmovae r9, r14
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140033b10
add rbx, qword [rsp + 0x48]
cmp rbx, 0xffffffffffffffff
je 0x14001ef1b
mov r14, qword [rsp + 0x38]
mov rax, qword [rbp - 0x60]
mov r15, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
jmp 0x14001edf0
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14001ef66
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ef60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ef60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fe0c
nop
cmp r15, 0x10
jb 0x14001efa0
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14001ef98
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ef98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14007fe0c
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x31], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x31]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140020610
mov rdx, rax
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.1400327a0
lea rcx, [rsp + 0x38]
call fcn.140033a20
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x14001f020
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f015
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f015
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fe0c
jmp 0x14001f020
mov rbx, qword [rbp - 0x80]
mov rax, rbx
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14007fba0
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret