Function at 0x140031320
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r14
push r15
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
lea rbp, [0x14010e430]
mov qword [rax + 8], rbp
movups xmm0, xmmword [str.YFGDF_f]
movups xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [0x1400f65f0]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x1400f65f8]
mov word [rsp + 0x48], ax
xor esi, esi
lea r14d, [rsi + 5]
lea r15d, [rsi + 0x1f]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x1400f65f9], sil
je 0x140031533
mov r8d, esi
cmp edi, 2
jl 0x1400314ef
movdqa xmm5, xmmword [0x1400fa330]
movdqa xmm4, xmmword [0x1400fa540]
movd xmm6, r14d
movdqa xmm7, xmmword [0x1400fa3d0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x1400fa480]
movdqa xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x34]
mov edx, dword [rsp + 0x20]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400fa460]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400fa460]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x1400313e0
cmp r8d, 0x1a
jge 0x140031533
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1a
jl 0x140031500
xorps xmm0, xmm0
movups xmmword [0x14010e430], xmm0
mov qword [0x14010e440], rsi
mov qword [0x14010e448], rsi
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140031560
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14000b2f0
nop
movups xmm0, xmmword [0x1400f6520]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1400f6530]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x1400f6540]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1400f6550]
movups xmmword [rsp + 0x80], xmm1
movzx eax, byte [0x1400f6560]
mov byte [rsp + 0x90], al
mov ecx, esi
cmp edi, 2
jl 0x14003170c
movdqa xmm5, xmmword [0x1400fa330]
movdqa xmm4, xmmword [0x1400fa540]
movd xmm6, r14d
movdqa xmm7, xmmword [0x1400fa3d0]
movd xmm8, r15d
movdqa xmm0, xmmword [0x1400fa480]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x20]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400fa460]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400fa460]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x40
jl 0x140031600
cmp ecx, 0x41
jge 0x14003174e
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x41
jl 0x140031720
xorps xmm0, xmm0
movups xmmword [0x14010e450], xmm0
mov qword [0x14010e460], rsi
mov qword [0x14010e468], rsi
lea rax, [rsp + 0x50]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140031770
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [0x14010e450]
call fcn.14000b2f0
xorps xmm0, xmm0
movups xmmword [0x14010e470], xmm0
mov qword [0x14010e480], rsi
mov qword [0x14010e488], 0xf
mov byte [0x14010e470], 0
mov rax, rbp
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret