Function at 0x180089e20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1803435b8]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r15, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0xd0], rcx
mov qword [rbp + 0xc0], rdx
mov qword [rbp + 0xc8], r8
xor ebx, ebx
mov dword [rsp + 0x60], ebx
mov rcx, qword [rdx + 0x10]
mov rax, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x180089e81
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xe0]
call fcn.180072a90
nop
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rcx, qword [rbp + 0xe0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x100]
call fcn.1800eef74
mov edx, eax
test eax, eax
jne 0x180089f25
mov ecx, dword [rbp + 0x110]
test cl, 1
mov eax, 0x1ff
mov r8d, 0x16d
cmovne eax, r8d
mov dword [rsp + 0x44], eax
bt ecx, 0xa
jae 0x180089f17
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x180089f09
lea eax, [rdx + 4]
jmp 0x180089f48
cmp eax, 0xa0000003
jne 0x180089f17
mov eax, 0xa
jmp 0x180089f48
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x180089f48
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x180089f43
sub eax, 1
je 0x180089f43
sub eax, 0x32
je 0x180089f43
cmp eax, 0x46
mov eax, ebx
jne 0x180089f48
mov eax, 1
mov dword [rsp + 0x40], edx
lea rcx, [0x180343328]
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x180089fea
cmp eax, 1
sete r14b
lea rcx, [rbp + 0xe0]
call fcn.1800097f0
test r14b, r14b
je 0x180089ffa
mov dword [rbp + 0xd0], 0xcac2c4ea
mov dword [rbp + 0xd4], 0xc7ddff90
mov dword [rbp + 0xd8], 0xc2d9f394
mov dword [rbp + 0xdc], 0x100ddd6
nop dword [rax + rax]
lea eax, [rbx - 0x54]
xor byte [rbp + rbx + 0xd0], al
inc rbx
cmp rbx, 0xe
jb 0x180089fb0
mov byte [rbp + 0xdf], 0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0xde]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.18000b2d0
jmp 0x18008a1a2
mov r14b, 1
test edx, edx
jne 0x18008a229
jmp 0x180089f72
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.180080530
nop
mov qword [rbp - 0x60], rbx
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.18007daf0
nop
mov rdx, r15
lea rcx, [rbp + 0x100]
call fcn.180009d20
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180083f30
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov dword [rsp + 0x60], 0x82
cmp byte [rax], 3
jne 0x18008a1dc
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x18008a09e
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18008a095
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.18000a920
nop
movzx edx, byte [rsp + 0x50]
cmp dl, 1
jne 0x18008a0d2
cmp qword [rsp + 0x58], 0
jne 0x18008a153
mov r8d, 0x4db3
lea rdx, str.D:ClientesSharkMenu1111111111json.hpp
lea rcx, str.m_type___value_t::object__m_value.object___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rsp + 0x50]
cmp dl, 2
jne 0x18008a0fd
cmp qword [rsp + 0x58], 0
jne 0x18008a153
mov r8d, 0x4db4
lea rdx, str.D:ClientesSharkMenu1111111111json.hpp
lea rcx, str.m_type___value_t::array__m_value.array___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rsp + 0x50]
cmp dl, 3
jne 0x18008a128
cmp qword [rsp + 0x58], 0
jne 0x18008a153
mov r8d, 0x4db5
lea rdx, str.D:ClientesSharkMenu1111111111json.hpp
lea rcx, str.m_type___value_t::string__m_value.string___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rsp + 0x50]
cmp dl, 8
jne 0x18008a153
cmp qword [rsp + 0x58], 0
jne 0x18008a153
mov r8d, 0x4db6
lea rdx, str.D:ClientesSharkMenu1111111111json.hpp
lea rcx, str.m_type___value_t::binary__m_value.binary___nullptr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.180090c90
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x40]
call fcn.180082760
lea rcx, [rbp - 0x38]
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 + 0x60]
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, rsi
call fcn.180009bf0
nop
mov rcx, r15
call fcn.180009bf0
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1800ef750
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
call fcn.18009bfb0
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp + 0xe0]
call fcn.180076b00
nop
mov r9, r14
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x68]
call fcn.1800776c0
lea rdx, [0x180147098]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.180090070
int3