Function at 0x1800023c0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x180030040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov r14, rdx
mov rcx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1800023f8
mov rcx, qword [r8]
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r12 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x18000247e
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180002476
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x180002471
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x180002680
mov rcx, rax
call fcn.180009a2c
mov byte [rsi], r12b
jmp 0x180002536
mov qword [rsp + 0x54], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18000256b
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
test rbp, rbp
je 0x1800024f9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x180002533
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x18000252e
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180002680
mov rcx, r8
call fcn.180009a2c
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r12
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180009660
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov edi, dword [rsp + 0x4c]
mov ecx, edi
call fcn.180009b04
mov r15, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.180020b40
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r15
mov r9d, 0xc
lea r8, [rsp + 0x50]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1800025ee
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
mov rcx, r15
call fcn.180009a2c
nop
test rbp, rbp
je 0x1800025e9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1800024f9
mov eax, dword [r15 + 0x18]
test eax, eax
jne 0x180002629
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], r12b
mov rcx, r15
call fcn.180009a2c
nop
test rbp, rbp
je 0x180002624
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1800024f9
lea rbx, [r15 + rax]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], r12b
jne 0x180002640
test rax, rax
jne 0x180002658
mov byte [rsp + 0x40], r12b
lea rbx, [rsp + 0x40]
mov rdx, rbx
mov rcx, r14
call fcn.180005f00
mov rcx, r15
call fcn.180009a2c
nop
test rbp, rbp
je 0x18000267b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1800024f9
call fcn.180010798
int3