Function at 0x140002ea0
Capabilities:
Encode data using xor

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 - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14017f840]
xor rax, rsp
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xor ebx, ebx
mov qword [rbp + 7], rbx
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], bl
lea rdx, [rsp + 0x20]
lea rcx, [0x140180ca8]
call fcn.14006fffc
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x140002f3e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb340
lea rdx, [rbp - 9]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.1400050a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
lea r14, [rbp - 9]
mov r12, qword [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova r14, r12
movabs rdi, 0x7fffffffffffffff
mov rsi, qword [rbp + 7]
cmp rsi, rdi
ja 0x14000364d
cmp rsi, 0xf
ja 0x140002faa
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x20], xmm0
jmp 0x140003041
mov rax, rsi
or rax, 0xf
cmp rax, rdi
jbe 0x140002fe2
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400cb348
mov rcx, rax
test rax, rax
je 0x140003017
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003023
mov rdi, rax
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140002fff
mov rax, rbx
jmp 0x140003023
cmp rcx, 0x1000
jb 0x14000301e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003653
jmp 0x140002fc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cb348
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x20]
call qword [sym.imp.Sentinal.dll_s_token]
test al, al
je 0x14000358f
movups xmm0, xmmword [0x140145ec8]
movups xmmword [rbp - 0x79], xmm0
movups xmm1, xmmword [0x140145ed8]
movups xmmword [rbp - 0x69], xmm1
movsd xmm0, qword [0x140145ee8]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140145ef0]
mov dword [rbp - 0x51], eax
movzx eax, word [0x140145ef4]
mov word [rbp - 0x4d], ax
mov r8d, ebx
movdqa xmm6, xmmword [0x140145f90]
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400031b8
movdqa xmm4, xmmword [0x140145f70]
movdqa xmm3, xmmword [0x140145fb0]
movdqa xmm5, xmmword [str.2222]
movdqa xmm0, xmmword [0x140145fa0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rbp - 0x75]
mov edx, dword [rsp + 0x20]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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, 0x28
jl 0x1400030d1
cmp r8d, 0x2e
jge 0x140003200
movsxd rax, r8d
lea r9, [rbp - 0x79]
add r9, rax
nop dword [rax]
nop word [rax + rax]
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, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2e
jl 0x1400031d0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea rax, [rbp - 0x79]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003220
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x49]
call fcn.140001560
nop
lea rdi, [rbp - 0x49]
mov r14, qword [rbp - 0x49]
mov r13, qword [rbp - 0x31]
cmp r13, 0xf
cmova rdi, r14
lea rcx, [rbp - 0x49]
cmova rcx, r14
mov r15, qword [rbp - 0x39]
add r15, rcx
cmp rdi, r15
je 0x1400032a1
mov qword [rsp + 0x20], reloc.WS2_32.dll_ntohl
nop dword [rax]
movzx edx, byte [rdi]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004eb0
lea rdx, [0x140005080]
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 rcx, [rsp + 0x20]
call fcn.140004d10
inc rdi
cmp rdi, r15
jne 0x140003270
cmp r13, 0xf
jbe 0x1400032d8
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400032d0
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000353c
mov rcx, r14
call fcn.1400cb340
lea rcx, [0x140180ca8]
call fcn.140066384
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140180ca8]
call fcn.140066384
movups xmm0, xmmword [0x140145e50]
movups xmmword [rbp - 0x79], xmm0
movups xmm1, xmmword [0x140145e60]
movups xmmword [rbp - 0x69], xmm1
mov eax, dword [0x140145e70]
mov dword [rbp - 0x59], eax
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140003442
movdqa xmm4, xmmword [0x140145f70]
movdqa xmm3, xmmword [0x140145fb0]
movdqa xmm5, xmmword [str.2222]
movdqa xmm0, xmmword [0x140145fa0]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rbp - 0x75]
mov edx, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x20
jl 0x140003360
cmp ebx, 0x24
jge 0x14000347c
movsxd rax, ebx
lea r8, [rbp - 0x79]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x24
jl 0x140003450
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
lea rax, [rbp - 0x79]
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x140003490
mov r8, rsi
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x29]
call fcn.140001560
nop
lea rbx, [rbp - 0x29]
mov rdi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x11]
cmp r14, 0xf
cmova rbx, rdi
lea rcx, [rbp - 0x29]
cmova rcx, rdi
mov rsi, qword [rbp - 0x19]
add rsi, rcx
cmp rbx, rsi
je 0x140003511
mov qword [rsp + 0x20], reloc.WS2_32.dll_ntohl
nop dword [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004eb0
lea rdx, [0x140005080]
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 rcx, [rsp + 0x20]
call fcn.140004d10
inc rbx
cmp rbx, rsi
jne 0x1400034e0
cmp r14, 0xf
jbe 0x14000354c
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140003543
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003543
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400cb340
nop
mov rax, qword [rbp + 0xf]
cmp rax, 0xf
jbe 0x14000361b
lea rdx, [rax + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x140003613
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003613
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Sentinal.dll_s_get_response]
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400035b0
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.140005930
lea rdx, [0x140004c90]
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 + 0x38]
cmp rdx, 0xf
jbe 0x14000354c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003546
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003546
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call fcn.1400cb340
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400cb320
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001340
nop
call fcn.1400012a0
int3