Function at 0x140002270
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 - 0x1850]
mov eax, 0x1950
call fcn.1400a0ac0
sub rsp, rax
mov rax, qword [0x1400ddfc0]
xor rax, rsp
mov qword [rbp + 0x1840], rax
mov rsi, rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x68], rdx
xor ebx, ebx
mov dword [rbp - 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 [rbp - 0x78], 1
lea rdx, [rbp + 0x40]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, 0x7ff
cmp eax, ecx
jae 0x140002312
lea rdx, [rbp + 0x40]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, eax
test eax, eax
je 0x140002946
cmp eax, 0x801
jae 0x140002946
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rbx
mov r8d, ecx
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140017930
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
xor r8d, r8d
lea rdx, [0x1400bfb49]
lea rcx, [rsp + 0x48]
call fcn.140017930
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov r8d, 1
lea rdx, [0x1400bfb6c]
lea rcx, [rsp + 0x68]
call fcn.140017930
nop
mov r8, qword [rsp + 0x68]
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140002529
lea rdx, [rsp + 0x48]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0xf
cmova rdx, r14
lea rcx, [rsp + 0x68]
mov r12, qword [rbp - 0x80]
cmp r12, 0xf
cmova rcx, r8
mov rdi, qword [rsp + 0x78]
cmp rdi, qword [rsp + 0x58]
jne 0x1400023ef
test rdi, rdi
je 0x140002537
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
jne 0x140002537
mov rax, qword [rbp - 0x50]
mov r8, qword [rsp + 0x68]
mov r13d, 0xa
mov byte [rsp + 0x40], 0
nop word [rax + rax]
lea rsi, [rsp + 0x68]
cmp r12, 0xf
cmova rsi, r8
lea r12, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova r12, qword [rbp - 0x60]
cmp rdi, rax
ja 0x140002493
sub rax, rdi
cmp rbx, rax
ja 0x14000248f
test rdi, rdi
je 0x1400024d1
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 0x14000248f
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 0x1400024c4
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 0x140002460
mov rax, qword [rbp - 0x50]
cmp byte [rsp + 0x40], 0
je 0x140002529
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
mov r12, qword [rbp - 0x80]
test r13, r13
je 0x140002537
xor ebx, ebx
dec r13
mov r8, qword [rsp + 0x68]
jmp 0x1400023f5
sub rbx, r12
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp rbx, 0xffffffffffffffff
je 0x14000248f
mov byte [rsp + 0x40], 1
lea r9, [rsp + 0x48]
cmp r15, 0xf
cmova r9, r14
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140015090
add rbx, qword [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
je 0x140002529
mov r14, qword [rsp + 0x48]
mov rax, qword [rbp - 0x50]
mov r15, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov r12, qword [rbp - 0x80]
jmp 0x140002400
mov r12, qword [rbp - 0x80]
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x48]
cmp r12, 0xf
jbe 0x140002575
lea rdx, [r12 + 1]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000256f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000256f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009fb90
nop
cmp r15, 0xf
jbe 0x1400025af
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400025a7
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14009fb90
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], al
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x41]
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.1400044a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movdqa xmm1, xmmword [0x1400cbe20]
movdqa xmmword [rbp - 0x30], xmm1
mov byte [rbp - 0x40], 0
movups xmmword [rbp - 0x20], xmm0
xor r15d, r15d
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r15b
mov rbx, qword [rbp]
mov r14, qword [rbp + 8]
mov rsi, qword [rbp - 0x70]
cmp rbx, r14
je 0x140002873
lea rax, [rbp - 0x40]
cmp rax, rbx
je 0x140002643
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140002636
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140015230
mov qword [rbp - 0x10], r15
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova rax, qword [rbp - 0x20]
mov byte [rax], 0
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.1400041d0
nop
lea rcx, [rbp + 0x18]
cmp qword [rbp + 0x30], 7
cmova rcx, qword [rbp + 0x18]
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rbp + 0x840]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1400027e6
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lea rax, [rbp + 0x840]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400026c4
lea rdx, [rbp + 0x840]
lea rcx, [rsp + 0x68]
call fcn.1400175c0
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400040a0
mov rdi, rax
lea rax, [rbp - 0x20]
cmp rax, rdi
je 0x140002755
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x140002737
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002732
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028e3
call fcn.14009fb90
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rdi + 0x10]
movaps xmmword [rbp - 0x10], xmm1
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140002792
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000278d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028e3
call fcn.14009fb90
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x1400027e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028ea
call fcn.14009fb90
mov rdi, qword [rsi + 8]
cmp rdi, qword [rsi + 0x10]
je 0x140002816
mov qword [rbp - 0x70], rdi
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.1400142d0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp - 0x20]
call fcn.1400142d0
nop
add qword [rsi + 8], 0x40
jmp 0x140002826
lea r8, [rbp - 0x40]
mov rdx, rdi
mov rcx, rsi
call fcn.14001ad80
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 7
jbe 0x140002866
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002861
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028f1
call fcn.14009fb90
add rbx, 0x20
cmp rbx, r14
jne 0x140002620
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400028aa
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400028dc
call fcn.14009fb90
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400028fe
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14009fb90
nop
lea rcx, [rbp]
call fcn.140014f10
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140002946
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002941
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002941
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009fb90
mov rax, rsi
mov rcx, qword [rbp + 0x1840]
xor rcx, rsp
call fcn.14009f750
lea r11, [rsp + 0x1950]
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