Function at 0x14009f6f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x141672ce0]
mov rcx, qword [rax + 0x4018]
mov byte [rcx + 0xb8], 1
call fcn.140056e10
mov eax, dword [0x1401cd3c4]
lea rcx, [rsp + 0x30]
cmp dword [0x141673ef8], 0
mov r8d, reloc.WS2_32.dll_recv
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1401cd3c8]
sete dl
xor byte [rsp + 0x31], 0x34
xor al, 0x37
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
mov byte [rsp + 0x34], al
mov byte [rsp + 0x30], 0x55
call fcn.140115f40
mov edx, dword [0x141673ef8]
xor ebx, ebx
test al, al
je 0x14009f775
test edx, edx
je 0x14009f775
mov dword [0x141673f30], ebx
mov dword [0x141673f10], ebx
movss xmm1, dword [0x1401d7d40]
xorps xmm0, xmm0
call fcn.140056bd0
mov eax, dword [str.vR6_DZYQ_K]
cmp edx, 1
mov edi, dword [reloc.WS2_32.dll_accept]
sete r10b
mov dword [rsp + 0x30], eax
cmp byte [0x1401cd00f], bl
je 0x14009f861
cmp edi, 2
jl 0x14009f820
movdqa xmm3, xmmword [0x1401d7e10]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1401d82e0]
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1401d82e0]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x1401d7e60]
psubd xmm3, xmm0
movd xmm0, eax
andps xmm3, xmmword [0x1401d7f20]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x1401d7fb0]
xorps xmm3, xmm0
movd dword [rsp + 0x30], xmm3
jmp 0x14009f861
lea r9, [rsp + 0x30]
mov r8d, ebx
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 4
jl 0x14009f830
mov r8d, 0x100
lea rcx, [rsp + 0x30]
movzx edx, r10b
call fcn.140115f40
mov edx, dword [0x141673ef8]
test al, al
je 0x14009f894
cmp edx, 1
je 0x14009f894
mov dword [0x141673f30], 1
mov dword [0x141673f10], ebx
movss xmm1, dword [0x1401d7d40]
xorps xmm0, xmm0
call fcn.140056bd0
mov rax, qword [0x1401cded0]
cmp edx, 2
mov qword [rsp + 0x30], rax
sete r9b
cmp byte [0x1401cded7], bl
je 0x14009f9ed
cmp edi, 2
jl 0x14009f9ac
movdqa xmm2, xmmword [0x1401d7e10]
movdqa xmm4, xmmword [0x1401d82e0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e60]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x30]
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fb0]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x1401d7e30]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401d7e60]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x34]
andps xmm2, xmmword [0x1401d7f20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401d7fb0]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
jmp 0x14009f9ed
lea r8, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
inc ebx
sub al, cl
add al, 0x33
xor byte [r8 - 1], al
cmp ebx, 8
jl 0x14009f9c0
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rcx, [rsp + 0x30]
movzx edx, r9b
call fcn.140115f40
test al, al
je 0x14009fa22
cmp dword [0x141673ef8], 2
je 0x14009fa22
mov dword [0x141673f30], 2
mov dword [0x141673f10], 0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140056f50