Function at 0x14007dfd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
mov rax, qword [rcx]
mov rbx, qword [rax + 0xa0]
lea rcx, [rbx + 0x1298]
mov rax, qword [rcx]
test rax, rax
je 0x14007d3f5
cmp byte [rcx + 8], 0
je 0x14007d3da
cmp byte [rax + 0xb8], 0
jne 0x14007d3f5
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
call fcn.1400356f0
test eax, eax
je 0x14007d3f5
mov al, 1
jmp 0x14007d3f7
xor al, al
test al, al
jne 0x14007d68c
mov rsi, qword [rdi + 8]
movsd xmm0, qword [str.gJJZNTPXnolC]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [0x14017ccc0]
mov dword [rsp + 0x28], edx
movzx eax, byte [0x14017ccc4]
mov byte [rsp + 0x2c], al
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14007d57f
movdqa xmm5, xmmword [0x14017d780]
movdqa xmm2, xmmword [0x14017d240]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14017d2b0]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x14017d320]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14017d380]
movd xmm0, dword [str.gJJZNTPXnolC]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x14017d250]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14017d2b0]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14017d380]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
movdqa xmm3, xmmword [0x14017d260]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14017d2b0]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x14017d380]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x28], xmm3
mov ecx, ntohs
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x37
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x14007d590
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14007d5e2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140009750
nop
lea rcx, [rsi + 0xe18]
lea rax, [rsp + 0x30]
cmp rcx, rax
je 0x14007d629
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
call fcn.140007dc0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14007d662
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d65d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007d69c
call fcn.1400f2bb0
mov rcx, qword [rdi + 8]
add rcx, 0xac0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [rdi + 8]
mov byte [rax + 0xe10], 1
mov dl, 1
lea rcx, [rbx + 0x1148]
call fcn.140030d60
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call fcn.1401005b4
int3
add rcx, 8
jmp 0x14007d3a0