Function at 0x140062830
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rsi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ebx, eax
mov ecx, eax
call fcn.14006d6f4
mov r14, rax
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x140062887
mov rcx, r14
call fcn.14006d640
xor al, al
jmp 0x140062bee
mov rcx, rsi
call fcn.14005c390
mov rbx, r14
cmp byte [r14], 0
je 0x140062be4
xor r15d, r15d
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x140062a41
mov qword [rbp - 9], r15
mov qword [rbp + 0xf], 0xf
mov word [rbp - 9], 0
mov qword [rbp + 7], 1
movsx eax, byte [rbx]
movzx eax, al
mov byte [rbp - 9], al
mov r9d, 0x10
lea r8, str.Removable_Disk:
lea rcx, [rbp - 9]
call fcn.140064af0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp - 0x29]
mov qword [rbp + 0x6f], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.1400635e0
mov byte [rbp + 0x37], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140062969
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062964
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c0b
call fcn.14006d640
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rsi + 0x1e0]
cmp rdx, qword [rsi + 0x1e8]
je 0x1400629af
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rbp + 0x17], 0
mov byte [rdx + 0x20], 0
add qword [rsi + 0x1e0], 0x28
jmp 0x1400629c3
lea r8, [rbp + 0x17]
lea rcx, [rsi + 0x1d8]
call fcn.140063e00
mov rax, qword [rbp + 0x2f]
cmp rax, 0x10
jb 0x1400629fc
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400629f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c0b
call fcn.14006d640
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140062bd0
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062bcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062bcb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x140062bd0
mov qword [rbp - 9], r15
mov qword [rbp + 0xf], 0xf
mov word [rbp - 9], 0
mov qword [rbp + 7], 1
movsx eax, byte [rbx]
movzx eax, al
mov byte [rbp - 9], al
mov r9d, 0xc
lea r8, str.Local_Disk:
lea rcx, [rbp - 9]
call fcn.140064af0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x19], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rax, [rbp - 0x29]
mov qword [rbp + 0x6f], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x17]
call fcn.1400635e0
mov byte [rbp + 0x37], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140062b0a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062b05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c12
call fcn.14006d640
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rsi + 0x1e0]
cmp rdx, qword [rsi + 0x1e8]
je 0x140062b50
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rbp + 0x17], 0
mov byte [rdx + 0x20], 0
add qword [rsi + 0x1e0], 0x28
jmp 0x140062b64
lea r8, [rbp + 0x17]
lea rcx, [rsi + 0x1d8]
call fcn.140063e00
mov rax, qword [rbp + 0x2f]
cmp rax, 0x10
jb 0x140062b99
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062b93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c12
call fcn.14006d640
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140062bd0
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062bcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c19
call fcn.14006d640
inc rbx
cmp byte [rbx], 0
jne 0x140062bd0
inc rbx
cmp byte [rbx], 0
jne 0x1400628a0
mov rcx, r14
call fcn.14006d640
mov al, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
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]
int3