Function at 0x140011ac0
Capabilities:
Get disk information
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140136210]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor r12d, r12d
mov dword [rsp + 0x74], 0x104
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x50]
call fcn.1400a9f40
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x140011b69
lea rdx, str.GetLogicalDriveStrings_failed.
lea rcx, [0x14018a7a0]
call fcn.14000e840
mov rcx, rax
call fcn.14000eb00
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], r12
xor r8d, r8d
lea rdx, [0x1400f7ccd]
mov rcx, rbx
call fcn.14000efc0
jmp 0x140011d90
mov dword [rsp + 0x70], r12d
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xc0]
call fcn.1400a9f40
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov r14d, 0xf
mov qword [rbp - 0x60], r14
mov byte [rbp - 0x78], r12b
lea rsi, [rbp - 0x50]
movzx eax, byte [rbp - 0x50]
test al, al
je 0x140011d81
movsx r8d, al
lea rdx, str.._c:
lea rcx, [rbp + 0xc0]
call fcn.140013650
movsx r8d, byte [rsi]
lea rdx, str._c:_
lea rcx, [rsp + 0x70]
call fcn.1400136b0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140011c3c
lea rdx, str.CreateFile_failed_for_drive
lea rcx, [0x14018a7a0]
call fcn.14000e840
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.14000e840
mov rcx, rax
call fcn.14000eb00
add rsi, 4
movzx eax, byte [rsi]
jmp 0x140011ba3
mov qword [rsp + 0x7c], r12
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0x78]
mov edx, 0x2d1400
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140011d6c
mov ecx, dword [rsp + 0x6c]
call fcn.1400a74f0
mov rdi, rax
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x6c]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdi
mov r9d, 0xc
lea r8, [rsp + 0x78]
mov edx, 0x2d1400
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140011d64
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x140011d64
lea rdx, [rdi + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140011d00
lea rcx, [rsp + 0x48]
call fcn.14000efc0
cmp r14, 0x10
jb 0x140011d48
lea rdx, [r14 + 1]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011d43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011dbe
call fcn.1400a7470
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x68], xmm0
psrldq xmm0, 8
movq r14, xmm0
mov rcx, rdi
call fcn.1400a7470
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsi, 4
movzx eax, byte [rsi]
jmp 0x140011ba3
movups xmm0, xmmword [rbp - 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x68]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a70e0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400bc558
nop
int3