Function at 0x180089c80
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 0x180089ce1
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.180072b80
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.1800eeee4
mov edx, eax
test eax, eax
jne 0x180089d85
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 0x180089d77
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x180089d69
lea eax, [rdx + 4]
jmp 0x180089da8
cmp eax, 0xa0000003
jne 0x180089d77
mov eax, 0xa
jmp 0x180089da8
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x180089da8
mov dword [rsp + 0x44], 0xffff
sub eax, 2
je 0x180089da3
sub eax, 1
je 0x180089da3
sub eax, 0x32
je 0x180089da3
cmp eax, 0x46
mov eax, ebx
jne 0x180089da8
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 0x180089e4a
cmp eax, 1
sete r14b
lea rcx, [rbp + 0xe0]
call fcn.1800097f0
test r14b, r14b
je 0x180089e5a
mov dword [rbp + 0xd0], 0x171d1929
mov dword [rbp + 0xd4], 0x21a3a53
mov dword [rbp + 0xd8], 0xf163e57
mov dword [rbp + 0xdc], 0x1001815
nop dword [rax + rax]
lea eax, [rbx + 0x6f]
xor byte [rbp + rbx + 0xd0], al
inc rbx
cmp rbx, 0xe
jb 0x180089e10
mov byte [rbp + 0xdf], 0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0xde]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.18000b2d0
jmp 0x18008a002
mov r14b, 1
test edx, edx
jne 0x18008a089
jmp 0x180089dd2
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.180080620
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.18007dbe0
nop
mov rdx, r15
lea rcx, [rbp + 0x100]
call fcn.180009d20
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180084020
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 0x18008a03c
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x180089efe
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180089ef5
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.18000a920
nop
movzx edx, byte [rsp + 0x50]
cmp dl, 1
jne 0x180089f32
cmp qword [rsp + 0x58], 0
jne 0x180089fb3
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 0x180089f5d
cmp qword [rsp + 0x58], 0
jne 0x180089fb3
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 0x180089f88
cmp qword [rsp + 0x58], 0
jne 0x180089fb3
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 0x180089fb3
cmp qword [rsp + 0x58], 0
jne 0x180089fb3
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.180090a90
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.180082850
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.1800ef6c0
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, r14
call fcn.18009bf10
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp + 0xe0]
call fcn.180076bf0
nop
mov r9, r14
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x68]
call fcn.1800777b0
lea rdx, [0x180147010]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.18008fed0
int3