Function at 0x140074770
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x778]
sub rsp, 0x878
mov rax, qword [0x1403e3c28]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov r15d, dword [rbp + 0x7e0]
mov r14, rcx
mov ecx, r15d
movsxd rdi, r9d
mov r13, r8
movsxd rsi, edx
call fcn.14008d1f0
mov ebx, esi
lea ecx, [rdi*2 + 2]
sub ebx, edi
mov r12, rax
dec ebx
cmp esi, ecx
jge 0x1400747d6
mov eax, 0xffffffff
jmp 0x140074a38
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.140081d20
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.140063da0
mov r8d, edi
lea rcx, [rsp + 0x78]
mov rdx, r13
call fcn.140063db0
lea rcx, [rsp + 0x78]
mov r8d, edi
add rcx, rdi
lea rdx, [rsp + 0x30]
call fcn.140063db0
mov edx, edi
lea rcx, [rbp + 0x490]
call qword [r12]
lea r8d, [rdi*2 + 8]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x490]
call qword [r12 + reloc.OLEAUT32.dll_VariantClear]
mov r8d, edi
lea rdx, [rbp]
lea rcx, [rbp + 0x490]
call qword [r12 + reloc.WS2_32.dll_recv]
lea eax, [rdi*2 + 2]
mov edx, esi
sub edx, eax
lea rcx, [rbp + 0x90]
call fcn.140063da0
lea eax, [rdi + rdi]
mov r8d, edi
movsxd rcx, eax
lea rdx, [rsp + 0x30]
mov rax, rsi
sub rax, rcx
lea rcx, [rbp + rax + 0x8f]
mov byte [rbp + rax + 0x8e], 1
call fcn.140063db0
mov r9d, ebx
mov dword [rsp + 0x20], r15d
lea r8, [rbp]
mov edx, ebx
lea rcx, [rbp + 0x560]
call fcn.140074660
xor ecx, ecx
mov edx, ecx
test ebx, ebx
jle 0x1400749ca
cmp ebx, 8
jb 0x1400749ca
cmp ebx, 0x40
jb 0x140074980
mov r8d, ebx
and r8d, 0x8000003f
jge 0x1400748e0
dec r8d
or r8d, 0xffffffc0
inc r8d
mov eax, ebx
sub eax, r8d
movsxd r8, eax
nop dword [rax + rax]
movdqu xmm0, xmmword [rbp + rcx + 0x90]
add edx, 0x40
movdqu xmm1, xmmword [rbp + rcx + 0x560]
movdqu xmm2, xmmword [rbp + rcx + 0xa0]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rbp + rcx + 0x570]
movdqu xmmword [rbp + rcx + 0x290], xmm1
movdqu xmm1, xmmword [rbp + rcx + 0xb0]
xorps xmm2, xmm0
movdqu xmm0, xmmword [rbp + rcx + 0x580]
movdqu xmmword [rbp + rcx + 0x2a0], xmm2
movdqu xmm2, xmmword [rbp + rcx + 0xc0]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rbp + rcx + 0x590]
movdqu xmmword [rbp + rcx + 0x2b0], xmm1
xorps xmm2, xmm0
movdqu xmmword [rbp + rcx + 0x2c0], xmm2
add rcx, 0x40
cmp rcx, r8
jl 0x1400748f0
mov eax, ebx
and al, 0x3f
cmp al, 8
jb 0x1400749ca
mov ecx, ebx
and ecx, 0x80000007
jge 0x140074991
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, ebx
sub eax, ecx
movsxd rcx, edx
movsxd r8, eax
nop dword [rax + rax]
movq xmm1, qword [rbp + rcx + 0x560]
add edx, 8
movq xmm0, qword [rbp + rcx + 0x90]
xorps xmm1, xmm0
movq qword [rbp + rcx + 0x290], xmm1
add rcx, 8
cmp rcx, r8
jl 0x1400749a0
movsxd rax, edx
movsxd rdx, ebx
cmp rax, rdx
jge 0x1400749fe
nop word [rax + rax]
movzx ecx, byte [rbp + rax + 0x560]
xor cl, byte [rbp + rax + 0x90]
mov byte [rbp + rax + 0x290], cl
inc rax
cmp rax, rdx
jl 0x1400749e0
and byte [rbp + 0x290], 0x7f
lea rdx, [rbp + 0x290]
mov r8d, ebx
mov rcx, r14
call fcn.140063db0
movsxd rbx, ebx
lea rdx, [rbp]
add rbx, r14
mov r8d, edi
mov rcx, rbx
call fcn.140063db0
add rbx, rdi
mov byte [rbx], 0xbc
sub ebx, r14d
lea eax, [rbx + 1]
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.1401f11e0
add rsp, 0x878
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret