Function at 0x140062860
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.14006d864
mov r14, rax
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x1400628b7
mov rcx, r14
call fcn.14006d7b0
xor al, al
jmp 0x140062c1e
mov rcx, rsi
call fcn.14005c3c0
mov rbx, r14
cmp byte [r14], 0
je 0x140062c14
xor r15d, r15d
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x140062a71
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.140064b20
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.140063610
mov byte [rbp + 0x37], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140062999
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062994
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c3b
call fcn.14006d7b0
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 0x1400629df
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 0x1400629f3
lea r8, [rbp + 0x17]
lea rcx, [rsi + 0x1d8]
call fcn.140063e30
mov rax, qword [rbp + 0x2f]
cmp rax, 0x10
jb 0x140062a2c
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062a26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c3b
call fcn.14006d7b0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140062c00
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062bfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140062bfb
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 0x140062c00
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.140064b20
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.140063610
mov byte [rbp + 0x37], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140062b3a
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062b35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c42
call fcn.14006d7b0
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 0x140062b80
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 0x140062b94
lea r8, [rbp + 0x17]
lea rcx, [rsi + 0x1d8]
call fcn.140063e30
mov rax, qword [rbp + 0x2f]
cmp rax, 0x10
jb 0x140062bc9
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062bc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c42
call fcn.14006d7b0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x140062c00
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140062bfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140062c49
call fcn.14006d7b0
inc rbx
cmp byte [rbx], 0
jne 0x140062c00
inc rbx
cmp byte [rbx], 0
jne 0x1400628d0
mov rcx, r14
call fcn.14006d7b0
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