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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140197080]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor esi, esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1404cb0c8], xmm0
mov byte [0x1404cb0d8], al
mov qword [0x1404cae20], rax
mov word [0x1404cae28], ax
mov byte [0x1404cae2a], al
movups xmmword [0x1404cb0e0], xmm0
movups xmmword [0x1404cb0f0], xmm0
movups xmmword [0x1404cb100], xmm0
movups xmmword [0x1404cb110], xmm0
mov byte [0x1404cb120], al
mov dword [0x1404cae18], eax
movups xmmword [0x1404cae30], xmm0
mov qword [0x1404cae40], rax
mov dword [0x1404cae48], eax
mov byte [0x1404cae4c], al
movsd xmm0, qword [str.mOWLT__a]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x140178e90]
mov dword [rbp - 0x68], eax
movzx eax, word [0x140178e94]
mov word [rbp - 0x64], ax
movzx eax, byte [0x140178e96]
mov byte [rbp - 0x62], al
mov ecx, esi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140066c32
movdqa xmm4, xmmword [0x14017b5d0]
movdqa xmm2, xmmword [0x14017b0b0]
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, xmmword [0x14017b120]
psubd xmm2, xmm0
andps xmm2, xmmword [0x14017b180]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14017b2a0]
movd xmm0, dword [str.mOWLT__a]
xorps xmm2, xmm0
movd dword [rbp - 0x70], xmm2
movdqa xmm2, xmmword [0x14017b110]
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, xmmword [0x14017b120]
psubd xmm2, xmm0
andps xmm2, xmmword [0x14017b180]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14017b2a0]
movd xmm0, dword [rbp - 0x6c]
xorps xmm2, xmm0
movd dword [rbp - 0x6c], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x140066c40
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140066c90
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140003470
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_0C
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x1404cae50]
call fcn.140081690
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 0x140066d99
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
lea rax, [rbp - 0x10]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140066d10
mov r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000ba90
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.1400653f0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140066db9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066d92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066d92
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
jmp 0x140066db9
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
xor r8d, r8d
lea rdx, [0x140176afe]
lea rcx, [rbp - 0x50]
call fcn.140003470
nop
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 9
jb 0x14006741b
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 9
lea r14, str.Tulpical
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400113a0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x68], rax
call fcn.14013b3cc
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140003f10
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14005e2e0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x80], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
lea r15, [0x140197118]
mov qword [rbp - 0x68], r15
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x140066ec6
cmp eax, 1
sete dil
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140066ed8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066ed3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066ed3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, 1
test ecx, ecx
jne 0x1400673ef
jmp 0x140066e86
call fcn.14013bf94
movdqa xmm0, xmmword [0x14017aec0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140066f2b
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066f26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066f26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
test dil, dil
je 0x14006706e
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 9
jb 0x140067421
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 9
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400113a0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x68], rax
call fcn.14013b3cc
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140003f10
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14013b62c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140067427
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14006701b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067016
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067016
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
movdqa xmm0, xmmword [0x14017aec0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14006706e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067069
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067069
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
mov rax, rbx
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 0x11
jb 0x14006743d
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recvfrom
lea r14, str.Tulpicalconfigs
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400113a0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x68], rax
call fcn.14013b3cc
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140003f10
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14005e2e0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x80], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x70], ecx
mov qword [rbp - 0x68], r15
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
mov eax, dword [rbp - 0x80]
test eax, eax
je 0x14006716a
cmp eax, 1
sete dil
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14006717c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067177
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dil, 1
test ecx, ecx
jne 0x140067405
jmp 0x14006712a
call fcn.14013bf94
movdqa xmm0, xmmword [0x14017aec0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400671cf
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400671ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400671ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
test dil, dil
je 0x14006730f
mov rax, qword [rbp - 0x40]
sub rbx, rax
cmp rbx, 0x11
jb 0x140067443
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], reloc.WS2_32.dll_recvfrom
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.1400113a0
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rax, qword [rsp + 0x60]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp - 0x68], rax
call fcn.14013b3cc
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140003f10
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
call fcn.14013b62c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400673d9
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400672bc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400672b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400672b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
movdqa xmm0, xmmword [0x14017aec0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14006730f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006730a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006730a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
call fcn.140006a00
lea rcx, str.Tulpical___press_enter_to_close_console__closes_cheat_
call fcn.140003700
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
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14006736d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067367
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067367
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400673ab
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400673a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400673a6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013bf94
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14013bf30
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140004900
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140004970
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
lea rcx, str.exists
call fcn.140004970
nop
call fcn.140002430
int3
call fcn.140002430
nop
shr rdx, 0x20
lea r8, [rsp + 0x40]
lea rcx, str.create_directory
call fcn.140004900
nop
call fcn.140002430
int3
call fcn.140002430
int3