Function at 0x14000caa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov qword [rsp + 0x310], r14
mov rbx, rdx
xor r14d, r14d
cmp dword [0x140029938], 5
jle 0x14000cae0
cmp dword [0x140029bf0], r14d
jne 0x14000cae0
mov eax, r14d
mov dword [0x1400295a0], eax
jmp 0x14000cae6
mov eax, dword [0x1400295a0]
movdqa xmm0, xmmword [0x140025db0]
test eax, eax
movdqa xmm1, xmmword [0x140025da0]
mov rcx, qword [rdx + 0x10]
lea rdx, [rbp + 0x80]
movups xmmword [rbp + 0x80], xmm0
mov qword [rsp + 0x308], rdi
movdqa xmm0, xmmword [0x140025e50]
movups xmmword [rbp + 0x90], xmm1
movdqa xmm1, xmmword [0x140025e20]
movups xmmword [rbp - 0x18], xmm0
movdqa xmm0, xmmword [0x140025e10]
movups xmmword [rbp + 8], xmm1
movdqa xmm1, xmmword [0x140025df0]
movaps xmmword [rsp + 0x2e0], xmm6
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 0xa0], xmm1
mov rax, qword [rcx]
movaps xmmword [rsp + 0x2d0], xmm7
movaps xmmword [rsp + 0x2c0], xmm8
je 0x14000d1c3
movaps xmmword [rsp + 0x2b0], xmm9
call qword [rax + 0x40]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
movdqa xmm0, xmmword [0x140025eb0]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm0
mov rax, qword [rcx]
call qword [rax + 0x88]
call fcn.140007090
movss xmm9, dword [0x140025be4]
lea rcx, [rbp + 8]
movss xmm6, dword [0x140025c34]
xorps xmm8, xmm8
movss xmm2, dword [0x140025d04]
mov edi, 1
mov qword [rsp + 0x48], rcx
xorps xmm3, xmm3
mov dword [rsp + 0x40], edi
movaps xmm1, xmm6
movss dword [rsp + 0x38], xmm9
mov rcx, rbx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm8
call fcn.140007aa0
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp + 0x90]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
movdqa xmm0, xmmword [0x140025e90]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm0
mov rax, qword [rcx]
call qword [rax + 0x88]
movss xmm2, dword [0x140025bf4]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
xorps xmm3, xmm3
mov dword [rsp + 0x40], edi
lea rax, [0x140029ac0]
movss dword [rsp + 0x38], xmm2
movaps xmm1, xmm6
mov qword [rsp + 0x30], r14
mov rcx, rbx
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm8
call fcn.140007aa0
mov edx, dword [0x140029aa8]
lea rcx, [rbp + 0xb0]
mov r8d, edi
call fcn.140005460
cmp dword [0x140029aa4], r14d
mov rax, r14
jne 0x14000cdcc
mov ecx, 0x3fc39699
mov dword [rsp + 0x74], 0x1001d
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x78], 0x4faef3cd
mov dword [rsp + 0x7c], 0x4da2e4f6
mov dword [rbp - 0x80], 0x5ca2b6e0
mov dword [rbp - 0x7c], 0x51b6f9fa
mov dword [rbp - 0x78], 0x4be3baed
mov dword [rbp - 0x74], 0x1fa6fbf0
mov dword [rbp - 0x70], 0x4ba5f3f5
mov dword [rbp - 0x6c], 0x3fc396a3
nop dword [rax]
xor dword [rsp + rax*4 + 0x78], ecx
inc rax
cmp rax, 8
je 0x14000ccf3
mov ecx, dword [rsp + 0x70]
jmp 0x14000cce0
movss xmm0, dword [0x140025c70]
lea rax, [rbp - 0x18]
movss xmm7, dword [0x140025be8]
movaps xmm1, xmm6
movss xmm3, dword [0x140025c18]
mov rcx, rbx
movss xmm2, dword [0x140025c14]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x78]
mov dword [rsp + 0x40], edi
movss dword [rsp + 0x38], xmm7
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm0
mov word [rsp + 0x76], r14w
call fcn.140007aa0
cmp word [rsp + 0x76], r14w
jne 0x14000cd85
movzx ecx, word [rsp + 0x74]
mov eax, r14d
inc ecx
test cl, 3
setne al
shr ecx, 2
add eax, ecx
mov rcx, r14
mov edx, eax
je 0x14000cd80
mov eax, dword [rsp + 0x70]
xor dword [rsp + rcx*4 + 0x78], eax
inc rcx
cmp rcx, rdx
jne 0x14000cd70
mov word [rsp + 0x76], di
movss xmm2, dword [0x140025c20]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x48], rax
movaps xmm3, xmm8
mov dword [rsp + 0x40], edi
lea rax, [rbp + 0xb0]
movss dword [rsp + 0x38], xmm7
movaps xmm1, xmm6
mov qword [rsp + 0x30], r14
mov rcx, rbx
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm8
call fcn.140007aa0
jmp 0x14000cf15
mov ecx, 0x23b3474d
mov qword [rsp + 0x300], rsi
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0x10006
mov dword [rsp + 0x58], 0x46de2e19
mov dword [rsp + 0x5c], 0x23b36777
nop word [rax + rax]
xor dword [rsp + rax*4 + 0x58], ecx
inc rax
cmp rax, 2
je 0x14000ce13
mov ecx, dword [rsp + 0x50]
jmp 0x14000ce00
mov eax, dword [rsp + 0x58]
lea rcx, [rbp + 0xb0]
movzx esi, word [rsp + 0x54]
mov r8d, edi
mov edx, dword [0x140029aa8]
add rcx, rsi
mov dword [rbp + 0xb0], eax
movzx eax, word [rsp + 0x5c]
mov word [rbp + 0xb4], ax
call fcn.140005460
mov ecx, 0xfae373f7
mov dword [rsp + 0x54], 0x10007
add esi, eax
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x58], 0xa9c30fd7
mov rax, r14
mov dword [rsp + 0x5c], 0xfac349b4
nop dword [rax]
xor dword [rsp + rax*4 + 0x58], ecx
inc rax
cmp rax, 2
je 0x14000ce83
mov ecx, dword [rsp + 0x50]
jmp 0x14000ce70
mov eax, dword [rsp + 0x58]
lea rcx, [rbp + 0xb0]
mov edx, dword [0x140029aac]
mov dword [rbp + rsi + 0xb0], eax
movzx eax, word [rsp + 0x5c]
mov word [rbp + rsi + 0xb4], ax
movzx eax, byte [rsp + 0x5e]
mov byte [rbp + rsi + 0xb6], al
movzx eax, word [rsp + 0x54]
add eax, esi
add rcx, rax
call fcn.1400053c0
movss xmm0, dword [0x140025be8]
lea rax, [rbp - 0x18]
movss xmm2, dword [0x140025c1c]
movaps xmm3, xmm8
mov qword [rsp + 0x48], rax
movaps xmm1, xmm6
mov dword [rsp + 0x40], edi
lea rax, [rbp + 0xb0]
movss dword [rsp + 0x38], xmm0
mov rcx, rbx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm8
call fcn.140007aa0
mov rsi, qword [rsp + 0x300]
mov rcx, qword [rbx + 0x10]
lea rdx, [rbp + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x40]
movss xmm3, dword [0x140025c28]
movaps xmm2, xmm9
mov rcx, qword [rbx + 8]
movss xmm1, dword [0x140025c64]
movss xmm0, dword [0x140025bd4]
mov r9, qword [rbx + 0x10]
mov rax, qword [rcx]
unpcklps xmm1, xmm3
unpcklps xmm2, xmm3
movq r8, xmm1
mov qword [rsp + 0x28], r14
movq rdx, xmm2
movss dword [rsp + 0x20], xmm0
call qword [rax + 0x78]
movaps xmm9, xmmword [rsp + 0x2b0]
mov ecx, 0xe4ea6183
mov dword [rbp - 0x50], ecx
mov rax, r14
mov dword [rbp - 0x44], ecx
mov dword [rbp - 0x4c], 0x10004
mov dword [rbp - 0x48], 0x818700c4
xor dword [rbp + rax*4 - 0x48], ecx
inc rax
cmp rax, 2
je 0x14000cfa2
mov ecx, dword [rbp - 0x50]
jmp 0x14000cf90
cmp dword [0x1400295a0], edi
lea rcx, [rbp - 8]
movss xmm7, dword [0x140025bf8]
lea r9, [rbp - 0x48]
movss xmm2, dword [0x140025c30]
mov eax, r14d
mov qword [rsp + 0x38], rcx
setne al
mov dword [rsp + 0x30], eax
movaps xmm1, xmm6
mov rcx, rbx
movss dword [rsp + 0x20], xmm7
mov word [rbp - 0x4a], r14w
call fcn.1400080a0
test eax, eax
je 0x14000cff3
mov edx, edi
mov dword [0x1400295a0], edx
jmp 0x14000cff9
mov edx, dword [0x1400295a0]
mov ecx, 0x44a87114
mov dword [rbp - 0x3c], 0x10005
mov dword [rbp - 0x40], ecx
mov rax, r14
mov dword [rbp - 0x38], 0x21cc1e57
mov dword [rbp - 0x34], 0x44a87167
nop dword [rax]
xor dword [rbp + rax*4 - 0x38], ecx
inc rax
cmp rax, 2
je 0x14000d032
mov ecx, dword [rbp - 0x40]
jmp 0x14000d020
movss xmm2, dword [0x140025c48]
lea rcx, [rbp - 8]
mov qword [rsp + 0x38], rcx
lea r9, [rbp - 0x38]
mov eax, r14d
mov word [rbp - 0x3a], r14w
cmp edx, 2
movaps xmm1, xmm6
mov rcx, rbx
setne al
mov dword [rsp + 0x30], eax
movss dword [rsp + 0x20], xmm7
call fcn.1400080a0
test eax, eax
je 0x14000d07b
mov edx, 2
mov dword [0x1400295a0], edx
jmp 0x14000d081
mov edx, dword [0x1400295a0]
mov ecx, 0x6de2a408
mov dword [rsp + 0x64], 0x10007
mov dword [rsp + 0x60], ecx
mov rax, r14
mov dword [rsp + 0x68], 0xb8dd658
mov dword [rsp + 0x6c], 0x6d87c861
nop word [rax + rax]
xor dword [rsp + rax*4 + 0x68], ecx
inc rax
cmp rax, 2
je 0x14000d0c3
mov ecx, dword [rsp + 0x60]
jmp 0x14000d0b0
movss xmm2, dword [0x140025c58]
lea rcx, [rbp - 8]
mov qword [rsp + 0x38], rcx
lea r9, [rsp + 0x68]
mov eax, r14d
mov word [rsp + 0x66], r14w
cmp edx, 3
movaps xmm1, xmm6
mov rcx, rbx
setne al
mov dword [rsp + 0x30], eax
movss dword [rsp + 0x20], xmm7
call fcn.1400080a0
test eax, eax
je 0x14000d10b
mov dword [0x1400295a0], 3
mov ecx, 0x91108d16
mov dword [rbp - 0x2c], 0x10008
mov dword [rbp - 0x30], ecx
mov rax, r14
mov dword [rbp - 0x20], ecx
mov dword [rbp - 0x28], 0xff77e445
mov dword [rbp - 0x24], 0xe565e236
nop
xor dword [rbp + rax*4 - 0x28], ecx
inc rax
cmp rax, 3
je 0x14000d142
mov ecx, dword [rbp - 0x30]
jmp 0x14000d130
movss xmm2, dword [0x140025cec]
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
lea r9, [rbp - 0x28]
mov dword [rsp + 0x30], edi
movaps xmm1, xmm6
mov rcx, rbx
movss dword [rsp + 0x20], xmm7
mov word [rbp - 0x2a], r14w
call fcn.1400080a0
test eax, eax
je 0x14000d419
call fcn.140008cd0
mov rcx, qword [0x140029930]
mov dword [0x140029bf0], r14d
test rcx, rcx
je 0x14000d419
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x140029930], r14
mov dword [0x140029938], 7
mov dword [0x140029a98], edi
mov dword [0x140029a9c], edi
mov dword [0x140029aa0], edi
jmp 0x14000d419
call qword [rax + 0x40]
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x60]
movdqa xmm0, xmmword [0x140025e60]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x60], xmm0
mov rax, qword [rcx]
call qword [rax + 0x88]
call fcn.140007090
movss xmm0, dword [0x140025bec]
lea rcx, [rbp + 8]
movss xmm7, dword [0x140025be4]
xorps xmm6, xmm6
movss xmm2, dword [0x140025be0]
xorps xmm3, xmm3
mov qword [rsp + 0x48], rcx
movaps xmm1, xmm7
mov dword [rsp + 0x40], r14d
mov rcx, rbx
movss dword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm6
call fcn.140007aa0
mov ecx, 0x8be95832
mov dword [rsp + 0x74], 0x10035
mov dword [rsp + 0x70], ecx
mov rax, r14
mov dword [rsp + 0x78], 0xfd802a62
mov dword [rsp + 0x7c], 0xb1903b53
mov dword [rbp - 0x80], 0xf99c3712
mov dword [rbp - 0x7c], 0xed862b12
mov dword [rbp - 0x78], 0xf9882f46
mov dword [rbp - 0x74], 0xe48d7857
mov dword [rbp - 0x70], 0xe5c92b57
mov dword [rbp - 0x6c], 0xe8c92c5d
mov dword [rbp - 0x68], 0xee85345d
mov dword [rbp - 0x64], 0xfbc92c51
mov dword [rbp - 0x60], 0xe49a2a57
mov dword [rbp - 0x5c], 0xab85395c
mov dword [rbp - 0x58], 0xea9d3956
mov dword [rbp - 0x54], 0x8be9581c
xor dword [rsp + rax*4 + 0x78], ecx
inc rax
cmp rax, 0xe
je 0x14000d2c6
mov ecx, dword [rsp + 0x70]
jmp 0x14000d2b3
movss xmm8, dword [0x140025cc8]
lea rax, [rbp + 8]
movss xmm2, dword [0x140025cfc]
mov edi, 1
mov qword [rsp + 0x48], rax
movaps xmm3, xmm6
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x78]
movss dword [rsp + 0x38], xmm7
movaps xmm1, xmm8
mov qword [rsp + 0x30], 0x35
mov rcx, rbx
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm6
mov word [rsp + 0x76], r14w
call fcn.140007aa0
mov ecx, 0xeed9408e
mov dword [rbp + 0x24], 0x1004f
mov dword [rbp + 0x20], ecx
mov rax, r14
mov dword [rbp + 0x28], 0x8bb535dc
mov dword [rbp + 0x2c], 0x81bf60fd
mov dword [rbp + 0x30], 0x9dac60fc
mov dword [rbp + 0x34], 0x86f632eb
mov dword [rbp + 0x38], 0x8baa32e1
mov dword [rbp + 0x3c], 0x83b82eae
mov dword [rbp + 0x40], 0x8ff933eb
mov dword [rbp + 0x44], 0x87f924e0
mov dword [rbp + 0x48], 0x8fbe6de0
mov dword [rbp + 0x4c], 0x8df925e3
mov dword [rbp + 0x50], 0xd4ad21e6
mov dword [rbp + 0x54], 0xceb62eae
mov dword [rbp + 0x58], 0x87a12fea
mov dword [rbp + 0x5c], 0xcef527e0
mov dword [rbp + 0x60], 0x8ff92fe0
mov dword [rbp + 0x64], 0x97b62ee0
mov dword [rbp + 0x68], 0xcebe2ee7
mov dword [rbp + 0x6c], 0x83b632fe
mov dword [rbp + 0x70], 0x81b034e1
mov dword [rbp + 0x74], 0xeef733e0
nop dword [rax + rax]
xor dword [rbp + rax*4 + 0x28], ecx
inc rax
cmp rax, 0x14
je 0x14000d3d2
mov ecx, dword [rbp + 0x20]
jmp 0x14000d3c0
movss xmm2, dword [0x140025d00]
lea rax, [rbp + 8]
mov qword [rsp + 0x48], rax
movaps xmm3, xmm6
mov dword [rsp + 0x40], edi
lea rax, [rbp + 0x28]
movss dword [rsp + 0x38], xmm7
movaps xmm1, xmm8
mov qword [rsp + 0x30], 0x4f
mov rcx, rbx
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm6
mov word [rbp + 0x26], r14w
call fcn.140007aa0
mov ecx, dword [0x1400295a0]
movaps xmm8, xmmword [rsp + 0x2c0]
movaps xmm7, xmmword [rsp + 0x2d0]
movaps xmm6, xmmword [rsp + 0x2e0]
mov r14, qword [rsp + 0x310]
mov rdi, qword [rsp + 0x308]
test ecx, ecx
je 0x14000d4bb
sub ecx, 1
je 0x14000d49b
sub ecx, 1
je 0x14000d47b
cmp ecx, 1
jne 0x14000d4ca
mov rdx, rbx
lea rcx, [0x1400295a0]
call fcn.14000bae0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2f0
pop rbp
ret
mov rdx, rbx
lea rcx, [0x1400295a0]
call fcn.14000a680
mov rbx, qword [rsp + 0x318]
add rsp, 0x2f0
pop rbp
ret
mov rdx, rbx
lea rcx, [0x1400295a0]
call fcn.140009c60
mov rbx, qword [rsp + 0x318]
add rsp, 0x2f0
pop rbp
ret
mov rdx, rbx
lea rcx, [0x1400295a0]
call fcn.140008eb0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2f0
pop rbp
ret