Function at 0x1400b8e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r13
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x70], rsi
lea r13, [0x140112cc0]
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x40], r12
mov r12, rdx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov r15, r8
movzx r8d, byte [rdx + 0xf]
mov eax, r8d
and r8, 0xfffffffffffffff0
and eax, 0xf
add r8, r15
add rax, rax
mov r10, qword [r15 + rax*8]
mov r9, qword [r15 + rax*8 + 8]
mov rdx, r10
mov rax, r9
shl rdx, 0x3c
shr rax, 4
or rdx, rax
shr r10, 4
movzx eax, r9b
mov r9d, reloc.WS2_32.dll_recv
and eax, 0xf
mov qword [rbp - 0x20], rdx
lea rdx, [rbp - 0x28]
movzx ecx, word [r13 + rax*2]
shl rcx, 0x30
xor rcx, r10
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x28]
call fcn.140081ae0
mov r14d, reloc.WS2_32.dll_ntohl
mov qword [rsp + 0x68], rbx
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
mov rax, r8
movzx r9d, byte [r14 + r12]
movzx edx, cl
shr rcx, 4
and dl, 0xf
shl rax, 0x3c
movzx esi, r9b
or rax, rcx
shr r8, 4
mov qword [rbp - 0x20], rax
and r9d, 0xf
movzx eax, dl
add r9, r9
shr sil, 4
xor edx, edx
movzx ecx, word [r13 + rax*2]
lea rax, [rbp - 0x28]
shl rcx, 0x30
xor rcx, r8
lea r8, [r15 + r9*8]
mov r10, r8
mov qword [rbp - 0x28], rcx
sub r10, rax
nop dword [rax]
mov rax, qword [r8 + rdx]
xor qword [rbp + rdx - 0x28], rax
add rdx, 8
lea rax, [rdx + 8]
cmp rax, 0x10
jbe 0x1400b8f60
mov r9d, reloc.WS2_32.dll_recv
sub r9, rdx
cmp rdx, 0x10
jae 0x1400b90a7
cmp r9, 8
jb 0x1400b9090
lea rcx, [rbp - 0x28]
add rcx, rdx
lea rax, [r8 + 0xf]
lea r11, [rdx + r8]
cmp rcx, rax
ja 0x1400b8fb5
lea rax, [rbp - 0x19]
cmp rax, r11
jae 0x1400b9090
cmp r9, 0x40
jb 0x1400b9047
mov rbx, r9
mov edi, reloc.WS2_32.dll_recv
and ebx, 0x3f
sub rdi, rbx
lea rax, [r11 + 0x20]
lea rcx, [rbp - 0x28]
sub rcx, r8
lea r11, [rbp - 0x18]
sub r11, r8
nop
movdqu xmm0, xmmword [rcx + rax - 0x20]
add rdx, 0x40
movdqu xmm1, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rcx + rax - 0x60], xmm1
movdqu xmm0, xmmword [r11 + rax - 0x60]
movdqu xmm1, xmmword [rax - 0x50]
xorps xmm1, xmm0
movdqu xmmword [r11 + rax - 0x60], xmm1
movdqu xmm0, xmmword [rcx + rax - 0x40]
movdqu xmm1, xmmword [rax - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rcx + rax - 0x40], xmm1
movdqu xmm0, xmmword [r11 + rax - 0x40]
movdqu xmm1, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [r11 + rax - 0x40], xmm1
cmp rdx, rdi
jb 0x1400b8fe0
cmp rbx, 8
jb 0x1400b907e
and r9d, 7
mov eax, reloc.WS2_32.dll_recv
sub rax, r9
nop dword [rax]
nop word [rax + rax]
movq xmm0, qword [rbp + rdx - 0x28]
movq xmm1, qword [r8 + rdx]
xorps xmm1, xmm0
movq qword [rbp + rdx - 0x28], xmm1
add rdx, 8
cmp rdx, rax
jb 0x1400b9060
cmp rdx, 0x10
jae 0x1400b90a7
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rbp - 0x28]
add rcx, rdx
inc rdx
movzx eax, byte [rcx + r10]
xor byte [rcx], al
cmp rdx, 0x10
jb 0x1400b9090
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x20]
mov rax, r8
movzx edx, cl
shr r8, 4
shr rcx, 4
and dl, 0xf
shl rax, 0x3c
or rax, rcx
mov qword [rbp - 0x20], rax
movzx eax, dl
movzx ecx, word [r13 + rax*2]
xor eax, eax
shl rcx, 0x30
xor rcx, r8
movzx r8d, sil
shl r8, 4
add r8, r15
mov qword [rbp - 0x28], rcx
mov r10, r8
lea rcx, [rbp - 0x28]
sub r10, rcx
nop word [rax + rax]
mov rcx, qword [r8 + rax]
xor qword [rbp + rax - 0x28], rcx
add rax, 8
lea rcx, [rax + 8]
cmp rcx, 0x10
jbe 0x1400b9100
mov r9d, reloc.WS2_32.dll_recv
sub r9, rax
cmp rax, 0x10
jae 0x1400b9247
cmp r9, 8
jb 0x1400b9230
lea rdx, [rbp - 0x28]
add rdx, rax
lea rcx, [r8 + 0xf]
lea r11, [rax + r8]
cmp rdx, rcx
ja 0x1400b9155
lea rcx, [rbp - 0x19]
cmp rcx, r11
jae 0x1400b9230
cmp r9, 0x40
jb 0x1400b91e7
mov rbx, r9
mov edi, reloc.WS2_32.dll_recv
and ebx, 0x3f
sub rdi, rbx
lea rcx, [r11 + 0x20]
lea rdx, [rbp - 0x28]
sub rdx, r8
lea r11, [rbp - 0x18]
sub r11, r8
nop
movdqu xmm0, xmmword [rdx + rcx - 0x20]
add rax, 0x40
movdqu xmm1, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
movdqu xmmword [rdx + rcx - 0x60], xmm1
movdqu xmm0, xmmword [r11 + rcx - 0x60]
movdqu xmm1, xmmword [rcx - 0x50]
xorps xmm1, xmm0
movdqu xmmword [r11 + rcx - 0x60], xmm1
movdqu xmm0, xmmword [rdx + rcx - 0x40]
movdqu xmm1, xmmword [rcx - 0x40]
xorps xmm1, xmm0
movdqu xmmword [rdx + rcx - 0x40], xmm1
movdqu xmm0, xmmword [r11 + rcx - 0x40]
movdqu xmm1, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [r11 + rcx - 0x40], xmm1
cmp rax, rdi
jb 0x1400b9180
cmp rbx, 8
jb 0x1400b921e
and r9d, 7
mov ecx, reloc.WS2_32.dll_recv
sub rcx, r9
nop dword [rax]
nop word [rax + rax]
movq xmm0, qword [rbp + rax - 0x28]
movq xmm1, qword [r8 + rax]
xorps xmm1, xmm0
movq qword [rbp + rax - 0x28], xmm1
add rax, 8
cmp rax, rcx
jb 0x1400b9200
cmp rax, 0x10
jae 0x1400b9247
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp - 0x28]
add rdx, rax
inc rax
movzx ecx, byte [rdx + r10]
xor byte [rdx], cl
cmp rax, 0x10
jb 0x1400b9230
sub r14, 1
jns 0x1400b8f00
mov r13, qword [rbp + 0x18]
mov rax, qword [rbp - 0x28]
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
bswap rax
mov qword [r13], rax
mov rax, qword [rbp - 0x20]
bswap rax
mov qword [r13 + 8], rax
add rsp, 0x48
pop r13
pop rbp
ret