Function at 0x140049430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401d8410]
mov rbx, r8
movss xmm0, dword [0x140185ab8]
mov rdi, rdx
mov r11, rcx
mov r8d, 0xc116b
comiss xmm0, dword [rax + 0x118]
jbe 0x1400496ed
movss xmm0, dword [0x140185ab4]
comiss xmm0, dword [rax + 0x11c]
jbe 0x1400496ed
mov ecx, dword [0x1401d8e28]
cmp ecx, 0xffffffff
je 0x140049508
movss xmm3, dword [0x140185940]
mov edx, ecx
mov r8d, 0xc116f
and edx, 2
je 0x1400494a7
movaps xmm4, xmm3
jmp 0x1400494aa
xorps xmm4, xmm4
and ecx, 1
jne 0x1400494b2
xorps xmm3, xmm3
movss xmm0, dword [0x140185a28]
test edx, edx
je 0x1400494c9
movss xmm2, dword [rax + 0x14]
subss xmm2, xmm0
jmp 0x1400494cc
movaps xmm2, xmm0
test ecx, ecx
je 0x1400494db
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm0
jmp 0x1400494de
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 [0x14018540b], 0
movups xmm0, xmmword [str.q_FZA]
mov dword [rax + 0x1b28], 0x3d4ccccd
mov dword [rax + 0x1ae0], 1
mov eax, dword [0x140185408]
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x18], eax
movsd xmm0, qword [0x140185400]
movsd qword [rbp - 0x20], xmm0
je 0x1400496e4
xor r9d, r9d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400496a4
movdqa xmm0, xmmword [str.0000000000000000]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x140185bd0]
movdqa xmm4, xmmword [0x140185d40]
movdqa xmmword [rbp - 0x40], xmm0
mov edx, dword [rbp - 0x40]
movaps xmmword [rsp + 0x50], xmm6
movdqa xmm6, xmmword [0x140185bf0]
nop dword [rax + rax]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140185c60]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140185c60]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x18
jl 0x140049590
movaps xmm6, xmmword [rsp + 0x50]
cmp r9d, 0x1c
jge 0x1400496e4
movsxd rax, r9d
lea r10, [rbp - 0x30]
add r10, rax
nop
mov eax, 0x8fb823ef
lea r10, [r10 + 1]
imul r9d
add edx, r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x30
xor byte [r10 - 1], al
cmp r9d, 0x1c
jl 0x1400496b0
lea rcx, [rbp - 0x30]
jmp 0x1400497d4
mov ecx, dword [0x1401d8e28]
cmp ecx, 0xffffffff
je 0x140049773
movss xmm3, dword [0x140185940]
mov edx, ecx
mov r8d, 0xc116f
and edx, 2
je 0x140049712
movaps xmm4, xmm3
jmp 0x140049715
xorps xmm4, xmm4
and ecx, 1
jne 0x14004971d
xorps xmm3, xmm3
movss xmm0, dword [0x140185a28]
test edx, edx
je 0x140049734
movss xmm2, dword [rax + 0x14]
subss xmm2, xmm0
jmp 0x140049737
movaps xmm2, xmm0
test ecx, ecx
je 0x140049746
movss xmm1, dword [rax + 0x10]
subss xmm1, xmm0
jmp 0x140049749
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 [reloc.WS2_32.dll_gethostname], 0
movsd xmm0, qword [str.gPFVFXWES9]
mov dword [rax + 0x1b28], 0x3eb33333
mov dword [rax + 0x1ae0], 1
movzx eax, word [0x140185100]
mov word [rbp - 0x38], ax
movsd qword [rbp - 0x40], xmm0
je 0x1400497d0
xor byte [rbp - 0x3f], 0x31
xor byte [rbp - 0x3e], 0x32
xor byte [rbp - 0x3d], 0x33
xor byte [rbp - 0x3c], 0x34
xor byte [rbp - 0x3b], 0x35
xor byte [rbp - 0x3a], 0x36
xor byte [rbp - 0x39], 0x37
xor byte [rbp - 0x38], 0x38
xor byte [rbp - 0x37], 0x39
mov byte [rbp - 0x40], 0x57
lea rcx, [rbp - 0x40]
mov rdx, r11
call fcn.14000b9e0
test al, al
je 0x1400497f0
mov rdx, rdi
mov rcx, rbx
call fcn.140027b90
call fcn.14000e8e0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret