Function at 0x18006adf0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x718]
sub rsp, 0x800
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x6f0], rax
mov rsi, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
lea r8d, [r14 + 0xb]
lea rdx, [0x1801aa748]
lea rcx, [rsp + 0x40]
call fcn.180005920
nop
mov eax, dword [0x18034db90]
test al, 1
jne 0x18006ae92
or eax, 1
mov dword [0x18034db90], eax
xor eax, eax
mov qword [0x18034db88], rax
call fcn.180064890
lea rcx, [0x180197b50]
call fcn.180139aec
nop
lea rdx, [rsp + 0x40]
lea rcx, [0x18034db88]
call fcn.180064a80
mov rbx, rax
cmp qword [rsp + 0x58], 8
jb 0x18006aeb8
mov rcx, qword [rsp + 0x40]
call fcn.180139b7c
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
test rbx, rbx
je 0x18006afb7
lea rdx, str.SHGetFileInfoW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x18006afb7
mov qword [rbp + 0x260], r14
mov qword [rbp + 0x268], r14
mov qword [rbp + 0x268], 7
mov qword [rbp + 0x260], r14
mov word [rbp + 0x250], r14w
mov qword [rbp + 0x280], r14
mov qword [rbp + 0x288], r14
mov qword [rbp + 0x288], 7
mov qword [rbp + 0x280], r14
mov word [rbp + 0x270], r14w
mov qword [rbp + 0x2a0], r14
mov qword [rbp + 0x2a8], r14
mov qword [rbp + 0x2a8], 7
mov qword [rbp + 0x2a0], r14
mov word [rbp + 0x290], r14w
mov qword [rsp + 0x70], r14
xor edx, edx
mov r8d, 0x2b0
lea rcx, [rsp + 0x78]
call fcn.180140c00
cmp qword [rdi + 0x18], 8
jb 0x18006af8c
mov rcx, qword [rdi]
jmp 0x18006af8f
mov rcx, rdi
mov dword [rsp + 0x20], 0x610
mov r9d, 0x2b8
lea r8, [rsp + 0x70]
xor edx, edx
call rbx
test rax, rax
jne 0x18006afbe
lea rcx, [rbp + 0x250]
call fcn.18006b270
xor al, al
jmp 0x18006b1ee
or rbx, 0xffffffffffffffff
cmp word [rbp - 0x80], 0
jne 0x18006afce
mov r8, r14
jmp 0x18006afe0
lea rax, [rbp - 0x80]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x18006afd5
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x250]
call fcn.180005920
cmp word [rbp + 0x188], 0
jne 0x18006afff
mov r8, r14
jmp 0x18006b01b
lea rax, [rbp + 0x188]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18006b010
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x270]
call fcn.180005920
mov word [rbp + 0x4e0], r14w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x4e2]
call fcn.180140c00
mov dword [rbp + 0x240], r14d
mov dword [rbp + 0x248], r14d
mov dword [rbp + 0x244], r14d
mov word [rbp + 0x2d0], r14w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2d2]
call fcn.180140c00
cmp qword [rdi + 0x18], 8
jb 0x18006b087
mov rcx, qword [rdi]
jmp 0x18006b08a
mov rcx, rdi
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x244]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x248]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x240]
mov r8d, 0x104
lea rdx, [rbp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x18006b1b4
mov word [rbp + 0x4d8], r14w
cmp word [rbp + 0x2d0], 0
jne 0x18006b0ef
mov rbx, r14
jmp 0x18006b100
lea rax, [rbp + 0x2d0]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x18006b0f6
mov r8, rbx
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0x290]
call fcn.180005920
mov byte [rbp + 0x2c8], 1
mov dword [rbp + 0x23c], r14d
mov dword [rbp + 0x238], r14d
mov dword [rbp + 0x230], r14d
mov dword [rbp + 0x234], r14d
cmp qword [rdi + 0x18], 8
jb 0x18006b143
mov rdi, qword [rdi]
lea rax, [rbp + 0x234]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x230]
lea r8, [rbp + 0x238]
lea rdx, [rbp + 0x23c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x18006b1d0
mov edx, dword [rbp + 0x238]
mov eax, edx
mov ecx, dword [rbp + 0x23c]
imul eax, ecx
mov dword [rbp + 0x2b0], eax
mov eax, dword [rbp + 0x234]
imul rax, rcx
imul rax, rdx
mov qword [rbp + 0x2b8], rax
mov eax, dword [rbp + 0x230]
imul rax, rcx
imul rax, rdx
mov qword [rbp + 0x2c0], rax
jmp 0x18006b1d0
mov dword [rbp + 0x2b0], r14d
mov qword [rbp + 0x2b8], r14
mov qword [rbp + 0x2c0], r14
mov byte [rbp + 0x2c8], 0
lea rdx, [rbp + 0x250]
mov rcx, rsi
call fcn.18006b300
nop
lea rcx, [rbp + 0x250]
call fcn.18006b270
mov al, 1
mov rcx, qword [rbp + 0x6f0]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret