Function at 0x140085ac0
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 [0x1400bf040]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov r13, qword [rbp + 0x7f]
mov eax, r9d
mov r9, qword [rbp + 0x6f]
mov r14, rcx
mov rcx, qword [rbp + 0x8f]
mov esi, eax
mov dword [rbp - 0x61], eax
xor edi, edi
and eax, 0xf
shr esi, 4
mov qword [rbp - 0x59], rcx
lea rbx, [r14 + 0x144]
mov ecx, dword [rbp + 0x77]
mov r12, r8
mov dword [rbp - 0x5d], eax
mov r15, rdx
cmp ecx, 0xc
jne 0x140085b3f
movsd xmm0, qword [r9]
mov eax, dword [r9 + 8]
movsd qword [rbp - 0x51], xmm0
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x45], 0x1000000
jmp 0x140085b7c
mov ebx, dword [rbx]
lea rdx, [rbp - 0x51]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
xor r8d, r8d
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], ecx
lea rcx, [r14 + 0x124]
mov dword [r14 + 0x144], edi
call fcn.140085430
mov dword [r14 + 0x144], ebx
lea rbx, [r14 + 0x144]
mov r8d, dword [rbp + 0x97]
lea rax, [rbp - 0x41]
mov rdx, qword [rbp - 0x59]
lea rcx, [r14 + 0x124]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov r9, r12
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x61]
mov dword [rsp + 0x20], eax
call fcn.140085430
test r14, r14
jne 0x140085bbd
mov eax, 0xffffff53
jmp 0x140085dbc
mov r9d, dword [r14 + 0xf0]
shr r9d, 1
lea eax, [r9 - 1]
cmp eax, 6
ja 0x140085db7
lea r8, [rbp - 0x21]
mov rcx, r14
lea rdx, [rbp - 0x51]
call fcn.1400822f0
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.140073a30
test r15, r15
jne 0x140085c04
mov eax, dword [rbp + 0x97]
mov dword [rbx], eax
mov ebx, recvfrom
test esi, esi
je 0x140085c6d
nop dword [rax]
dec esi
mov rax, rbx
add byte [rbp + rax - 0x51], 1
jne 0x140085c25
dec rax
cmp rax, 0xc
jge 0x140085c15
mov r9d, dword [r14 + 0xf0]
shr r9d, 1
lea eax, [r9 - 1]
cmp eax, 6
ja 0x140085db7
lea r8, [rbp - 0x31]
mov rcx, r14
lea rdx, [rbp - 0x51]
call fcn.1400822f0
mov r9d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x31]
mov r8, r12
mov rcx, r15
call fcn.140082070
add r15, 0x10
add r12, 0x10
test esi, esi
jne 0x140085c10
mov esi, dword [rbp - 0x5d]
test esi, esi
je 0x140085cc9
add byte [rbp + rbx - 0x51], 1
jne 0x140085c84
dec rbx
cmp rbx, 0xc
jge 0x140085c74
mov r9d, dword [r14 + 0xf0]
shr r9d, 1
lea eax, [r9 - 1]
cmp eax, 6
ja 0x140085db7
lea r8, [rbp - 0x31]
mov rcx, r14
lea rdx, [rbp - 0x51]
call fcn.1400822f0
mov r8d, esi
lea rcx, [rbp - 0x31]
mov rdx, r12
call fcn.140073a30
mov r8, rsi
lea rdx, [rbp - 0x31]
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
movsxd r8, dword [rbp + 0x87]
mov ecx, edi
test r8d, r8d
jle 0x140085da6
lea rax, [rbp - 0x41]
cmp r8d, 8
jb 0x140085d7e
mov rdx, r8
xorps xmm4, xmm4
and rdx, 0xfffffffffffffff8
xorps xmm3, xmm3
sub r13, rax
nop dword [rax]
xorps xmm0, xmm0
lea rax, [rbp - 0x41]
add rax, rdi
add ecx, 8
add rdi, 8
movd xmm2, dword [rax]
movd xmm1, dword [rax + r13]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rax + r13 + 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 0x140085d00
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 0x140085da6
jmp 0x140085d81
sub r13, rax
movsxd rax, ecx
lea rdx, [rbp - 0x41]
add rdx, rax
sub r8d, ecx
nop
movzx ecx, byte [rdx + r13]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, eax
or edi, ecx
sub r8, 1
jne 0x140085d90
neg edi
shr edi, 0x1f
neg edi
and edi, 0xffffff4c
mov eax, edi
jmp 0x140085dbc
mov eax, 0xffffff1e
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.14009f800
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret