Function at 0x14000bc7c
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 [0x140060ed0], eax
jle 0x14000bd30
lea rcx, [0x140060ed0]
call fcn.14001c80c
cmp dword [0x140060ed0], esi
jne 0x14000bd30
lea ecx, [rsi + 0x61]
mov qword [0x140060ed8], r12
mov qword [0x140060ee0], r12
call fcn.14001c6ec
lea rcx, [0x14003c948]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x140060ed8], rax
call fcn.14001cabc
lea rcx, [0x140060ed0]
call fcn.14001c7a0
cmp byte [0x14005eec0], r12b
jne 0x14000c0df
mov ebx, 0x206
mov word [rbp + 0x1a0], r12w
mov r8d, ebx
lea rcx, [rbp + 0x1a2]
xor edx, edx
call fcn.14001f2b0
mov r8d, ebx
mov word [rbp - 0x70], r12w
xor edx, edx
lea rcx, [rbp - 0x6e]
call fcn.14001f2b0
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 0x14000c0b4
cmp word [rbp - 0x70], di
jne 0x14000c0cf
cmp word [rbp - 0x6e], di
jne 0x14000c0cf
cmp word [rbp - 0x6c], 0x3f
jne 0x14000c0cf
cmp word [rbp - 0x6a], di
jne 0x14000c0cf
cdqe
lea rbx, [rax*2 - 2]
cmp word [rbp + rbx - 0x70], di
jne 0x14000c0cf
cmp rbx, 0x208
jae 0x14000c128
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 0x14000c0cf
mov dword [rbp - 0x80], 0x105
mov ecx, 0x20a
jmp 0x14000be44
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000be65
mov rcx, rdi
call fcn.14001c730
mov ecx, dword [rbp - 0x80]
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14001cad4
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 0x14000be1d
xorps xmm0, xmm0
mov qword [rsp + 0x70], r12
mov r8d, 1
mov qword [rsp + 0x78], r12
lea rdx, [0x140051204]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.140004944
lea rax, [rbp + 0x1a0]
mov r9, rsi
inc r9
cmp word [rax + r9*2], r12w
jne 0x14000be98
lea r8, [rbp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.14000cabc
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 [0x140060ed8]
mov rbx, qword [rsp + 0x30]
mov rsi, r14
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rcx
jmp 0x14000bf7c
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 0x14000bf2d
mov rdx, qword [rdx]
cmp rbx, r11
mov r8, r11
cmovb r8, rbx
test r8, r8
je 0x14000bf54
sub rdx, rax
movzx r9d, word [rax + rdx]
cmp r9w, word [rax]
jne 0x14000bf64
add rax, 2
sub r8, 1
jne 0x14000bf3f
cmp r11, rbx
jae 0x14000bf6e
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x48], r12d
jmp 0x14000bf7c
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
js 0x14000bf59
mov rsi, rcx
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r12b
je 0x14000bf05
cmp byte [rsi + 0x19], r12b
jne 0x14000bfdf
lea rax, [rsi + 0x20]
cmp qword [rax + 0x18], 8
mov r10, qword [rax + 0x10]
jb 0x14000bf9a
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 0x14000bfd6
sub rdx, rax
movzx r8d, word [rax + rdx]
cmp r8w, word [rax]
jne 0x14000c10f
add rax, 2
sub rcx, 1
jne 0x14000bfbd
cmp rbx, r10
jae 0x14000c075
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x140060ee0], rax
je 0x14000c122
mov ecx, 0x60
call fcn.14001c6ec
mov ebx, 7
lea rdx, [rsp + 0x40]
mov r8, rax
lea rcx, [0x140060ed8]
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.14000b090
mov rsi, rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r12w
jne 0x14000c079
lea rcx, [rsi + 0x40]
mov rdx, rdi
call fcn.140009a64
lea rcx, [rsp + 0x20]
call fcn.140004864
lea rcx, [rsp + 0x60]
call fcn.140004864
mov rcx, rdi
call fcn.14001c730
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 0x14000bd85
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov byte [0x14005eec0], 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14001c430
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 0x14000c075
jmp 0x14000bfdf
call fcn.140004c10
int3
call fcn.14001c558
int3