Function at 0x140119450
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 r13
push r14
push r15
mov eax, 0x90
call fcn.1401ef830
sub rsp, rax
xor r10d, r10d
lea r15, [0x14036bd18]
lea r14, [0x140280fb0]
xor r11d, r11d
mov rdi, r15
mov rbx, r14
mov r13d, ecx
cmp r11, 5
ja 0x1401194b7
mov eax, dword [rbx]
inc r11
shl eax, 0xa
add rbx, 4
add rdi, 8
test r13d, eax
lea eax, [r10 + 1]
cmove eax, r10d
mov r10d, eax
jmp 0x140119491
test r10d, r10d
jne 0x1401194ef
lea r9, [0x1403413d8]
mov dword [rsp + 0x20], 0x109
mov edx, 0x11c
lea ecx, [r10 + 0x14]
lea r8d, [r10 + 0x44]
call fcn.1400a36f0
xor eax, eax
add rsp, 0x90
pop r15
pop r14
pop r13
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x120]
movsxd rbx, dword [rsp + 0x138]
cdq
mov rdi, qword [rsp + 0x128]
mov r8, rbx
idiv r10d
mov qword [rsp + 0xc0], rbp
mov rcx, rdi
mov dword [rsp + 0x110], eax
xor eax, eax
cmp r10d, 1
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], r12
cmovne eax, dword [rsp + 0x120]
xor edx, edx
mov r12, qword [rsp + 0x118]
mov dword [rsp + 0x108], eax
call fcn.14020fde0
mov rsi, qword [rsp + 0x130]
xor ebp, ebp
nop dword [rax]
cmp rbp, 5
ja 0x140119707
mov eax, dword [r14]
test eax, eax
je 0x140119576
mov rcx, qword [r15]
jmp 0x140119578
xor ecx, ecx
shl eax, 0xa
test r13d, eax
je 0x1401196d1
test rcx, rcx
je 0x1401196e1
mov eax, dword [rsp + 0x100]
mov rdx, r12
mov r8d, dword [rsp + 0x108]
mov r9, qword [rsp + 0xc8]
and r8d, 1
add r8d, dword [rsp + 0x110]
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xd0]
mov dword [rsp + 0x20], eax
call fcn.140118f20
test eax, eax
je 0x140119703
movsxd rax, dword [rsp + 0x110]
xor r9d, r9d
add r12, rax
test ebx, ebx
jle 0x1401196a3
cmp ebx, 0x20
jb 0x1401196a3
lea eax, [rbx - 1]
movsxd rcx, eax
lea rax, [rcx + rsi]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x140119644
cmp rdx, rsi
jae 0x1401196a3
mov ecx, ebx
and ecx, 0x8000001f
jge 0x140119655
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
nop word [rax + rax]
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 0x140119670
cmp r9, rbx
jge 0x1401196d1
mov r8, rsi
lea rax, [r9 + rdi]
sub r8, rdi
mov rdx, rbx
sub rdx, r9
nop dword [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1401196c0
inc rbp
add r14, 4
add r15, 8
jmp 0x140119560
mov edx, 0x11c
mov dword [rsp + 0x20], 0x114
lea r9, [0x140341418]
mov ecx, reloc.WS2_32.dll_sendto
lea r8d, [rdx + 0x2a]
call fcn.1400a36f0
xor eax, eax
jmp 0x14011970c
mov eax, 1
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xc0]
mov r12, qword [rsp + 0x80]
add rsp, 0x90
pop r15
pop r14
pop r13
pop rdi
pop rbx
ret