Function at 0x1401a3d90
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r13
push r15
mov eax, 0x58
call fcn.14026deb0
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov rsi, r9
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov r15, r8
mov r13, rdx
cmp rcx, rax
ja 0x1401a40d1
cmp rcx, r9
jb 0x1401a40d1
mov qword [rsp + 0x88], rbp
mov ebp, dword [rbx + 0x170]
mov qword [rsp + 0x50], rdi
xor edi, edi
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x80], ebp
cmp dword [rbx + 0x174], edi
je 0x1401a3e4b
test r9, r9
jne 0x1401a3e26
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1401a4800
xor eax, eax
mov dword [rbx + 0x174], edi
jmp 0x1401a40b9
movups xmm0, xmmword [rbx + 0x40]
mov ebp, reloc.WS2_32.dll_recv
mov dword [rsp + 0x80], ebp
movups xmmword [rbx + 0x188], xmm0
mov qword [rbx + 0x40], rdi
mov qword [rbx + 0x48], rdi
mov dword [rbx + 0x174], edi
movzx eax, byte [rbx + 0xd]
mov qword [rsp + 0x48], r12
movzx r12d, byte [rbx + 0xc]
shl r12d, 8
or r12d, eax
mov qword [rsp + 0x40], r14
movzx eax, byte [rbx + 0xe]
mov r14d, ebp
shl r12d, 8
or r12d, eax
movzx eax, byte [rbx + 0xf]
shl r12d, 8
or r12d, eax
and r14d, 0xf
mov dword [rsp + 0x30], r14d
je 0x1401a3eef
nop dword [rax]
test rsi, rsi
je 0x1401a3ec6
movzx ecx, byte [r14 + rbx + 0x10]
dec rsi
xor cl, byte [r13]
inc r13
mov byte [r15], cl
inc r15
mov eax, ebp
inc ebp
inc r14d
and r14d, 0xf
mov dword [rsp + 0x30], r14d
mov byte [rax + rbx + 0x188], cl
jne 0x1401a3e90
jmp 0x1401a3ecf
test r14d, r14d
jne 0x1401a40a7
mov r9d, ebp
lea r8, [rbx + 0x188]
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1401a4630
mov ebp, edi
mov dword [rsp + 0x80], edi
cmp rsi, 0x10
jb 0x1401a3f19
test ebp, ebp
je 0x1401a3f19
mov r9d, ebp
lea r8, [rbx + 0x188]
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1401a4630
mov ebp, edi
mov dword [rsp + 0x80], edi
mov r10, qword [rsp + 0xa0]
cmp rsi, 0xc00
jb 0x1401a3fcc
mov rbp, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add rsi, rax
mov r9, rbp
mov qword [rsp + 0x20], rbx
mov r8d, 0xc0
mov rdx, r15
mov rcx, r13
call r10
add r12d, 0xc0
lea rdx, [rbx + 0x60]
mov eax, r12d
mov byte [rbx + 0xf], r12b
shr eax, 0x18
lea rcx, [rbx + 0x40]
mov byte [rbx + 0xc], al
mov r9d, 0xc00
mov eax, r12d
mov r8, r15
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rbx + 0xe], al
call fcn.1401a4630
mov r10, qword [rsp + 0xa0]
add r15, 0xc00
add r13, 0xc00
sub rdi, 1
jne 0x1401a3f51
mov ebp, dword [rsp + 0x80]
mov r14d, dword [rsp + 0x30]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x98], rax
je 0x1401a4040
mov r9, qword [rsp + 0x38]
mov rdi, rax
shr rdi, 4
mov rdx, r15
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rcx, r13
call r10
add r12d, edi
lea rdx, [rbx + 0x60]
mov rdi, qword [rsp + 0x98]
lea rcx, [rbx + 0x40]
mov eax, r12d
mov byte [rbx + 0xf], r12b
shr eax, 0x18
mov r9, rdi
mov byte [rbx + 0xc], al
mov r8, r15
mov eax, r12d
add r13, rdi
shr eax, 0x10
sub rsi, rdi
mov byte [rbx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rbx + 0xe], al
call fcn.1401a4630
add r15, rdi
test rsi, rsi
je 0x1401a40a7
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r12d
mov eax, r12d
mov byte [rbx + 0xf], r12b
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, r12d
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, r12d
shr eax, 8
mov byte [rbx + 0xe], al
nop dword [rax]
mov ecx, r14d
inc r14d
movzx eax, byte [rcx + r13]
movzx edx, byte [rcx + rbx + 0x10]
xor edx, eax
mov eax, ebp
inc ebp
mov byte [rcx + r15], dl
mov byte [rax + rbx + 0x188], dl
sub rsi, 1
jne 0x1401a4080
mov r12, qword [rsp + 0x48]
xor eax, eax
mov r14, qword [rsp + 0x40]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x50]
add rsp, 0x58
pop r15
pop r13
pop rsi
pop rbx
ret
or eax, 0xffffffff
add rsp, 0x58
pop r15
pop r13
pop rsi
pop rbx
ret