Function at 0x14001ee48
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, rcx
call fcn.140020f7c
test al, al
je 0x14001f16e
and qword [rsp + 0x30], 0
xor r14d, r14d
mov qword [rsp + 0x38], r14
xor r12d, r12d
mov qword [rsp + 0x40], r12
and qword [rsp + 0x48], r12
and qword [rsp + 0x58], r12
and qword [rsp + 0x60], r12
and qword [rsp + 0x68], r12
and qword [rsp + 0x70], r12
mov edx, 0x105
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstVolumeW]
nop dword [rax + rax]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x14003b494
xor esi, esi
test esi, esi
js 0x14001f04e
mov ecx, 0x8001
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
mov ebx, eax
mov dword [rbp - 0x80], eax
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x28], eax
cmp eax, 3
jne 0x14003b4b9
mov r9d, 0x8002802b
mov r11, qword [r13 + 0x48]
mov rcx, r11
mov rax, qword [r13 + 0x50]
lea rsi, [r11 + rax*8]
cmp r11, rsi
jne 0x14003b505
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.140024ca4
lea rdx, [r13 + 0x10]
lea r8, [rbp - 0x20]
lea rcx, [rsp + 0x20]
call fcn.14001f178
mov esi, eax
test eax, eax
js 0x14001efd8
mov rdx, qword [rsp + 0x20]
mov rcx, r13
call fcn.140020078
mov esi, eax
test eax, eax
js 0x14001efd8
xor esi, esi
cmp r14, qword [rsp + 0x48]
jne 0x14001efa4
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x30]
call fcn.140025178
mov esi, eax
mov r14, qword [rsp + 0x38]
test eax, eax
js 0x14001efcb
inc r14
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff8
lea rcx, [rcx + r14*8]
test rcx, rcx
je 0x14001efcb
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
call fcn.140026924
test esi, esi
js 0x14001efd8
cmp edi, 2
je 0x14003b639
lea rcx, [rsp + 0x20]
call fcn.140024ca4
test esi, esi
js 0x14001f002
mov qword [rbp - 0x78], r13
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x20]
call fcn.14001f628
mov esi, eax
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
test esi, esi
js 0x14001f049
mov r8d, 0x105
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
je 0x14001f03a
xor esi, esi
jmp 0x14001eef4
call fcn.14000b3a0
mov esi, eax
test eax, eax
jns 0x14001eef4
mov r12, qword [rsp + 0x40]
xor r15d, r15d
cmp esi, 0x80070012
cmovne r15d, esi
test r15d, r15d
js 0x14001f10a
lea rsi, [r13 + 0x48]
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
jne 0x14003b675
lea rdi, [r13 + 0x68]
mov rbx, qword [rdi]
mov rax, qword [rdi + 8]
lea r13, [rbx + rax*8]
cmp rbx, r13
jne 0x14003b6a7
mov rcx, rsi
call fcn.1400206d8
mov rcx, rdi
call fcn.1400206d8
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov qword [rsi + 0x10], r12
mov qword [rsi + 8], r14
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x18], rax
xor ecx, ecx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x58]
mov qword [rdi], rax
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x70]
mov qword [rdi + 0x18], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x58]
call fcn.1400206d8
nop
lea rcx, [rsp + 0x30]
call fcn.1400206d8
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0xffffffffffffffff
je 0x14001f13a
mov rcx, rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindVolumeClose]
nop dword [rax + rax]
mov eax, r15d
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002a3c0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
xor eax, eax
jmp 0x14001f13d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
nop
mov esi, eax
test eax, eax
jle 0x14001eeec
movzx esi, ax
or esi, 0x80070000
jmp 0x14001eeec
cmp edi, 2
jne 0x14001f002
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x5c], xmm0
and dword [rbp - 0x4c], 0
and dword [rbp - 0x60], 0
lea rax, str.DisableRemovableDriveIndexing
mov qword [rbp - 0x68], rax
movups xmm0, xmmword [rbp - 0x68]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbp - 0x58]
movaps xmmword [rbp - 0x30], xmm1
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400196c4
test eax, eax
jne 0x14001f002
jmp 0x14001ef29
cmp r9d, 0x8002802b
jne 0x14003b551
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
lea rax, [rbp - 0x20]
sub r10, rax
movzx edx, word [rax]
movzx r8d, word [rax + r10]
sub edx, r8d
jne 0x14003b532
add rax, 2
test r8d, r8d
jne 0x14003b51c
test edx, edx
jne 0x14003b548
mov r12, rcx
sub r12, r11
sar r12, 3
mov qword [rsp + 0x50], r12
xor r9d, r9d
add rcx, 8
cmp rcx, rsi
jne 0x14003b505
test r9d, r9d
js 0x14001ef47
mov rdi, qword [r13 + 0x48]
mov rdx, qword [rsp + 0x50]
mov r15, qword [rdi + rdx*8]
xor esi, esi
cmp r14, qword [rsp + 0x48]
jne 0x14003b58e
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x30]
call fcn.140025178
mov esi, eax
mov r14, qword [rsp + 0x38]
test eax, eax
js 0x14003b5b4
mov rdx, qword [rsp + 0x50]
inc r14
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x30]
add rcx, 0xfffffffffffffff8
lea rcx, [rcx + r14*8]
test rcx, rcx
je 0x14003b5b4
mov rax, qword [rdi + rdx*8]
mov qword [rcx], rax
call fcn.140026924
test esi, esi
js 0x14001f002
mov rdx, qword [rsp + 0x50]
lea rcx, [r13 + 0x48]
call fcn.140042064
mov esi, eax
test eax, eax
js 0x14001f002
cmp byte [r15 + 0x35], 0
je 0x14003b5e0
xor r12d, r12d
jmp 0x14003b5e4
mov r12d, dword [r15 + 0x30]
mov rcx, r15
call fcn.1400203d4
mov esi, eax
test eax, eax
js 0x14001f002
mov dil, byte [r15 + 0x34]
mov rcx, r15
call fcn.1400200c4
mov r9b, byte [r15 + 0x34]
cmp dil, r9b
je 0x14001efe2
test r9b, r9b
je 0x14003b624
cmp byte [r15 + 0x35], 0
je 0x14003b620
xor r12d, r12d
jmp 0x14003b624
mov r12d, dword [r15 + 0x30]
mov r8d, r12d
mov rdx, r15
mov rcx, r13
call fcn.14000b92c
mov esi, eax
jmp 0x14001efe2
xor edx, edx
lea rcx, str.DisableAutomaticRemovableDriveIndexing
call fcn.1400035d0
test al, al
jne 0x14001efd8
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0x35], 0
je 0x14003b65e
xor eax, eax
jmp 0x14003b661
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x28]
call fcn.14003f2ac
nop
jmp 0x14001efd8
mov rcx, qword [rbx]
add rcx, 0x10
call fcn.140042ee0
mov rdx, qword [rbx]
cmp byte [rdx + 0x35], 0
je 0x14003b68f
xor r8d, r8d
jmp 0x14003b693
mov r8d, dword [rdx + 0x30]
xor r9d, r9d
mov rcx, r13
call fcn.14000b92c
add rbx, 8
jmp 0x14001f073
mov rcx, qword [rbx]
add rcx, 0x10
call fcn.140042ee0
add rbx, 8
jmp 0x14001f08b