Function at 0x1401a5260
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
mov eax, 0x68
call fcn.14030f180
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov qword [rsp + 0x40], rax
mov rsi, r9
mov rax, qword [rcx + 0x188]
mov rdi, r8
mov rcx, qword [rcx + 0x38]
mov rbp, rdx
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x1401a5620
cmp rcx, r9
jb 0x1401a5620
mov qword [rsp + 0x98], r12
lea r10, [rbx + 0x40]
mov qword [rsp + 0x60], r13
xor r12d, r12d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
mov r15d, dword [rbx + 0x178]
mov dword [rsp + 0x90], r15d
mov qword [rbx + 0x38], rcx
mov qword [rsp + 0x30], r10
cmp dword [rbx + 0x17c], r12d
je 0x1401a5374
test r9, r9
jne 0x1401a5333
lea rdx, [rbx + 0x60]
mov rcx, r10
call qword [rbx + 0x170]
mov dword [rbx + 0x17c], r12d
mov r14, qword [rsp + 0x58]
xor eax, eax
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x98]
mov r15, qword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
movups xmm0, xmmword [r10]
lea rcx, [rbx + 0x190]
mov dword [rsp + 0x20], r12d
lea rax, [rbx + 0xc]
mov r15d, reloc.WS2_32.dll_recv
movups xmmword [rcx], xmm0
mov qword [r10], r12
mov r13d, r12d
mov qword [rbx + 0x48], r12
mov r14d, dword [rax]
bswap r14d
mov dword [rsp + 0x90], r15d
mov dword [rbx + 0x17c], r12d
jmp 0x1401a540f
mov r14d, dword [rbx + 0xc]
lea rax, [rbx + 0xc]
mov r13d, r15d
mov qword [rsp + 0x28], rax
and r13d, 0xf
lea rcx, [rbx + 0x190]
bswap r14d
mov dword [rsp + 0x20], r13d
je 0x1401a5414
nop dword [rax]
test rsi, rsi
je 0x1401a5614
movzx ecx, byte [r13 + rbx + 0x10]
dec rsi
xor cl, byte [rbp]
inc rbp
mov byte [rdi], cl
inc rdi
mov eax, r15d
inc r15d
inc r13d
mov byte [rax + rbx + 0x190], cl
and r13d, 0xf
jne 0x1401a53a0
lea r8, [rbx + 0x190]
mov r9d, r15d
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call qword [rbx + 0x168]
lea r10, [rbx + 0x40]
mov dword [rsp + 0x90], r12d
mov qword [rsp + 0x30], r10
lea rcx, [rbx + 0x190]
mov r15d, r12d
mov dword [rsp + 0x20], r13d
lea rax, [rbx + 0xc]
mov qword [rsp + 0x28], rax
lea rax, [rbx + 0x60]
cmp rsi, 0x10
jb 0x1401a5440
test r15d, r15d
je 0x1401a5440
mov r8, rcx
mov r9d, r15d
mov rcx, r10
mov rdx, rax
call qword [rbx + 0x168]
mov r15d, r12d
mov dword [rsp + 0x90], r12d
cmp rsi, 0xc00
jb 0x1401a5517
mov r15, qword [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rcx, rdx
shr rcx, 0xb
imul rax, rcx, 0xfffffffffffff400
mov qword [rsp + 0x48], rcx
add rsi, rax
mov qword [rsp + 0xa8], rsi
mov rsi, qword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
mov r12d, 0xc0
nop word [rax + rax]
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call rsi
inc r14d
mov eax, r14d
bswap eax
mov dword [r15], eax
mov rax, qword [rbx + 0x10]
xor rax, qword [rbp]
mov qword [rdi], rax
mov rax, qword [rbp + 8]
add rbp, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r12, 1
jne 0x1401a54a0
mov rcx, qword [rsp + 0x30]
lea r8, [rdi - 0xc00]
mov r9d, 0xc00
lea rdx, [rbx + 0x60]
call qword [rbx + 0x168]
sub qword [rsp + 0x48], 1
jne 0x1401a5490
mov rsi, qword [rsp + 0xa8]
mov r15d, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x20]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x48], rax
je 0x1401a55c0
cmp rsi, 0x10
jb 0x1401a55a8
mov r15, qword [rsp + 0x28]
mov r12, rsi
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add rsi, rax
mov qword [rsp + 0xa8], rsi
mov rsi, qword [rsp + 0x40]
nop
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call rsi
inc r14d
mov eax, r14d
bswap eax
mov dword [r15], eax
mov rax, qword [rbx + 0x10]
xor rax, qword [rbp]
mov qword [rdi], rax
mov rax, qword [rbp + 8]
add rbp, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rdi + 8], rax
add rdi, 0x10
sub r12, 1
jne 0x1401a5550
mov rsi, qword [rsp + 0xa8]
mov r15d, dword [rsp + 0x90]
mov r13d, dword [rsp + 0x20]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
lea rdx, [rbx + 0x60]
mov r8, rdi
mov r9, rax
sub r8, rax
call qword [rbx + 0x168]
test rsi, rsi
je 0x1401a5614
mov r8, qword [rsp + 0x38]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
inc r14d
bswap r14d
mov dword [rax], r14d
nop dword [rax]
nop word [rax + rax]
mov eax, r13d
inc r13d
movzx ecx, byte [rax + rbx + 0x10]
xor cl, byte [rax + rbp]
mov byte [rax + rdi], cl
mov eax, r15d
inc r15d
mov byte [rax + rbx + 0x190], cl
sub rsi, 1
jne 0x1401a55f0
mov dword [rbx + 0x178], r15d
jmp 0x1401a5311
mov eax, 0xffffffff
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret