Function at 0x14000ba24
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 [0x14005a040]
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 [0x1400624f0], eax
jle 0x14000bad8
lea rcx, [0x1400624f0]
call fcn.14001c81c
cmp dword [0x1400624f0], esi
jne 0x14000bad8
lea ecx, [rsi + 0x61]
mov qword [0x1400624f8], r12
mov qword [0x140062500], r12
call fcn.14001c6fc
lea rcx, [0x14003da78]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1400624f8], rax
call fcn.14001cabc
lea rcx, [0x1400624f0]
call fcn.14001c7b0
cmp byte [0x1400604e0], r12b
jne 0x14000be8a
mov ebx, 0x206
mov word [rbp + 0x1a0], r12w
mov r8d, ebx
lea rcx, [rbp + 0x1a2]
xor edx, edx
call fcn.14003c460
mov r8d, ebx
mov word [rbp - 0x70], r12w
xor edx, edx
lea rcx, [rbp - 0x6e]
call fcn.14003c460
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 0x14000be5f
cmp word [rbp - 0x70], di
jne 0x14000be7a
cmp word [rbp - 0x6e], di
jne 0x14000be7a
cmp word [rbp - 0x6c], 0x3f
jne 0x14000be7a
cmp word [rbp - 0x6a], di
jne 0x14000be7a
cdqe
lea rbx, [rax*2 - 2]
cmp word [rbp + rbx - 0x70], di
jne 0x14000be7a
cmp rbx, 0x208
jae 0x14000bed3
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 0x14000be7a
mov dword [rbp - 0x80], 0x105
mov ecx, 0x20a
jmp 0x14000bbec
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x14000bc0d
mov rcx, rdi
call fcn.14001c740
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 0x14000bbc5
xorps xmm0, xmm0
mov qword [rsp + 0x70], r12
mov r8d, 1
mov qword [rsp + 0x78], r12
lea rdx, [0x1400521ac]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
call fcn.14000451c
lea rax, [rbp + 0x1a0]
mov r9, rsi
inc r9
cmp word [rax + r9*2], r12w
jne 0x14000bc40
lea r8, [rbp + 0x1a0]
lea rcx, [rsp + 0x60]
call fcn.14000c860
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 [0x1400624f8]
mov rbx, qword [rsp + 0x30]
mov rsi, r14
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x40], rcx
jmp 0x14000bd24
cmp qword [rsp + 0x38], 7
lea rdx, [rcx + 0x20]
mov r11, qword [rdx + 0x10]
lea rax, [rsp + 0x20]
cmova rax, qword [rsp + 0x20]
cmp qword [rdx + 0x18], 7
mov qword [rsp + 0x40], rcx
jbe 0x14000bcd5
mov rdx, qword [rdx]
cmp rbx, r11
mov r8, r11
cmovb r8, rbx
test r8, r8
je 0x14000bcfc
sub rdx, rax
movzx r9d, word [rax + rdx]
cmp r9w, word [rax]
jne 0x14000bd0c
add rax, 2
sub r8, 1
jne 0x14000bce7
cmp r11, rbx
jae 0x14000bd16
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x48], r12d
jmp 0x14000bd24
sbb eax, eax
and eax, 0xfffffffe
add eax, 1
js 0x14000bd01
mov rsi, rcx
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r12b
je 0x14000bcad
cmp byte [rsi + 0x19], r12b
jne 0x14000bd87
lea rax, [rsi + 0x20]
cmp qword [rax + 0x18], 7
mov r10, qword [rax + 0x10]
jbe 0x14000bd42
mov rax, qword [rax]
cmp qword [rsp + 0x38], 7
lea rdx, [rsp + 0x20]
mov rcx, rbx
cmova rdx, qword [rsp + 0x20]
cmp r10, rbx
cmovb rcx, r10
test rcx, rcx
je 0x14000bd7e
sub rdx, rax
movzx r8d, word [rax + rdx]
cmp r8w, word [rax]
jne 0x14000beba
add rax, 2
sub rcx, 1
jne 0x14000bd65
cmp rbx, r10
jae 0x14000be20
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [0x140062500], rax
je 0x14000becd
mov ecx, 0x60
call fcn.14001c6fc
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [0x1400624f8]
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], 7
mov word [rsp + 0x20], r12w
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], r12
movups xmm0, xmmword [rsp + 0x40]
mov qword [rax + 0x58], 7
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.14000ae30
mov rsi, rax
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], r12w
jne 0x14000be24
lea rcx, [rsi + 0x40]
mov rdx, rdi
call fcn.1400097bc
lea rcx, [rsp + 0x20]
call fcn.14000443c
lea rcx, [rsp + 0x60]
call fcn.14000443c
mov rcx, rdi
call fcn.14001c740
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 0x14000bb2d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov byte [0x1400604e0], 1
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14001c440
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 0x14000be20
jmp 0x14000bd87
call fcn.1400047dc
int3
call fcn.14001c568
int3