Function at 0x1400afdd0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x270
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1e8], 0xfffffffffffffffe
mov rsi, rcx
lea rdi, [rbp - 0x60]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x105
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x105
jb 0x1400afe7e
cmp dword [0x1406e7ac4], 0xa
jl 0x1400afea2
mov eax, dword [0x1406e7ac0]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1400afea2
mov rax, qword [0x140263180]
movups xmm0, xmmword [0x140263170]
movups xmm1, xmmword [0x140263160]
movups xmm2, xmmword [0x140263150]
nop word cs:[rax + rax]
nop dword [rax]
mov qword [rbp + 0x1e0], rax
movaps xmmword [rbp + 0x1d0], xmm0
movaps xmmword [rbp + 0x1c0], xmm1
movaps xmmword [rbp + 0x1b0], xmm2
jmp 0x1400afe60
cmp dword [0x1406dec0c], 0xa
jl 0x1400aff93
mov eax, dword [0x1406dec08]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1400aff93
jmp 0x1400afea0
movups xmm0, xmmword [0x140263150]
movaps xmmword [rbp + 0x1b0], xmm0
movups xmm0, xmmword [0x140263160]
movaps xmmword [rbp + 0x1c0], xmm0
movups xmm0, xmmword [0x140263170]
movaps xmmword [rbp + 0x1d0], xmm0
mov rax, qword [0x140263180]
mov qword [rbp + 0x1e0], rax
mov word [rbp + 0x1b0], 0x5b
movups xmm0, xmmword [rbp + 0x1b2]
xorps xmm0, xmmword [0x140259960]
movups xmmword [rbp + 0x1b2], xmm0
movups xmm0, xmmword [rbp + 0x1c2]
xorps xmm0, xmmword [str.9:_____]
movups xmmword [rbp + 0x1c2], xmm0
movups xmm0, xmmword [rbp + 0x1d2]
xorps xmm0, xmmword [str.ABCDEFGH]
movups xmmword [rbp + 0x1d2], xmm0
xor byte [rbp + 0x1e2], 0x49
xor byte [rbp + 0x1e4], 0x4a
xor byte [rbp + 0x1e6], 0x4b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, [rbp + 0x1b0]
call fcn.140090c40
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_wchar_t___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::widen_char_const___ptr64]
mov rcx, rdi
mov edx, eax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::put_wchar_t____ptr64]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::flush_void____ptr64]
cmp dword [0x1406dec0c], 0xa
jl 0x1400afffb
mov eax, dword [0x1406dec08]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1400b004f
jmp 0x1400afffb
lea rcx, [rbp - 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp word [rbp + rax*2 - 0x62], 0x5c
jne 0x1400affab
mov word [rbp + rax*2 - 0x62], 0
cmp dword [0x1406e836c], 0xa
jl 0x1400affd2
mov eax, dword [0x1406e8368]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1400affd2
nop word cs:[rax + rax]
nop
jmp 0x1400affd0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
lea rdi, [rbp - 0x60]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, rsi
mov rdx, rdi
mov r8, rax
call fcn.1400a57c0
jmp 0x1400b00a2
cmp dword [0x1406e836c], 0xa
jl 0x1400b0019
mov eax, dword [0x1406e8368]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1400b00a0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
lea rdx, [0x14026ff76]
mov rcx, rsi
xor r8d, r8d
call fcn.1400a57c0
cmp dword [0x1406dec0c], 0xa
jl 0x1400b00a2
mov eax, dword [0x1406dec08]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1400b00a2
cmp dword [0x1406e836c], 0xa
jl 0x1400b0069
mov eax, dword [0x1406e8368]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1400b0090
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
lea rdx, [0x14026ff76]
mov rcx, rsi
xor r8d, r8d
call fcn.1400a57c0
jmp 0x1400afffb
jmp 0x1400b0090
jmp 0x1400b00a0
mov rax, rsi
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret