Function at 0x14000c374
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 [0x140058df0], eax
jle 0x14000c428
lea rcx, [0x140058df0]
call fcn.14001b4c8
cmp dword [0x140058df0], esi
jne 0x14000c428
lea ecx, [rsi + 0x61]
mov qword [0x140058df8], r12
mov qword [0x140058e00], r12
call fcn.14001b540
lea rcx, [0x140035e18]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140058df8], rax
call fcn.14001b7b4
lea rcx, [0x140058df0]
call fcn.14001b45c
cmp byte [0x140056de8], r12b
jne 0x14000c7d7
mov ebx, 0x206
mov word [rbp + 0x1a0], r12w
mov r8d, ebx
lea rcx, [rbp + 0x1a2]
xor edx, edx
call fcn.14001d4a0
mov r8d, ebx
mov word [rbp - 0x70], r12w
xor edx, edx
lea rcx, [rbp - 0x6e]
call fcn.14001d4a0
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 0x14000c7ac
cmp word [rbp - 0x70], di
jne 0x14000c7c7
cmp word [rbp - 0x6e], di
jne 0x14000c7c7
cmp word [rbp - 0x6c], 0x3f
jne 0x14000c7c7
cmp word [rbp - 0x6a], di
jne 0x14000c7c7
cdqe
lea rbx, [rax*2 - 2]
cmp word [rbp + rbx - 0x70], di
jne 0x14000c7c7
cmp rbx, 0x208
jae 0x14000c820
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 0x14000c7c7
mov dword [rbp - 0x80], 0x105
mov ecx, 0x20a
jmp 0x14000c53c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000c55d
mov rcx, rdi
call fcn.14001b7d4
mov ecx, dword [rbp - 0x80]
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14001b808
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 0x14000c515
xorps xmm0, xmm0
mov qword [rsp + 0x70], r12
mov r8d, 1
mov qword [rsp + 0x78], r12
lea rdx, [0x1400495d4]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.14000a578
lea rax, [rbp + 0x1a0]
mov r9, rsi
inc r9
cmp word [rax + r9*2], r12w
jne 0x14000c590
lea r8, [rbp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.14000d1b4
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 [0x140058df8]
mov rbx, qword [rsp + 0x30]
mov rsi, r14
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rcx
jmp 0x14000c674
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 0x14000c625
mov rdx, qword [rdx]
cmp rbx, r11
mov r8, r11
cmovb r8, rbx
test r8, r8
je 0x14000c64c
sub rdx, rax
movzx r9d, word [rax + rdx]
cmp r9w, word [rax]
jne 0x14000c65c
add rax, 2
sub r8, 1
jne 0x14000c637
cmp r11, rbx
jae 0x14000c666
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x48], r12d
jmp 0x14000c674
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
js 0x14000c651
mov rsi, rcx
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r12b
je 0x14000c5fd
cmp byte [rsi + 0x19], r12b
jne 0x14000c6d7
lea rax, [rsi + 0x20]
cmp qword [rax + 0x18], 8
mov r10, qword [rax + 0x10]
jb 0x14000c692
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 0x14000c6ce
sub rdx, rax
movzx r8d, word [rax + rdx]
cmp r8w, word [rax]
jne 0x14000c807
add rax, 2
sub rcx, 1
jne 0x14000c6b5
cmp rbx, r10
jae 0x14000c76d
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x140058e00], rax
je 0x14000c81a
mov ecx, 0x60
call fcn.14001b540
mov ebx, 7
lea rdx, [rsp + 0x40]
mov r8, rax
lea rcx, [0x140058df8]
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.14000b788
mov rsi, rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r12w
jne 0x14000c771
lea rcx, [rsi + 0x40]
mov rdx, rdi
call fcn.140009e28
lea rcx, [rsp + 0x20]
call fcn.140009c3c
lea rcx, [rsp + 0x60]
call fcn.140009c3c
mov rcx, rdi
call fcn.14001b7d4
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 0x14000c47d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov byte [0x140056de8], 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14001b1a0
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 0x14000c76d
jmp 0x14000c6d7
call fcn.140004714
int3
call fcn.14001b2c8
int3