Function at 0x140049d20
Capabilities:
Encode data using xor
Execute command
Get common file path
Set console window title
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x238]
sub rsp, 0x330
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140149080]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor ebx, ebx
mov qword [str.cMUJR_R_], rbx
mov byte [0x1401cd918], bl
mov qword [0x1401cd8e0], rbx
mov word [0x1401cd8e8], bx
mov byte [0x1401cd8ea], bl
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1401cd920], xmm0
movups xmmword [0x1401cd930], xmm0
movups xmmword [0x1401cd940], xmm0
movups xmmword [str.T_nZ_fX_tX_r], xmm0
mov byte [0x1401cd960], al
mov dword [0x1401cd8dc], eax
movups xmmword [str._LMJH], xmm0
mov qword [0x1401cd900], rax
mov dword [0x1401cd908], eax
mov byte [0x1401cd90c], al
movups xmm3, xmmword [0x1401237d8]
movups xmmword [rbp - 0x70], xmm3
movdqa xmm7, xmmword [0x14012f790]
mov esi, dword [reloc.WS2_32.dll_accept]
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140049fd9
mov r8d, ebx
cmp esi, 2
jl 0x140049fa0
movdqa xmm4, xmmword [0x14012fe70]
movdqa xmm5, xmmword [str.::::]
movdqa xmm6, xmmword [0x14012f820]
movdqa xmm2, xmmword [0x14012f6d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x70], xmm2
movdqa xmm2, xmmword [0x14012f6f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x6c]
xorps xmm2, xmm0
movd dword [rbp - 0x6c], xmm2
movdqa xmm3, xmmword [0x14012f700]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 0x68]
xorps xmm3, xmm0
movd dword [rbp - 0x68], xmm3
movdqa xmm2, xmmword [0x14012f710]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x64]
xorps xmm2, xmm0
movd dword [rbp - 0x64], xmm2
jmp 0x140049fd9
lea r9, [rbp - 0x70]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140049fb0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x70]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x140049ff6
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.1400021e0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str.Color_4F
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.__Loading..___DO_NOT_CLOSE_THIS_CONSOLE__n
call fcn.1400489b0
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1401cf9e0]
call fcn.1400b43c0
cmp byte [0x1401cfbf0], 0
jne 0x14004a30c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x70]
call fcn.14004a7e0
mov r9, rax
cmp byte [rax + 0x16], 0
je 0x14004a2de
cmp esi, 2
jl 0x14004a2a0
movdqa xmm4, xmmword [0x14012fe70]
movdqa xmm5, xmmword [str.::::]
movdqa xmm3, xmmword [0x14012f6d0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov eax, dword [0x14012f820]
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [r9]
xorps xmm3, xmm0
movd dword [r9], xmm3
movdqa xmm2, xmmword [0x14012f6f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r9 + 4]
xorps xmm2, xmm0
movd dword [r9 + 4], xmm2
movdqa xmm3, xmmword [0x14012f700]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [r9 + 8]
xorps xmm3, xmm0
movd dword [r9 + 8], xmm3
movdqa xmm2, xmmword [0x14012f710]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [r9 + 0xc]
xorps xmm2, xmm0
movd dword [r9 + 0xc], xmm2
movdqa xmm3, xmmword [0x14012f720]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [r9 + 0x10]
xorps xmm3, xmm0
movd dword [r9 + 0x10], xmm3
mov ebx, reloc.WS2_32.dll_sendto
mov r8d, ebx
add r8, r9
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, bl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x14004a2b0
mov rdx, r9
call fcn.14004c160
mov rcx, rax
lea rdx, [0x1401cfbf8]
call fcn.14004c330
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.WLDAP32.dll_Ordinal_26
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x14004a38f
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp - 0x10]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14004a340
mov r8, rdi
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14004c460
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x70]
cmova rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.14004bf50
nop
lea rcx, [rbp - 0x70]
call fcn.14004bcc0
jmp 0x14004a3af
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
xor r8d, r8d
lea rdx, [0x140119918]
lea rcx, [rbp - 0x50]
call fcn.1400021e0
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 0xc
jb 0x14004a7a9
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], select
lea rsi, str._tulpicalext
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14004cc40
nop
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x68], rax
call fcn.140104674
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400491f0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140049940
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
lea r14, [0x140149260]
mov qword [rbp - 0x68], r14
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14004a74f
cmp eax, 1
sete dil
lea rcx, [rsp + 0x70]
call fcn.14004bcc0
nop
lea rcx, [rsp + 0x40]
call fcn.140005860
test dil, dil
je 0x14004a555
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 0xc
jb 0x14004a7af
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], select
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.14004cc40
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x68], rax
call fcn.140104674
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400491f0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1401048d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004a7b5
lea rcx, [rsp + 0x40]
call fcn.14004bcc0
nop
lea rcx, [rsp + 0x70]
call fcn.140005860
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 0x14
jb 0x14004a7cb
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], reloc.WS2_32.dll_sendto
lea rsi, str._tulpicalextconfigs
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.14004cc40
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x68], rax
call fcn.140104674
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400491f0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140049940
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], r14
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14004a75b
cmp eax, 1
sete dil
lea rcx, [rsp + 0x40]
call fcn.14004bcc0
nop
lea rcx, [rsp + 0x70]
call fcn.140005860
test dil, dil
je 0x14004a6e5
mov rax, qword [rbp - 0x40]
sub rbx, rax
cmp rbx, 0x14
jb 0x14004a7d1
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.14004cc40
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x68], rax
call fcn.140104674
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400491f0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.1401048d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004a767
lea rcx, [rsp + 0x40]
call fcn.14004bcc0
nop
lea rcx, [rsp + 0x70]
call fcn.140005860
call fcn.140053910
lea rcx, str.press_enter_to_close_cheat
call fcn.1400489b0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
lea rcx, [rbp - 0x50]
call fcn.140005860
nop
lea rcx, [rbp - 0x30]
call fcn.140005860
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140105230
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
mov dil, 1
test ecx, ecx
jne 0x14004a77d
jmp 0x14004a482
mov dil, 1
test ecx, ecx
jne 0x14004a793
jmp 0x14004a615
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049870
nop
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.1400498e0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.1400498e0
nop
call fcn.140002160
int3
call fcn.140002160
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140049870
nop
call fcn.140002160
int3
call fcn.140002160
int3