Function at 0x1802146d0
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x6f8]
sub rsp, 0x7e0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
mov rdi, rdx
mov rsi, rcx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1803e8770]
movdqa xmmword [rbp - 0x80], xmm1
xor r14d, r14d
mov word [rsp + 0x70], r14w
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], r14w
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x50], r14w
xor edx, edx
mov r8d, 0x2b8
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x180214767
mov rcx, qword [rsi]
mov dword [rsp + 0x20], 0x610
mov r9d, 0x2b8
lea r8, [rbp - 0x10]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1802147ab
lea rcx, [rbp - 0x50]
call fcn.180004e20
nop
lea rcx, [rbp - 0x70]
call fcn.180004e20
nop
lea rcx, [rsp + 0x70]
call fcn.180004e20
xor al, al
jmp 0x1802149f2
lea rax, [rbp]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1802147c0
lea rdx, [rbp]
lea rcx, [rsp + 0x70]
call fcn.180004ea0
lea rax, [rbp + 0x208]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1802147e3
lea rdx, [rbp + 0x208]
lea rcx, [rbp - 0x70]
call fcn.180004ea0
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x50], r14d
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x180214842
mov rcx, qword [rsi]
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x2b0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, 0x104
lea rdx, [rbp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x180214937
mov word [rbp + 0x4b8], r14w
lea rax, [rbp + 0x2b0]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1802148a0
mov r8, rbx
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp - 0x50]
call fcn.180004ea0
mov byte [rbp - 0x18], 1
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x48], r14d
cmp qword [rsi + 0x18], 8
jb 0x1802148df
mov rsi, qword [rsi]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x180214947
mov edx, dword [rsp + 0x40]
mov eax, edx
mov ecx, dword [rsp + 0x44]
imul eax, ecx
mov dword [rbp - 0x30], eax
mov eax, dword [rsp + 0x48]
imul rax, rcx
imul rax, rdx
mov qword [rbp - 0x28], rax
mov eax, dword [rsp + 0x4c]
imul rax, rcx
imul rax, rdx
mov qword [rbp - 0x20], rax
jmp 0x180214947
mov dword [rbp - 0x30], r14d
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x18], 0
lea rax, [rsp + 0x70]
cmp rdi, rax
je 0x18021496d
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rdi
call fcn.180004ea0
lea rcx, [rdi + 0x20]
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x180214991
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
call fcn.180004ea0
lea rcx, [rdi + 0x40]
lea rax, [rbp - 0x50]
cmp rcx, rax
je 0x1802149b5
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
call fcn.180004ea0
mov eax, dword [rbp - 0x30]
mov dword [rdi + 0x60], eax
mov rax, qword [rbp - 0x28]
mov qword [rdi + 0x68], rax
mov rax, qword [rbp - 0x20]
mov qword [rdi + 0x70], rax
movzx eax, byte [rbp - 0x18]
mov byte [rdi + 0x78], al
lea rcx, [rbp - 0x50]
call fcn.180004e20
nop
lea rcx, [rbp - 0x70]
call fcn.180004e20
nop
lea rcx, [rsp + 0x70]
call fcn.180004e20
mov al, 1
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.180388400
lea r11, [rsp + 0x7e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret