Function at 0x18000d8b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x180079798]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov eax, dword [0x18006defc]
mov dword [rbp - 0x20], eax
movzx eax, word [0x18006df00]
mov word [rbp - 0x1c], ax
movabs rax, 0x73006500690072
mov qword [rbp - 0x1a], rax
xor ebx, ebx
mov word [rbp - 0x12], bx
lea r8d, [rbx + 1]
lea rdx, [0x18006df50]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov dword [rbp - 0x10], 0x6d0020
mov dword [rbp - 0xc], 0x3a0075
mov dword [rbp - 8], 0x5c
lea r8d, [rbx + 4]
lea rdx, [0x18006df9c]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
lea r8d, [rbx + 3]
lea rdx, [0x18006e050]
lea rcx, [rbp + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov eax, 0x20
mov word [rbp + 8], ax
mov eax, dword [0x18006e0e6]
mov dword [rbp + 0xa], eax
movzx eax, word [0x18006e0ea]
mov word [rbp + 0xe], ax
movabs rax, 0x250020006c0061
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], 0x75006c
mov word [rbp + 0x1c], bx
movabs rax, 0x470041004d0049
mov qword [rbp + 0x20], rax
mov eax, dword [0x18006e142]
mov dword [rbp + 0x28], eax
movzx eax, word [0x18006e146]
mov word [rbp + 0x2c], ax
movabs rax, 0x4c0050004d0041
mov qword [rbp + 0x2e], rax
mov word [rbp + 0x36], bx
lea r8d, [rbx + 1]
lea rdx, [0x18006e174]
lea rcx, [rbp + 0x36]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dword [rbp + 0x38], 0x43005f
mov word [rbp + 0x3c], bx
lea r8d, [rbx + 5]
lea rdx, [0x18006e216]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
movabs rax, 0x330056005f004f
mov qword [rbp + 0x46], rax
movabs rax, 0x3600310056005f
mov qword [rbp + 0x4e], rax
mov word [rbp + 0x56], bx
lea r8, [0x1800770a0]
mov edx, 0xf4
xor ecx, ecx
call fcn.18000e460
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], ILFindLastID
mov byte [rbp - 0x50], bl
mov dword [rsp + 0x20], 0x4c
xor r9d, r9d
lea r8, [rbp - 0x50]
xor edx, edx
xor ecx, ecx
call fcn.1800287b0
test al, al
jne 0x18000dab9
mov qword [rbp - 0x30], rbx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x50], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_LookupSecurityDescriptorPartsA]
jmp 0x18000dc73
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], ILFindLastID
mov byte [rbp - 0x70], 0
movsd xmm0, qword [0x180077148]
mulsd xmm0, qword [0x180070290]
addsd xmm0, qword [0x180070280]
cvttsd2si rax, xmm0
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x50]
lea rdx, [0x1800770c8]
lea ecx, [r9 + 0xb]
call fcn.180010670
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [rbp - 0x70]
lea edx, [r9 + 0x40]
xor ecx, ecx
call fcn.18004ecf0
test al, al
jne 0x18000dbf9
movzx eax, word [0x18006e260]
mov word [rbp - 0x30], ax
movzx eax, byte [0x18006e262]
mov byte [rbp - 0x2e], al
mov byte [rbp - 0x2d], 0x74
mov eax, dword [0x18006e2b1]
mov dword [rbp - 0x2c], eax
movzx eax, byte [0x18006e2b5]
mov byte [rbp - 0x28], al
mov eax, 0x6c6c
mov word [rbp - 0x27], ax
mov byte [rbp - 0x25], 0
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesEncodeIncrementalHandleCreate
test eax, eax
jne 0x18000dbed
mov qword [rsp + 0x48], rbx
lea r8, [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call sub.RPCRT4.dll_MesDecodeIncrementalHandleCreate
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x18000dbad
call sub.RPCRT4.dll_MesHandleFree
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x36]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x18000dbde
lea r9, [rbp + 0x60]
xor r8d, r8d
xor edx, edx
lea ecx, [rax + 0x36]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathW]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18000dbed
call sub.RPCRT4.dll_MesHandleFree
lea rcx, [rbp - 0x30]
call qword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
jmp 0x18000dc25
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
mov dword [rsp + 0x20], 0x12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18002e010
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18000dc63
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dc5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000dc5e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800591e0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], ILFindLastID
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18000dcb1
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000dcac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000dcac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800591e0
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1800596f0
mov rbx, qword [rsp + 0x390]
add rsp, 0x380
pop rbp
ret