Function at 0x1400c1580
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xa8
mov rax, qword [0x14012c240]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r12, qword [rbp + 0x7f]
mov eax, r9d
mov r9, qword [rbp + 0x6f]
mov esi, eax
mov dword [rbp - 0x61], eax
mov r13, rcx
mov rcx, qword [rbp + 0x8f]
and eax, 0xf
mov dword [rbp - 0x5d], eax
xor edi, edi
mov eax, dword [rbp + 0x77]
mov r15, r8
shr esi, 4
mov r14, rdx
mov qword [rbp - 0x59], rcx
cmp eax, 0xc
jne 0x1400c15f8
movsd xmm0, qword [r9]
mov eax, dword [r9 + 8]
movsd qword [rbp - 0x41], xmm0
mov dword [rbp - 0x39], eax
mov dword [rbp - 0x35], 0x1000000
jmp 0x1400c1633
mov ebx, dword [r13 + 0x144]
lea rcx, [rbp - 0x41]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
xor r8d, r8d
mov qword [rsp + 0x28], rcx
xor edx, edx
mov rcx, r13
mov dword [r13 + 0x144], edi
mov dword [rsp + 0x20], eax
call fcn.1400c0f40
mov rcx, qword [rbp - 0x59]
mov dword [r13 + 0x144], ebx
mov ebx, dword [rbp + 0x97]
lea rax, [rbp - 0x51]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov rdx, rcx
mov qword [rsp + 0x28], rax
mov r9, r15
mov eax, dword [rbp - 0x61]
mov r8d, ebx
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.1400c0f40
lea r8, [rbp - 0x31]
mov rcx, r13
lea rdx, [rbp - 0x41]
call fcn.1400bddc0
test eax, eax
jne 0x1400c1885
lea rax, [rbp - 0x31]
lea rcx, [rbp - 0x51]
or rax, rcx
test al, 7
jne 0x1400c169d
movdqu xmm1, xmmword [rbp - 0x51]
movdqu xmm0, xmmword [rbp - 0x31]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x51], xmm1
jmp 0x1400c16e7
lea rcx, [rbp - 0x51]
lea rax, [rbp - 0x22]
cmp rcx, rax
ja 0x1400c16d5
lea rcx, [rbp - 0x42]
lea rax, [rbp - 0x31]
cmp rcx, rax
jb 0x1400c16d5
mov rcx, rdi
mov edx, reloc.WS2_32.dll_recv
nop
movzx eax, byte [rbp + rcx - 0x31]
xor byte [rbp + rcx - 0x51], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400c16c0
jmp 0x1400c16e7
movdqu xmm1, xmmword [rbp - 0x51]
movdqu xmm0, xmmword [rbp - 0x31]
xorps xmm1, xmm0
movdqu xmmword [rbp - 0x51], xmm1
test r14, r14
jne 0x1400c16f3
mov dword [r13 + 0x144], ebx
mov ebx, recvfrom
test esi, esi
je 0x1400c174c
nop dword [rax]
dec esi
mov rax, rbx
add byte [rbp + rax - 0x41], 1
jne 0x1400c1715
dec rax
cmp rax, 0xc
jge 0x1400c1705
lea r8, [rbp - 0x21]
mov rcx, r13
lea rdx, [rbp - 0x41]
call fcn.1400bddc0
test eax, eax
jne 0x1400c1885
lea r9d, [rax + 0x10]
mov r8, r15
lea rdx, [rbp - 0x21]
mov rcx, r14
call fcn.1400bdb70
add r14, 0x10
add r15, 0x10
test esi, esi
jne 0x1400c1700
mov esi, dword [rbp - 0x5d]
test esi, esi
je 0x1400c1799
add byte [rbp + rbx - 0x41], 1
jne 0x1400c1763
dec rbx
cmp rbx, 0xc
jge 0x1400c1753
lea r8, [rbp - 0x21]
mov rcx, r13
lea rdx, [rbp - 0x41]
call fcn.1400bddc0
test eax, eax
jne 0x1400c1885
mov r8d, esi
lea rcx, [rbp - 0x21]
mov rdx, r15
call fcn.1400b0270
mov r8, rsi
lea rdx, [rbp - 0x21]
mov rcx, r14
call fcn.1400fb190
movsxd r8, dword [rbp + 0x87]
mov ecx, edi
test r8d, r8d
jle 0x1400c1876
lea rax, [rbp - 0x51]
cmp r8d, 8
jb 0x1400c184e
mov rdx, r8
xorps xmm4, xmm4
and rdx, 0xfffffffffffffff8
xorps xmm3, xmm3
sub r12, rax
nop dword [rax]
xorps xmm0, xmm0
lea rax, [rbp - 0x51]
add rax, rdi
add ecx, 8
add rdi, 8
movd xmm2, dword [rax + r12]
movd xmm1, dword [rax]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rax + r12 + 4]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [rax + 4]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rdi, rdx
jl 0x1400c17d0
orps xmm3, xmm4
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd edi, xmm3
cmp ecx, r8d
jge 0x1400c1876
jmp 0x1400c1851
sub r12, rax
movsxd rax, ecx
lea rdx, [rbp - 0x51]
add rdx, rax
sub r8d, ecx
nop
movzx ecx, byte [r12 + rdx]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, eax
or edi, ecx
sub r8, 1
jne 0x1400c1860
neg edi
shr edi, 0x1f
neg edi
and edi, 0xffffff4c
mov eax, edi
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1400cf9b0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret