Function at 0x1401058d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
mov eax, 0xa8
call fcn.1401127d0
sub rsp, rax
movsxd rsi, dword [rsp + 0x148]
lea r8, [rsp + 0x88]
mov r12d, ecx
lea rdx, [rsp + 0x80]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
call fcn.1400ec990
test eax, eax
je 0x140105bec
nop
mov eax, dword [rsp + 0x80]
lea r8, [rsp + 0x88]
shl eax, 0xa
lea rdx, [rsp + 0x80]
test r12d, eax
lea eax, [rbx + 1]
cmove eax, ebx
inc edi
mov ecx, edi
mov ebx, eax
call fcn.1400ec990
test eax, eax
jne 0x140105920
test ebx, ebx
je 0x140105bec
mov eax, dword [rsp + 0x130]
mov r8, rsi
cdq
mov qword [rsp + 0xd0], rbp
mov rbp, qword [rsp + 0x128]
idiv ebx
mov qword [rsp + 0xa0], r13
movsxd r13, eax
xor eax, eax
cmp ebx, 1
mov qword [rsp + 0x98], r14
mov rbx, qword [rsp + 0x138]
cmovne eax, dword [rsp + 0x130]
mov rcx, rbx
xor edx, edx
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x90], r15
call fcn.140114350
lea r8, [rsp + 0x88]
xor ecx, ecx
lea rdx, [rsp + 0x80]
xor r14d, r14d
call fcn.1400ec990
test eax, eax
je 0x140105b94
mov rdi, qword [rsp + 0x140]
mov eax, dword [rsp + 0x80]
shl eax, 0xa
test r12d, eax
je 0x140105b71
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140105bc6
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], esi
add r8d, r13d
mov qword [rsp + 0x68], rdi
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.140105c20
test eax, eax
je 0x140105be8
add rbp, r13
xor ecx, ecx
test esi, esi
jle 0x140105b3d
cmp esi, 0x40
jb 0x140105b3d
lea rax, [rsi - 1]
lea rdx, [rax + rbx]
add rax, rdi
cmp rbx, rax
ja 0x140105ad0
cmp rdx, rdi
jae 0x140105b3d
mov r8, rsi
lea rax, [rbx + 0x10]
and r8, 0xffffffffffffffc0
mov rdx, rdi
sub rdx, rbx
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [rdx + rax - 0x10]
movdqu xmm2, xmmword [rdx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rdx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rdx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp rcx, r8
jl 0x140105ae1
cmp rcx, rsi
jge 0x140105b71
mov r8, rdi
lea rax, [rcx + rbx]
sub r8, rbx
mov rdx, rsi
sub rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140105b60
inc r14d
lea r8, [rsp + 0x88]
mov ecx, r14d
lea rdx, [rsp + 0x80]
call fcn.1400ec990
test eax, eax
jne 0x1401059e2
mov eax, 1
mov r14, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
add rsp, 0xa8
pop r12
pop rdi
pop rsi
pop rbx
ret
mov edx, 0x11c
mov dword [rsp + 0x20], 0x115
lea r9, [0x1401bbcb8]
mov ecx, reloc.WS2_32.dll_sendto
lea r8d, [rdx + 0x2a]
call fcn.14006cd10
xor eax, eax
jmp 0x140105b99
mov ecx, reloc.WS2_32.dll_sendto
mov dword [rsp + 0x20], 0x10a
lea r9, [0x1401bbca8]
mov edx, 0x11c
lea r8d, [rcx + 0x30]
call fcn.14006cd10
xor eax, eax
add rsp, 0xa8
pop r12
pop rdi
pop rsi
pop rbx
ret