Function at 0x140035200
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], 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 [0x140109720]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rcx
xor ebx, ebx
mov dword [rsp + 0x78], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x78], 1
lea rdx, [rbp - 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp eax, 0x7ff
jae 0x1400352c6
lea rdx, [rbp - 0x50]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, eax
dec eax
cmp eax, 0x7ff
jbe 0x1400352cb
mov rbx, qword [rbp - 0x80]
mov rax, rbx
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400b69d0
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x7ff
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov r8d, ecx
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400063d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
xor r8d, r8d
lea rdx, [0x1400c09d1]
lea rcx, [rsp + 0x38]
call fcn.1400063d0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov r8d, 1
lea rdx, [0x1400c0a60]
lea rcx, [rsp + 0x58]
call fcn.1400063d0
nop
mov r8, qword [rsp + 0x58]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x1400354db
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 0x1400353a1
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400354e5
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 0x140035443
sub rax, rdi
cmp rbx, rax
ja 0x14003543f
test rdi, rdi
je 0x140035482
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 0x14003543f
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 0x140035475
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 0x140035410
mov rax, qword [rbp - 0x60]
cmp byte [rsp + 0x30], 0
je 0x1400354db
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
test r13, r13
je 0x1400354e5
xor ebx, ebx
dec r13
mov r8, qword [rsp + 0x58]
mov r9, qword [rsp + 0x70]
jmp 0x1400353a7
sub rbx, r12
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
cmp rbx, 0xffffffffffffffff
je 0x14003543f
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.140048b20
add rbx, qword [rsp + 0x48]
cmp rbx, 0xffffffffffffffff
je 0x1400354db
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 0x1400353b0
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140035526
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035520
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035520
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b6f14
nop
cmp r15, 0x10
jb 0x140035560
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140035558
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035558
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400b6f14
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.140034f20
mov rdx, rax
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.140047d60
lea rcx, [rsp + 0x38]
call fcn.140048a30
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140035293
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400355d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400355d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b6f14
jmp 0x140035293