Function at 0x180086620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1802dd180]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], r8
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor r8d, r8d
lea rcx, [rsp + 0x58]
call fcn.18006efc0
nop
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x28]
call fcn.1801570dc
mov edx, eax
test eax, eax
jne 0x1800866f0
mov ecx, dword [rbp - 0x18]
test cl, 1
mov eax, 0x1ff
mov r8d, 0x16d
cmovne eax, r8d
mov dword [rsp + 0x44], eax
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x1800866e5
mov eax, dword [rbp - 0x14]
cmp eax, 0xa000000c
jne 0x1800866d7
mov ecx, 4
jmp 0x180086714
cmp eax, 0xa0000003
jne 0x1800866e5
mov ecx, 0xa
jmp 0x180086714
shr ecx, 4
and ecx, 1
or ecx, 2
jmp 0x180086714
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x18008670f
sub eax, 1
je 0x18008670f
sub eax, 0x32
je 0x18008670f
cmp eax, 0x46
mov ecx, r15d
jne 0x180086714
mov ecx, 1
mov dword [rsp + 0x40], edx
lea rax, [0x1801da8d0]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test ecx, ecx
je 0x18008695c
cmp ecx, 1
sete r14b
lea rcx, [rsp + 0x58]
call fcn.180080fd0
test r14b, r14b
je 0x18008696c
movsd xmm0, qword [str.tZXP]
movsd qword [rsp + 0x30], xmm0
mov edx, dword [0x18016d5a0]
mov dword [rsp + 0x38], edx
movzx eax, word [0x18016d5a4]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x18016d5a6]
mov byte [rsp + 0x3e], al
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800868e6
movdqa xmm5, xmmword [0x18016ff30]
movdqa xmm2, xmmword [0x180168c90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
movdqa xmm4, xmmword [0x18016fe50]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [str.tZXP]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm2, xmmword [0x18016fd90]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm2, xmm0
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
movdqa xmm3, xmmword [0x18016fdb0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm5
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.3333]
psubd xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [str.2222222222222222]
movd xmm0, edx
xorps xmm3, xmm0
movd dword [rsp + 0x38], xmm3
mov ecx, listen
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x1800868f0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180086940
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18004a030
jmp 0x180086b1b
mov r14b, 1
test edx, edx
jne 0x180086ba0
jmp 0x18008673e
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 1
mov rdx, rdi
lea rcx, [rbp]
call fcn.18007a130
nop
mov qword [rbp - 0x50], r15
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x78]
lea rdx, [rbp]
lea rcx, [rbp - 0x38]
call fcn.180077870
nop
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.18005cc80
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.18007d3a0
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x50], 8
cmp byte [rax], 3
jne 0x180086b55
mov rdx, qword [rax + 8]
cmp rbx, rdx
je 0x180086a1e
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180086a15
mov rdx, qword [rdx]
mov rcx, rbx
call fcn.180056630
nop
movzx edx, byte [rbp - 0x38]
cmp dl, 1
jne 0x180086a4f
cmp qword [rbp - 0x30], 0
jne 0x180086aca
mov r8d, 0x4e12
lea rdx, str.E:ProjectsSharkExecutorKEYAUTH_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::object__m_data.m_value.object___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x38]
cmp dl, 2
jne 0x180086a78
cmp qword [rbp - 0x30], 0
jne 0x180086aca
mov r8d, 0x4e13
lea rdx, str.E:ProjectsSharkExecutorKEYAUTH_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::array__m_data.m_value.array___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x38]
cmp dl, 3
jne 0x180086aa1
cmp qword [rbp - 0x30], 0
jne 0x180086aca
mov r8d, 0x4e14
lea rdx, str.E:ProjectsSharkExecutorKEYAUTH_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::string__m_data.m_value.string___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x38]
cmp dl, 8
jne 0x180086aca
cmp qword [rbp - 0x30], 0
jne 0x180086aca
mov r8d, 0x4e15
lea rdx, str.E:ProjectsSharkExecutorKEYAUTH_srcmiscjson.hpp
lea rcx, str.m_data.m_type___value_t::binary__m_data.m_value.binary___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rbp - 0x38]
lea rcx, [rbp - 0x30]
call fcn.180081da0
nop
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 0x10]
call fcn.18007c5e0
lea rcx, [rbp + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, rdi
call fcn.18004ac00
nop
mov rcx, rsi
call fcn.18004ac00
mov rax, rbx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.180157e20
mov rbx, qword [rsp + 0x268]
add rsp, 0x220
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
call fcn.180099320
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x58]
call fcn.180071510
nop
mov r9, r14
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x78]
call fcn.180072240
lea rdx, [0x1801d4c08]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180080df0
int3