Function at 0x180001ae0
Capabilities:
Get storage device properties

Disassembly:
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x3760]
mov eax, 0x3860
call fcn.18001a8c0
sub rsp, rax
mov rax, qword [0x180082088]
xor rax, rsp
mov qword [rbp + 0x3750], rax
xor edi, edi
mov qword [rsp + 0x3898], rbx
mov qword [rsp + 0x38a0], rsi
mov r12d, edi
mov r15d, edi
mov qword [rsp + 0x38a8], r14
mov r13, rcx
nop dword [rax]
nop word [rax + rax]
mov r9b, 0x96
lea rdx, [0x180072170]
mov r8d, 0xd
lea rcx, [rsp + 0x40]
call fcn.1800035d0
cmp qword [rax + 0x18], 0x10
jb 0x180001b64
mov rax, qword [rax]
mov r9, rax
mov dword [rsp + 0x20], r15d
lea r8, str.._s_d
mov edx, 0x100
lea rcx, [rbp - 0x80]
call fcn.180003740
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x180001bdb
mov rcx, qword [rsp + 0x40]
inc rax
cmp rax, 0xffffffffffffffff
ja 0x18000200c
cmp rax, 0x1000
jb 0x180001bd6
test cl, 0x1f
jne 0x180002006
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x180002000
sub rcx, rax
cmp rcx, 8
jb 0x180001ffa
cmp rcx, 0x27
ja 0x180001ff4
mov rcx, rax
call fcn.180019bb4
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rbp - 0x80]
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x180001cc3
xor eax, eax
lea rdi, [r13 + 0x800]
mov ecx, 0x100
lea r8d, [r14 + 0x5b]
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
mov r9b, 0x81
lea rdx, [0x180072190]
call fcn.1800035d0
cmp qword [rax + 0x18], 0x10
jb 0x180001c3e
mov rax, qword [rax]
mov r9d, 0x144
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
mov r8, rax
lea rcx, [r13 + 0x800]
lea edx, [r9 - 0x44]
call fcn.180003740
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x180001fa4
mov rcx, qword [rsp + 0x40]
inc rax
cmp rax, 0xffffffffffffffff
ja 0x18000202a
cmp rax, 0x1000
jb 0x180001cb9
test cl, 0x1f
jne 0x180002024
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x18000201e
sub rcx, rax
cmp rcx, 8
jb 0x180002018
cmp rcx, 0x27
ja 0x180002012
mov rcx, rax
call fcn.180019bb4
jmp 0x180001fa4
xor eax, eax
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rax
lea rcx, [rbp + 0x1040]
xor edx, edx
mov qword [rsp + 0x6c], rax
mov r8d, 0x2710
mov dword [rsp + 0x68], edi
call fcn.18003b1b0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x68]
lea rax, [rbp + 0x1040]
mov dword [rsp + 0x28], 0x2710
mov r9d, 0xc
mov qword [rsp + 0x20], rax
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180001ef5
mov edx, dword [rbp + 0x104c]
lea rax, [rbp + 0x860]
lea r9, [rbp + 0x1040]
mov qword [rsp + 0x20], rax
call fcn.180001920
mov edx, dword [rbp + 0x1050]
lea rax, [rbp + 0x470]
lea r9, [rbp + 0x1040]
mov qword [rsp + 0x20], rax
call fcn.180001920
mov edx, dword [rbp + 0x1054]
lea rax, [rbp + 0xc50]
lea r9, [rbp + 0x1040]
mov qword [rsp + 0x20], rax
call fcn.180001920
mov edx, dword [rbp + 0x1058]
lea rax, [rbp + 0x80]
lea r9, [rbp + 0x1040]
mov qword [rsp + 0x20], rax
call fcn.180001920
cmp byte [r13], 0
jne 0x180001e00
movsx ecx, byte [rbp + 0x80]
call fcn.18003eb9c
test eax, eax
jne 0x180001dce
movsx ecx, byte [rbp + 0x93]
call fcn.18003eb9c
test eax, eax
je 0x180001e00
lea r8, [rbp + 0x80]
mov edx, 0x400
mov rcx, r13
call fcn.18003eba8
lea rcx, [r13 + 0x400]
mov edx, 0x400
lea r8, [rbp + 0x470]
call fcn.18003eba8
mov r12d, 1
xor edx, edx
lea rcx, [rbp + 0x1040]
mov r8d, 0x2710
call fcn.18003b1b0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp + 0x1040]
mov dword [rsp + 0x28], 0x2710
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x700a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180001f9b
lea rdi, [r13 + 0x800]
mov ecx, 0x100
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
mov r9b, 3
lea r8d, [rax + 0x6c]
lea rdx, str.pQfbgSkzpj_boGqjufJmMWTjwkYfqlQjdkwpFQQLQGfuj_fJl_lmwqlo_JL_WOGJPHDFWGQJUFDFLNFWQZF_qfwvqmfg3
call fcn.1800035d0
cmp qword [rax + 0x18], 0x10
jb 0x180001e83
mov rax, qword [rax]
lea r8, [rbp - 0x80]
mov rdx, rax
lea rcx, [r13 + 0x800]
call fcn.180002bc0
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x180001f9b
mov rcx, qword [rsp + 0x40]
inc rax
cmp rax, 0xffffffffffffffff
ja 0x180002042
cmp rax, 0x1000
jb 0x180001f96
test cl, 0x1f
jne 0x18000203c
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x180002036
sub rcx, rax
cmp rcx, 8
jb 0x180002030
cmp rcx, 0x27
jbe 0x180001f93
jmp 0x180001fee
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [r13 + 0x800]
mov ecx, 0x100
mov esi, eax
lea rdx, [0x180072260]
xor eax, eax
mov r9b, 0x51
rep stosb byte [rdi], al
lea r8d, [rax + 0x39]
lea rcx, [rsp + 0x40]
call fcn.1800035d0
cmp qword [rax + 0x18], 0x10
jb 0x180001f2f
mov rax, qword [rax]
mov r8d, esi
lea rcx, [r13 + 0x800]
mov rdx, rax
call fcn.180002bc0
mov rax, qword [rsp + 0x58]
cmp rax, 0x10
jb 0x180001f9b
mov rcx, qword [rsp + 0x40]
inc rax
cmp rax, 0xffffffffffffffff
ja 0x180002060
cmp rax, 0x1000
jb 0x180001f96
test cl, 0x1f
jne 0x18000205a
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x180002054
sub rcx, rax
cmp rcx, 8
jb 0x18000204e
cmp rcx, 0x27
ja 0x180002048
mov rcx, rax
call fcn.180019bb4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r15d
cmp r15d, 1
jge 0x180001fb4
xor edi, edi
jmp 0x180001b40
mov r14, qword [rsp + 0x38a8]
mov eax, r12d
mov rsi, qword [rsp + 0x38a0]
mov rbx, qword [rsp + 0x3898]
mov rcx, qword [rbp + 0x3750]
xor rcx, rsp
call fcn.180019b90
add rsp, 0x3860
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3
call fcn.18003eae4
int3