Function at 0x14000c278
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
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4c0
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rax, qword gs:[0x58]
or rdi, 0xffffffffffffffff
mov edx, 4
xor r12d, r12d
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140061150], eax
jle 0x14000c32c
lea rcx, [0x140061150]
call fcn.14001aa94
cmp dword [0x140061150], edi
jne 0x14000c32c
lea ecx, [rdi + 0x61]
mov qword [0x140061158], r12
mov qword [0x140061160], r12
call fcn.14001aba4
lea rcx, [0x14003b7f8]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140061158], rax
call fcn.14001ae18
lea rcx, [0x140061150]
call fcn.14001aa34
cmp byte [0x14005f148], r12b
jne 0x14000c6a5
mov esi, 0x208
lea rcx, [rbp + 0x1a0]
mov r8d, esi
xor edx, edx
call fcn.14001ca30
mov r8d, esi
lea rcx, [rbp - 0x70]
xor edx, edx
call fcn.14001ca30
mov edx, 0x104
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r15, rax
mov r13d, 0x5c
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
test eax, eax
jle 0x14000c67a
cmp word [rbp - 0x70], r13w
jne 0x14000c695
cmp word [rbp - 0x6e], r13w
jne 0x14000c695
cmp word [rbp - 0x6c], 0x3f
jne 0x14000c695
cmp word [rbp - 0x6a], r13w
jne 0x14000c695
cdqe
lea rbx, [rax + rax]
cmp word [rbp + rbx - 0x70], r13w
jne 0x14000c695
cmp rbx, rsi
jae 0x14000c6e6
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], r13w
test eax, eax
je 0x14000c695
mov dword [rbp - 0x80], 0x105
mov ecx, 0x20a
jmp 0x14000c430
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000c451
mov rcx, rsi
call fcn.14001ae30
mov ecx, dword [rbp - 0x80]
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14001ae64
mov r8d, dword [rbp - 0x80]
lea r9, [rbp - 0x80]
mov rdx, rax
lea rcx, [rbp - 0x70]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x14000c409
lea rdx, [0x140052624]
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 7
call fcn.140009e98
lea rax, [rbp + 0x1a0]
mov r9, rdi
inc r9
cmp word [rax + r9*2], r12w
jne 0x14000c47f
lea r8, [rbp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.14000d188
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], r12
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 [0x140061158]
mov rbx, qword [rsp + 0x30]
mov rdi, r14
mov rax, qword [r14 + 8]
mov qword [rsp + 0x40], rax
jmp 0x14000c557
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea r8, [rax + 0x20]
cmovae rcx, qword [rsp + 0x20]
cmp qword [rax + 0x38], 8
jb 0x14000c50e
mov r8, qword [rax + 0x20]
mov r11, qword [rax + 0x30]
cmp rbx, r11
mov rdx, r11
cmovb rdx, rbx
test rdx, rdx
je 0x14000c539
movzx r9d, word [r8]
cmp r9w, word [rcx]
jne 0x14000c53c
add r8, 2
add rcx, 2
sub rdx, 1
jne 0x14000c521
cmp r11, rbx
jae 0x14000c549
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x48], r12d
jmp 0x14000c557
mov rdi, rax
mov dword [rsp + 0x48], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x14000c4e9
cmp byte [rdi + 0x19], r12b
jne 0x14000c5bb
cmp qword [rdi + 0x38], 8
lea rcx, [rdi + 0x20]
jb 0x14000c572
mov rcx, qword [rdi + 0x20]
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
mov r10, qword [rdi + 0x30]
mov rax, rbx
cmovae rdx, qword [rsp + 0x20]
cmp r10, rbx
cmovb rax, r10
test rax, rax
je 0x14000c5b2
movzx r8d, word [rdx]
cmp r8w, word [rcx]
jne 0x14000c6d5
add rdx, 2
add rcx, 2
sub rax, 1
jne 0x14000c596
cmp rbx, r10
jae 0x14000c649
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x140061160], rax
je 0x14000c6e0
mov ecx, 0x60
call fcn.14001aba4
mov ecx, 7
lea rdx, [rsp + 0x40]
mov r8, rax
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]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r12
mov word [rsp + 0x20], r12w
mov qword [rax + 0x58], rcx
lea rcx, [0x140061158]
mov qword [rax + 0x40], r12
mov qword [rax + 0x50], r12
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.14000b7a4
mov rdi, rax
lea rcx, [rdi + 0x40]
mov rdx, rsi
call fcn.140009e98
lea rcx, [rsp + 0x20]
call fcn.140009e34
lea rcx, [rsp + 0x60]
call fcn.140009e34
mov rcx, rsi
call fcn.14001ae30
or rdi, 0xffffffffffffffff
mov esi, 0x208
mov r8d, 0x104
lea rdx, [rbp - 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x14000c375
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov byte [0x14005f148], 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14001a680
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
jb 0x14000c5bb
jmp 0x14000c649
call fcn.14000473c
int3
call fcn.14001a7a8
int3