Function at 0x1400853b0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rbp
lea rbp, [r11 - 0x188]
sub rsp, 0x280
mov rax, qword [0x14018e080]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov qword [r11 + 8], rsi
xor ecx, ecx
mov rsi, qword [0x1415fe2e8]
mov rbx, r8
mov qword [r11 + 0x10], rdi
movaps xmmword [r11 - 0x18], xmm6
mov qword [0x1415fe380], rdx
call fcn.1400457a0
mov edi, dword [reloc.WS2_32.dll_accept]
xorps xmm0, xmm0
xor eax, eax
xorps xmm6, xmm6
cmp byte [0x14017110d], 0
mov ecx, 0xffff
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x110], rax
movups xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x7c], al
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x78], 2
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x74], 1
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x4c], 0x7f7fffff
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x40], 0x3f800000
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x3c], cx
movups xmm0, xmmword [0x1401710f0]
movups xmmword [rbp + 0xa0], xmm6
mov dword [rbp + 0xa8], 2
movups xmmword [rbp + 0xd0], xmm6
mov dword [rbp + 0xac], 1
movups xmmword [rbp + 0xe0], xmm6
mov dword [rbp + 0xd4], 0x7f7fffff
movups xmmword [rbp + 0x90], xmm6
mov byte [rbp + 0x9c], al
mov eax, dword [0x140171108]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd xmm0, qword [0x140171100]
movzx eax, word [0x14017110c]
movups xmmword [rbp + 0xb0], xmm6
mov dword [rbp + 0xe0], 0x3f800000
movsd qword [rsp + 0x50], xmm0
mov word [rbp + 0xe4], cx
mov byte [rbp + 0xd8], 1
mov byte [rbp + 0xb0], 1
mov word [rsp + 0x5c], ax
je 0x1400856a1
xor r8d, r8d
cmp edi, 2
jl 0x14008565f
movdqa xmm0, xmmword [0x140178210]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178330]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x260], xmm7
movdqa xmm7, xmmword [0x140178080]
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1401781b0]
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
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140085550
movaps xmm7, xmmword [rsp + 0x260]
cmp r8d, 0x1e
jge 0x1400856a1
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x140085670
movss xmm2, dword [0x140177ecc]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a070
movups xmm0, xmmword [rbp + 0x90]
lea rax, [0x14018e110]
movups xmm1, xmmword [rbp + 0xa0]
lea rdx, [rbp]
mov rcx, qword [rbx + 0x30]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp + 0xd0]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [rbp + 0xe0]
movups xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [rbp + 0x110]
mov qword [rbp], rax
lea rax, [0x140171dec]
movups xmmword [rbp + 0x30], xmm6
movsd qword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rbp + 0x60], xmm6
movups xmmword [rbp + 0x70], xmm6
mov dword [rbp + 8], 0xba660
mov dword [rbp + 0x14], 0x41500000
mov qword [rbp + 0x38], rax
call fcn.140049d50
cmp byte [0x14017110d], 0
movups xmm0, xmmword [0x1401710f0]
mov eax, dword [0x140171108]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14017110c]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140171100]
movsd qword [rsp + 0x50], xmm0
je 0x140085911
xor r8d, r8d
cmp edi, 2
jl 0x1400858c7
movdqa xmm0, xmmword [0x140178210]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178330]
movdqa xmm6, xmmword [0x140178080]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x1401781b0]
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
psrad xmm1, 4
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 [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x1400857c0
cmp r8d, 0x1e
jge 0x140085911
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x1400858e0
movss xmm2, dword [0x140177ed0]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a070
movups xmm0, xmmword [rsp + 0x70]
lea rax, [0x140248770]
movups xmm1, xmmword [rbp - 0x80]
lea rdx, [rbp]
mov rcx, qword [rbx + 0x30]
movups xmmword [rbp], xmm0
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rbp + 0x10], xmm1
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rbp + 0x20], xmm0
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbp + 0x40], xmm0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbp + 0x30], xmm1
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbp + 0x60], xmm0
movsd xmm0, qword [rbp - 0x10]
movups xmmword [rbp + 0x50], xmm1
movups xmm1, xmmword [rbp - 0x20]
movsd qword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x70], xmm1
mov qword [rbp], rax
mov dword [rbp + 8], 0x8a0
mov dword [rbp + 0x14], 0x41880000
call fcn.140049d50
cmp byte [0x14017110d], 0
movups xmm0, xmmword [0x1401710f0]
mov eax, dword [0x140171108]
mov dword [rsp + 0x58], eax
movzx eax, word [0x14017110c]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140171100]
movsd qword [rsp + 0x50], xmm0
je 0x140085b71
xor r8d, r8d
cmp edi, 2
jl 0x140085b27
movdqa xmm0, xmmword [0x140178210]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140178040]
movdqa xmm4, xmmword [0x140178330]
movdqa xmm6, xmmword [0x140178080]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
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 [0x1401781b0]
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
psrad xmm1, 4
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 [0x1401781b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140085a20
cmp r8d, 0x1e
jge 0x140085b71
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x38
xor byte [r9 - 1], al
cmp r8d, 0x1e
jl 0x140085b40
movss xmm2, dword [0x140177ef4]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a070
lea rax, [0x1415fe4f8]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x120]
mov r8d, 0xd14
mov qword [rsp + 0x20], 0
lea rdx, [0x1415fb0d0]
mov qword [rbp + 0x120], 0xffffffffffffffff
mov rcx, rsi
mov qword [rbp + 0x128], 0xffffffffffffffff
mov qword [rbp + 0x130], 0xffffffffffffffff
mov qword [rbp + 0x138], 0xffffffffffffffff
mov dword [rbp + 0x140], 0xffffffff
mov qword [rbp + 0x144], 0xfffffffffffffffd
mov dword [rbp + 0x14c], 0xffffffff
mov qword [rbp + 0x150], 0
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
mov rdx, qword [0x1415fe408]
lea rbx, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
cmp rdx, qword [0x1415fe410]
lea r8, [0x14006cfe0]
movaps xmm6, xmmword [rsp + 0x270]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
je 0x140085c72
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x1415fe408]
add rdx, 0x40
mov qword [0x1415fe408], rdx
jmp 0x140085c7e
call fcn.14008ac60
mov rdx, qword [0x1415fe408]
cmp rdx, qword [0x1415fe410]
lea r8, [0x140071550]
je 0x140085cad
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x1415fe408]
add rdx, 0x40
mov qword [0x1415fe408], rdx
jmp 0x140085cb9
call fcn.14008ac60
mov rdx, qword [0x1415fe408]
cmp rdx, qword [0x1415fe410]
lea r8, [0x140076240]
je 0x140085cde
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
add qword [0x1415fe408], 0x40
jmp 0x140085ce3
call fcn.14008ac60
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.140148bf0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rbp
ret