Function at 0x140049770
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
push rbp
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x360
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14014a080]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor ebx, ebx
mov qword [0x1401ce900], rbx
mov dword [0x1401ce908], ebx
mov word [0x1401ce90c], bx
mov qword [0x1401ce8d0], rbx
mov word [0x1401ce8d8], bx
mov byte [0x1401ce8da], bl
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1401ce910], xmm0
movups xmmword [0x1401ce920], xmm0
movups xmmword [0x1401ce930], xmm0
movups xmmword [0x1401ce940], xmm0
mov byte [0x1401ce950], al
mov dword [0x1401ce8cc], eax
movups xmmword [str.CLII], xmm0
mov qword [0x1401ce8f0], rax
mov dword [0x1401ce8f8], eax
mov byte [0x1401ce8fc], al
movups xmm0, xmmword [str.TMBC_A]
movups xmmword [rbp - 0x50], xmm0
movzx eax, word [0x1401248c8]
mov word [rbp - 0x40], ax
movzx eax, byte [0x1401248ca]
mov byte [rbp - 0x3e], al
mov r8d, ebx
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x140049985
movdqa xmm5, xmmword [0x140130510]
movdqa xmm4, xmmword [0x140130860]
movdqa xmm6, xmmword [0x140130540]
movdqa xmm0, xmmword [0x140130680]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x4c]
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401305f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401305f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140049880
cmp r8d, 0x13
jge 0x1400499c0
movsxd rax, r8d
lea r9, [rbp - 0x50]
add r9, rax
nop
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x140049990
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rbp - 0x50]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1400499e0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.140002400
nop
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
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.140048430
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1401d09d0]
call fcn.1400b5330
cmp byte [0x1401d0be0], 0
jne 0x140049c0d
mov r10, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x50]
call fcn.14004a0b0
mov r9, rax
cmp byte [rax + 0x16], 0
je 0x140049bdc
cmp esi, 2
jl 0x140049ba2
movdqa xmm5, xmmword [0x140130510]
movdqa xmm4, xmmword [0x140130860]
movdqa xmm6, xmmword [0x140130540]
movdqa xmm0, xmmword [0x140130680]
movdqa xmmword [rsp + 0x70], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401305f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401305f0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x10
jl 0x140049aa0
cmp eax, 0x17
jge 0x140049bdc
movsxd r8, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, bl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x17
jl 0x140049bb0
mov rdx, r9
mov rcx, r10
call fcn.14004ba10
mov rcx, rax
lea rdx, [0x1401d0be8]
call fcn.14004bbe0
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 + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x140049c8f
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [rbp + 0x30]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140049c40
mov r8, rdi
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.14004bd10
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rdx, qword [rbp - 0x10]
mov rax, qword [rbp]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x10]
cmova rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.14004b800
nop
lea rcx, [rbp - 0x10]
call fcn.14004b590
jmp 0x140049caf
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
xor r8d, r8d
lea rdx, [0x14011a8e8]
lea rcx, [rbp - 0x30]
call fcn.140002400
nop
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 0xc
jb 0x14004a07b
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], recvfrom
lea r14, str._tulpicalext
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call fcn.14004c510
nop
mov rdi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.1401055e4
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140048c60
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140049390
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x50], ecx
lea r15, [0x14014a250]
mov qword [rbp - 0x48], r15
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14004a025
cmp eax, 1
sete bl
lea rcx, [rbp - 0x70]
call fcn.14004b590
nop
lea rcx, [rsp + 0x50]
call fcn.140005aa0
test bl, bl
je 0x140049e43
mov rax, rsi
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 0xc
jb 0x14004a081
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], recvfrom
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call fcn.14004c510
nop
mov rdi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.1401055e4
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140048c60
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call fcn.140105844
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004a087
lea rcx, [rsp + 0x70]
call fcn.14004b590
nop
lea rcx, [rsp + 0x50]
call fcn.140005aa0
mov rax, rsi
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, 0x14
jb 0x14004a09d
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], reloc.WS2_32.dll_sendto
lea r14, str._tulpicalextconfigs
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call fcn.14004c510
nop
mov rdi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.1401055e4
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140048c60
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140049390
movsd xmm0, qword [rax]
movsd qword [rsp + 0x40], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x50], ecx
mov qword [rbp - 0x48], r15
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14004a030
cmp eax, 1
sete bl
lea rcx, [rbp - 0x70]
call fcn.14004b590
nop
lea rcx, [rsp + 0x50]
call fcn.140005aa0
test bl, bl
je 0x140049fc0
mov rax, qword [rbp - 0x20]
sub rsi, rax
cmp rsi, 0x14
jb 0x14004a0a3
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x50]
call fcn.14004c510
nop
mov rdi, qword [rsp + 0x60]
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
call fcn.1401055e4
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140048c60
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call fcn.140105844
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14004a03b
lea rcx, [rsp + 0x70]
call fcn.14004b590
nop
lea rcx, [rsp + 0x50]
call fcn.140005aa0
call fcn.140053480
lea rcx, str.Enter__Close_Cheat
call fcn.140048430
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 - 0x30]
call fcn.140005aa0
nop
lea rcx, [rbp + 0x10]
call fcn.140005aa0
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140106160
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov bl, 1
test ecx, ecx
jne 0x14004a051
jmp 0x140049d7a
mov bl, 1
test ecx, ecx
jne 0x14004a066
jmp 0x140049efa
shr rdx, 0x20
lea r8, [rsp + 0x70]
lea rcx, str.create_directory
call fcn.1400492c0
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, str.exists
call fcn.140049330
nop
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x50]
lea rcx, str.exists
call fcn.140049330
nop
call fcn.140002380
int3
call fcn.140002380
nop
shr rdx, 0x20
lea r8, [rsp + 0x70]
lea rcx, str.create_directory
call fcn.1400492c0
nop
call fcn.140002380
int3
call fcn.140002380
int3