Function at 0x1400281b0
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4d8]
sub rsp, 0x5d8
mov r13, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x70], 0x20
call fcn.140008400
mov r8, qword [rax]
lea rdx, str.CMSCDeviceEnumerator::GetAllRemovableDisks
mov rcx, rax
call qword [r8 + 0x20]
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 1
lea rax, vtable.JRTimer.0
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], rax
lea rcx, [rbp - 0x58]
call fcn.140025db0
mov dword [rbp - 0x48], 0x8a33f231
cmp byte [rbp - 0x60], bl
je 0x140028263
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x140028263
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x140028263
mov r10, qword [rax]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
lea r9, str.Start
mov r8, qword [rbp - 0x68]
mov edx, dword [rbp - 0x70]
mov rcx, rax
call qword [r10 + 0x10]
nop
mov dword [r14 + 0x168], ebx
lea rcx, [r14 + 0x16c]
xor edx, edx
mov r8d, 0x3670
call fcn.1400e24f0
mov dword [rsp + 0x5c], ebx
mov edi, 0xffffffff
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rbx
lea rax, vtable.JRStringArray.0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
test eax, eax
je 0x140028380
mov edi, ebx
mov r13d, 0xffffffff
nop dword [rax + rax]
lea ecx, [rdi + 0x41]
cmp cx, 0x44
jb 0x140028367
test sil, 1
je 0x140028367
mov word [rsp + 0x48], cx
mov dword [rsp + 0x4a], 0x5c003a
mov word [rsp + 0x4e], bx
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x140028367
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, r13d
mov r8d, r13d
lea rdx, [rsp + 0x48]
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rbp - 0x30], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140007580
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140028365
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002835b
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028365
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor ebx, ebx
shr esi, 1
inc edi
cmp edi, 0x1a
jl 0x1400282c0
mov r13, qword [rbp + 0x528]
mov edi, 0xffffffff
xor esi, esi
mov dword [rbp - 0x80], esi
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x270], xmm0
mov dword [rbp - 0x80], esi
movaps xmm1, xmmword [rbp - 0x80]
movdqa xmmword [rbp + 0x250], xmm1
mov dword [rbp - 0x80], esi
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
mov dword [rbp + 0x538], 0x2c
xor r9d, r9d
lea r8, [rbp + 0x538]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.14003d200
nop
mov dword [rbp - 0x20], 3
lea rax, [rbp - 0x40]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x200], xmm0
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x140028456
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x140028456
lea rcx, [rbp + 0x200]
mov qword [rbp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov qword [rbp + 0x38], rcx
lea rcx, [rbp + 0x250]
mov qword [rbp + 0x40], rcx
lea rcx, [rbp + 0x270]
mov qword [rbp + 0x48], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, str.Removable_drives_found:__s
mov r8, qword [rbp - 0x68]
mov edx, dword [rbp - 0x70]
mov rcx, rax
call qword [r10 + 0x10]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140028486
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002847c
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028486
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov ebx, esi
mov dword [rbp + 0x530], ebx
cmp dword [rsp + 0x58], esi
jle 0x140028646
mov r15, rsi
mov qword [rsp + 0x40], rsi
mov r12, qword [rsp + 0x68]
add r12, r15
xor edi, edi
movsxd r13, dword [r13 + 8]
test r13d, r13d
jg 0x1400284c3
movsxd rax, ebx
lea rbx, [rax*8]
jmp 0x14002868d
mov r15, r13
test r13d, r13d
jle 0x140028538
mov r13, qword [rbp + 0x528]
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r13 + 0x18]
mov rcx, qword [r12]
mov r14, qword [rax + rdi*8]
cmp r14, rcx
je 0x140028520
lea rbx, [0x140129d58]
test rcx, rcx
cmovne rbx, rcx
call fcn.140008400
mov rcx, rax
mov r8, rbx
mov rdx, r14
call fcn.140008570
test eax, eax
je 0x140028520
inc esi
inc rdi
cmp rdi, r15
jl 0x1400284e0
cmp esi, r15d
mov eax, 0xffffffff
cmovge esi, eax
mov r14, qword [rbp + 0x520]
mov ebx, dword [rbp + 0x530]
movsxd rax, ebx
lea rbx, [rax*8]
test esi, esi
js 0x140028688
xor esi, esi
mov dword [rbp + 0x280], esi
movaps xmm0, xmmword [rbp + 0x280]
movdqa xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x290], esi
movaps xmm1, xmmword [rbp + 0x290]
movdqa xmmword [rbp + 0xe0], xmm1
mov dword [rbp + 0x2a0], esi
movaps xmm0, xmmword [rbp + 0x2a0]
movdqa xmmword [rbp + 0xd0], xmm0
mov rcx, qword [rsp + 0x68]
add rcx, rbx
mov dword [rbp - 0x10], 3
mov qword [rbp - 8], rcx
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x2b0], xmm0
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x140028619
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x140028619
lea rcx, [rbp + 0x2b0]
mov qword [rbp + 0x50], rcx
lea rcx, [rbp + 0xd0]
mov qword [rbp + 0x58], rcx
lea rcx, [rbp + 0xe0]
mov qword [rbp + 0x60], rcx
lea rcx, [rbp + 0xf0]
mov qword [rbp + 0x68], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp + 0x50]
mov qword [rsp + 0x20], rcx
lea r9, str.Drive__s_is_skipped
mov r8, qword [rbp - 0x68]
mov edx, dword [rbp - 0x70]
mov rcx, rax
call qword [r10 + 0x10]
mov r15, qword [rsp + 0x40]
mov ebx, dword [rbp + 0x530]
inc ebx
mov dword [rbp + 0x530], ebx
add r15, 8
mov qword [rsp + 0x40], r15
cmp ebx, dword [rsp + 0x58]
mov r13, qword [rbp + 0x528]
jl 0x1400284a0
cmp dword [r14 + 0x168], 0
setg bl
lea rax, vtable.JRCoreArray_class_JRString__class_JRString_const____ptr64__0_.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.1400076b0
nop
lea rcx, [rbp - 0x70]
call fcn.14003f2b0
movzx eax, bl
add rsp, 0x5d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
add rcx, rbx
call fcn.140028100
test al, al
jne 0x140028a10
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2c0]
call fcn.1400e24f0
mov r8d, 0x104
lea rdx, [rbp + 0x2c0]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx + r15]
call qword [r14 + 0x98]
xor esi, esi
test eax, eax
je 0x140028928
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + r15]
cmp dword [rcx - 0x10], esi
jle 0x1400286f0
movzx edx, word [rcx]
jmp 0x1400286f2
mov edx, esi
movsxd rax, dword [r14 + 0x168]
imul rcx, rax, 0x218
mov word [rcx + r14 + 0x16c], dx
lea rdx, [rbp + 0x2c0]
movsxd rax, dword [r14 + 0x168]
imul r8, rax, 0x218
add r8, 0x16e
add r8, r14
nop dword [rax + rax]
movzx eax, word [rdx]
mov word [r8], ax
lea rdx, [rdx + 2]
lea r8, [r8 + 2]
test ax, ax
jne 0x140028730
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x40], rax
mov dword [rbp + 0x100], esi
movaps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x160], xmm0
mov dword [rbp + 0x110], esi
movaps xmm1, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x150], xmm1
mov dword [rbp + 0x120], esi
movaps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x140], xmm0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + r15]
cmp dword [rcx - 0x10], 0
jle 0x1400287aa
movzx eax, word [rcx]
jmp 0x1400287ac
mov eax, esi
mov dword [rbp], 4
movzx eax, ax
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x130], xmm0
lea rax, [rbp + 0x130]
mov qword [rbp + 0x70], rax
lea rax, [rbp + 0x140]
mov qword [rbp + 0x78], rax
lea rax, [rbp + 0x150]
mov qword [rbp + 0x80], rax
lea rax, [rbp + 0x160]
mov qword [rbp + 0x88], rax
call fcn.140008400
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x30]
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x78]
mov r8d, 4
lea rdx, [rbp + 0x70]
lea rcx, str.._c:
call fcn.14005db80
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.1400333a0
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002886a
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140028860
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002886a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
je 0x1400288ed
movsxd rcx, dword [r14 + 0x168]
imul rcx, rcx, 0x218
add rcx, 0x378
add rcx, r14
mov qword [rsp + 0x38], rsi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [r14 + 0x168]
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x140028923
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x140028919
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140028923
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14002861e
mov dword [rbp + 0x170], esi
movaps xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0x1d0], xmm0
mov dword [rbp + 0x180], esi
movaps xmm1, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0x1c0], xmm1
mov dword [rbp + 0x190], esi
movaps xmm0, xmmword [rbp + 0x190]
movdqa xmmword [rbp + 0x1b0], xmm0
mov rcx, qword [rsp + 0x68]
add rcx, rbx
mov dword [rbp + 0x10], 3
mov qword [rbp + 0x18], rcx
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x1a0], xmm0
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14002861e
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14002861e
lea rcx, [rbp + 0x1a0]
mov qword [rbp + 0x90], rcx
lea rcx, [rbp + 0x1b0]
mov qword [rbp + 0x98], rcx
lea rcx, [rbp + 0x1c0]
mov qword [rbp + 0xa0], rcx
lea rcx, [rbp + 0x1d0]
mov qword [rbp + 0xa8], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x20], rcx
lea r9, str.GetVolumeNameForVoumeMountPoint_failed_for_drive__s
mov r8, qword [rbp - 0x68]
mov edx, dword [rbp - 0x70]
mov rcx, rax
call qword [r10 + 0x10]
jmp 0x14002861e
xor esi, esi
mov dword [rbp + 0x1e0], esi
movaps xmm0, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x240], xmm0
mov dword [rbp + 0x1f0], esi
movaps xmm1, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp + 0x230], xmm1
mov dword [rbp + 0x260], esi
movaps xmm0, xmmword [rbp + 0x260]
movdqa xmmword [rbp + 0x220], xmm0
mov rcx, qword [rsp + 0x68]
add rcx, rbx
mov dword [rbp + 0x20], 3
mov qword [rbp + 0x28], rcx
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x210], xmm0
mov rcx, qword [0x14019a6b8]
test rcx, rcx
je 0x14002861e
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x50]
test rax, rax
je 0x14002861e
lea rcx, [rbp + 0x210]
mov qword [rbp + 0xb0], rcx
lea rcx, [rbp + 0x220]
mov qword [rbp + 0xb8], rcx
lea rcx, [rbp + 0x230]
mov qword [rbp + 0xc0], rcx
lea rcx, [rbp + 0x240]
mov qword [rbp + 0xc8], rcx
mov r10, qword [rax]
mov dword [rsp + 0x28], 4
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x20], rcx
lea r9, str.Drive__s_is_an_empty_bay
mov r8, qword [rbp - 0x68]
mov edx, dword [rbp - 0x70]
mov rcx, rax
call qword [r10 + 0x10]
jmp 0x14002861e