Function at 0x140026e00
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 - 0x1880]
mov eax, 0x1980
call fcn.140290420
sub rsp, rax
mov rax, qword [0x1406b92c0]
xor rax, rsp
mov qword [rbp + 0x1870], rax
mov r13, rdx
mov qword [rbp - 0x68], rdx
mov qword [rbp - 0x60], rdx
xor r12d, r12d
mov dword [rsp + 0x44], r12d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov edi, 1
mov qword [rbp - 0x70], rdi
mov dword [rsp + 0x44], edi
lea rdx, [rbp + 0x70]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, 0x7ff
cmp eax, ecx
jae 0x140026eab
lea rdx, [rbp + 0x70]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, eax
test eax, eax
je 0x1400273df
cmp eax, 0x801
jae 0x1400273df
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov r8d, ecx
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x38]
call fcn.1400055c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
xor r8d, r8d
lea rdx, [0x1404f90b6]
lea rcx, [rsp + 0x48]
call fcn.1400055c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov r8, rdi
lea rdx, [0x140501464]
lea rcx, [rsp + 0x68]
call fcn.1400055c0
nop
cmp qword [rbp - 0x28], 0
je 0x1400270b4
lea rdx, [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0xf
mov r14, qword [rsp + 0x48]
cmova rdx, r14
lea rcx, [rsp + 0x68]
mov r8, qword [rsp + 0x68]
mov r9, qword [rbp - 0x80]
cmp r9, 0xf
cmova rcx, r8
mov rdi, qword [rsp + 0x78]
cmp rdi, qword [rsp + 0x58]
jne 0x140026f75
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400270af
mov r8, qword [rsp + 0x68]
mov r9, qword [rbp - 0x80]
mov rbx, r12
mov byte [rsp + 0x40], bl
mov eax, 0xa
mov qword [rbp - 0x78], rax
mov r13, qword [rbp - 0x28]
nop dword [rax]
lea rsi, [rsp + 0x68]
cmp r9, 0xf
cmova rsi, r8
lea r12, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r12, qword [rbp - 0x38]
cmp rdi, r13
ja 0x140027023
mov rax, r13
sub rax, rdi
cmp rbx, rax
ja 0x14002701f
test rdi, rdi
je 0x140027062
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 0x14002701f
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140027055
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 0x140026ff0
mov rax, qword [rbp - 0x78]
cmp byte [rsp + 0x40], 0
je 0x1400270a8
test rax, rax
je 0x1400270a8
mov byte [rsp + 0x40], 0
xor ebx, ebx
dec rax
mov qword [rbp - 0x78], rax
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov r9, qword [rbp - 0x80]
jmp 0x140026f90
sub rbx, r12
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp rbx, 0xffffffffffffffff
je 0x14002701f
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 - 0x38]
call fcn.140015aa0
add rbx, qword [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
je 0x1400270a8
mov rax, qword [rbp - 0x78]
mov r13, qword [rbp - 0x28]
jmp 0x14002703d
mov r13, qword [rbp - 0x68]
xor r12d, r12d
mov edi, 1
lea rcx, [rsp + 0x68]
call fcn.1400159a0
nop
lea rcx, [rsp + 0x48]
call fcn.1400159a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x41], al
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x41]
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 0x30]
call fcn.140028710
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1405082b0]
movdqa xmmword [rbp], xmm1
mov byte [rbp - 0x10], 0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x10], 0
mov rbx, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x38]
cmp rbx, rsi
je 0x1400273b9
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x140027156
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140027149
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x10]
call fcn.140015fd0
mov qword [rbp + 0x20], r12
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rax, qword [rbp + 0x10]
mov byte [rax], 0
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.1400284d0
nop
lea rcx, [rbp + 0x48]
cmp qword [rbp + 0x60], 7
cmova rcx, qword [rbp + 0x48]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x800
lea rdx, [rbp + 0x870]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x140027357
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea rax, [rbp + 0x870]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400271e0
lea rdx, [rbp + 0x870]
lea rcx, [rsp + 0x48]
call fcn.14001f570
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
or edi, 2
mov qword [rbp - 0x70], rdi
mov dword [rsp + 0x44], edi
mov r9, qword [rsp + 0x58]
test r9, r9
je 0x1400272d8
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova r8, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
test eax, eax
je 0x1400272d4
mov rdx, rdi
xor r8d, r8d
lea rcx, [rbp - 0x58]
call fcn.140036cf0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140014e70
lea rcx, [rbp - 0x58]
call fcn.1400159a0
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rax, qword [rsp + 0x68]
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova r8, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdi, qword [rbp - 0x70]
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140027313
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002730e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400273b2
call fcn.14028f770
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x78]
movaps xmmword [rbp + 0x20], xmm1
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
and edi, 0xfffffffd
mov qword [rbp - 0x70], rdi
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x68]
call fcn.1400159a0
nop
lea rcx, [rsp + 0x48]
call fcn.140015930
mov rdi, qword [r13 + 8]
cmp rdi, qword [r13 + 0x10]
je 0x140027387
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140014f30
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x10]
call fcn.140014f30
nop
add qword [r13 + 8], 0x40
jmp 0x140027397
lea r8, [rbp - 0x10]
mov rdx, rdi
mov rcx, r13
call fcn.14003bbf0
nop
lea rcx, [rbp + 0x48]
call fcn.140015930
add rbx, 0x20
cmp rbx, rsi
je 0x1400273b9
mov rdi, qword [rbp - 0x70]
jmp 0x140027133
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x10]
call fcn.1400159a0
lea rcx, [rbp - 0x10]
call fcn.1400159a0
nop
lea rcx, [rbp + 0x30]
call fcn.140015860
nop
lea rcx, [rbp - 0x38]
call fcn.1400159a0
mov rax, r13
mov rcx, qword [rbp + 0x1870]
xor rcx, rsp
call fcn.14028f750
lea r11, [rsp + 0x1980]
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