Function at 0x14004e840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x141223320]
mov rbx, r8
movss xmm0, dword [0x14019ec98]
mov rdi, rdx
mov r11, rcx
mov r10d, 0xc116b
comiss xmm0, dword [rax + 0x118]
jbe 0x14004e96d
movss xmm0, dword [0x14019ec94]
comiss xmm0, dword [rax + 0x11c]
jbe 0x14004e96d
mov ecx, dword [0x14125b240]
cmp ecx, 0xffffffff
je 0x14004e918
movss xmm3, dword [0x14019eb34]
mov edx, ecx
mov r10d, 0xc116f
and edx, 2
je 0x14004e8b7
movaps xmm4, xmm3
jmp 0x14004e8ba
xorps xmm4, xmm4
and ecx, 1
jne 0x14004e8c2
xorps xmm3, xmm3
movss xmm0, dword [0x14019ebf0]
test edx, edx
je 0x14004e8d9
movss xmm2, dword [rax + 0x14]
subss xmm2, xmm0
jmp 0x14004e8dc
movaps xmm2, xmm0
test ecx, ecx
je 0x14004e8eb
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm0
jmp 0x14004e8ee
movaps xmm1, xmm0
movss dword [rax + 0x1ae4], xmm1
movss dword [rax + 0x1ae8], xmm2
movss dword [rax + 0x1aec], xmm3
movss dword [rax + 0x1af0], xmm4
mov dword [rax + 0x1ac8], 1
mov dword [rax + 0x1b28], 0x3d4ccccd
lea rcx, [rbp + 0x28]
mov dword [rax + 0x1ae0], 1
mov eax, dword [str.jT_YO_]
mov dword [rbp + 0x28], eax
movzx eax, word [0x14019ccc4]
xor byte [rbp + 0x29], 0x39
xor byte [rbp + 0x2a], 0x3a
xor byte [rbp + 0x2b], 0x3b
mov word [rbp + 0x2c], ax
movzx eax, byte [0x14019ccc6]
xor byte [rbp + 0x2c], 0x3c
xor byte [rbp + 0x2d], 0x3d
xor al, 0x3e
mov byte [rbp + 0x28], 0x52
mov byte [rbp + 0x2e], al
jmp 0x14004eb65
mov ecx, dword [0x14125b240]
cmp ecx, 0xffffffff
je 0x14004e9f3
movss xmm3, dword [0x14019eb34]
mov edx, ecx
mov r10d, 0xc116f
and edx, 2
je 0x14004e992
movaps xmm4, xmm3
jmp 0x14004e995
xorps xmm4, xmm4
and ecx, 1
jne 0x14004e99d
xorps xmm3, xmm3
movss xmm0, dword [0x14019ebf0]
test edx, edx
je 0x14004e9b4
movss xmm2, dword [rax + 0x14]
subss xmm2, xmm0
jmp 0x14004e9b7
movaps xmm2, xmm0
test ecx, ecx
je 0x14004e9c6
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm0
jmp 0x14004e9c9
movaps xmm1, xmm0
movss dword [rax + 0x1ae4], xmm1
movss dword [rax + 0x1ae8], xmm2
movss dword [rax + 0x1aec], xmm3
movss dword [rax + 0x1af0], xmm4
mov dword [rax + 0x1ac8], 1
cmp byte [str._wI_I_IQM_], 0
mov dword [rax + 0x1b28], 0x3eb33333
mov dword [rax + 0x1ae0], 1
mov rax, qword [str.jT_YO]
mov qword [rbp + 0x28], rax
je 0x14004eb61
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14004eb21
movdqa xmm2, xmmword [0x14019edd0]
movdqa xmm4, xmmword [0x14019ef40]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14019edf0]
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 [0x14019ee10]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x28]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14019eea0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x28], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
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 [0x14019ee10]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x2c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14019ee80]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x14019eea0]
xorps xmm2, xmm0
movd dword [rbp + 0x2c], xmm2
jmp 0x14004eb61
lea r9, [rbp + 0x28]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x14004eb30
lea rcx, [rbp + 0x28]
mov r8d, r10d
mov rdx, r11
call fcn.140013170
test al, al
je 0x14004eb84
mov rdx, rdi
mov rcx, rbx
call fcn.14002fa50
call fcn.140016070
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbp
ret