Function at 0x140049960
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x1e0
mov edx, 0x1f4
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Beep]
mov r8d, reloc.obsidium64.dll_Ordinal_23
lea rdx, str.Injecting_Sniperscope..
lea rcx, [0x140174110]
call fcn.1400507b0
call fcn.140052950
mov rbx, rax
test rax, rax
je 0x140049e50
movups xmm0, xmmword [0x1400db000]
xor r9d, r9d
movups xmm1, xmmword [0x1400db010]
mov r8d, r9d
mov eax, dword [0x1400db040]
mov r11d, dword [reloc.WS2_32.dll_accept]
movdqa xmm5, xmmword [0x1400dc6e0]
movdqa xmm4, xmmword [0x1400dc720]
movdqa xmm3, xmmword [0x1400dcb50]
movaps xmmword [rsp + 0x1d0], xmm6
movdqa xmm6, xmmword [0x1400dc6d0]
mov dword [rsp + 0x90], eax
movzx eax, byte [0x1400db044]
movaps xmmword [rsp + 0x1c0], xmm7
movdqa xmm7, xmmword [0x1400dc650]
mov byte [rsp + 0x94], al
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400db020]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1400db030]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm1
cmp r11d, 2
jl 0x140049bb8
movdqa xmmword [rsp + 0x40], xmm4
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm7
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x40
jl 0x140049a50
cmp r8d, 0x45
jl 0x140049bb8
lea r10, [rsp + 0x50]
mov edx, 2
lea rcx, [rsp + 0x95]
lea rax, [0x1400daec0]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140049b60
jmp 0x140049c78
movsxd rax, r8d
lea r10, [rsp + 0x50]
add r10, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r10, [r10 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r10 - 1], al
cmp r8d, 0x45
jl 0x140049bd0
lea rcx, [rsp + 0x95]
mov edx, 2
lea rax, [0x1400daec0]
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140049c20
lea r10, [rsp + 0x50]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
cmp r11d, 2
jl 0x140049d92
movdqa xmmword [rsp + 0x40], xmm4
lea rcx, [rsp + 0x99]
mov edx, dword [rsp + 0x40]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm7
add r9d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
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
movd xmm0, edx
andps xmm2, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x120
jl 0x140049ca2
jmp 0x140049dd6
lea r8, [rsp + 0x95]
nop word [rax + rax]
mov eax, 0x1f7047dd
lea r8, [r8 + 1]
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp r9d, 0x120
jl 0x140049da0
mov r9d, 1
mov qword [rsp + 0x30], r10
lea rax, [0x1400cd780]
movzx r8d, r9b
lea rdx, [rsp + 0x95]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140052600
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmm6, xmmword [rsp + 0x1d0]
test eax, eax
jne 0x140049e3e
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.Injected__Sniperscope
lea rcx, [0x140174110]
call fcn.1400507b0
mov edx, 0x1f4
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, rbx
add rsp, 0x1e0
pop rbx
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, reloc.WLDAP32.dll_Ordinal_35
lea rdx, str.Failed_to_Inject__Process_not_found
lea rcx, [0x140174110]
add rsp, 0x1e0
pop rbx
jmp fcn.1400507b0