Function at 0x140027c50
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.1402983d0
sub rsp, rax
mov rax, qword [0x1406e22c0]
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 0x140027cfb
lea rdx, [rbp + 0x70]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ecx, eax
test eax, eax
je 0x14002822f
cmp eax, 0x801
jae 0x14002822f
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.140005c10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
xor r8d, r8d
lea rdx, [0x140502112]
lea rcx, [rsp + 0x48]
call fcn.140005c10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov r8, rdi
lea rdx, [0x140528cd4]
lea rcx, [rsp + 0x68]
call fcn.140005c10
nop
cmp qword [rbp - 0x28], 0
je 0x140027f04
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 0x140027dc5
mov r8, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140027eff
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 0x140027e73
mov rax, r13
sub rax, rdi
cmp rbx, rax
ja 0x140027e6f
test rdi, rdi
je 0x140027eb2
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 0x140027e6f
nop word [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140027ea5
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 0x140027e40
mov rax, qword [rbp - 0x78]
cmp byte [rsp + 0x40], 0
je 0x140027ef8
test rax, rax
je 0x140027ef8
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 0x140027de0
sub rbx, r12
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp rbx, 0xffffffffffffffff
je 0x140027e6f
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.140019270
add rbx, qword [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
je 0x140027ef8
mov rax, qword [rbp - 0x78]
mov r13, qword [rbp - 0x28]
jmp 0x140027e8d
mov r13, qword [rbp - 0x68]
xor r12d, r12d
mov edi, 1
lea rcx, [rsp + 0x68]
call fcn.140019170
nop
lea rcx, [rsp + 0x48]
call fcn.140019170
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.140029560
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x140530e80]
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 0x140028209
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x140027fa6
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140027f99
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400199e0
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.140029320
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 0x1400281a7
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 0x140028030
lea rdx, [rbp + 0x870]
lea rcx, [rsp + 0x48]
call fcn.14001ac30
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 0x140028128
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 0x140028124
mov rdx, rdi
xor r8d, r8d
lea rcx, [rbp - 0x58]
call fcn.140018670
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400185b0
lea rcx, [rbp - 0x58]
call fcn.140019170
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 0x140028163
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002815e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028202
call fcn.140297720
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.140019170
nop
lea rcx, [rsp + 0x48]
call fcn.140019100
mov rdi, qword [r13 + 8]
cmp rdi, qword [r13 + 0x10]
je 0x1400281d7
mov qword [rbp - 0x68], rdi
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140018780
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp + 0x10]
call fcn.140018780
nop
add qword [r13 + 8], 0x40
jmp 0x1400281e7
lea r8, [rbp - 0x10]
mov rdx, rdi
mov rcx, r13
call fcn.14003c930
nop
lea rcx, [rbp + 0x48]
call fcn.140019100
add rbx, 0x20
cmp rbx, rsi
je 0x140028209
mov rdi, qword [rbp - 0x70]
jmp 0x140027f83
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rbp + 0x10]
call fcn.140019170
lea rcx, [rbp - 0x10]
call fcn.140019170
nop
lea rcx, [rbp + 0x30]
call fcn.140019030
nop
lea rcx, [rbp - 0x38]
call fcn.140019170
mov rax, r13
mov rcx, qword [rbp + 0x1870]
xor rcx, rsp
call fcn.140297700
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