Function at 0x140075780
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp dword [rcx + 0x4838], 0
je 0x14007583f
cmp byte [0x1401866d9], 0
jne 0x140075811
xor ecx, ecx
movabs r8, 0xcccccccccccccccd
lea r9, [0x1401059a0]
lea r10, [0x1401866c3]
nop word [rax + rax]
mov rax, rcx
mul r8
shr rdx, 2
and rdx, 0xfffffffffffffffc
lea rax, [rdx + rdx*4]
lea rdx, [r9 + rcx]
sub rdx, rax
movzx eax, byte [rdx + 0x1516]
movzx edx, byte [rdx + 0x1517]
xor al, byte [rcx + r9 + 0x152a]
xor dl, byte [rcx + r9 + 0x152b]
mov byte [rcx + r10], al
mov byte [rcx + r10 + 1], dl
add rcx, 2
cmp rcx, 0x16
jne 0x1400757c0
mov byte [0x1401866d9], 1
mov eax, dword [0x14019f7f0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [0x1401866c3]
mov qword [rax + 8], rcx
xor eax, eax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov ebx, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
cmp dword [rcx + 0x4824], 0xf
jg 0x14007585c
mov rcx, rdi
call fcn.1400755c0
cmp dword [rdi + 0x483c], 0
je 0x1400758bb
mov eax, dword [rdi + 0x4824]
test eax, eax
jg 0x140075885
mov rcx, rdi
call fcn.1400755c0
mov eax, dword [rdi + 0x4824]
test eax, eax
jle 0x140075a77
mov ecx, dword [rdi + 0x4820]
lea edx, [rcx + rcx]
mov dword [rdi + 0x4820], edx
dec eax
mov dword [rdi + 0x4824], eax
mov eax, 1
test ecx, ecx
jns 0x140075834
movzx ecx, byte [rdi + 0x4840]
mov edx, 1
shl edx, cl
add word [rsi], dx
jmp 0x140075834
xorps xmm0, xmm0
movups xmmword [rsi + 0x70], xmm0
movups xmmword [rsi + 0x60], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
cmp dword [rdi + 0x4824], 0xf
jg 0x1400758ee
mov rcx, rdi
call fcn.1400755c0
mov r8d, dword [rdi + 0x4820]
mov eax, r8d
shr eax, 0x17
movzx eax, byte [r14 + rax]
cmp rax, 0xff
je 0x140075a44
movzx ecx, byte [r14 + rax + 0x500]
mov edx, dword [rdi + 0x4824]
sub edx, ecx
jl 0x140075ab5
shl r8d, cl
mov dword [rdi + 0x4820], r8d
mov dword [rdi + 0x4824], edx
movzx ebp, byte [r14 + rax + 0x400]
cmp ebp, 0x10
jae 0x140075ab5
xor r14d, r14d
test ebp, ebp
je 0x1400759aa
cmp edx, ebp
jge 0x14007595e
mov rcx, rdi
call fcn.1400755c0
mov edx, dword [rdi + 0x4824]
sub edx, ebp
jl 0x1400759aa
mov eax, dword [rdi + 0x4820]
mov r14d, eax
mov ecx, ebp
rol eax, cl
shr r14d, 0x1f
mov ecx, ebp
lea r8, [0x1401055b0]
mov r8d, dword [r8 + rcx*4]
mov r9d, r8d
not r9d
and r9d, eax
mov dword [rdi + 0x4820], r9d
and eax, r8d
mov dword [rdi + 0x4824], edx
lea rdx, [0x140105600]
dec r14d
and r14d, dword [rdx + rcx*4]
add r14d, eax
movsxd rax, ebx
lea rcx, [rax + rax*2]
shl rcx, 5
mov eax, dword [rdi + rcx + 0x46b8]
mov edx, eax
xor edx, r14d
js 0x140075b2f
mov edx, 0x80000000
sub edx, r14d
xor r8d, r8d
cmp edx, eax
setg r8b
mov edx, r14d
xor edx, 0x7fffffff
xor r9d, r9d
cmp edx, eax
setl r9b
test eax, r14d
cmovs r9d, r8d
cmp r9b, 1
jne 0x140075b2f
cmp byte [0x1401866c2], 0
jne 0x140075a25
movabs rax, 0x746c656420646162
mov qword [0x1401866b8], rax
mov word [0x1401866c0], 0x61
mov byte [0x1401866c2], 1
mov eax, dword [0x14019f7f0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [0x1401866b8]
jmp 0x14007582b
mov eax, r8d
shr eax, 0x10
xor r9d, r9d
nop dword [rax]
mov rcx, r9
inc r9
cmp eax, dword [r14 + rcx*4 + 0x62c]
jae 0x140075a50
mov edx, dword [rdi + 0x4824]
cmp r9d, 8
jne 0x140075a81
add edx, 0xfffffff0
mov dword [rdi + 0x4824], edx
jmp 0x140075ab5
mov eax, 1
jmp 0x140075834
lea rax, [r9 + 9]
cmp edx, eax
jl 0x140075ab5
mov cl, reloc.WS2_32.dll_socket
sub cl, r9b
mov r10d, r8d
shr r10d, cl
lea rcx, [0x1401055b0]
and r10d, dword [rcx + r9*4 + 0x24]
add r10d, dword [r14 + r9*4 + 0x670]
cmp r10d, 0xff
jbe 0x140075b69
cmp byte [0x1401866d9], 0
jne 0x140075811
xor ecx, ecx
movabs r8, 0xcccccccccccccccd
lea r9, [0x1401059a0]
lea r10, [0x1401866c3]
nop dword [rax]
mov rax, rcx
mul r8
shr rdx, 2
and rdx, 0xfffffffffffffffc
lea rax, [rdx + rdx*4]
lea rdx, [r9 + rcx]
sub rdx, rax
movzx eax, byte [rdx + 0x1516]
movzx edx, byte [rdx + 0x1517]
xor al, byte [rcx + r9 + 0x152a]
xor dl, byte [rcx + r9 + 0x152b]
mov byte [rcx + r10], al
mov byte [rcx + r10 + 1], dl
add rcx, 2
cmp rcx, 0x16
jne 0x140075ae0
jmp 0x14007580a
add rcx, rdi
add rcx, 0x46b8
add eax, r14d
mov dword [rcx], eax
mov ecx, dword [rdi + 0x4840]
mov edx, 1
shl edx, cl
xor edx, eax
js 0x140075b89
mov edx, 0x7fff
shr edx, cl
cmp edx, eax
jl 0x140075b92
shl eax, cl
mov word [rsi], ax
mov eax, 1
jmp 0x140075834
sub edx, r9d
mov ecx, eax
shl r8d, cl
add edx, 0xfffffff7
mov dword [rdi + 0x4824], edx
mov dword [rdi + 0x4820], r8d
mov eax, r10d
jmp 0x140075933
cmp ecx, 0x1f
jne 0x140075c08
test eax, eax
jle 0x140075b5a
cmp byte [0x1401866d9], 0
jne 0x140075811
xor ecx, ecx
movabs r8, 0xcccccccccccccccd
lea r9, [0x1401059a0]
lea r10, [0x1401866c3]
mov rax, rcx
mul r8
shr rdx, 2
and rdx, 0xfffffffffffffffc
lea rax, [rdx + rdx*4]
lea rdx, [r9 + rcx]
sub rdx, rax
movzx eax, byte [rdx + 0x1516]
movzx edx, byte [rdx + 0x1517]
xor al, byte [rcx + r9 + 0x152a]
xor dl, byte [rcx + r9 + 0x152b]
mov byte [rcx + r10], al
mov byte [rcx + r10 + 1], dl
add rcx, 2
cmp rcx, 0x16
jne 0x140075bb9
jmp 0x14007580a
mov edx, 0x8000
shr edx, cl
neg edx
cmp eax, edx
jge 0x140075b5a
jmp 0x140075b92