Function at 0x180057f30
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 [0x1801af118]
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.1800597d0
mov r8, rbx
lea rdx, str.Loading__s_translations.
mov rcx, qword [0x1801cc1e0]
call fcn.1800551e0
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.18000c100
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 0x180058000
mov qword [rsp + 0x258], rax
call fcn.1800e6e90
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.180055e60
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 0x180058054
mov qword [rsp + 0x258], rax
call fcn.1800e6e90
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rsp + 0x80]
call fcn.180055e60
nop
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.180056480
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180057690
mov rdx, rbx
lea rcx, [rsp + 0x280]
call fcn.1800572b0
nop
lea rcx, [rsp + 0xa0]
call fcn.180057690
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, [0x180157c10]
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 [0x18023eab0]
mov qword [rsp + 0x1c4], rax
mov qword [rsp + 0x1b8], r12
lea r8d, [r14 - 0x3d]
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.180055960
test rax, rax
jne 0x180058211
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 0x180058619
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x2e0]
call fcn.180059710
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.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 0x18005833a
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.18001a090
mov dl, 0xa
mov rcx, rax
call fcn.18005a260
jmp 0x1800582b0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0xf8], r12
mov ecx, Ordinal_41
call fcn.180127858
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 0x180058411
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18005840c
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 0x18005840c
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.18005a420
nop
mov rdi, qword [rsp + 0x2a8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18005853d
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 0x1800586ab
mov rdx, qword [rsi + 0x28]
lea rcx, [rsp + 0x40]
call fcn.1800018d0
cmp qword [rsi + 0x18], 0x10
jb 0x1800584a8
mov rsi, qword [rsi]
mov r9d, r12d
movzx r8d, byte [rsi]
test r8b, r8b
je 0x1800584fb
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 0x1800584c0
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.18005a670
and r14d, 0xfffffffe
lea rcx, [rsp + 0x40]
call fcn.18000fdf0
mov rbx, qword [rbx]
jmp 0x180058455
lea rcx, [rsp + 0x2a0]
call fcn.180058800
nop
movzx ecx, byte [rsp + 0x250]
sub ecx, 1
je 0x18005858a
sub ecx, 1
je 0x180058576
cmp ecx, 1
jne 0x1800585ad
mov rcx, qword [rsp + 0x258]
call fcn.18000fdf0
mov edx, reloc.WLDAP32.dll_Ordinal_32
jmp 0x18005859f
mov rcx, qword [rsp + 0x258]
call fcn.18000e0b0
mov edx, Ordinal_26
jmp 0x18005859f
mov rcx, qword [rsp + 0x258]
mov rdx, rcx
call fcn.18000df80
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x258]
call fcn.180127850
nop
lea rcx, [rsp + 0x260]
call fcn.18000fdf0
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.180059650
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.18000f2c0
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.180057690
nop
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1801274b0
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.18000dd00
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18000fa40
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x80]
call fcn.18000dbd0
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x100]
call fcn.18000d8f0
lea rdx, [0x1801aaef0]
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll__CxxThrowException
int3