Function at 0x140214690
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r13
push r15
mov eax, 0x68
call fcn.140169e60
sub rsp, rax
mov rax, qword [rcx + 0x188]
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov rsi, r9
mov qword [rsp + 0x48], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov r15, r8
mov r13, rdx
cmp rcx, rax
ja 0x1402149cf
cmp rcx, r9
jb 0x1402149cf
mov qword [rsp + 0x98], rbp
lea rax, [rbx + 0x40]
mov ebp, dword [rbx + 0x178]
mov qword [rsp + 0x60], rdi
xor edi, edi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
mov qword [rbx + 0x38], rcx
mov dword [rsp + 0x90], ebp
mov qword [rsp + 0x40], rax
cmp dword [rbx + 0x17c], edi
je 0x140214792
test r9, r9
jne 0x140214756
lea rdx, [rbx + 0x60]
mov rcx, rax
call qword [rbx + 0x170]
mov dword [rbx + 0x17c], edi
mov r12, qword [rsp + 0x58]
xor eax, eax
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x98]
mov r14, qword [rsp + 0x50]
add rsp, 0x68
pop r15
pop r13
pop rsi
pop rbx
ret
movups xmm0, xmmword [rax]
lea rdx, [rbx + 0x190]
mov dword [rsp + 0x30], edi
lea rcx, [rbx + 0xc]
mov ebp, reloc.WS2_32.dll_recv
movups xmmword [rdx], xmm0
mov qword [rax], rdi
mov r14d, edi
mov qword [rbx + 0x48], rdi
mov r12d, dword [rcx]
bswap r12d
mov dword [rsp + 0x90], ebp
mov dword [rbx + 0x17c], edi
jmp 0x140214824
mov r12d, dword [rbx + 0xc]
lea rcx, [rbx + 0xc]
mov r14d, ebp
mov qword [rsp + 0x38], rcx
and r14d, 0xf
lea rdx, [rbx + 0x190]
bswap r12d
mov dword [rsp + 0x30], r14d
je 0x140214829
test rsi, rsi
je 0x1402149c4
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
mov byte [rax + rbx + 0x190], cl
and r14d, 0xf
jne 0x1402147b7
lea r8, [rbx + 0x190]
mov r9d, ebp
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call qword [rbx + 0x168]
lea rax, [rbx + 0x40]
mov dword [rsp + 0x90], edi
mov qword [rsp + 0x40], rax
lea rdx, [rbx + 0x190]
mov ebp, edi
mov dword [rsp + 0x30], r14d
lea rcx, [rbx + 0xc]
mov qword [rsp + 0x38], rcx
lea rcx, [rbx + 0x60]
cmp rsi, 0x10
jb 0x140214852
test ebp, ebp
je 0x140214852
mov r8, rdx
mov r9d, ebp
mov rdx, rcx
mov rcx, rax
call qword [rbx + 0x168]
mov ebp, edi
mov dword [rsp + 0x90], edi
mov r10, qword [rsp + 0xb0]
cmp rsi, 0xc00
jb 0x14021490d
mov rdi, qword [rsp + 0x40]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov r14, rdx
shr r14, 0xb
imul rax, r14, 0xfffffffffffff400
add rsi, rax
mov qword [rsp + 0xa8], rsi
mov rsi, qword [rsp + 0x38]
nop word [rax + rax]
mov r9, qword [rsp + 0x48]
mov r8d, 0xc0
mov rdx, r15
mov qword [rsp + 0x20], rbx
mov rcx, r13
call r10
add r12d, 0xc0
lea rdx, [rbx + 0x60]
mov eax, r12d
mov r9d, 0xc00
bswap eax
mov r8, r15
mov dword [rsi], eax
mov rcx, rdi
call qword [rbx + 0x168]
mov r10, qword [rsp + 0xb0]
add r15, 0xc00
add r13, 0xc00
sub r14, 1
jne 0x1402148a0
mov rsi, qword [rsp + 0xa8]
mov ebp, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x30]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0xa8], rax
je 0x140214970
mov r9, qword [rsp + 0x48]
mov rdi, rax
shr rdi, 4
mov rdx, r15
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rcx, r13
call r10
mov rcx, qword [rsp + 0x38]
lea rdx, [rbx + 0x60]
add r12d, edi
mov r8, r15
mov rdi, qword [rsp + 0xa8]
mov eax, r12d
bswap eax
mov dword [rcx], eax
mov r9, rdi
mov rcx, qword [rsp + 0x40]
add r13, rdi
sub rsi, rdi
call qword [rbx + 0x168]
add r15, rdi
test rsi, rsi
je 0x1402149c4
mov r8, qword [rsp + 0x48]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x180]
mov rax, qword [rsp + 0x38]
inc r12d
bswap r12d
mov dword [rax], r12d
nop word [rax + rax]
mov eax, r14d
inc r14d
movzx ecx, byte [rax + rbx + 0x10]
xor cl, byte [rax + r13]
mov byte [rax + r15], cl
mov eax, ebp
inc ebp
mov byte [rax + rbx + 0x190], cl
sub rsi, 1
jne 0x1402149a0
mov dword [rbx + 0x178], ebp
jmp 0x140214732
mov eax, 0xffffffff
add rsp, 0x68
pop r15
pop r13
pop rsi
pop rbx
ret