Function at 0x140001a60
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0xa0
mov rax, qword [0x1400ce110]
xor rax, rsp
mov qword [rbp - 1], rax
mov rsi, qword [rbp + 0x77]
mov r13, rcx
lea rcx, [rbp - 0x51]
mov r15d, r9d
mov ebx, r8d
mov r14, rdx
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea ecx, [r14 + rbx]
add ecx, dword [rbp - 0x51]
call qword [sym.imp.MSVCR120.dll_srand]
xor ebx, ebx
lea rdi, [rbp - 0x2d]
call qword [sym.imp.MSVCR120.dll_rand]
inc ebx
lea rdi, [rdi + 1]
mov byte [rdi - 1], al
movsxd rax, ebx
cmp rax, 0xc
jb 0x140001ab2
mov ecx, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x98], r12
mov byte [rbp - 0x21], 0
mov dword [rbp - 0x31], r15d
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, r14
mov word [rbp - 0x59], ax
call qword [sym.imp.Qt5Network.dll_public:_bool___cdecl_QAbstractSocket::isValid_void_const___ptr64]
test al, al
jne 0x140001aff
or rax, 0xffffffffffffffff
jmp 0x140001daf
lea rdx, [rbp - 0x59]
mov r8d, 2
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_long_long___int64____cdecl_QIODevice::write_char_const____ptr64__long_long___int64_____ptr64]
xor edi, edi
test eax, eax
jle 0x140001b3a
mov r8d, reloc.WS2_32.dll_sendto
mov eax, edi
lea rdx, [rbp - 0x31]
add rdx, rax
sub r8d, edi
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_long_long___int64____cdecl_QIODevice::write_char_const____ptr64__long_long___int64_____ptr64]
add edi, eax
cmp edi, 0x14
jb 0x140001b14
or rbx, 0xffffffffffffffff
cmp edi, 0x14
mov r12d, 1
mov eax, ebx
cmovae eax, r12d
test eax, eax
js 0x140001daf
lea r9d, [rbx + 0x15]
lea r8, [rbp - 0x49]
mov rdx, r14
mov rcx, r13
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xa
call fcn.140001de0
mov edi, eax
test eax, eax
jns 0x140001b8b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov eax, edi
jmp 0x140001daf
mov eax, dword [rbp - 0x49]
test rsi, rsi
je 0x140001b95
mov dword [rsi], eax
cmp eax, r15d
je 0x140001ba4
mov eax, 0xfffffff1
jmp 0x140001daf
movups xmm0, xmmword [rbp - 0x49]
mov eax, dword [rbp - 0x39]
mov rsi, qword [rbp + 0x7f]
mov dword [rbp - 9], eax
mov r8, rbx
movups xmmword [rbp - 0x19], xmm0
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x140001bc0
mov r15d, 0x1a
lea r9, [rbp - 0x14]
mov r10d, r15d
nop word [rax + rax]
lea eax, [r10 - 0x1a]
lea r9, [r9 + 6]
cdq
idiv r8d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r10 - 0xd]
xor byte [r9 - 7], cl
cdq
idiv r8d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov eax, r10d
xor byte [r9 - 6], cl
cdq
idiv r8d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r10 + 0xd]
xor byte [r9 - 5], cl
cdq
idiv r8d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r10 + 0x1a]
xor byte [r9 - 4], cl
cdq
idiv r8d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r10 + 0x27]
add r10d, 0x4e
xor byte [r9 - 3], cl
cdq
idiv r8d
movsxd rax, edx
movzx ecx, byte [rax + rsi]
xor byte [r9 - 2], cl
cmp r10d, 0xb6
jl 0x140001be0
mov ecx, reloc.WS2_32.dll_sendto
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, r14
mov word [rbp - 0x59], ax
call qword [sym.imp.Qt5Network.dll_public:_bool___cdecl_QAbstractSocket::isValid_void_const___ptr64]
test al, al
jne 0x140001c89
mov eax, ebx
jmp 0x140001daf
lea rdx, [rbp - 0x59]
mov r8d, 2
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_long_long___int64____cdecl_QIODevice::write_char_const____ptr64__long_long___int64_____ptr64]
xor edi, edi
nop
test eax, eax
jle 0x140001cc6
mov r8d, reloc.WS2_32.dll_sendto
mov eax, edi
lea rdx, [rbp - 0x19]
add rdx, rax
sub r8d, edi
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_long_long___int64____cdecl_QIODevice::write_char_const____ptr64__long_long___int64_____ptr64]
add edi, eax
cmp edi, 0x14
jb 0x140001ca0
cmp edi, 0x14
mov eax, ebx
cmovae eax, r12d
test eax, eax
js 0x140001daf
lea r8, [rbp - 0x49]
mov r9d, reloc.WS2_32.dll_sendto
mov rdx, r14
mov rcx, r13
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0xa
call fcn.140001de0
test eax, eax
js 0x140001daf
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140001d04
lea r8, [rbp - 0x44]
lea eax, [r15 - 0x1a]
lea r8, [r8 + 6]
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r15 - 0xd]
xor byte [r8 - 7], cl
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rax + rsi]
mov eax, r15d
xor byte [r8 - 6], cl
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r15 + 0xd]
xor byte [r8 - 5], cl
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r15 + 0x1a]
xor byte [r8 - 4], cl
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rax + rsi]
lea eax, [r15 + 0x27]
add r15d, 0x4e
xor byte [r8 - 3], cl
cdq
idiv ebx
movsxd rax, edx
movzx ecx, byte [rax + rsi]
xor byte [r8 - 2], cl
cmp r15d, 0xb6
jl 0x140001d11
mov rdx, qword [rbp - 0x45]
sub rdx, qword [rbp - 0x2d]
jne 0x140001da0
mov edx, dword [rbp - 0x3d]
mov ecx, dword [rbp - 0x25]
sub rdx, rcx
mov eax, 0xfffffff0
test rdx, rdx
cmovne r12d, eax
mov eax, r12d
mov r12, qword [rsp + 0x98]
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.14000bf30
add rsp, 0xa0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret