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

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 - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x1401f12d8]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x40], 1
movsd xmm0, qword [0x140084920]
movsd qword [rbp + 0x80], xmm0
mov eax, dword [0x140084928]
mov dword [rbp + 0x88], eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov r14b, 0x41
test eax, eax
je 0x14014f999
nop dword [rax]
mov byte [rbp + 0x84], r14b
test dil, 1
je 0x14014f98e
lea rcx, [rbp + 0x84]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x14014f6ed
cmp eax, 4
jne 0x14014f6f7
jmp 0x14014f98e
cmp r14b, 0x41
je 0x14014f98e
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 1
cmp rbx, 0xffffffffffffffff
je 0x14014f836
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x48], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x68], 1
mov qword [rbp - 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x18
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x74080
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14014f7cf
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14014f809
mov edx, 0xc8
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14014f827
mov dword [rbp - 0x44], r15d
xor r9d, r9d
lea r8, [rbp - 0x44]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x14014f827
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp byte [rbp - 0x35], 0
jbe 0x14014f832
lea r8, [rbp - 0x38]
mov rdx, rbx
mov rcx, rsi
call fcn.14014ef90
test al, al
je 0x14014f832
jmp 0x14014f97d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rbx, qword [rbp - 0x70]
mov dword [rbp - 0x48], r15d
cmp rbx, 0xffffffffffffffff
jne 0x14014f878
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x40000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [rbx + 4]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14014f97d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov dword [rbp + 0x70], eax
mov word [rbp + 0x74], ax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x78], 1
mov qword [rbp - 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x96
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x96
lea r8, [rbp - 0x20]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14014f926
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14014f960
mov edx, 0xc8
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14014f972
mov dword [rbp - 0x40], r15d
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x14014f972
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.14014f230
jmp 0x14014f97d
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14014f98e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
inc r14b
shr edi, 1
jne 0x14014f6c0
mov rax, rsi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140157e90
lea r11, [rsp + 0x1a0]
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