Function at 0x140002fdc
Capabilities:
Encode data using xor
Get common file path
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov rax, qword [0x140138040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor esi, esi
call fcn.1400093a8
mov rax, qword [str.UVUU]
mov qword [rsp + 0x40], rax
cmp byte [0x140104037], sil
je 0x140003067
mov r8d, esi
lea r9, [rsp + 0x40]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 8
jl 0x140003037
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x140003082
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140004068
nop
lea rcx, [rbp - 0x50]
mov r14d, 0xf
cmp qword [rbp - 0x38], r14
cmova rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0xb]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r15d, 0x1000
xorps xmm0, xmm0
test eax, eax
js 0x140003182
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp - 0x30]
inc rbx
cmp word [rax + rbx*2], si
jne 0x1400030f1
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.140003d88
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
lea r8, [rcx + rax*2]
lea rdx, [rsp + 0x50]
cmova rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140003c54
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000317c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140003177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003177
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e0dd8
mov rcx, qword [rbp - 0x60]
jmp 0x140003195
movups xmmword [rbp - 0x70], xmm0
mov rcx, rsi
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x70], sil
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
mov r12d, 5
cmp rax, r12
jae 0x1400031b6
call fcn.140002308
int3
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], r12
lea r13, str.moon
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call fcn.1400044e4
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140004708
nop
mov dword [rsp + 0x40], esi
lea rax, [0x1401380d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140002f40
mov dil, al
cmp dword [rsp + 0x40], esi
je 0x14000325d
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.140002e6c
nop
lea rcx, [rsp + 0x70]
call fcn.140003700
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x1400032a3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x14000329e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000329e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e0dd8
test dil, dil
jne 0x14000339c
mov rax, rbx
mov rcx, qword [rbp - 0x60]
sub rax, rcx
cmp rax, r12
jae 0x1400032c1
call fcn.140002308
int3
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.1400044e4
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r14
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140004708
nop
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
call fcn.1400e2238
mov qword [rsp + 0x40], rax
shr rax, 0x20
test eax, eax
je 0x140003357
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002e0c
nop
lea rcx, [rsp + 0x50]
call fcn.140003700
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x14000339c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140003397
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003397
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e0dd8
mov rax, rbx
mov rcx, qword [rbp - 0x60]
sub rax, rcx
mov r12d, 0xd
cmp rax, r12
jae 0x1400033b7
call fcn.140002308
int3
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], r12
lea r13, str.moonconfigs
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.1400044e4
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r14
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140004708
nop
mov dword [rsp + 0x40], esi
lea rax, [0x1401380d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140002f40
mov dil, al
cmp dword [rsp + 0x40], esi
je 0x14000345c
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.140002e6c
nop
lea rcx, [rsp + 0x50]
call fcn.140003700
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x1400034a1
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x14000349c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000349c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e0dd8
test dil, dil
jne 0x140003599
mov rax, qword [rbp - 0x60]
sub rbx, rax
cmp rbx, r12
jae 0x1400034bc
call fcn.140002308
int3
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova r9, qword [rbp - 0x70]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.1400044e4
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140004708
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call fcn.1400e2238
mov qword [rsp + 0x40], rax
shr rax, 0x20
test eax, eax
je 0x140003553
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002e0c
nop
lea rcx, [rsp + 0x70]
call fcn.140003700
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x140003599
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140003594
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003594
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e0dd8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0xa
mov qword [rsp + 0x68], r14
movsd xmm0, qword [str.loading...]
movsd qword [rsp + 0x50], xmm0
movzx eax, word [0x140103fc8]
mov word [rsp + 0x58], ax
mov byte [rsp + 0x5a], sil
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [0x140001af4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
lea rdx, str._i__moon___
call fcn.140001b1c
lea rdx, [0x140001c8c]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rax
call fcn.140001fe4
lea rdx, [0x140001cb4]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140001cdc]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x140003684
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x14000367f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000367f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e0dd8
call fcn.14000e4a0
jmp 0x140003689