Function at 0x140192080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0xe8
call fcn.1400fe1d0
sub rsp, rax
mov rax, qword [0x14025ef38]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, qword [rsp + 0x140]
mov rsi, rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], r8
mov rbx, r9
mov qword [rsp + 0x48], rdx
mov rbp, r8
xor r12d, r12d
call fcn.1400ec7a0
test rbx, rbx
mov rax, rbp
mov rcx, rbp
cmovne rax, rbx
mov qword [rsp + 0x38], rax
call fcn.140123110
movsxd r13, eax
test eax, eax
js 0x140192505
mov ebp, dword [rsp + 0x148]
cmp ebp, 0xffffffff
jne 0x14019215b
mov ebp, r13d
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0xd8], r15
call fcn.140102310
mov rcx, rsi
lea r15d, [rax - 1]
and r15d, 7
call fcn.1400ea9e0
mov ecx, r15d
mov edx, 0xff
shl edx, cl
mov r8d, eax
test byte [rdi], dl
je 0x14019218b
mov r8d, 0x85
mov dword [rsp + 0x20], 0x76
lea r9, [0x140290da8]
mov ecx, 4
lea edx, [r8 + 0x10]
call fcn.1400d2310
jmp 0x1401924fd
cmp ebp, 0xfffffffe
jne 0x140192162
jmp 0x140192101
jge 0x140192101
mov edx, 0x95
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSAGetLastError
lea r9, [0x140290d90]
mov ecx, 4
lea r8d, [rdx - 0xd]
call fcn.1400d2310
jmp 0x140192505
test r15d, r15d
jne 0x140192193
dec r8d
test r15d, r15d
lea rbx, [rdi + 1]
lea eax, [r13 + 2]
cmovne rbx, rdi
cmp r8d, eax
jge 0x1401921b8
mov dword [rsp + 0x20], 0x7e
lea r9, [0x140290dc0]
jmp 0x1401921d4
mov esi, r8d
sub esi, r13d
lea eax, [rsi - 2]
cmp ebp, eax
jle 0x1401921ec
mov dword [rsp + 0x20], 0x82
lea r9, [0x140290dd8]
mov r8d, WSASetLastError
lea ecx, [r8 - 0x69]
lea edx, [r8 + 0x28]
call fcn.1400d2310
jmp 0x1401924fd
movsxd rax, r8d
cmp byte [rax + rbx - 1], 0xbc
je 0x14019221d
mov edx, 0x95
mov dword [rsp + 0x20], 0x86
lea r9, [0x140290df0]
mov ecx, 4
lea r8d, [rdx - 0xf]
call fcn.1400d2310
jmp 0x1401924fd
dec esi
mov qword [rsp + 0xe0], r14
movsxd r14, esi
lea rdx, [0x140290e08]
mov r8d, 0x8b
mov ecx, esi
lea rax, [r14 + rbx]
mov qword [rsp + 0x30], rax
call fcn.1400e9750
mov rdi, rax
test rax, rax
jne 0x140192274
lea r9, [0x140290e20]
mov dword [rsp + 0x20], 0x8d
mov edx, 0x95
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.1400d2310
jmp 0x1401924f5
mov rax, qword [rsp + 0x38]
mov r9d, r13d
mov r8, qword [rsp + 0x30]
mov edx, esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140160de0
test eax, eax
js 0x1401924ed
mov r8d, r12d
test esi, esi
jle 0x140192360
cmp esi, 0x40
jb 0x140192360
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea rdx, [rcx + rdi]
cmp rdi, rax
ja 0x1401922c8
cmp rdx, rbx
jae 0x140192360
mov ecx, esi
and ecx, 0x8000003f
jge 0x1401922d9
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, esi
mov rdx, rbx
sub eax, ecx
sub rdx, rdi
mov r9, 0xfffffffffffffff0
movsxd r10, eax
sub r9, rdi
lea rcx, [rdi + 0x10]
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r8d, 0x40
movdqu xmm1, xmmword [rcx + rdx - 0x10]
movdqu xmm2, xmmword [rcx + rdx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rdx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + rdx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x140192300
movsxd rax, r8d
cmp rax, r14
jge 0x140192390
sub rbx, rdi
lea rcx, [rax + rdi]
sub r14, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r14, 1
jne 0x140192380
test r15d, r15d
je 0x1401923a6
mov ecx, 8
mov eax, 0xff
sub ecx, r15d
sar eax, cl
and byte [rdi], al
movzx eax, byte [rdi]
mov ebx, r12d
test al, al
jne 0x1401923c4
lea ecx, [rsi - 1]
mov rax, rdi
cmp ebx, ecx
jge 0x1401923c4
inc rax
inc ebx
cmp byte [rax], r12b
je 0x1401923b6
movsxd rax, ebx
inc ebx
cmp byte [rax + rdi], 1
je 0x1401923f6
mov edx, 0x95
mov dword [rsp + 0x20], 0x98
lea r9, [0x140290e38]
mov ecx, 4
lea r8d, [rdx - 0xe]
call fcn.1400d2310
jmp 0x1401924ed
sub esi, ebx
test ebp, ebp
js 0x140192427
cmp esi, ebp
je 0x140192427
mov edx, 0x95
mov dword [rsp + 0x20], 0x9c
lea r9, [0x140290e50]
mov ecx, 4
lea r8d, [rdx - 0xd]
call fcn.1400d2310
jmp 0x1401924ed
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.1400ecaa0
test eax, eax
je 0x1401924ed
mov r8d, 8
lea rdx, [0x14020fc60]
lea rcx, [rsp + 0x50]
call fcn.1400eccf0
test eax, eax
je 0x1401924ed
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov r8, r13
call fcn.1400eccf0
test eax, eax
je 0x1401924ed
test esi, esi
je 0x140192491
movsxd rdx, ebx
lea rcx, [rsp + 0x50]
add rdx, rdi
movsxd r8, esi
call fcn.1400eccf0
test eax, eax
je 0x1401924ed
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1400ecd10
test eax, eax
je 0x1401924ed
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x80]
mov r8, r13
call fcn.1401a09d0
test eax, eax
je 0x1401924e7
mov edx, 0x95
mov dword [rsp + 0x20], 0xaa
lea r9, [0x140290e68]
mov ecx, 4
lea r8d, [rdx - 0x2d]
call fcn.1400d2310
jmp 0x1401924ed
mov r12d, 1
mov rcx, rdi
call fcn.1400e9870
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xd8]
lea rcx, [rsp + 0x50]
call fcn.1400ec7b0
mov eax, r12d
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400fe230
add rsp, 0xe8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret