Function at 0x14000beb0
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 - 0x3f8]
sub rsp, 0x4d0
mov rax, qword [0x140053010]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, 4
or r15, 0xffffffffffffffff
xor r13d, r13d
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14005ae40], eax
jle 0x14000bf69
lea rcx, [0x14005ae40]
call fcn.14001a6d4
cmp dword [0x14005ae40], r15d
jne 0x14000bf69
lea ecx, [r15 + 0x61]
mov qword [0x14005ae48], r13
mov qword [0x14005ae50], r13
call fcn.14001a7e4
lea rcx, [0x140036a48]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x14005ae48], rax
call fcn.14001aa58
lea rcx, [0x14005ae40]
call fcn.14001a674
cmp byte [0x140058e38], r13b
jne 0x14000c2de
mov r14d, 0x208
lea rcx, [rbp + 0x1b0]
mov r8d, r14d
xor edx, edx
call fcn.14001c6a0
mov r8d, r14d
lea rcx, [rbp - 0x60]
xor edx, edx
call fcn.14001c6a0
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r12, rax
mov esi, 0x5c
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
test eax, eax
jle 0x14000c2b3
cmp word [rbp - 0x60], si
jne 0x14000c2ce
cmp word [rbp - 0x5e], si
jne 0x14000c2ce
cmp word [rbp - 0x5c], 0x3f
jne 0x14000c2ce
cmp word [rbp - 0x5a], si
jne 0x14000c2ce
cdqe
lea rbx, [rax + rax]
cmp word [rbp + rbx - 0x60], si
jne 0x14000c2ce
cmp rbx, r14
jae 0x14000c43c
mov r8d, 0x104
mov word [rbp + rbx - 0x60], r13w
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov word [rbp + rbx - 0x60], si
test eax, eax
je 0x14000c2ce
mov dword [rbp - 0x70], 0x105
mov ecx, 0x20a
jmp 0x14000c068
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000c089
mov rcx, r14
call fcn.14001aa70
mov ecx, dword [rbp - 0x70]
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.14001aaa4
mov r8d, dword [rbp - 0x70]
lea r9, [rbp - 0x70]
mov rdx, rax
lea rcx, [rbp - 0x60]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x14000c041
mov ebx, 7
mov qword [rsp + 0x70], r13
lea rdx, [0x14004c104]
mov qword [rbp - 0x78], rbx
lea rcx, [rsp + 0x70]
mov qword [rbp - 0x80], r13
call fcn.140009ae0
lea rax, [rbp + 0x1b0]
mov r9, r15
inc r9
cmp word [rax + r9*2], r13w
jne 0x14000c0b6
lea r8, [rbp + 0x1b0]
lea rcx, [rsp + 0x70]
call fcn.14000cdcc
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
movups xmm0, xmmword [rax]
mov dword [rsp + 0x58], r13d
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rbx
mov word [rax], r13w
mov r15, qword [0x14005ae48]
mov rbx, qword [rsp + 0x40]
mov rsi, r15
mov rax, qword [r15 + 8]
mov qword [rsp + 0x50], rax
jmp 0x14000c18a
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea r8, [rax + 0x20]
cmovae rcx, qword [rsp + 0x30]
cmp qword [rax + 0x38], 8
jb 0x14000c141
mov r8, qword [rax + 0x20]
mov r11, qword [rax + 0x30]
cmp rbx, r11
mov rdx, r11
cmovb rdx, rbx
test rdx, rdx
je 0x14000c16c
movzx r9d, word [r8]
cmp r9w, word [rcx]
jne 0x14000c16f
add r8, 2
add rcx, 2
sub rdx, 1
jne 0x14000c154
cmp r11, rbx
jae 0x14000c17c
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x58], r13d
jmp 0x14000c18a
mov rsi, rax
mov dword [rsp + 0x58], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], r13b
je 0x14000c11c
cmp byte [rsi + 0x19], r13b
jne 0x14000c1ee
cmp qword [rsi + 0x38], 8
lea rcx, [rsi + 0x20]
jb 0x14000c1a5
mov rcx, qword [rsi + 0x20]
cmp qword [rsp + 0x48], 8
lea rdx, [rsp + 0x30]
mov r10, qword [rsi + 0x30]
mov rax, rbx
cmovae rdx, qword [rsp + 0x30]
cmp r10, rbx
cmovb rax, r10
test rax, rax
je 0x14000c1e5
movzx r8d, word [rdx]
cmp r8w, word [rcx]
jne 0x14000c366
add rdx, 2
add rcx, 2
sub rax, 1
jne 0x14000c1c9
cmp rbx, r10
jae 0x14000c27c
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x14005ae50], rax
je 0x14000c442
mov ecx, 0x60
call fcn.14001a7e4
mov ebx, 7
lea rdx, [rsp + 0x50]
mov r8, rax
lea rcx, [0x14005ae48]
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x30], xmm1
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x30], r13w
mov qword [rax + 0x40], r13
mov qword [rax + 0x50], r13
mov qword [rax + 0x58], rbx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov word [rax + 0x18], r13w
movdqu xmmword [rsp + 0x50], xmm0
call fcn.14000b3ec
mov rsi, rax
lea rcx, [rsi + 0x40]
mov rdx, r14
call fcn.140009ae0
lea rcx, [rsp + 0x30]
call fcn.140009a7c
lea rcx, [rsp + 0x70]
call fcn.140009a7c
mov rcx, r14
call fcn.14001aa70
or r15, 0xffffffffffffffff
mov esi, 0x5c
mov r14d, 0x208
mov r8d, 0x104
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x14000bfb2
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov byte [0x140058e38], 1
test rdi, rdi
je 0x14000c40c
mov rbx, qword [0x14005ae48]
mov rax, qword [rbx]
cmp rax, rbx
je 0x14000c40c
lea r14, [rdi + 0x10]
cmp qword [rax + 0x38], 8
lea r9, [rax + 0x20]
mov rsi, qword [rax + 0x30]
jb 0x14000c311
mov r9, qword [rax + 0x20]
cmp qword [r14], rsi
mov rdx, rsi
mov r8, rdi
cmovb rdx, qword [r14]
cmp qword [rdi + 0x18], 8
jb 0x14000c328
mov r8, qword [rdi]
cmp rsi, rdx
mov r10, rdx
cmovb r10, rsi
test r10, r10
je 0x14000c34f
movzx ecx, word [r9]
cmp word [r8], cx
jne 0x14000c356
add r8, 2
add r9, 2
sub r10, 1
jne 0x14000c337
cmp rdx, rsi
jb 0x14000c356
jbe 0x14000c39f
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r13b
je 0x14000c389
mov rcx, qword [rax + 8]
jmp 0x14000c37e
jb 0x14000c1ee
jmp 0x14000c27c
cmp rax, qword [rcx + 0x10]
jne 0x14000c384
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r13b
je 0x14000c371
mov rax, rcx
jmp 0x14000c395
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r13b
je 0x14000c389
cmp rax, rbx
je 0x14000c40c
jmp 0x14000c2fe
cmp qword [rax + 0x58], 8
lea r9, [rax + 0x40]
jb 0x14000c3ae
mov r9, qword [rax + 0x40]
mov rax, qword [rax + 0x50]
mov r8, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14000c974
cmp rdi, rax
je 0x14000c40c
cmp qword [rax + 0x18], 8
mov r9, rax
jb 0x14000c3d4
mov r9, qword [rax]
mov rdx, qword [rax + 0x10]
cmp rdx, qword [rdi + 0x18]
ja 0x14000c404
cmp qword [rdi + 0x18], 8
jb 0x14000c3e8
mov rdi, qword [rdi]
lea rbx, [rdx + rdx]
mov qword [r14], rdx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.14001d5c0
mov word [rbx + rdi], r13w
jmp 0x14000c40c
mov rcx, rdi
call fcn.14000ab60
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.14001a2c0
lea r11, [rsp + 0x4d0]
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
call fcn.14001a3e8
int3
call fcn.14000474c
int3