Function at 0x14008aad0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x250
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140122060]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov qword [rbp - 0x78], rdx
mov qword [rbp + 0xb0], r8
xor esi, esi
mov dword [rbp - 0x30], esi
call fcn.1400890b0
mov dword [rsp + 0x30], 0xa4bea7e1
mov dword [rsp + 0x34], 0xaaa4beae
mov word [rsp + 0x38], 0xf2
mov byte [rsp + 0x3a], 1
mov ecx, esi
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x14008ab50
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x60], 0xa7a8a6e1
mov dword [rsp + 0x64], 0x100f1ae
mov dword [rsp + 0x68], 0xb9acbbe1
mov dword [rsp + 0x6c], 0xa0a2a5b8
mov dword [rsp + 0x70], 0xecb4a6
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x50], 0xa6a0aee1
mov dword [rsp + 0x54], 0xf3a9a5ae
mov word [rsp + 0x58], 0x100
mov dword [rsp + 0x40], 0xafb9b1b3
mov dword [rsp + 0x44], 0xa2a4aaf6
mov word [rsp + 0x48], 0xaa
mov byte [rsp + 0x4a], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 8
jb 0x14008abd0
mov byte [rsp + 0x59], 0
mov qword [rbp + 0xe8], rsi
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp + 0xf8], xmm0
mov byte [rbp + 0xe8], 0
mov r8d, 8
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xe8]
call fcn.140007a00
nop
cmp byte [rsp + 0x4a], 0
je 0x14008ac45
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x14008ac30
mov byte [rsp + 0x4a], 0
mov qword [rbp - 0x70], rsi
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov r8d, 9
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140007a00
nop
lea r9, [rbp + 0xe8]
lea r8, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140043a30
nop
lea rcx, [rbp - 0x70]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14008aca8
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rbp + 0x10]
call fcn.14000e620
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rsi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.14008a360
nop
lea rdx, [r15 + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008acfc
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e620
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x70]
call fcn.14008a190
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14008ad3e
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14000e620
mov qword [rbp - 0x50], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008ad80
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14000e620
mov qword [rbp + 0xc8], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rdx, [r15 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008addc
mov rdx, qword [rdx]
lea rcx, [rbp + 0xc8]
call fcn.14000e620
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm7
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp + 0xc8]
call fcn.140007980
nop
lea rcx, [rbp - 0x50]
call fcn.140007980
nop
lea rcx, [rbp + 0x70]
call fcn.140007980
nop
lea rcx, [rbp - 0x70]
call fcn.140007980
nop
lea rcx, [rbp + 0x30]
call fcn.140007980
nop
lea rcx, [rbp - 0x20]
call fcn.140007980
nop
lea rcx, [rbp + 0x10]
call fcn.140007980
lea rax, [rbp - 0x20]
mov qword [rbp], rax
lea rdx, [r15 + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.14000e470
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 8], rax
lea rdx, [r15 + 0x80]
lea rcx, [rbp + 0x90]
call fcn.14000e470
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea r12, [rbp + 0xe8]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r12, rcx
movabs rax, 0x7fffffffffffffff
movq r13, xmm7
cmp r13, 0x10
jae 0x14008aedf
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x70], xmm0
mov rsi, rbx
jmp 0x14008af4d
mov rsi, r13
or rsi, 0xf
cmp rsi, rax
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14008af2c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008b339
mov rcx, rax
call fcn.1400e4df0
mov rcx, rax
test rax, rax
je 0x14008af25
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008af3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14008af38
call fcn.1400e4df0
jmp 0x14008af3a
xor eax, eax
mov qword [rbp - 0x70], rax
lea r8, [r13 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], rsi
mov r9, qword [rbp - 0x28]
mov r8, qword [rbp - 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x108]
call fcn.14008b4b0
nop
call fcn.1400890b0
xor r13d, r13d
mov qword [rbp + 0x68], r13
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xb8]
call fcn.14008c900
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x68]
call fcn.14008b780
mov rdx, rax
mov rcx, r15
call fcn.140088bc0
movzx edx, byte [rbp + 0xb8]
test dl, dl
jne 0x14008afdf
mov byte [rbp + 0xb8], 1
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14008c4b0
mov rsi, qword [rbp - 0x78]
mov qword [rbp + 0xc0], rsi
movzx edx, byte [rbp + 0xb8]
jmp 0x14008afe6
mov rsi, qword [rbp + 0xc0]
cmp dl, 1
jne 0x14008b048
mov qword [rbp - 0x50], r13
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x50]
call fcn.140007a00
nop
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140092500
mov r15, qword [rax]
add r15, 0x40
lea rcx, [rbp - 0x50]
call fcn.140007980
mov rsi, qword [rbp + 0xc0]
movzx edx, byte [rbp + 0xb8]
jmp 0x14008b04d
mov r15, qword [rsp + 0x30]
lea rax, [r15 + 8]
cmp byte [r15], 4
cmovne rax, r13
cmp byte [rax], 0
je 0x14008b2d0
mov r15, qword [rsp + 0x30]
test dl, dl
jne 0x14008b08f
mov byte [rbp + 0xb8], 1
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14008c4b0
mov rsi, qword [rbp - 0x78]
mov qword [rbp + 0xc0], rsi
movzx edx, byte [rbp + 0xb8]
cmp dl, 1
jne 0x14008b0e2
mov qword [rbp - 0x50], r13
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov r8d, 8
lea rdx, str.contents
lea rcx, [rbp - 0x50]
call fcn.140007a00
nop
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.140092500
mov r15, qword [rax]
add r15, 0x40
lea rcx, [rbp - 0x50]
call fcn.140007980
nop
mov qword [rbp - 0x70], r13
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov dword [rbp - 0x30], 0xbfe
cmp byte [r15], 3
jne 0x14008b113
mov rdx, qword [r15 + 8]
lea rax, [rbp - 0x70]
cmp rax, rdx
je 0x14008b12e
jmp 0x14008b116
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008b124
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.140007a00
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xc8]
call fcn.14008b350
nop
lea rcx, [rbp - 0x70]
call fcn.140007980
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov rsi, qword [rbp + 0xd8]
lea r15, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae r15, qword [rbp + 0xc8]
cmp rsi, 0x10
jae 0x14008b185
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x68], xmm0
jmp 0x14008b1ff
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14008b1dc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008b33f
mov rcx, rax
call fcn.1400e4df0
mov rcx, rax
test rax, rax
je 0x14008b1d5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008b1eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14008b1e8
call fcn.1400e4df0
jmp 0x14008b1eb
mov rax, r13
mov qword [rsp + 0x68], rax
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
cmp rbx, 0x10
jb 0x14008b228
mov r15, qword [rsp + 0x68]
lea r12, [r15 + rsi]
jmp 0x14008b231
lea r12, [rsi + rax]
lea r15, [rsp + 0x68]
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov rsi, r12
sub rsi, r15
je 0x14008b27d
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x14008b333
mov rdx, rsi
mov rcx, rdi
call fcn.140041e60
mov rbx, qword [rdi]
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbx, r15
add rbx, r12
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0x68]
call fcn.140007980
nop
lea rcx, [rbp + 0xc8]
call fcn.140007980
nop
movzx edx, byte [rbp + 0xb8]
lea rcx, [rbp + 0xc0]
call fcn.14008be60
nop
lea rcx, [rbp + 0x108]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rcx, r14
call fcn.140007980
mov rax, rdi
jmp 0x14008b2ff
lea rcx, [rbp + 0xc0]
call fcn.14008be60
nop
lea rcx, [rbp + 0x108]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rcx, r14
call fcn.140007980
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400e4b30
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f580
nop
call fcn.1400032d0
nop
call fcn.1400032d0
int3