Function at 0x1400462a8
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 [0x1400dc7a8]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r13, rcx
mov qword [rsp + 0x38], rcx
call fcn.1400527e0
xor r14d, r14d
test al, al
jne 0x1400462fa
xor eax, eax
jmp 0x140046763
mov qword [rsp + 0x40], r14
mov rsi, r14
mov qword [rsp + 0x48], r14
mov r15, r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
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 r12, rax
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x140046370
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 0x140046366
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x14004663b
jmp 0x140046373
mov edi, r14d
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 r14d, eax
cmp eax, 3
je 0x1400463e8
cmp eax, 2
jne 0x1400465f1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x54], xmm0
and dword [rbp - 0x44], 0
and dword [rbp - 0x58], 0
lea rax, str.DisableRemovableDriveIndexing
mov qword [rbp - 0x60], rax
movups xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rbp - 0x50]
movaps xmmword [rbp - 0x30], xmm1
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140020a84
test eax, eax
jne 0x1400465f1
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r12, [r13 + 0x48]
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.14003fdb8
test eax, eax
js 0x1400464eb
mov r13, qword [r12]
mov r15, qword [rbp - 0x78]
mov r14, qword [r13 + r15*8]
xor edi, edi
cmp rsi, qword [rsp + 0x58]
jne 0x14004643d
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.140046038
mov edi, eax
mov rsi, qword [rsp + 0x48]
test eax, eax
js 0x140046464
inc rsi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff8
lea rcx, [rcx + rsi*8]
test rcx, rcx
je 0x140046464
mov rax, qword [r13 + r15*8]
mov qword [rcx], rax
call fcn.14000d9f4
test edi, edi
js 0x1400465e7
mov rdx, r15
mov rcx, r12
call fcn.14002d91c
mov edi, eax
test eax, eax
js 0x1400465e7
cmp byte [r14 + 0x35], 0
je 0x14004648d
xor r15d, r15d
jmp 0x140046491
mov r15d, dword [r14 + 0x30]
mov rcx, r14
call fcn.140044d90
mov edi, eax
test eax, eax
js 0x1400465e7
mov dil, byte [r14 + 0x34]
mov rcx, r14
call fcn.140021638
mov r9b, byte [r14 + 0x34]
cmp dil, r9b
je 0x1400465c4
test r9b, r9b
je 0x1400464d1
cmp byte [r14 + 0x35], 0
je 0x1400464cd
xor r15d, r15d
jmp 0x1400464d1
mov r15d, dword [r14 + 0x30]
mov r8d, r15d
mov rdx, r14
mov r13, qword [rsp + 0x38]
mov rcx, r13
call fcn.140020f70
mov edi, eax
jmp 0x1400465be
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.140002004
lea r8, [rbp - 0x20]
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0x20]
call fcn.14004035c
mov edi, eax
test eax, eax
js 0x1400465b4
mov rdx, qword [rsp + 0x20]
mov rcx, r13
call fcn.140020f24
mov edi, eax
test eax, eax
js 0x1400465b4
xor edi, edi
cmp rsi, qword [rsp + 0x58]
jne 0x140046550
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x40]
call fcn.140046038
mov edi, eax
mov rsi, qword [rsp + 0x48]
test eax, eax
js 0x140046577
inc rsi
mov qword [rsp + 0x48], rsi
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff8
lea rcx, [rcx + rsi*8]
test rcx, rcx
je 0x140046577
mov rax, qword [rsp + 0x20]
mov qword [rcx], rax
call fcn.14000d9f4
test edi, edi
js 0x1400465b4
cmp r14d, 2
jne 0x1400465b4
xor edx, edx
lea rcx, str.DisableAutomaticRemovableDriveIndexing
call fcn.140043418
test al, al
jne 0x1400465b4
mov rax, qword [rsp + 0x20]
cmp byte [rax + 0x35], 0
je 0x1400465a2
xor eax, eax
jmp 0x1400465a5
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x30], eax
lea r9, [rsp + 0x30]
call fcn.1400406c4
nop
lea rcx, [rsp + 0x20]
call fcn.140002004
test edi, edi
js 0x1400465ec
jmp 0x1400465c9
mov r13, qword [rsp + 0x38]
mov qword [rbp - 0x70], r13
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call fcn.14003fe58
mov edi, eax
jmp 0x1400465ec
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x28]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
nop dword [rax + rax]
xor r14d, r14d
test edi, edi
js 0x140046636
mov r8d, 0x105
lea rdx, [rbp - 0x20]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextVolumeW]
nop dword [rax + rax]
test eax, eax
jne 0x140046370
call fcn.14001be00
mov edi, eax
test eax, eax
jns 0x140046373
mov r15, qword [rsp + 0x50]
mov ebx, r14d
cmp edi, 0x80070012
cmovne ebx, edi
test ebx, ebx
js 0x140046734
lea r12, [r13 + 0x48]
mov rdi, qword [r12]
mov rax, qword [r12 + 8]
lea r14, [rdi + rax*8]
jmp 0x14004668f
mov rcx, qword [rdi]
add rcx, 0x10
call fcn.1400459dc
mov rdx, qword [rdi]
cmp byte [rdx + 0x35], 0
je 0x14004667c
xor r8d, r8d
jmp 0x140046680
mov r8d, dword [rdx + 0x30]
xor r9d, r9d
mov rcx, r13
call fcn.140020f70
add rdi, 8
cmp rdi, r14
jne 0x140046662
lea r14, [r13 + 0x68]
mov rdi, qword [r14]
mov rax, qword [r14 + 8]
lea r13, [rdi + rax*8]
jmp 0x1400466b5
mov rcx, qword [rdi]
add rcx, 0x10
call fcn.1400459dc
add rdi, 8
cmp rdi, r13
jne 0x1400466a5
mov rcx, r12
call fcn.1400450dc
mov rcx, r14
call fcn.1400450dc
mov rax, qword [rsp + 0x40]
mov qword [r12], rax
mov qword [r12 + 0x10], r15
mov qword [r12 + 8], rsi
mov rax, qword [rsp + 0x58]
mov qword [r12 + 0x18], rax
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x60]
mov qword [r14], rax
mov rax, qword [rsp + 0x70]
mov qword [r14 + 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [r14 + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [r14 + 0x18], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], rcx
lea rcx, [rsp + 0x60]
call fcn.1400450dc
nop
lea rcx, [rsp + 0x40]
call fcn.1400450dc
nop
mov rcx, qword [rsp + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x140046761
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindVolumeClose]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140024bd0
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