Function at 0x1800a2630
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 [0x1802ee528]
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 0x1800a2691
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.18008e920
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.1801067d8
mov edx, eax
test eax, eax
jne 0x1800a2735
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 0x1800a2727
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x1800a2719
lea eax, [rdx + 4]
jmp 0x1800a2758
cmp eax, 0xa0000003
jne 0x1800a2727
mov eax, 0xa
jmp 0x1800a2758
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800a2758
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x1800a2753
sub eax, 1
je 0x1800a2753
sub eax, 0x32
je 0x1800a2753
cmp eax, 0x46
mov eax, ebx
jne 0x1800a2758
mov eax, 1
mov dword [rsp + 0x40], edx
lea rcx, [0x1802ee288]
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test eax, eax
je 0x1800a27fa
cmp eax, 1
sete r14b
lea rcx, [rbp + 0xe0]
call fcn.18000a120
test r14b, r14b
je 0x1800a280a
mov dword [rbp + 0xd0], 0x5c545e70
mov dword [rbp + 0xd4], 0x4953751a
mov dword [rbp + 0xd8], 0x342f791e
mov dword [rbp + 0xdc], 0x100272c
nop dword [rax + rax]
lea eax, [rbx + 0x36]
xor byte [rbp + rbx + 0xd0], al
inc rbx
cmp rbx, 0xe
jb 0x1800a27c0
mov byte [rbp + 0xdf], 0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0xde]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.18000b9e0
jmp 0x1800a29b2
mov r14b, 1
test edx, edx
jne 0x1800a2a39
jmp 0x1800a2782
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.18009b6d0
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.180098b40
nop
mov rdx, r15
lea rcx, [rbp + 0x100]
call fcn.18000a550
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18009eb30
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 0x1800a29ec
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x1800a28ae
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800a28a5
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.18000b0f0
nop
movzx edx, byte [rsp + 0x50]
cmp dl, 1
jne 0x1800a28e2
cmp qword [rsp + 0x58], 0
jne 0x1800a2963
mov r8d, 0x4db3
lea rdx, str.D:ClientesRoyalMenuSemIsolado1111111111json.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 0x1800a290d
cmp qword [rsp + 0x58], 0
jne 0x1800a2963
mov r8d, 0x4db4
lea rdx, str.D:ClientesRoyalMenuSemIsolado1111111111json.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 0x1800a2938
cmp qword [rsp + 0x58], 0
jne 0x1800a2963
mov r8d, 0x4db5
lea rdx, str.D:ClientesRoyalMenuSemIsolado1111111111json.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 0x1800a2963
cmp qword [rsp + 0x58], 0
jne 0x1800a2963
mov r8d, 0x4db6
lea rdx, str.D:ClientesRoyalMenuSemIsolado1111111111json.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.1800a7c40
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.18009d530
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.18000a420
nop
mov rcx, r15
call fcn.18000a420
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.180106c20
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
call fcn.1800b0ec0
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp + 0xe0]
call fcn.180091b50
nop
mov r9, r14
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x68]
call fcn.180092710
lea rdx, [0x1801619b0]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.1800a71a0
int3