Function at 0x180008750
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], 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 rdi, rcx
xor r15d, r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov ebx, eax
mov ecx, eax
call fcn.18004ad64
mov r14, rax
mov rdx, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x1800087aa
mov rcx, r14
call fcn.18004ad20
xor al, al
jmp 0x180008b24
mov rcx, rdi
call fcn.180001f50
mov rbx, r14
cmp byte [r14], r15b
je 0x180008b1a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x180008961
mov qword [rbp - 1], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
movzx r8d, byte [rbx]
lea edx, [rax - 1]
lea rcx, [rbp - 1]
call fcn.1800095d0
nop
mov r9d, 0x10
lea r8, str.Removable_Disk:
lea rcx, [rbp - 1]
call fcn.18000a2a0
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 - 9], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x1f]
call fcn.1800093e0
mov byte [rbp + 0x3f], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x180008889
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b05
call fcn.18004ad20
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rdi + 0x1e0]
cmp rdx, qword [rdi + 0x1e8]
je 0x1800088cf
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rbp + 0x1f], 0
mov byte [rdx + 0x20], 0
add qword [rdi + 0x1e0], 0x28
jmp 0x1800088e3
lea r8, [rbp + 0x1f]
lea rcx, [rdi + 0x1d8]
call fcn.18000aae0
mov rax, qword [rbp + 0x37]
cmp rax, 0x10
jb 0x18000891c
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008916
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b05
call fcn.18004ad20
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x180008af2
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008aed
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 0x180008af2
mov qword [rbp - 1], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], 0xf
mov byte [rbp - 1], 0
movzx r8d, byte [rbx]
lea edx, [rax - 2]
lea rcx, [rbp - 1]
call fcn.1800095d0
nop
mov r9d, 0xc
lea r8, str.Local_Disk:
lea rcx, [rbp - 1]
call fcn.18000a2a0
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 - 9], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x1f]
call fcn.1800093e0
mov byte [rbp + 0x3f], 0
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x180008a2c
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008a27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b0c
call fcn.18004ad20
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], 0
mov rdx, qword [rdi + 0x1e0]
cmp rdx, qword [rdi + 0x1e8]
je 0x180008a72
movups xmm0, xmmword [rbp + 0x1f]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x2f]
movups xmmword [rdx + 0x10], xmm1
mov eax, 0xf
mov byte [rbp + 0x1f], 0
mov byte [rdx + 0x20], 0
add qword [rdi + 0x1e0], 0x28
jmp 0x180008a86
lea r8, [rbp + 0x1f]
lea rcx, [rdi + 0x1d8]
call fcn.18000aae0
mov rax, qword [rbp + 0x37]
cmp rax, 0x10
jb 0x180008abb
lea rdx, [rax + 1]
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008ab5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b0c
call fcn.18004ad20
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x180008af2
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008aed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b13
call fcn.18004ad20
inc rbx
cmp byte [rbx], 0
jne 0x180008af2
inc rbx
cmp byte [rbx], 0
jmp 0x1800087b8
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
mov rcx, r14
call fcn.18004ad20
mov al, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret