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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, rcx
call fcn.14002d0ec
xor r15d, r15d
test al, al
je 0x14002a7cc
mov qword [rsp + 0x28], r15
mov r14d, r15d
mov qword [rsp + 0x30], r15
mov r12d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
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 0x14004d2f8
mov edi, r15d
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 esi, eax
cmp eax, 3
jne 0x14004d31c
mov ecx, 0x8002802b
mov rdx, qword [r13 + 0x48]
mov rax, qword [r13 + 0x50]
lea r11, [rdx + rax*8]
cmp rdx, r11
jne 0x14004d368
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x20]
call fcn.140002ba8
lea r8, [rbp - 0x20]
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.14002a7d8
mov edi, eax
test eax, eax
js 0x14002a62f
mov rdx, qword [rsp + 0x20]
mov rcx, r13
call fcn.140027a88
mov edi, eax
test eax, eax
js 0x14002a62f
mov edi, r15d
cmp r14, qword [rsp + 0x40]
jne 0x14002a5fb
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x28]
call fcn.1400351b4
mov edi, eax
mov r14, qword [rsp + 0x30]
test eax, eax
js 0x14002a622
inc r14
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff8
lea rcx, [rcx + r14*8]
test rcx, rcx
je 0x14002a622
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
call fcn.140023754
test edi, edi
js 0x14002a62f
cmp esi, 2
je 0x14004d4a7
lea rcx, [rsp + 0x20]
call fcn.140002ba8
test edi, edi
js 0x14002a659
mov qword [rbp - 0x78], r13
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x20]
call fcn.14002ac84
mov edi, eax
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
test edi, edi
js 0x14002a69d
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
jne 0x14002a550
call fcn.14001d618
mov edi, eax
test eax, eax
jns 0x14002a553
mov r12, qword [rsp + 0x38]
cmp edi, 0x80070012
cmovne r15d, edi
test r15d, r15d
js 0x14002a75b
lea rsi, [r13 + 0x48]
mov rbx, qword [rsi]
mov rax, qword [rsi + 8]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
jne 0x14004d4f4
lea rbx, [r13 + 0x68]
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
lea r13, [rdi + rax*8]
cmp rdi, r13
jne 0x14004d526
mov rcx, rsi
call fcn.14002b44c
mov rcx, rbx
call fcn.14002b44c
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
mov qword [rsi + 0x10], r12
mov qword [rsi + 8], r14
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x18], rax
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x58]
mov qword [rbx], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 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.14002b44c
nop
lea rcx, [rsp + 0x28]
call fcn.14002b44c
nop
mov rax, qword [rsp + 0x78]
cmp rax, 0xffffffffffffffff
je 0x14002a78b
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.140036b90
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
test edi, edi
jns 0x14002a553
jmp 0x14002a6a2
xor eax, eax
jmp 0x14002a78e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x14002a7bf
movzx edi, ax
or edi, 0x80070000
jmp 0x14002a7bf
cmp esi, 2
jne 0x14002a659
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x5c], xmm0
mov dword [rbp - 0x4c], r15d
mov dword [rbp - 0x60], r15d
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.140027830
test eax, eax
jne 0x14002a659
jmp 0x14002a584
mov r9, r15
mov r10d, ecx
cmp ecx, 0x8002802b
jne 0x14004d3c5
mov rax, qword [rdx]
lea rcx, [rbp - 0x20]
mov r8, qword [rax + 0x18]
sub r8, rcx
movzx eax, word [rcx]
cmp ax, word [rcx + r8]
jne 0x14004d39c
add rcx, 2
test ax, ax
jne 0x14004d384
mov eax, r15d
jmp 0x14004d3a1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14004d3b1
mov r12, r9
sar r12, 3
mov qword [rsp + 0x50], r12
add rdx, 8
add r9, 8
neg eax
sbb ecx, ecx
and ecx, r10d
cmp rdx, r11
jne 0x14004d36b
test ecx, ecx
js 0x14002a59e
mov r15, qword [r13 + 0x48]
mov rdx, qword [rsp + 0x50]
mov rsi, qword [r15 + rdx*8]
xor edi, edi
cmp r14, qword [rsp + 0x40]
jne 0x14004d401
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x28]
call fcn.1400351b4
mov edi, eax
mov r14, qword [rsp + 0x30]
test eax, eax
js 0x14004d427
mov rdx, qword [rsp + 0x50]
inc r14
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff8
lea rcx, [rcx + r14*8]
test rcx, rcx
je 0x14004d427
mov rax, qword [r15 + rdx*8]
mov qword [rcx], rax
call fcn.140023754
xor r15d, r15d
test edi, edi
js 0x14002a659
mov rdx, qword [rsp + 0x50]
lea rcx, [r13 + 0x48]
call fcn.14003ff2c
mov edi, eax
test eax, eax
js 0x14002a659
cmp byte [rsi + 0x35], r15b
jne 0x14004d454
mov r15d, dword [rsi + 0x30]
mov rcx, rsi
call fcn.14002b2ec
mov edi, eax
test eax, eax
js 0x14004d4ec
mov dil, byte [rsi + 0x34]
mov rcx, rsi
call fcn.140027c18
mov r9b, byte [rsi + 0x34]
cmp dil, r9b
je 0x14004d4e4
test r9b, r9b
je 0x14004d48f
cmp byte [rsi + 0x35], 0
je 0x14004d48b
xor r15d, r15d
jmp 0x14004d48f
mov r15d, dword [rsi + 0x30]
mov r8d, r15d
mov rdx, rsi
mov rcx, r13
call fcn.140027f68
mov edi, eax
xor r15d, r15d
jmp 0x14002a639
xor edx, edx
lea rcx, str.DisableAutomaticRemovableDriveIndexing
call fcn.14002d344
test al, al
jne 0x14002a62f
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0x35], r15b
je 0x14004d4cd
mov eax, r15d
jmp 0x14004d4d0
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x48], eax
lea r9, [rsp + 0x48]
call fcn.14005300c
nop
jmp 0x14002a62f
xor r15d, r15d
jmp 0x14002a63d
xor r15d, r15d
jmp 0x14002a659
mov rcx, qword [rbx]
add rcx, 0x10
call fcn.140054be8
mov rdx, qword [rbx]
cmp byte [rdx + 0x35], 0
je 0x14004d50e
xor r8d, r8d
jmp 0x14004d512
mov r8d, dword [rdx + 0x30]
xor r9d, r9d
mov rcx, r13
call fcn.140027f68
add rbx, 8
jmp 0x14002a6c4
mov rcx, qword [rdi]
add rcx, 0x10
call fcn.140054be8
add rdi, 8
jmp 0x14002a6dc