Function at 0x14002c200
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, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x140135080]
xor rax, rsp
mov qword [rbp - 0x18], rax
xor r15d, r15d
mov r12d, r15d
mov dword [rsp + 0x24], r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r12b
mov rax, qword gs:[0x58]
mov r13, qword [rax]
mov esi, 0x480
movdqa xmm11, xmmword [0x14011ea80]
movdqa xmm10, xmmword [0x14011e9f0]
movdqa xmm6, xmmword [0x14011e1e0]
movdqa xmm13, xmmword [0x14011eb60]
movdqa xmm7, xmmword [0x14011e170]
movdqa xmm12, xmmword [0x14011e3a0]
movdqa xmm9, xmmword [0x14011e9d0]
movdqa xmm8, xmmword [0x14011eb20]
mov edi, dword [reloc.WS2_32.dll_accept]
mov r14d, 0x6e4
mov qword [rsp + 0x68], rsi
nop dword [rax + rax]
lea rdx, [0x14002bac0]
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 rbx, rax
mov dword [rbp - 0x40], 0xaf1e6696
mov ecx, dword [r14 + r13]
test cl, 1
jne 0x14002c371
or ecx, 1
mov dword [r14 + r13], ecx
lea rcx, [rsi + r13]
mov byte [rcx + 0x25], 1
lea rax, [rcx + 0x24]
lea rdx, [rbp - 0x3c]
cmp rcx, rdx
ja 0x14002c351
lea rdx, [rbp - 0x60]
cmp rax, rdx
jb 0x14002c351
movups xmmword [rcx], xmm8
movups xmmword [rcx + 0x10], xmm9
mov eax, dword [rbp - 0x40]
mov dword [rcx + 0x20], eax
mov byte [rcx + 0x24], 0x61
jmp 0x14002c364
movups xmmword [rcx], xmm8
movups xmmword [rcx + 0x10], xmm9
mov eax, dword [rbp - 0x40]
mov dword [rcx + 0x20], eax
mov byte [rcx + 0x24], 0x61
lea rcx, [0x1400ec310]
call fcn.1400e72f0
nop
lea r11, [rsi + r13]
mov rcx, r11
call fcn.140035c40
mov rdx, r11
mov rcx, rbx
call fcn.140036200
lea rdx, [rbp - 0x38]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.14001dac0
mov ecx, 0x3fc
mov eax, dword [rcx + r13]
mov edx, 0x5f0
mov ebx, edx
test al, 1
jne 0x14002c3cd
or eax, 1
mov dword [rcx + r13], eax
mov word [rdx + r13 + 1], 0x135
mov byte [rdx + r13], Ordinal_35
lea rcx, [0x1400ec2f0]
call fcn.1400e72f0
nop
lea r9, [rbx + r13]
cmp byte [r9 + 2], 0
je 0x14002c448
mov r8, r15
cmp edi, 5
jl 0x14002c408
movdqa xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm12, xmm0
pshufb xmm1, xmm6
movzx eax, word [r9]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [r9], ax
jmp 0x14002c443
movabs rdi, 0x3b7577db115f355b
nop dword [rax]
nop word [rax + rax]
movzx ecx, r8b
and cl, 7
shl cl, 3
mov rdx, rdi
shr rdx, cl
xor byte [r9 + r8], dl
inc r8
cmp r8, 2
jb 0x14002c420
mov edi, dword [reloc.WS2_32.dll_accept]
mov byte [r9 + 2], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], 0
jne 0x14002c461
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140004c90
nop
or r12d, 1
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x24], r12d
lea rdx, [rsp + 0x48]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0xf
cmova rdx, r14
lea rcx, [rbp - 0x38]
mov rsi, qword [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, rsi
mov r12, qword [rbp - 0x28]
cmp r12, qword [rsp + 0x58]
jne 0x14002c4d8
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002c4d8
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x28]
mov sil, 1
jmp 0x14002c5fc
mov eax, 0x5cc
mov ecx, eax
mov eax, dword [rax + r13]
mov edx, 0x1ec
mov ebx, edx
test al, 1
jne 0x14002c50f
or eax, 1
mov dword [rcx + r13], eax
mov word [rdx + r13 + 1], 0x135
mov byte [rdx + r13], 2
lea rcx, [0x1400ec2d0]
call fcn.1400e72f0
nop
lea r9, [rbx + r13]
cmp byte [r9 + 2], 0
je 0x14002c587
xor r8d, r8d
cmp edi, 5
jl 0x14002c54a
movdqa xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm12, xmm0
pshufb xmm1, xmm6
movzx eax, word [r9]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [r9], ax
jmp 0x14002c582
movabs r15, 0x3b7577db115f355b
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
and cl, 7
shl cl, 3
mov rdx, r15
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 2
jb 0x14002c560
mov r15, qword [rsp + 0x60]
mov byte [r9 + 2], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], al
jne 0x14002c5a2
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.140004c90
or dword [rsp + 0x20], 2
lea rdx, [rsp + 0x28]
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
cmp rdi, 0xf
cmova rdx, rbx
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, rsi
cmp r12, qword [rsp + 0x38]
jne 0x14002c5f9
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002c5f9
mov sil, 1
jmp 0x14002c5fc
xor sil, sil
mov eax, dword [rsp + 0x20]
test al, 2
je 0x14002c643
and eax, 0xfffffffd
mov dword [rsp + 0x20], eax
cmp rdi, 0xf
jbe 0x14002c643
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002c63a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca31
mov rcx, rbx
call fcn.1400e71ac
nop
mov edi, dword [rsp + 0x20]
test dil, 1
je 0x14002c687
and edi, 0xfffffffe
cmp r15, 0xf
jbe 0x14002c687
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002c67f
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca3f
mov rcx, r14
call fcn.1400e71ac
test sil, sil
jne 0x14002ca4a
mov eax, 0x55c
mov ecx, eax
mov eax, dword [rax + r13]
mov edx, 0x2f8
mov ebx, edx
test al, 1
jne 0x14002c6c7
or eax, 1
mov dword [rcx + r13], eax
mov word [rdx + r13 + 1], 0x19d
mov byte [rdx + r13], 0xdf
lea rcx, [0x1400ec2b0]
call fcn.1400e72f0
nop
lea r9, [rbx + r13]
cmp byte [r9 + 2], 0
je 0x14002c736
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14002c706
movdqa xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm13, xmm0
pshufb xmm1, xmm6
movzx eax, word [r9]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [r9], ax
jmp 0x14002c731
movabs r12, 0xcf8ffb89377b9db1
movzx ecx, r8b
and cl, 7
shl cl, 3
mov rdx, r12
shr rdx, cl
xor byte [r9 + r8], dl
inc r8
cmp r8, 2
jb 0x14002c710
mov r12, qword [rbp - 0x28]
mov byte [r9 + 2], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], al
jne 0x14002c751
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140004c90
nop
or edi, 4
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], edi
lea rdx, [rsp + 0x48]
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x60]
cmp r15, 0xf
cmova rdx, r14
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
mov rsi, qword [rbp - 0x38]
cmova rcx, rsi
cmp r12, qword [rsp + 0x58]
jne 0x14002c7c0
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002c7c0
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x28]
mov sil, 1
jmp 0x14002c8de
mov eax, 0x570
mov ecx, eax
mov eax, dword [rax + r13]
mov edx, 0x3a0
mov ebx, edx
test al, 1
jne 0x14002c7f7
or eax, 1
mov dword [rcx + r13], eax
mov word [rdx + r13 + 1], 0x19d
mov byte [rdx + r13], 0xff
lea rcx, [0x1400ec290]
call fcn.1400e72f0
nop
lea r9, [rbx + r13]
cmp byte [r9 + 2], 0
je 0x14002c867
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14002c836
movdqa xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm13, xmm0
pshufb xmm1, xmm6
movzx eax, word [r9]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [r9], ax
jmp 0x14002c862
movabs r15, 0xcf8ffb89377b9db1
movzx ecx, r8b
and cl, 7
shl cl, 3
mov rdx, r15
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 2
jb 0x14002c840
mov r15, qword [rsp + 0x60]
mov byte [r9 + 2], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov r8, 0xffffffffffffffff
inc r8
cmp byte [r9 + r8], al
jne 0x14002c882
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.140004c90
or edi, 8
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0x28]
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x40]
cmp rdi, 0xf
cmova rdx, rbx
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rcx, rsi
cmp r12, qword [rsp + 0x38]
jne 0x14002c8db
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14002c8db
mov sil, 1
jmp 0x14002c8de
xor sil, sil
mov r12d, dword [rsp + 0x20]
test r12b, 8
je 0x14002c925
and r12d, 0xfffffff7
cmp rdi, 0xf
jbe 0x14002c925
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002c91c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca38
mov rcx, rbx
call fcn.1400e71ac
nop
test r12b, 4
je 0x14002c966
and r12d, 0xfffffffb
cmp r15, 0xf
jbe 0x14002c966
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14002c95e
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ca3f
mov rcx, r14
call fcn.1400e71ac
test sil, sil
jne 0x14002ca46
lea rdx, [0x14002ba60]
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 rdi, rax
mov dword [rbp - 0x70], 0xb55d3d97
mov dword [rbp - 0x6c], 0xfc79840e
mov eax, 0x6a4
mov ecx, eax
mov eax, dword [rax + r13]
mov edx, 0x580
mov ebx, edx
test al, 1
jne 0x14002ca0d
or eax, 1
mov dword [rcx + r13], eax
lea rax, [rdx + r13]
mov byte [rax + 0x29], 1
lea rcx, [rax + 0x28]
lea rdx, [rbp - 0x68]
cmp rax, rdx
ja 0x14002c9e9
lea rdx, [rsp + 0x70]
cmp rcx, rdx
jb 0x14002c9e9
movups xmmword [rax], xmm10
movups xmmword [rax + 0x10], xmm11
movsd xmm0, qword [rbp - 0x70]
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], 0xe5
jmp 0x14002ca00
movups xmmword [rax], xmm10
movups xmmword [rax + 0x10], xmm11
movsd xmm0, qword [rbp - 0x70]
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], 0xe5
lea rcx, [0x1400ec260]
call fcn.1400e72f0
nop
lea r11, [rbx + r13]
mov rcx, r11
call fcn.140035ac0
mov rdx, r11
mov rcx, rdi
call fcn.140036200
mov rsi, qword [rsp + 0x68]
xor r15d, r15d
jmp 0x14002c2da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor al, al
jmp 0x14002ca4c
mov al, 1
mov byte [0x1401447f3], al
mov rax, qword [rbp - 0x20]
cmp rax, 0xf
jbe 0x14002ca91
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ca8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ca8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e71ac
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1400e6df0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret