Function at 0x18005dd80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x1800fd258]
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
xor r8d, r8d
lea rcx, [rbp + 0xe0]
call fcn.18004f0b0
nop
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 8
cmovae rcx, qword [rbp + 0xe0]
mov r9d, 0xffffffff
lea r8d, [rbx + 3]
lea rdx, [rbp + 0x100]
call fcn.1800b6e84
mov edx, eax
test eax, eax
jne 0x18005de62
mov ecx, dword [rbp + 0x110]
test cl, 1
mov eax, 0x1ff
mov r8d, 0x16d
cmovne eax, r8d
mov dword [rsp + 0x54], eax
bt ecx, 0xa
jae 0x18005de54
mov eax, dword [rbp + 0x114]
cmp eax, 0xa000000c
jne 0x18005de46
lea eax, [rbx + 4]
jmp 0x18005de85
cmp eax, 0xa0000003
jne 0x18005de54
mov eax, 0xa
jmp 0x18005de85
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x18005de85
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x18005de80
sub eax, 1
je 0x18005de80
sub eax, 0x32
je 0x18005de80
cmp eax, 0x46
mov eax, ebx
jne 0x18005de85
mov eax, 1
mov dword [rsp + 0x50], edx
lea rcx, [0x1800fd1e8]
mov qword [rsp + 0x58], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test eax, eax
je 0x18005df2a
cmp eax, 1
sete r14b
lea rcx, [rbp + 0xe0]
call fcn.18000a380
test r14b, r14b
je 0x18005df3a
mov dword [rbp + 0xd0], 0x868e88a6
mov dword [rbp + 0xd4], 0x9389abc4
mov dword [rbp + 0xd8], 0x9e85afc8
mov dword [rbp + 0xdc], 0x1008982
nop dword [rax + rax]
lea eax, [rbx - 0x20]
xor byte [rbp + rbx + 0xd0], al
inc rbx
cmp rbx, 0xe
jb 0x18005def0
mov byte [rbp + 0xdf], 0
lea r9, [rsp + 0x30]
lea r8, [rbp + 0xde]
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.18000bc20
jmp 0x18005e10e
mov r14b, 1
test edx, edx
jne 0x18005e190
jmp 0x18005deaf
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18005df47
mov rdx, qword [rsi]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
lea rcx, [rbp - 0x50]
call fcn.180059a40
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], r12
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x54], edx
mov qword [rbp - 0x60], rbx
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.1800574a0
nop
mov rdx, r15
lea rcx, [rbp + 0x100]
call fcn.18000a710
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.18005c160
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], 0x40
cmp byte [rax], 3
jne 0x18005e143
mov rdx, qword [rax + 8]
cmp rdi, rdx
je 0x18005e00d
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18005e004
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.18000b310
nop
movzx edx, byte [rsp + 0x38]
cmp dl, 1
jne 0x18005e042
cmp qword [rsp + 0x40], 0
jne 0x18005e0c6
mov r8d, 0x4db3
lea rdx, str.D:ClientesRamonDragonDDR3json.hpp
lea rcx, str.m_type___value_t::object__m_value.object___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x38]
cmp dl, 2
jne 0x18005e06e
cmp qword [rsp + 0x40], 0
jne 0x18005e0c6
mov r8d, 0x4db4
lea rdx, str.D:ClientesRamonDragonDDR3json.hpp
lea rcx, str.m_type___value_t::array__m_value.array___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x38]
cmp dl, 3
jne 0x18005e09a
cmp qword [rsp + 0x40], 0
jne 0x18005e0c6
mov r8d, 0x4db5
lea rdx, str.D:ClientesRamonDragonDDR3json.hpp
lea rcx, str.m_type___value_t::string__m_value.string___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x38]
cmp dl, 8
jne 0x18005e0c6
cmp qword [rsp + 0x40], 0
jne 0x18005e0c6
mov r8d, 0x4db6
lea rdx, str.D:ClientesRamonDragonDDR3json.hpp
lea rcx, str.m_type___value_t::binary__m_value.binary___nullptr
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.180060000
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r12
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.18005b330
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.18000a5e0
nop
mov rcx, r15
call fcn.18000a5e0
mov rax, rdi
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1800b5ef0
add rsp, 0x230
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, r14
call fcn.1800676b0
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
lea rdx, str.type_must_be_string__but_is
lea rcx, [rbp + 0xe0]
call fcn.180050aa0
nop
mov r9, r14
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x68]
call fcn.180051780
lea rdx, [0x1800e58d8]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x50]
lea rcx, str.exists
call fcn.18005f9b0
int3