Function at 0x18000e700
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1800c37a8]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov edx, 0xdb
lea rcx, [0x1800c2eb0]
call fcn.18000f430
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], ILFindLastID
mov byte [rsp + 0x70], r14b
mov ebx, 0x6f
mov r8d, ebx
lea rdx, [rsp + 0x70]
xor ecx, ecx
call fcn.180008df0
test al, al
jne 0x18000e875
movzx eax, word [str._amt2__64_]
mov word [rbp - 0x20], ax
movzx eax, byte [0x1800b7cca]
mov byte [rbp - 0x1e], al
mov eax, 0x7265
mov word [rbp - 0x1d], ax
mov byte [rbp - 0x1b], r14b
lea r8d, [r14 + 2]
lea rdx, [0x1800b7ceb]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
movzx eax, word [0x1800b7cf8]
mov word [rbp - 0x19], ax
movzx eax, byte [0x1800b7cfa]
mov byte [rbp - 0x17], al
mov word [rbp - 0x16], 0x6b
lea r8d, [r14 + 5]
lea rdx, [0x1800b7d18]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
movzx eax, word [0x1800b7d2d]
mov word [rbp - 0x10], ax
movzx eax, byte [0x1800b7d2f]
mov byte [rbp - 0xe], al
mov eax, dword [0x1800b7d7d]
mov dword [rbp - 0xd], eax
movzx eax, byte [0x1800b7d81]
mov byte [rbp - 9], al
mov eax, 0x656d
mov word [rbp - 8], ax
mov byte [rbp - 6], r14b
lea r8d, [r14 + 1]
lea rdx, [0x1800b7d9a]
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov word [rbp - 5], 0x25
lea rax, [rbp - 0x20]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18000e840
lea rax, [rbp]
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]
mov edx, ebx
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHELL32.dll_DoEnvironmentSubstA]
jmp 0x18000ea72
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], ILFindLastID
mov byte [rsp + 0x50], 0
xor eax, eax
mov word [rsp + 0x30], ax
mov byte [rsp + 0x32], al
movsd xmm0, qword [0x1800c2f58]
mulsd xmm0, qword [0x1800b8580]
addsd xmm0, qword [0x1800b8558]
cvttsd2si rax, xmm0
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
mov r8d, 0xb3
lea rdx, [rsp + 0x70]
lea rcx, [0x1800c2ed8]
call fcn.1800070e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ILFindLastID]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea ecx, [r8 + 0x73]
call fcn.180083d60
test al, al
jne 0x18000e9f5
mov eax, 0x3c
mov word [rbp - 0x20], ax
mov eax, 0x43
mov word [rbp - 0x1f], ax
mov word [rbp - 0x1e], bx
mov ecx, 0x6c
mov word [rbp - 0x1d], cx
mov word [rbp - 0x1c], cx
mov eax, 0x61
mov word [rbp - 0x1b], ax
mov dword [rbp - 0x1a], 0x41657370
mov dword [rbp - 0x16], 0x426c6c
mov word [rbp - 0x13], cx
mov word [rbp - 0x12], bx
mov dword [rbp - 0x11], 0x736b63
mov dword [rbp - 0xe], 0x5f623e
mov eax, 0x305f
mov word [rbp - 0xb], ax
mov byte [rbp - 9], 0
mov dil, 1
movzx esi, dil
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x40], r14
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rcx - 0x36]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ebx, eax
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call sub.RPCRT4.dll_MesEncodeDynBufferHandleCreate
movzx ecx, dil
test ebx, ebx
cmovne ecx, r14d
mov ebx, esi
test eax, eax
cmovne ebx, r14d
test cl, cl
je 0x18000e9e5
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0x36]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathA]
test bl, bl
je 0x18000ea1f
mov rcx, qword [rsp + 0x40]
call sub.RPCRT4.dll_MesHandleFree
jmp 0x18000ea1f
lea r8, [rbp - 0x70]
xor edx, edx
xor ecx, ecx
call sub.IMM32.dll_ImmGetRegisterWordStyleW
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetEnhMetaFileDescriptionW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.180049550
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18000ea5f
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ea5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ea5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a1078
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], ILFindLastID
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18000eab1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000eaac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000eaac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800a1078
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1800a1820
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret