Function at 0x1400847d0
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 [0x14018d080]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov qword [r11 + 8], rsi
xor ecx, ecx
mov rsi, qword [0x1416113e0]
mov rbx, r8
mov qword [r11 + 0x10], rdi
movaps xmmword [r11 - 0x18], xmm6
mov qword [0x141611470], rdx
call fcn.1400458c0
mov edi, dword [reloc.WS2_32.dll_accept]
xorps xmm0, xmm0
xor eax, eax
xorps xmm6, xmm6
cmp byte [0x140170255], 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 [str.v_fkoPT_SJMc]
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 [0x140170250]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x58], eax
movsd xmm0, qword [0x140170248]
movzx eax, word [0x140170254]
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 0x140084ac3
xor r8d, r8d
cmp edi, 2
jl 0x140084a7f
movdqa xmm0, xmmword [0x140177070]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x1401771c0]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
movaps xmmword [rsp + 0x260], xmm7
movdqa xmm7, xmmword [0x140176f20]
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 [0x140177020]
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 [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140084970
movaps xmm7, xmmword [rsp + 0x260]
cmp r8d, 0x1e
jge 0x140084ac3
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x140084a90
movss xmm2, dword [0x140176d64]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a160
movups xmm0, xmmword [rbp + 0x90]
lea rax, [0x14018d110]
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, [0x140170d28]
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.140049e40
cmp byte [0x140170255], 0
movups xmm0, xmmword [str.v_fkoPT_SJMc]
mov eax, dword [0x140170250]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140170254]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140170248]
movsd qword [rsp + 0x50], xmm0
je 0x140084d33
xor r8d, r8d
cmp edi, 2
jl 0x140084ce7
movdqa xmm0, xmmword [0x140177070]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x1401771c0]
movdqa xmm6, xmmword [0x140176f20]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140177020]
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 [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140084be0
cmp r8d, 0x1e
jge 0x140084d33
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x140084d00
movss xmm2, dword [0x140176d68]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a160
movups xmm0, xmmword [rsp + 0x70]
lea rax, [0x140247770]
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.140049e40
cmp byte [0x140170255], 0
movups xmm0, xmmword [str.v_fkoPT_SJMc]
mov eax, dword [0x140170250]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140170254]
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x5c], ax
movsd xmm0, qword [0x140170248]
movsd qword [rsp + 0x50], xmm0
je 0x140084f93
xor r8d, r8d
cmp edi, 2
jl 0x140084f47
movdqa xmm0, xmmword [0x140177070]
lea rcx, [rsp + 0x44]
movdqa xmm5, xmmword [0x140176ee0]
movdqa xmm4, xmmword [0x1401771c0]
movdqa xmm6, xmmword [0x140176f20]
movdqa xmmword [rsp + 0x60], xmm0
mov edx, dword [rsp + 0x60]
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140177020]
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 [0x140177020]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x18
jl 0x140084e40
cmp r8d, 0x1e
jge 0x140084f93
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x35
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x1e
jl 0x140084f60
movss xmm2, dword [0x140176d88]
lea r9, [rsp + 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14004a160
lea rax, [0x1416115f8]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x120]
mov r8d, 0x14e13
mov qword [rsp + 0x20], 0
lea rdx, [0x1415fa0d0]
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 [0x1416114f8]
lea rbx, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
cmp rdx, qword [0x141611500]
lea r8, [0x14006db40]
movaps xmm6, xmmword [rsp + 0x270]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
je 0x140085094
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x1416114f8]
add rdx, 0x40
mov qword [0x1416114f8], rdx
jmp 0x1400850a0
call fcn.14008a0a0
mov rdx, qword [0x1416114f8]
cmp rdx, qword [0x141611500]
lea r8, [0x140071d70]
je 0x1400850cf
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
mov rdx, qword [0x1416114f8]
add rdx, 0x40
mov qword [0x1416114f8], rdx
jmp 0x1400850db
call fcn.14008a0a0
mov rdx, qword [0x1416114f8]
cmp rdx, qword [0x141611500]
lea r8, [0x1400769b0]
je 0x140085100
mov qword [rdx], rbx
mov qword [rdx + 8], r8
mov qword [rdx + 0x38], rdx
add qword [0x1416114f8], 0x40
jmp 0x140085105
call fcn.14008a0a0
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.1401482c0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rbp
ret