Function at 0x140167890
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r12
push r15
mov eax, 0x68
call fcn.1402b4f90
sub rsp, rax
mov rax, qword [rcx + 0x188]
mov rbx, rcx
mov rcx, qword [rcx + 0x38]
mov rsi, r9
mov qword [rsp + 0x40], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov r15, r8
mov r12, rdx
cmp rcx, rax
ja 0x140167bb0
cmp rcx, r9
jb 0x140167bb0
mov qword [rsp + 0x98], rbp
lea rax, [rbx + 0x40]
mov qword [rsp + 0x60], rdi
xor edi, edi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r14
mov r14d, dword [rbx + 0x178]
mov dword [rsp + 0x90], r14d
mov qword [rbx + 0x38], rcx
mov qword [rsp + 0x38], rax
cmp dword [rbx + 0x17c], edi
je 0x14016799a
test r9, r9
jne 0x140167958
lea rdx, [rbx + 0x60]
mov rcx, rax
call qword [rbx + 0x170]
mov dword [rbx + 0x17c], edi
mov r13, 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 r12
pop rsi
pop rbx
ret
movups xmm0, xmmword [rax]
lea rcx, [rbx + 0x190]
mov dword [rsp + 0x30], edi
mov r14d, reloc.WS2_32.dll_recv
mov qword [rsp + 0xa8], rcx
movups xmmword [rcx], xmm0
mov qword [rax], rdi
mov ebp, edi
mov qword [rbx + 0x48], rdi
mov r13d, dword [rbx + 0xc]
bswap r13d
mov dword [rsp + 0x90], r14d
mov dword [rbx + 0x17c], edi
jmp 0x140167a1e
mov r13d, dword [rbx + 0xc]
lea r8, [rbx + 0x190]
mov ebp, r14d
mov qword [rsp + 0xa8], r8
and ebp, 0xf
mov dword [rsp + 0x30], ebp
bswap r13d
je 0x140167a1e
nop dword [rax]
test rsi, rsi
je 0x1401679fb
movzx ecx, byte [rbp + rbx + 0x10]
dec rsi
xor cl, byte [r12]
inc r12
mov byte [r15], cl
inc r15
mov eax, r14d
inc r14d
inc ebp
and ebp, 0xf
mov dword [rsp + 0x30], ebp
mov byte [rax + rbx + 0x190], cl
jne 0x1401679c0
lea r8, [rbx + 0x190]
jmp 0x140167a03
test ebp, ebp
jne 0x140167ba4
lea rdx, [rbx + 0x60]
mov r9d, r14d
lea rcx, [rbx + 0x40]
call qword [rbx + 0x168]
mov r14d, edi
mov dword [rsp + 0x90], edi
lea rax, [rbx + 0x60]
cmp rsi, 0x10
jb 0x140167a50
test r14d, r14d
je 0x140167a50
mov r8, qword [rsp + 0xa8]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
mov r9d, r14d
call qword [rbx + 0x168]
mov r14d, edi
mov dword [rsp + 0x90], edi
mov r10, qword [rsp + 0xb0]
cmp rsi, 0xc00
jb 0x140167af4
mov rbp, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mov r14, qword [rsp + 0x40]
mul rsi
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add rsi, rax
nop dword [rax]
mov r9, r14
mov qword [rsp + 0x20], rbx
mov r8d, 0xc0
mov rdx, r15
mov rcx, r12
call r10
add r13d, 0xc0
lea rdx, [rbx + 0x60]
mov eax, r13d
mov r9d, 0xc00
bswap eax
mov r8, r15
mov dword [rbx + 0xc], eax
mov rcx, rbp
call qword [rbx + 0x168]
mov r10, qword [rsp + 0xb0]
add r15, 0xc00
add r12, 0xc00
sub rdi, 1
jne 0x140167a90
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x90]
mov rax, rsi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0xa8], rax
je 0x140167b53
mov r9, qword [rsp + 0x40]
mov rdi, rax
shr rdi, 4
mov rdx, r15
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rcx, r12
call r10
mov rcx, qword [rsp + 0x38]
lea rdx, [rbx + 0x60]
add r13d, edi
mov r8, r15
mov rdi, qword [rsp + 0xa8]
mov eax, r13d
bswap eax
mov r9, rdi
mov dword [rbx + 0xc], eax
add r12, rdi
sub rsi, rdi
call qword [rbx + 0x168]
add r15, rdi
test rsi, rsi
je 0x140167ba4
mov r8, qword [rsp + 0x40]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x180]
inc r13d
bswap r13d
mov dword [rbx + 0xc], r13d
nop dword [rax]
nop dword [rax + rax]
mov eax, ebp
inc ebp
movzx ecx, byte [rax + rbx + 0x10]
xor cl, byte [rax + r12]
mov byte [rax + r15], cl
mov eax, r14d
inc r14d
mov byte [rax + rbx + 0x190], cl
sub rsi, 1
jne 0x140167b80
mov dword [rbx + 0x178], r14d
jmp 0x140167934
mov eax, 0xffffffff
add rsp, 0x68
pop r15
pop r12
pop rsi
pop rbx
ret