Function at 0x18000a300
Capabilities:
Get common file path
Get disk information
Get disk size
Get file system object information
Get session user name

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.18001e540
sub rsp, rax
mov rax, qword [0x18005d060]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov ecx, 0x200
mov dword [rsp + 0x40], 0x100
lea rdx, [rbp + 0xc30]
mov byte [rbp + 0x430], 7
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor r14d, r14d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xe30]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea rdi, [rbp + 0xc30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, r14d
lea rdx, [rbp + 0xe30]
lea r8, str.SYSTEM
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r8 + rax*2 - 2]
jne 0x18000a3b5
cmp rax, 7
jne 0x18000a3a0
cmp cx, word [r8 + rax*2 - 2]
mov qword [rsp + 0x1188], r12
sete byte [rbp + 0x431]
mov qword [rsp + 0x1190], r13
call fcn.18000a150
mov rbx, rax
xor r9d, r9d
lea rax, [rbp + 0x432]
mov r8, rbx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x10]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x432]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r15d, [rax*2 + 4]
cmp word [rbp + 0xc30], r14w
je 0x18000a5cc
nop dword [rax]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x220]
mov r8d, 0x208
call fcn.180020550
mov dword [rsp + 0x38], 0x104
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 r13d, [rax*2 + 2]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x44], eax
movzx eax, word [rdi]
sub ax, 0x41
cmp ax, 1
jbe 0x18000a4fc
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x18000a4fc
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
shr rbx, 0x14
shr rsi, 0x14
jmp 0x18000a502
mov ebx, r14d
mov esi, r14d
movzx eax, byte [rdi]
mov byte [rbp + r15 + 0x430], al
lea eax, [r15 + 1]
mov r12d, r15d
cmp eax, 0x800
jae 0x18000a622
mov rcx, rdi
mov byte [rbp + rax + 0x430], r14b
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edx, eax
lea eax, [r15 + 2]
mov byte [rbp + rax + 0x430], dl
lea eax, [r15 + 3]
cmp eax, 0x800
jae 0x18000a622
mov byte [rbp + rax + 0x430], r14b
lea rcx, [rbp + 0x43c]
mov dword [rbp + r15 + 0x434], ebx
lea rdx, [rbp + 0x178]
movsxd rbx, r13d
add rcx, r12
mov r8, rbx
mov dword [rbp + r15 + 0x438], esi
call fcn.18001fe80
movsxd rsi, dword [rsp + 0x44]
lea rax, [rbx + r15]
lea rcx, [rbp + 0x43c]
mov r8, rsi
add rcx, rax
lea rdx, [rbp + 0x220]
call fcn.18001fe80
lea eax, [rsi + 0xc]
mov rcx, rdi
add eax, r13d
add r15d, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
cmp word [rdi + rax*2], r14w
lea rdi, [rdi + rax*2]
jne 0x18000a430
mov rsi, qword [rsp + 0x58]
cmp dword [rsi + 0x18], r14d
jne 0x18000a5e9
mov rcx, qword [rsi + 8]
lea rdx, [rbp + 0x430]
mov r8d, r15d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r14d, eax
mov r13, qword [rsp + 0x1190]
mov eax, r14d
mov r12, qword [rsp + 0x1188]
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.18001d7b0
mov rbx, qword [rsp + 0x1198]
add rsp, 0x1150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.18001df38
int3