Function at 0x1400855f0
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 [0x141688000]
mov rbx, r8
mov qword [r11 + 0x10], rdi
movaps xmmword [r11 - 0x18], xmm6
mov qword [0x141688318], rdx
call fcn.140045910
mov edi, dword [reloc.WS2_32.dll_accept]
xorps xmm0, xmm0
xor eax, eax
xorps xmm6, xmm6
cmp byte [0x140171205], 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 [0x1401711e8]
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 [0x140171200]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd xmm0, qword [0x1401711f8]
movzx eax, word [0x140171204]
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 0x1400858e2
xor r8d, r8d
cmp edi, 2
jl 0x14008589f
movdqa xmm0, xmmword [0x1401785a0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140178380]
movdqa xmm4, xmmword [0x140178530]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x260], xmm7
movdqa xmm7, xmmword [0x140178400]
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, 1
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 [0x140178520]
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, 1
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 [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140085790
movaps xmm7, xmmword [rsp + 0x260]
cmp r8d, 0x1e
jge 0x1400858e2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x1400858b0
movss xmm2, dword [0x140178204]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a1b0
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, [0x140171dd0]
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.140049e90
cmp byte [0x140171205], 0
movups xmm0, xmmword [0x1401711e8]
mov eax, dword [0x140171200]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140171204]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x1401711f8]
movsd qword [rsp + 0x50], xmm0
je 0x140085b52
xor r8d, r8d
cmp edi, 2
jl 0x140085b07
movdqa xmm0, xmmword [0x1401785a0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140178380]
movdqa xmm4, xmmword [0x140178530]
movdqa xmm6, xmmword [0x140178400]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [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, 1
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 [0x140178520]
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, 1
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 [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140085a00
cmp r8d, 0x1e
jge 0x140085b52
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x140085b20
movss xmm2, dword [0x140178208]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a1b0
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.140049e90
cmp byte [0x140171205], 0
movups xmm0, xmmword [0x1401711e8]
mov eax, dword [0x140171200]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140171204]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x1401711f8]
movsd qword [rsp + 0x50], xmm0
je 0x140085db2
xor r8d, r8d
cmp edi, 2
jl 0x140085d67
movdqa xmm0, xmmword [0x1401785a0]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140178380]
movdqa xmm4, xmmword [0x140178530]
movdqa xmm6, xmmword [0x140178400]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
nop dword [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, 1
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 [0x140178520]
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, 1
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 [0x140178520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140085c60
cmp r8d, 0x1e
jge 0x140085db2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x37
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x140085d80
movss xmm2, dword [0x140178228]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a1b0
lea rax, [0x1416884a8]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x120]
mov r8d, 0x8a89c
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 [0x1416883a0]
lea rbx, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
cmp rdx, qword [0x1416883a8]
lea r8, [0x14006d120]
movaps xmm6, xmmword [rsp + 0x270]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
je 0x140085eb3
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x1416883a0]
add rdx, 0x40
mov qword [0x1416883a0], rdx
jmp 0x140085ebf
call fcn.14008ae40
mov rdx, qword [0x1416883a0]
cmp rdx, qword [0x1416883a8]
lea r8, [0x1400716a0]
je 0x140085eee
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x1416883a0]
add rdx, 0x40
mov qword [0x1416883a0], rdx
jmp 0x140085efa
call fcn.14008ae40
mov rdx, qword [0x1416883a0]
cmp rdx, qword [0x1416883a8]
lea r8, [0x1400763f0]
je 0x140085f1f
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
add qword [0x1416883a0], 0x40
jmp 0x140085f24
call fcn.14008ae40
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.1401487e0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rbp
ret