Function at 0x14019a640
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r15
mov eax, 0xb0
call fcn.14012b0b0
sub rsp, rax
mov r15d, ecx
lea r8, [rsp + 0x88]
xor ecx, ecx
lea rdx, [rsp + 0x80]
xor ebx, ebx
xor edi, edi
call fcn.1401804a0
test eax, eax
je 0x14019a953
nop word [rax + rax]
mov ecx, dword [rsp + 0x80]
lea eax, [rbx + 1]
shl ecx, 0xa
lea r8, [rsp + 0x88]
inc edi
lea rdx, [rsp + 0x80]
and ecx, r15d
mov ecx, edi
cmove eax, ebx
mov ebx, eax
call fcn.1401804a0
test eax, eax
jne 0x14019a690
test ebx, ebx
je 0x14019a953
mov eax, dword [rsp + 0x130]
mov rdi, qword [rsp + 0x138]
cdq
idiv ebx
mov qword [rsp + 0xd0], rbp
mov rcx, rdi
mov rbp, qword [rsp + 0x128]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x98], r13
movsxd r13, eax
xor eax, eax
cmp ebx, 1
mov qword [rsp + 0x90], r14
movsxd rbx, dword [rsp + 0x148]
cmovne eax, dword [rsp + 0x130]
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x84], eax
call fcn.14027b2c0
lea r8, [rsp + 0x88]
xor ecx, ecx
lea rdx, [rsp + 0x80]
xor r14d, r14d
call fcn.1401804a0
test eax, eax
je 0x14019a8f4
mov rsi, qword [rsp + 0x140]
mov eax, dword [rsp + 0x80]
shl eax, 0xa
test r15d, eax
je 0x14019a8d1
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14019a92d
mov eax, dword [rsp + 0x120]
mov rdx, rbp
mov r8d, dword [rsp + 0x84]
mov r9, qword [rsp + 0xd8]
and r8d, 1
mov dword [rsp + 0x70], ebx
add r8d, r13d
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x20], eax
call fcn.14019a990
test eax, eax
je 0x14019a94f
add rbp, r13
xor r9d, r9d
test ebx, ebx
jle 0x14019a8a4
cmp ebx, 0x20
jb 0x14019a8a4
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rsi]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x14019a850
cmp rdx, rsi
jae 0x14019a8a4
mov ecx, ebx
and ecx, 0x8000001f
jge 0x14019a861
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, ebx
sub eax, ecx
mov rcx, rsi
movsxd rdx, eax
sub rcx, rdi
mov rax, rdi
movdqu xmm0, xmmword [rax]
add r9, 0x20
movdqu xmm1, xmmword [rcx + rax]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm0, xmmword [rax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x10], xmm1
cmp r9, rdx
jl 0x14019a871
cmp r9, rbx
jge 0x14019a8d1
mov r8, rsi
lea rax, [r9 + rdi]
sub r8, rdi
mov rdx, rbx
sub rdx, r9
nop dword [rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14019a8c0
inc r14d
lea r8, [rsp + 0x88]
mov ecx, r14d
lea rdx, [rsp + 0x80]
call fcn.1401804a0
test eax, eax
jne 0x14019a762
mov eax, 1
mov r13, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xd0]
mov r14, qword [rsp + 0x90]
add rsp, 0xb0
pop r15
pop rdi
pop rbx
ret
mov edx, 0x11c
mov dword [rsp + 0x20], 0x114
lea r9, [0x1403b5588]
mov ecx, reloc.WS2_32.dll_sendto
lea r8d, [rdx + 0x2a]
call fcn.1401bb520
xor eax, eax
jmp 0x14019a8f9
mov ecx, reloc.WS2_32.dll_sendto
mov dword [rsp + 0x20], 0x109
lea r9, [0x1403b5578]
mov edx, 0x11c
lea r8d, [rcx + 0x30]
call fcn.1401bb520
xor eax, eax
add rsp, 0xb0
pop r15
pop rdi
pop rbx
ret