Function at 0x1800585a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x1801be118]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
call fcn.180059cc0
mov r8, rbx
lea rdx, str.Loading__s_translations.
mov rcx, qword [0x1801dc8e0]
call fcn.180055910
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x3e0], xmm0
movups xmmword [rsp + 0x3f0], xmm0
movups xmmword [rsp + 0x400], xmm0
movups xmmword [rsp + 0x410], xmm0
movups xmmword [rsp + 0x420], xmm0
movups xmmword [rsp + 0x430], xmm0
mov dword [rsp + 0x440], eax
mov r9, rbx
lea r8, str._s.json
lea edx, [rax + 0x63]
lea rcx, [rsp + 0x3e0]
call fcn.18000c060
lea rcx, [r15 + 0x40]
mov qword [rsp + 0x250], rcx
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x180058667
mov qword [rsp + 0x258], rax
call fcn.1800f18d0
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x90]
call fcn.180056460
nop
lea rax, [rsp + 0x3e0]
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x3e0]
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x1800586c1
mov qword [rsp + 0x258], rax
call fcn.1800f18d0
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.180056460
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.180056a80
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.180057d00
mov rdx, rbx
lea rcx, [rsp + 0x280]
call fcn.180057920
nop
lea rcx, [rsp + 0x90]
call fcn.180057d00
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x140]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rsp + 0x280]
cmp qword [rsp + 0x298], 8
cmovae rbx, qword [rsp + 0x280]
lea rax, [0x18015ae60]
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 0x3e
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x140]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x140], r13
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x13c], edx
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x150], rax
mov byte [rsp + 0x1cc], 0
mov byte [rsp + 0x1c1], 0
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x1d0], r12
mov rax, qword [0x180259170]
mov qword [rsp + 0x1c4], rax
mov qword [rsp + 0x1b8], r12
lea r8d, [r14 - 0x3d]
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.180055f60
test rax, rax
jne 0x180058875
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x140]
add rcx, rax
xor r8d, r8d
lea edx, [r14 - 0x3c]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x140], r13
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x13c], edx
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x140]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x180058c89
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x2e0]
call fcn.180059c00
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x260], xmm0
mov qword [rsp + 0x270], r12
mov qword [rsp + 0x278], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x260], 0
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x140]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x140]
call fcn.18005c220
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x18005899b
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 0x10
cmovae rdx, qword [rsp + 0x260]
mov r8, qword [rsp + 0x270]
lea rcx, [rsp + 0x2f0]
call fcn.180019c40
mov dl, 0xa
mov rcx, rax
call fcn.18005a5e0
jmp 0x180058911
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0xf8], r12
mov ecx, Ordinal_41
call fcn.180132468
mov r9, rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_nlohmann::detail::input_stream_adapter_.0
mov qword [r9], rax
lea r8, [r9 + 0x10]
lea rax, vtable.nlohmann::detail::input_stream_adapter.0
mov qword [r8], rax
lea rax, [rsp + 0x2e0]
mov qword [r8 + 8], rax
mov rcx, qword [rsp + 0x2e0]
movsxd rdx, dword [rcx + 4]
mov rax, qword [rsp + rdx + 0x328]
mov qword [r8 + 0x10], rax
or r14d, 0x40
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x250]
call fcn.180001640
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180058a72
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180058a6d
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180058a6d
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14d, dword [rsp + 0x20]
xorps xmm0, xmm0
movups xmmword [rsp + 0x2a0], xmm0
movups xmmword [rsp + 0x2b0], xmm0
movups xmmword [rsp + 0x2c0], xmm0
movups xmmword [rsp + 0x2d0], xmm0
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x250]
call fcn.18005a7b0
nop
mov rdi, qword [rsp + 0x2a8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x180058bad
lea rsi, [rbx + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], 0
or r14d, 1
mov dword [rsp + 0x20], r14d
cmp byte [rsi + 0x20], 3
jne 0x180058d1b
mov rdx, qword [rsi + 0x28]
lea rax, [rsp + 0x40]
cmp rax, rdx
je 0x180058b17
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180058b0d
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.1800017c0
cmp qword [rsi + 0x18], 0x10
jb 0x180058b21
mov rsi, qword [rsi]
mov r9d, r12d
movzx r8d, byte [rsi]
test r8b, r8b
je 0x180058b6b
nop dword [rax]
lea rsi, [rsi + 1]
movsx edx, r8b
sub r8b, 0x41
lea eax, [rdx + 0x20]
movzx ecx, al
movzx eax, dl
cmp r8b, 0x19
cmova ecx, eax
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
movzx r8d, byte [rsi]
test r8b, r8b
jne 0x180058b30
lea ecx, [r9 + r9*8]
mov eax, ecx
shr eax, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.18005a9c0
and r14d, 0xfffffffe
lea rcx, [rsp + 0x40]
call fcn.18000fd70
mov rbx, qword [rbx]
jmp 0x180058ab6
lea rcx, [rsp + 0x2a0]
call fcn.180058e70
nop
movzx ecx, byte [rsp + 0x250]
sub ecx, 1
je 0x180058bfa
sub ecx, 1
je 0x180058be6
cmp ecx, 1
jne 0x180058c1d
mov rcx, qword [rsp + 0x258]
call fcn.18000fd70
mov edx, reloc.WLDAP32.dll_Ordinal_32
jmp 0x180058c0f
mov rcx, qword [rsp + 0x258]
call fcn.18000e020
mov edx, Ordinal_27
jmp 0x180058c0f
mov rcx, qword [rsp + 0x258]
mov rdx, rcx
call fcn.18000def0
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x258]
call fcn.180132460
nop
lea rcx, [rsp + 0x260]
call fcn.18000fd70
nop
mov rax, qword [rsp + 0x2e0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x2dc], edx
lea rcx, [rsp + 0x2f8]
call fcn.180059b40
lea rcx, [rsp + 0x300]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x378]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x140], r13
mov rax, qword [rsp + 0x140]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x13c], edx
lea rcx, [rsp + 0x150]
call fcn.18000f240
lea rcx, [rsp + 0x158]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x280]
call fcn.180057d00
nop
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1801320c0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsi + 0x20]
call fcn.18000dc70
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.18000f9c0
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x70]
call fcn.18000db40
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x100]
call fcn.18000d860
lea rdx, [0x1801b9be0]
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll__CxxThrowException
int3