Function at 0x1801b3e10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x68
call fcn.180227e80
sub rsp, rax
mov rax, qword [0x18032d860]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx r15d, byte [rcx]
lea rbx, [rcx + 0x20]
mov r10, qword [rsp + 0xd0]
mov rsi, r9
mov rax, qword [rcx + 0x28]
mov r14, r8
mov r13, qword [rcx + 0x30]
mov rbp, rdx
mov qword [rsp + 0x40], r10
mov rdi, rcx
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x38], rax
test r15b, 0x40
jne 0x1801b3e83
lea rdx, [rcx + 0x10]
mov r8, r13
call rax
inc qword [rbx]
mov r10, qword [rsp + 0x40]
mov r8d, r15d
mov r12d, reloc.WS2_32.dll_ntohs
and r8d, 7
xor r15d, r15d
sub r12d, r8d
mov byte [rdi], r8b
mov ecx, r15d
cmp r12d, 0xf
jae 0x1801b3ecb
mov edx, r12d
add rdx, rdi
nop dword [rax + rax]
movzx eax, byte [rdx]
mov byte [rdx], r15b
lea rdx, [rdx + 1]
or rcx, rax
shl rcx, 8
sub r8, 1
jne 0x1801b3eb0
lea rbx, [rdi + 0x20]
movzx eax, byte [rdi + 0xf]
or rcx, rax
mov byte [rdi + 0xf], 1
cmp rcx, rsi
je 0x1801b3ee5
mov eax, 0xffffffff
jmp 0x1801b4110
lea rax, [rsi + 0xf]
or rax, 8
shr rax, 3
add qword [rbx], rax
movabs rax, 0x2000000000000000
cmp qword [rbx], rax
jbe 0x1801b3f0d
mov eax, 0xfffffffe
jmp 0x1801b4110
mov rbx, rsi
shr rbx, 4
test rbx, rbx
je 0x1801b3f92
lea rax, [rdi + 0x10]
mov r9, r13
mov qword [rsp + 0x28], rax
mov r8, rbx
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rcx, rbp
call r10
shl rbx, 4
add rbp, rbx
add r14, rbx
sub rsi, rbx
je 0x1801b3f92
shr rbx, 4
lea r8, [rdi + 0x10]
mov r9, 0xfffffffffffffff8
mov rdx, r15
sub r9, rdi
nop word [rax + rax]
movzx eax, byte [r8 - 1]
lea r8, [r8 - 1]
add rdx, rax
movzx ecx, bl
add rdx, rcx
shr rbx, 8
mov byte [r8], dl
lea rax, [r9 + r8]
shr rdx, 8
test rax, rax
je 0x1801b3f9b
test rbx, rbx
jne 0x1801b3f60
test rdx, rdx
jne 0x1801b3f60
jmp 0x1801b3f9b
test rsi, rsi
je 0x1801b40c7
mov edx, r15d
test rsi, rsi
je 0x1801b3fc1
mov rcx, r15
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc edx
xor byte [rcx + rdi + 0x10], al
mov ecx, edx
cmp rcx, rsi
jb 0x1801b3fb0
mov rbx, qword [rsp + 0x38]
lea rcx, [rdi + 0x10]
mov rdx, rcx
mov r8, r13
call rbx
mov r8, r13
lea rdx, [rsp + 0x48]
mov rcx, rdi
call rbx
mov edx, r15d
cmp rsi, 0x40
jb 0x1801b40a0
lea eax, [rsi - 1]
mov ecx, eax
lea r8, [rax + r14]
lea rax, [rsp + 0x48]
add rax, rcx
cmp r14, rax
ja 0x1801b4010
lea rax, [rsp + 0x48]
cmp r8, rax
jae 0x1801b40a0
lea rax, [rcx + rbp]
cmp r14, rax
ja 0x1801b4022
cmp r8, rbp
jae 0x1801b40a0
mov r8, rsi
and r8, 0xffffffffffffffc0
mov r9d, 0x20
nop
movdqu xmm0, xmmword [rsp + r15 + 0x48]
lea eax, [r9 - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [r15 + rbp]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rsp + rax + 0x48]
movdqu xmmword [r15 + r14], xmm1
mov r15d, edx
movdqu xmm1, xmmword [rax + rbp]
pxor xmm1, xmm0
movdqu xmmword [rax + r14], xmm1
mov eax, r9d
movdqu xmm0, xmmword [rsp + rax + 0x48]
movdqu xmm1, xmmword [rax + rbp]
pxor xmm1, xmm0
movdqu xmmword [rax + r14], xmm1
lea eax, [r9 + 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rax + rbp]
movdqu xmm0, xmmword [rsp + rax + 0x48]
pxor xmm1, xmm0
movdqu xmmword [rax + r14], xmm1
cmp r15, r8
jb 0x1801b4030
mov ecx, edx
cmp rcx, rsi
jae 0x1801b40cc
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc edx
xor al, byte [rsp + rcx + 0x48]
mov byte [rcx + r14], al
mov ecx, edx
cmp rcx, rsi
jb 0x1801b40b0
jmp 0x1801b40cc
mov rbx, qword [rsp + 0x38]
cmp r12d, 0x10
jae 0x1801b40e8
mov r8d, reloc.WS2_32.dll_recv
mov ecx, r12d
sub r8d, r12d
add rcx, rdi
xor edx, edx
call fcn.180229410
mov r8, r13
lea rdx, [rsp + 0x48]
mov rcx, rdi
call rbx
mov rax, qword [rsp + 0x48]
xor qword [rdi + 0x10], rax
mov rax, qword [rsp + 0x50]
xor qword [rdi + 0x18], rax
movzx eax, byte [rsp + 0x30]
mov byte [rdi], al
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180227e50
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret