Function at 0x2d9e3b5280
Capabilities:
Get common file path
Get disk information
Get disk size
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xa50]
sub rsp, 0xb50
mov rax, qword [0x2d9e415008]
xor rax, rsp
mov qword [rbp + 0xa40], rax
mov r13, rcx
mov qword [rsp + 0x50], rcx
mov ecx, 0x40
mov edx, 0x800
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea rdx, [rbp + 0x630]
mov ecx, 0x208
mov r15, rax
mov byte [rax], 0x68
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor r14d, r14d
lea rdi, [rbp + 0x630]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r14
lea ebx, [r14 + 1]
cmp word [rbp + 0x630], r14w
je 0x2d9e3b5464
mov qword [rsp + 0xb88], r12
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x410
call fcn.2d9e3e3840
mov dword [rsp + 0x38], 0x208
lea rax, [rbp + 0x220]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x410
lea r8, [rsp + 0x60]
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea rcx, [rbp + 0x178]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, [rbp + 0x220]
lea r12d, [rax*2 + 2]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r13d, [rax*2 + 2]
movzx eax, word [rdi]
sub ax, 0x41
cmp ax, 1
jbe 0x2d9e3b53d9
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x2d9e3b53d9
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
shr rsi, 0x14
shr r14, 0x14
jmp 0x2d9e3b53dc
mov esi, r14d
movzx eax, word [rdi]
mov ecx, ebx
add ebx, 2
mov word [rcx + r15], ax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
movsxd r8, r12d
lea rdx, [rbp + 0x178]
mov byte [rbx + r15], al
add ebx, 4
mov dword [rbx + r15], esi
add ebx, 4
mov dword [rbx + r15], r14d
add ebx, 4
mov ecx, ebx
add rcx, r15
call fcn.2d9e3e2bb0
add ebx, r12d
movsxd r8, r13d
mov ecx, ebx
lea rdx, [rbp + 0x220]
add rcx, r15
call fcn.2d9e3e2bb0
mov rcx, rdi
add ebx, r13d
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov r14d, 0
cdqe
cmp word [rdi + rax*2], 0
lea rdi, [rdi + rax*2]
jne 0x2d9e3b5310
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0xb88]
xor ecx, ecx
mov eax, ebx
xor r9d, r9d
lea rdx, [rbp + 0x220]
add ebx, 2
lea r8d, [rcx + 0x10]
mov word [rax + r15], cx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, ebx
lea rdx, [rbp + 0x220]
add rcx, r15
lea eax, [rax*2 + 2]
movsxd r8, eax
call fcn.2d9e3e2bb0
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor r9d, r9d
lea rdx, [rbp + 0x220]
xor ecx, ecx
lea ebx, [rbx + rax*2]
lea r8d, [r9 + 5]
add ebx, 2
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, ebx
lea rdx, [rbp + 0x220]
add rcx, r15
lea eax, [rax*2 + 2]
movsxd r8, eax
call fcn.2d9e3e2bb0
lea rcx, [rbp + 0x220]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + 1]
lea esi, [rbx + rax*2]
call fcn.2d9e3b50a0
mov rdi, rax
test rax, rax
je 0x2d9e3b5583
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalSize]
mov rcx, r15
lea rbx, [rax + rsi]
call qword [sym.imp.KERNEL32.dll_LocalSize]
cmp rbx, rax
jbe 0x2d9e3b5557
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalSize]
mov r8d, 0x42
mov rcx, r15
lea rdx, [rsi + rax]
call qword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov r15, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalSize]
lea rcx, [rsi + r15]
mov rdx, rdi
mov r8, rax
call fcn.2d9e3e2bb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalSize]
add esi, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [r13 + 8]
mov r9b, 0x3f
mov r8d, esi
mov rdx, r15
call fcn.2d9e3b1ff0
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rbp + 0xa40]
xor rcx, rsp
call fcn.2d9e3da7d0
lea r11, [rsp + 0xb50]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret