Function at 0x1801a00f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x318
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1802a60c0]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov dword [rbp + 4], 0
mov byte [rbp + 0xa0], 0xeb
mov byte [rbp + 0xa1], 8
mov byte [rbp + 0xa2], 0x48
mov byte [rbp + 0xa3], Ordinal_143
mov byte [rbp + 0xa4], Ordinal_143
mov byte [rbp + 0xa5], Ordinal_41
mov byte [rbp + 0xa6], 0xfa
mov byte [rbp + 0xa7], 1
mov byte [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa9], Ordinal_41
mov byte [rbp + 0xaa], Ordinal_200
lea rax, [rsp + 0x328]
test rax, rax
jne 0x1801a0187
lea rax, [rbp + 0xa0]
call rax
xor eax, eax
call rax
nop
lea rax, [rbp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rbp + 0xb0]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0xc], eax
cmp dword [rbp + 0xc], 0
je 0x1801a01c2
cmp dword [rbp + 0xc], 0x105
jbe 0x1801a025d
mov rax, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov qword [rbp + 0x30], rax
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 8]
lea rcx, [rbp + 0x60]
call fcn.18019fb80
mov rcx, rax
call fcn.1801a06c0
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
call fcn.18012eb00
mov qword [rbp + 0x38], rax
lea rdx, [0x18012ef50]
mov rcx, qword [rbp + 0x38]
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__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
lea rdx, [0x18022d408]
mov rcx, qword [rsp + 0x330]
call fcn.180044430
mov eax, dword [rbp + 4]
or eax, 1
mov dword [rbp + 4], eax
mov rax, qword [rsp + 0x330]
jmp 0x1801a030c
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x10], 0xffffffffffffffff
inc qword [rbp + 0x10]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x10]
cmp word [rax + rcx*2], 0
jne 0x1801a0270
mov rax, qword [rbp + 0x10]
movzx eax, word [rbp + rax*2 + 0xae]
cmp eax, 0x5c
jne 0x1801a02e7
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x18], 0xffffffffffffffff
inc qword [rbp + 0x18]
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x18]
cmp word [rax + rcx*2], 0
jne 0x1801a02a7
mov rax, qword [rbp + 0x18]
lea rax, [rax + rax - 2]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0x20a
jae 0x1801a02d3
jmp 0x1801a02d9
call fcn.1801f0a14
nop
xor eax, eax
mov rcx, qword [rbp + 0x20]
mov word [rbp + rcx + 0xb0], ax
lea rdx, [rbp + 0xb0]
mov rcx, qword [rsp + 0x330]
call fcn.180044430
mov eax, dword [rbp + 4]
or eax, 1
mov dword [rbp + 4], eax
mov rax, qword [rsp + 0x330]
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1801f08c0
add rsp, 0x318
pop rdi
pop rbp
ret