Function at 0x1800541a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x1801d1038]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
lea rbx, str.English
mov qword [rsp + 0x60], rbx
call fcn.1800564e0
mov r8, rbx
lea rdx, str.Loading__s_translations.
mov rcx, qword [0x1801ed600]
call fcn.180051270
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.1800017d0
lea rcx, [r15 + 0x40]
mov qword [rsp + 0x250], rcx
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x180054270
mov qword [rsp + 0x258], rax
call fcn.1800f5cf0
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.180051f10
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 0x1800542c4
mov qword [rsp + 0x258], rax
call fcn.1800f5cf0
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.180051f10
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.180052530
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180053820
mov rdx, rbx
lea rcx, [rsp + 0x280]
call fcn.180053380
nop
lea rcx, [rsp + 0xa0]
call fcn.180053820
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, [0x180177428]
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 [0x180263560]
mov qword [rsp + 0x1c4], rax
mov qword [rsp + 0x1b8], r12
lea r8d, [r14 - 0x3d]
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.180051a70
test rax, rax
jne 0x180054481
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 0x180054889
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x2e0]
call fcn.180056420
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
nop dword [rax]
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.1800584f0
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 0x1800545aa
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.18000ef00
mov dl, 0xa
mov rcx, rax
call fcn.180056fa0
jmp 0x180054520
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0xf8], r12
mov ecx, Ordinal_41
call fcn.1800f6468
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.180056980
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180054681
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18005467c
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 0x18005467c
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.180057170
nop
mov rdi, qword [rsp + 0x2a8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1800547ad
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 0x18005491b
mov rdx, qword [rsi + 0x28]
lea rcx, [rsp + 0x40]
call fcn.180064a80
cmp qword [rsi + 0x18], 0x10
jb 0x180054718
mov rsi, qword [rsi]
mov r9d, r12d
movzx r8d, byte [rsi]
test r8b, r8b
je 0x18005476b
nop dword [rax]
nop dword [rax + 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 0x180054730
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 + 0x70]
mov rcx, r15
call fcn.180057380
and r14d, 0xfffffffe
lea rcx, [rsp + 0x40]
call fcn.18000cdb0
mov rbx, qword [rbx]
jmp 0x1800546c5
lea rcx, [rsp + 0x2a0]
call fcn.180054a70
nop
movzx ecx, byte [rsp + 0x250]
sub ecx, 1
je 0x1800547fa
sub ecx, 1
je 0x1800547e6
cmp ecx, 1
jne 0x18005481d
mov rcx, qword [rsp + 0x258]
call fcn.18000cdb0
mov edx, reloc.WLDAP32.dll_Ordinal_32
jmp 0x18005480f
mov rcx, qword [rsp + 0x258]
call fcn.18000ec60
mov edx, Ordinal_27
jmp 0x18005480f
mov rcx, qword [rsp + 0x258]
mov rdx, rcx
call fcn.18000f3f0
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x258]
call fcn.1800f6340
nop
lea rcx, [rsp + 0x260]
call fcn.18000cdb0
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.180056360
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.18000b620
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.180053820
nop
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1800f6320
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsi + 0x20]
call fcn.18000cb80
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18000ba10
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x80]
call fcn.18000d760
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x100]
call fcn.180001e40
lea rdx, [0x1801ccab8]
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll__CxxThrowException
int3