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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4c0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rax, qword gs:[0x58]
or rsi, 0xffffffffffffffff
mov ecx, 4
xor r12d, r12d
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x140060eb0], eax
jle 0x14000c060
lea rcx, [0x140060eb0]
call fcn.14001c69c
cmp dword [0x140060eb0], esi
jne 0x14000c060
lea ecx, [rsi + 0x61]
mov qword [0x140060eb8], r12
mov qword [0x140060ec0], r12
call fcn.14001c57c
lea rcx, [0x14003c7c8]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140060eb8], rax
call fcn.14001c94c
lea rcx, [0x140060eb0]
call fcn.14001c630
cmp byte [0x14005eea0], r12b
jne 0x14000c40f
mov ebx, 0x206
mov word [rbp + 0x1a0], r12w
mov r8d, ebx
lea rcx, [rbp + 0x1a2]
xor edx, edx
call fcn.14001f140
mov r8d, ebx
mov word [rbp - 0x70], r12w
xor edx, edx
lea rcx, [rbp - 0x6e]
call fcn.14001f140
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r15, rax
mov edi, 0x5c
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [rax - 1]
test ecx, ecx
jle 0x14000c3e4
cmp word [rbp - 0x70], di
jne 0x14000c3ff
cmp word [rbp - 0x6e], di
jne 0x14000c3ff
cmp word [rbp - 0x6c], 0x3f
jne 0x14000c3ff
cmp word [rbp - 0x6a], di
jne 0x14000c3ff
cdqe
lea rbx, [rax*2 - 2]
cmp word [rbp + rbx - 0x70], di
jne 0x14000c3ff
cmp rbx, 0x208
jae 0x14000c458
mov r8d, 0x104
mov word [rbp + rbx - 0x70], r12w
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [rbp + rbx - 0x70], di
test eax, eax
je 0x14000c3ff
mov dword [rbp - 0x80], 0x105
mov ecx, 0x20a
jmp 0x14000c174
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000c195
mov rcx, rdi
call fcn.14001c5c0
mov ecx, dword [rbp - 0x80]
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14001c964
mov r8d, dword [rbp - 0x80]
lea r9, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp - 0x70]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x14000c14d
xorps xmm0, xmm0
mov qword [rsp + 0x70], r12
mov r8d, 1
mov qword [rsp + 0x78], r12
lea rdx, [0x140051234]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.140004b30
lea rax, [rbp + 0x1a0]
mov r9, rsi
inc r9
cmp word [rax + r9*2], r12w
jne 0x14000c1c8
lea r8, [rbp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.14000cdec
mov qword [rsp + 0x30], r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], r12
movups xmm0, xmmword [rax]
mov dword [rsp + 0x48], r12d
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r14, qword [0x140060eb8]
mov rbx, qword [rsp + 0x30]
mov rsi, r14
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rcx
jmp 0x14000c2ac
cmp qword [rsp + 0x38], 8
lea rdx, [rcx + 0x20]
mov r11, qword [rdx + 0x10]
lea rax, [rsp + 0x20]
cmovae rax, qword [rsp + 0x20]
cmp qword [rdx + 0x18], 8
mov qword [rsp + 0x40], rcx
jb 0x14000c25d
mov rdx, qword [rdx]
cmp rbx, r11
mov r8, r11
cmovb r8, rbx
test r8, r8
je 0x14000c284
sub rdx, rax
movzx r9d, word [rax + rdx]
cmp r9w, word [rax]
jne 0x14000c294
add rax, 2
sub r8, 1
jne 0x14000c26f
cmp r11, rbx
jae 0x14000c29e
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x48], r12d
jmp 0x14000c2ac
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
js 0x14000c289
mov rsi, rcx
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r12b
je 0x14000c235
cmp byte [rsi + 0x19], r12b
jne 0x14000c30f
lea rax, [rsi + 0x20]
cmp qword [rax + 0x18], 8
mov r10, qword [rax + 0x10]
jb 0x14000c2ca
mov rax, qword [rax]
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
mov rcx, rbx
cmovae rdx, qword [rsp + 0x20]
cmp r10, rbx
cmovb rcx, r10
test rcx, rcx
je 0x14000c306
sub rdx, rax
movzx r8d, word [rax + rdx]
cmp r8w, word [rax]
jne 0x14000c43f
add rax, 2
sub rcx, 1
jne 0x14000c2ed
cmp rbx, r10
jae 0x14000c3a5
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x140060ec0], rax
je 0x14000c452
mov ecx, 0x60
call fcn.14001c57c
mov ebx, 7
lea rdx, [rsp + 0x40]
mov r8, rax
lea rcx, [0x140060eb8]
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x20], r12w
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
movups xmm0, xmmword [rsp + 0x40]
mov qword [rax + 0x58], rbx
mov word [rax + 0x40], r12w
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], r12w
movdqu xmmword [rsp + 0x40], xmm0
call fcn.14000b3c0
mov rsi, rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r12w
jne 0x14000c3a9
lea rcx, [rsi + 0x40]
mov rdx, rdi
call fcn.140009d94
lea rcx, [rsp + 0x20]
call fcn.140004a50
lea rcx, [rsp + 0x60]
call fcn.140004a50
mov rcx, rdi
call fcn.14001c5c0
or rsi, 0xffffffffffffffff
mov edi, 0x5c
mov r8d, 0x104
lea rdx, [rbp - 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x14000c0b5
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov byte [0x14005eea0], 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14001c2c0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
jns 0x14000c3a5
jmp 0x14000c30f
call fcn.140004dfc
int3
call fcn.14001c3e8
int3