Function at 0x14004be70
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x6bf0]
mov eax, 0x6cf0
call fcn.1401eeab0
sub rsp, rax
mov rax, qword [0x1402cf910]
xor rax, rsp
mov qword [rbp + 0x6be0], rax
xor r12d, r12d
mov dword [rsp + 0x40], edx
movabs rax, 0x5c003a0041
mov dword [rcx + 0x334], r12d
mov r13d, r12d
mov qword [rbp - 0x30], rax
mov edi, r12d
lea rsi, [rbp + 0x37e0]
mov r14d, edx
mov rbx, rcx
nop word [rax + rax]
lea eax, [rdi + 0x41]
mov r8d, 0x100
mov rdx, rsi
mov word [rbp - 0x30], ax
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x14004bf12
lea r8, [0x140285280]
mov edx, 0x100
mov rcx, rsi
call fcn.1401fa754
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x14004bf2b
cmp edi, 2
jae 0x14004bf4c
test r14d, r14d
jne 0x14004bf4c
movsxd rax, r13d
lea rcx, [rbp + 0x3e0]
shl rax, 9
mov r8, rsi
add rcx, rax
mov edx, 0x100
call fcn.1401fa754
inc r13d
inc edi
add rsi, 0x200
cmp edi, 0x1a
jl 0x14004bee0
mov edx, 0x64
mov dword [rsp + 0x44], r13d
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov ecx, 0x200
mov qword [rsp + 0x50], rax
mov r14, rax
call fcn.1401fa840
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
je 0x14004c4a6
mov qword [rsp + 0x6d28], r15
cmp r14, 0xffffffffffffffff
je 0x14004c496
mov r9d, r12d
test r13d, r13d
jle 0x14004bff4
nop dword [rax + rax]
movsxd rax, r9d
lea rcx, [rbp + 0x3e0]
shl rax, 9
lea r8, [rbp - 0x20]
add rcx, rax
sub r8, rcx
nop dword [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x14004bfe4
add rcx, 2
test eax, eax
jne 0x14004bfd0
test edx, edx
je 0x14004c472
inc r9d
cmp r9d, r13d
jl 0x14004bfb0
lea r8, [rbp - 0x20]
mov edx, 0x100
lea rcx, [rbp + 0x1e0]
call fcn.1401fa754
lea rax, [rbp + 0x1e0]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004c020
test edi, edi
jle 0x14004c04e
movsxd rax, edi
lea rax, [rax*2 - 2]
cmp rax, 0x200
jae 0x14004c4d3
mov word [rbp + rax + 0x1e0], r12w
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
lea rcx, [rbp + 0x1e0]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14004c472
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov edx, 0x560000
mov qword [rsp + 0x20], rsi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14004c472
cmp dword [rsi], 0
jbe 0x14004c46f
mov r13d, dword [rsp + 0x40]
lea r14, [rsi + 8]
nop dword [rax]
mov eax, dword [rbx]
cmp dword [r14], eax
jne 0x14004c455
movsxd rax, dword [rbx + 0x334]
lea r9, [rbx + 0x3dd]
imul rcx, rax, 0xa9
mov dword [rsp + 0x38], 0x20
lea rax, [rbx + 0x33c]
add rax, rcx
lea rdx, [rbx + 0x39d]
mov qword [rsp + 0x30], rax
add r9, rcx
lea rax, [rsp + 0x7c]
add rdx, rcx
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x20]
lea rax, [rbp - 0x80]
mov r8d, 0x20
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp - 0x78]
mov dword [rsp + 0x28], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x7405c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14004c191
mov rdx, qword [rbp - 0x78]
movsxd rax, dword [rbx + 0x334]
sar rdx, 0x14
imul rcx, rax, 0xa9
mov qword [rcx + rbx + 0x37c], rdx
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov r8, qword [rbp - 0x70]
mov r9, qword [rbp - 0x68]
shr r8, 0x14
shr r9, 0x14
test eax, eax
jne 0x14004c21e
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x5c]
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14004c24a
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x5c]
imul rcx, rax
mov eax, dword [rsp + 0x64]
imul rax, rcx
cqo
and edx, 0xfffff
lea r8, [rdx + rax]
mov eax, dword [rsp + 0x68]
imul rax, rcx
sar r8, 0x14
cqo
and edx, 0xfffff
lea r9, [rdx + rax]
sar r9, 0x14
movsxd rcx, dword [rbx + 0x334]
imul rdx, rcx, 0xa9
mov qword [rdx + rbx + 0x384], r9
movsxd rcx, dword [rbx + 0x334]
imul rax, rcx, 0xa9
mov qword [rax + rbx + 0x38c], r8
movsxd rax, dword [rbx + 0x334]
lea rsi, [rbp + 0x37e0]
imul rcx, rax, 0xa9
test r13d, r13d
mov eax, 2
mov r13d, 0
cmovne eax, r13d
mov edi, eax
shl rax, 9
mov dword [rcx + rbx + 0x338], 0xffffffff
add rsi, rax
nop word [rax + rax]
lea rax, [rbp - 0x20]
mov r8, rsi
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14004c2b4
add rax, 2
test ecx, ecx
jne 0x14004c2a0
test edx, edx
jne 0x14004c433
movsxd rax, dword [rbx + 0x334]
xor r9d, r9d
imul rcx, rax, 0xa9
mov rax, qword [r14 + 8]
xor r8d, r8d
mov qword [rsp + 0x38], r13
mov edx, 0x7405c
mov qword [rcx + rbx + 0x394], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rcx, r15
lea rax, [rbp - 0x60]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14004c32c
mov rdx, qword [rbp - 0x60]
movsxd rax, dword [rbx + 0x334]
sar rdx, 0x14
imul rcx, rax, 0xa9
mov qword [rcx + rbx + 0x37c], rdx
movsxd rax, dword [rbx + 0x334]
imul rcx, rax, 0xa9
mov dword [rcx + rbx + 0x338], edi
movsxd rax, dword [rbx + 0x334]
imul rcx, rax, 0xa9
mov edx, dword [rcx + rbx + 0x338]
test edx, edx
jle 0x14004c433
mov eax, dword [0x1402865c8]
lea r9, [rbp - 0x40]
add dx, 0x61
mov dword [rbp - 0x38], eax
movzx eax, word [0x1402865cc]
lea r8, [rbp - 0x50]
mov word [rbp - 0x38], dx
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x58]
mov word [rbp - 0x34], ax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov r8, qword [rbp - 0x58]
mov r9, qword [rbp - 0x50]
shr r8, 0x14
shr r9, 0x14
test eax, eax
jne 0x14004c407
lea rax, [rsp + 0x78]
lea r9, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x6c]
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14004c433
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x6c]
imul rcx, rax
mov eax, dword [rsp + 0x74]
imul rax, rcx
cqo
and edx, 0xfffff
lea r8, [rdx + rax]
mov eax, dword [rsp + 0x78]
imul rax, rcx
sar r8, 0x14
cqo
and edx, 0xfffff
lea r9, [rdx + rax]
sar r9, 0x14
movsxd rcx, dword [rbx + 0x334]
imul rdx, rcx, 0xa9
mov qword [rdx + rbx + 0x384], r9
movsxd rcx, dword [rbx + 0x334]
imul rax, rcx, 0xa9
mov qword [rax + rbx + 0x38c], r8
inc edi
add rsi, 0x200
cmp edi, 0x1a
jl 0x14004c290
inc dword [rbx + 0x334]
mov rsi, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x40]
inc r12d
add r14, 0x18
cmp r12d, dword [rsi]
jb 0x14004c0d0
mov r13d, dword [rsp + 0x44]
mov r14, qword [rsp + 0x50]
xor r12d, r12d
mov r8d, 0x64
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x14004bfa3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov rcx, rsi
call fcn.1401fa848
mov r15, qword [rsp + 0x6d28]
xor eax, eax
mov rcx, qword [rbp + 0x6be0]
xor rcx, rsp
call fcn.1401ee030
lea r11, [rsp + 0x6cf0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1401ee63c
int3