Function at 0x14008a430
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140122060]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0xd0], rdx
call fcn.1400890b0
lea rcx, [rbp + 0xe8]
call fcn.1400963c0
nop
mov dword [rsp + 0x58], 0xa4bea7e1
mov dword [rsp + 0x5c], 0xaaa4beae
mov word [rsp + 0x60], 0xf2
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x30], 0xa7a8a6e1
mov dword [rsp + 0x34], 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], 0xa3bea0e1
mov dword [rsp + 0x54], 0x100f1af
mov dword [rsp + 0x38], 0xb3aca3e1
mov word [rsp + 0x3c], 0xf6
mov byte [rsp + 0x3e], 1
mov dword [rsp + 0x40], 0xafb9b1b3
mov dword [rsp + 0x44], 0xada4a0f6
mov dword [rsp + 0x48], 0xb7a2beaa
mov word [rsp + 0x4c], 0x100
xor r14d, r14d
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 5
jb 0x14008a520
mov byte [rsp + 0x3e], r14b
mov qword [rbp - 0x80], r14
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], r14b
mov r8d, 5
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140007a00
nop
cmp byte [rsp + 0x4d], 0
je 0x14008a585
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x14008a570
mov byte [rsp + 0x4d], 0
mov qword [rbp - 0x60], r14
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov r8d, listen
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140007a00
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.140043a30
nop
lea rcx, [rbp - 0x60]
call fcn.140007980
nop
lea rcx, [rbp - 0x80]
call fcn.140007980
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14008a5e2
mov rdx, qword [rdi]
mov r8, qword [rdi + 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], r14
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.14008a190
nop
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rdx, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xf8]
mov rcx, rax
call fcn.14000e620
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xb0]
call fcn.14008a360
nop
lea rdx, [rsi + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008a68c
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e620
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.14008a190
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14008a6d1
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14000e620
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.14008a260
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008a71c
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e620
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x108], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm7
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp + 0x70]
call fcn.140007980
nop
lea rcx, [rbp - 0x80]
call fcn.140007980
nop
lea rcx, [rbp + 0x90]
call fcn.140007980
nop
lea rcx, [rbp - 0x60]
call fcn.140007980
nop
lea rcx, [rbp + 0xb0]
call fcn.140007980
nop
lea rcx, [rbp - 0x40]
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, [rsi + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.14000e470
mov r12, rax
lea rax, [rbp - 0x40]
mov qword [rbp + 8], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x40]
call fcn.14000e470
mov r13, rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
lea r15, [rbp + 0x108]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r15, rcx
movq r14, xmm7
cmp r14, 0x10
jae 0x14008a81c
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x60], xmm0
jmp 0x14008a894
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14008a873
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008aabb
mov rcx, rax
call fcn.1400e4df0
mov rcx, rax
test rax, rax
je 0x14008a86c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008a881
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14008a87f
call fcn.1400e4df0
jmp 0x14008a881
xor eax, eax
mov qword [rbp - 0x60], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], rbx
mov r9, r12
mov r8, r13
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x128]
call fcn.14008b4b0
nop
call fcn.1400890b0
xor r15d, r15d
mov qword [rbp + 0x68], r15
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0xd8]
call fcn.14008c900
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x40]
call fcn.14008b780
mov rdx, rax
mov rcx, rsi
call fcn.140088bc0
movzx edx, byte [rbp + 0xd8]
test dl, dl
jne 0x14008a926
mov byte [rbp + 0xd8], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14008c4b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xe0], rbx
movzx edx, byte [rbp + 0xd8]
jmp 0x14008a92d
mov rbx, qword [rbp + 0xe0]
cmp dl, 1
jne 0x14008a98f
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x80]
call fcn.140007a00
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140092500
mov r14, qword [rax]
add r14, 0x40
lea rcx, [rbp - 0x80]
call fcn.140007980
mov rbx, qword [rbp + 0xe0]
movzx edx, byte [rbp + 0xd8]
jmp 0x14008a994
mov r14, qword [rsp + 0x78]
lea rax, [r14 + 8]
cmp byte [r14], 4
cmovne rax, r15
cmp byte [rax], 0
je 0x14008aa4b
test dl, dl
jne 0x14008a9d3
mov byte [rbp + 0xd8], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14008c4b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xe0], rbx
movzx edx, byte [rbp + 0xd8]
cmp dl, 1
jne 0x14008aa27
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x14010dc10]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov r8d, 4
lea rdx, str.info
lea rcx, [rbp - 0x80]
call fcn.140007a00
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140092500
mov rbx, qword [rax]
add rbx, 0x40
lea rcx, [rbp - 0x80]
call fcn.140007980
jmp 0x14008aa2c
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14008b780
mov rdx, rax
mov rcx, rsi
call fcn.140088290
movzx edx, byte [rbp + 0xd8]
lea rcx, [rbp + 0xe0]
call fcn.14008be60
nop
lea rcx, [rbp + 0x128]
call fcn.140007980
nop
lea rcx, [rbp + 0x108]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rcx, rdi
call fcn.140007980
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.1400e4b30
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x50]
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.1400032d0
nop
int3