Function at 0x14000c068
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 [0x140051010]
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 [0x140058e10], eax
jle 0x14000c11c
lea rcx, [0x140058e10]
call fcn.14001b1b8
cmp dword [0x140058e10], esi
jne 0x14000c11c
lea ecx, [rsi + 0x61]
mov qword [0x140058e18], r12
mov qword [0x140058e20], r12
call fcn.14001b230
lea rcx, [0x140035b08]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140058e18], rax
call fcn.14001b4a4
lea rcx, [0x140058e10]
call fcn.14001b14c
cmp byte [0x140056e08], r12b
jne 0x14000c4cb
mov ebx, 0x206
mov word [rbp + 0x1a0], r12w
mov r8d, ebx
lea rcx, [rbp + 0x1a2]
xor edx, edx
call fcn.14001d190
mov r8d, ebx
mov word [rbp - 0x70], r12w
xor edx, edx
lea rcx, [rbp - 0x6e]
call fcn.14001d190
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 0x14000c4a0
cmp word [rbp - 0x70], di
jne 0x14000c4bb
cmp word [rbp - 0x6e], di
jne 0x14000c4bb
cmp word [rbp - 0x6c], 0x3f
jne 0x14000c4bb
cmp word [rbp - 0x6a], di
jne 0x14000c4bb
cdqe
lea rbx, [rax*2 - 2]
cmp word [rbp + rbx - 0x70], di
jne 0x14000c4bb
cmp rbx, 0x208
jae 0x14000c514
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 0x14000c4bb
mov dword [rbp - 0x80], 0x105
mov ecx, 0x20a
jmp 0x14000c230
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000c251
mov rcx, rdi
call fcn.14001b4c4
mov ecx, dword [rbp - 0x80]
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14001b4f8
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 0x14000c209
xorps xmm0, xmm0
mov qword [rsp + 0x70], r12
mov r8d, 1
mov qword [rsp + 0x78], r12
lea rdx, [0x1400495c4]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.14000a26c
lea rax, [rbp + 0x1a0]
mov r9, rsi
inc r9
cmp word [rax + r9*2], r12w
jne 0x14000c284
lea r8, [rbp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.14000cea8
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 [0x140058e18]
mov rbx, qword [rsp + 0x30]
mov rsi, r14
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rcx
jmp 0x14000c368
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 0x14000c319
mov rdx, qword [rdx]
cmp rbx, r11
mov r8, r11
cmovb r8, rbx
test r8, r8
je 0x14000c340
sub rdx, rax
movzx r9d, word [rax + rdx]
cmp r9w, word [rax]
jne 0x14000c350
add rax, 2
sub r8, 1
jne 0x14000c32b
cmp r11, rbx
jae 0x14000c35a
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x48], r12d
jmp 0x14000c368
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
js 0x14000c345
mov rsi, rcx
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r12b
je 0x14000c2f1
cmp byte [rsi + 0x19], r12b
jne 0x14000c3cb
lea rax, [rsi + 0x20]
cmp qword [rax + 0x18], 8
mov r10, qword [rax + 0x10]
jb 0x14000c386
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 0x14000c3c2
sub rdx, rax
movzx r8d, word [rax + rdx]
cmp r8w, word [rax]
jne 0x14000c4fb
add rax, 2
sub rcx, 1
jne 0x14000c3a9
cmp rbx, r10
jae 0x14000c461
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x140058e20], rax
je 0x14000c50e
mov ecx, 0x60
call fcn.14001b230
mov ebx, 7
lea rdx, [rsp + 0x40]
mov r8, rax
lea rcx, [0x140058e18]
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.14000b47c
mov rsi, rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r12w
jne 0x14000c465
lea rcx, [rsi + 0x40]
mov rdx, rdi
call fcn.140009b1c
lea rcx, [rsp + 0x20]
call fcn.140009930
lea rcx, [rsp + 0x60]
call fcn.140009930
mov rcx, rdi
call fcn.14001b4c4
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 0x14000c171
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov byte [0x140056e08], 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14001ae90
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 0x14000c461
jmp 0x14000c3cb
call fcn.140004528
int3
call fcn.14001afb8
int3