Function at 0x1400013e0
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 - 0x37]
sub rsp, 0xd0
mov rax, qword [0x140008008]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x19], rdx
mov qword [rbp - 0x21], rdx
xor r15d, r15d
mov r12d, r15d
mov dword [rbp - 0x49], r15d
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
mov qword [rbp - 1], r15
mov bl, 0x41
lea esi, [r15 + 1]
lea r14d, [r15 + 0xf]
mov r13d, 0x5c3a
nop dword [rax + rax]
movsx edx, bl
lea ecx, [rdx - 0x41]
movzx eax, cl
bt edi, eax
jae 0x140001551
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x51], r14
mov word [rbp - 0x69], 0
movzx eax, dl
mov byte [rbp - 0x69], al
lea rax, [rsi + 2]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x69]
mov word [rax + rsi], r13w
mov byte [rax + rsi + 2], 0
lea rax, [rbp - 0x69]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x31], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r14
mov byte [rax], 0
or r12d, 8
mov rdx, qword [rbp - 9]
cmp rdx, qword [rbp - 1]
je 0x1400014cd
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov rdx, r14
mov byte [rbp - 0x41], 0
add qword [rbp - 9], 0x20
jmp 0x1400014de
lea r8, [rbp - 0x41]
lea rcx, [rbp - 0x11]
call fcn.140001de0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140001516
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001510
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400015e6
call fcn.14000349c
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140001551
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000154c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400015ed
call fcn.14000349c
inc bl
cmp bl, 0x5a
jle 0x140001450
mov qword [rbp + 7], r15
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r14
mov byte [rbp + 7], 0
mov rsi, qword [rbp - 0x11]
mov rax, qword [rbp - 9]
mov qword [rbp - 0x21], rax
cmp rsi, rax
je 0x140001800
mov r8, 0xffffffffffffffff
lea edx, [r8 + 0x17]
movabs rcx, 0x7fffffffffffffff
mov r14, qword [rsi + 0x10]
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x14000199e
mov r13, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400015b7
mov r13, qword [rsi]
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], r15
lea r15, [r14 + 1]
mov ebx, recv
lea rdi, [rbp - 0x69]
cmp r15, rbx
jbe 0x140001651
mov rbx, r15
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400015f4
mov rbx, rcx
jmp 0x1400015fc
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
cmp rbx, 0x16
cmovb rbx, rdx
mov rcx, rbx
add rcx, 1
cmovb rcx, r8
cmp rcx, 0x1000
jb 0x14000163c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400019a4
mov rcx, rax
call fcn.140003460
test rax, rax
je 0x1400018c9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000164d
test rcx, rcx
je 0x14000164b
call fcn.140003460
mov rdi, rax
jmp 0x14000164d
xor edi, edi
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], rbx
mov r8, r14
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r14], 0x20
mov byte [rdi + r15], 0
or r12d, 0x10
mov dword [rbp - 0x49], r12d
lea r9, [rbp - 0x69]
mov rdi, qword [rbp - 0x69]
mov r14, qword [rbp - 0x51]
cmp r14, 0x10
cmovae r9, rdi
mov rcx, qword [rbp + 0x17]
mov rdx, qword [rbp + 0x1f]
mov rax, rdx
sub rax, rcx
mov r15, qword [rbp - 0x59]
cmp r15, rax
ja 0x1400016d1
lea rax, [r15 + rcx]
mov qword [rbp + 0x17], rax
lea rbx, [rbp + 7]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 7]
add rbx, rcx
mov r8, r15
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [r15 + rbx], 0
jmp 0x1400016ea
mov qword [rsp + 0x20], r15
mov rdx, r15
lea rcx, [rbp + 7]
call fcn.1400022c0
mov r14, qword [rbp - 0x51]
mov rdi, qword [rbp - 0x69]
cmp r14, 0x10
jb 0x140001721
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001719
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400018c9
mov rcx, rdi
call fcn.14000349c
add rsi, 0x20
cmp rsi, qword [rbp - 0x21]
je 0x140001733
xor r15d, r15d
jmp 0x140001581
mov rbx, qword [rbp + 0x17]
test rbx, rbx
je 0x1400017f7
lea rsi, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rsi, qword [rbp + 7]
cmp rbx, 0x10
jae 0x140001767
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x69], xmm0
mov r14d, recv
mov qword [rbp - 0x51], r14
jmp 0x1400017e6
mov rdi, rbx
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400017bb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400019aa
mov rcx, rax
call fcn.140003460
mov rcx, rax
test rax, rax
je 0x1400018c9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400017c9
test rcx, rcx
je 0x1400017c7
call fcn.140003460
jmp 0x1400017c9
xor eax, eax
mov qword [rbp - 0x69], rax
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x51], rdi
mov r14d, recv
mov qword [rbp - 0x59], rbx
lea rax, [rbp - 0x69]
or r12d, 2
xor r15d, r15d
jmp 0x140001827
xor r15d, r15d
mov r14d, recv
mov qword [rbp - 0x41], r15
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x29], r14
mov byte [rbp - 0x41], 0
mov r8d, socket
lea rcx, [rbp - 0x41]
call fcn.140001c70
lea rax, [rbp - 0x41]
or r12d, 1
mov rbx, qword [rbp - 0x19]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r14
mov byte [rax], 0
or r12d, 4
test r12b, 2
je 0x140001891
and r12d, 0xfffffffd
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140001891
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000188b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000188b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000349c
nop
test r12b, 1
je 0x1400018d6
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x1400018d6
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000349c
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140001914
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000190f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000190f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000349c
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r14
mov byte [rbp + 7], 0
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14000196e
mov rdx, qword [rbp - 9]
call fcn.140002070
mov rdx, qword [rbp - 1]
mov rcx, qword [rbp - 0x11]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001969
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001969
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000349c
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140003440
lea r11, [rsp + 0xd0]
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
call fcn.1400011a0
nop
call fcn.140001100
int3
call fcn.140001100
int3