Function at 0x1800136a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x18006af78]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x14]
lea rcx, [0x180069680]
call fcn.180041ad0
mov r15b, 1
movzx edi, r15b
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], ILRemoveLastID
mov byte [rsp + 0x78], r14b
xor r9d, r9d
lea r8, [rsp + 0x78]
xor edx, edx
mov ecx, 0xd3
call fcn.18000ce10
test al, al
jne 0x180013774
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x36]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x180013754
lea r9, [rbp + 0xd0]
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 0x36]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathW]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x36]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
jmp 0x18001394a
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], ILRemoveLastID
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetInstanceExplorer]
mov ebx, eax
mov dword [rsp + 0x30], r14d
movsd xmm0, qword [0x180069728]
mulsd xmm0, qword [0x180064700]
addsd xmm0, qword [0x1800646f0]
cvttsd2si rcx, xmm0
mov dword [rsp + 0x38], ecx
lea rax, [0x1800696a8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x78]
mov edx, 0xa7
lea rcx, [rsp + 0x58]
call fcn.1800092e0
mov esi, edi
test ebx, ebx
cmovne esi, r14d
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHChangeNotification_Lock]
mov rdi, rax
mov dword [rsp + 0x28], 0x5b
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
xor ecx, ecx
call fcn.180017890
test al, al
jne 0x1800138ba
mov eax, 0x76
mov word [rbp - 0x68], ax
mov dword [rbp - 0x67], 0x756c61
mov eax, 0x65
mov word [rbp - 0x64], ax
mov eax, PathMakeUniqueName
mov word [rbp - 0x63], ax
mov eax, 0x3e
mov word [rbp - 0x62], ax
mov eax, 0x766c
mov word [rbp - 0x61], ax
mov dword [rbp - 0x5f], 0x206c61
mov dword [rbp - 0x5c], 0x6c203d3d
mov dword [rbp - 0x58], 0x5f6c6176
mov eax, 0x72
mov word [rbp - 0x54], ax
mov dword [rbp - 0x53], 0x696765
mov dword [rbp - 0x50], 0x657473
mov eax, 0x3a
mov word [rbp - 0x4d], ax
mov eax, 0x725c
mov word [rbp - 0x4c], ax
mov byte [rbp - 0x4a], 0
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call qword [sym.imp.SHELL32.dll_SHGetDiskFreeSpaceExA]
call qword [sym.imp.SHELL32.dll_SHLoadNonloadedIconOverlayIdentifiers]
jmp 0x1800138f7
test sil, sil
je 0x1800138ca
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHSetInstanceExplorer]
movzx ebx, r15b
test rdi, rdi
cmove ebx, r14d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ILRemoveLastID]
test bl, bl
je 0x1800138ea
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_SHChangeNotification_Unlock]
mov edx, 0x9e
xor ecx, ecx
call fcn.18002bf90
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x180013937
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013932
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180013932
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cbb4
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], ILRemoveLastID
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180013989
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180013984
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180013984
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005cbb4
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.18005d0c0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret