Function at 0x180057b20
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 [0x1801ac118]
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.1800593f0
mov r8, rbx
lea rdx, str.Loading__s_translations.
mov rcx, qword [0x1801c9210]
call fcn.180054c30
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.18000c0a0
lea rcx, [r15 + 0x40]
mov qword [rsp + 0x250], rcx
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp byte [rcx + rax], 0
jne 0x180057be7
mov qword [rsp + 0x258], rax
call fcn.1800ecb50
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0xb0]
mov edx, eax
lea rcx, [rsp + 0x90]
call fcn.1800559b0
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 0x180057c41
mov qword [rsp + 0x258], rax
call fcn.1800ecb50
movaps xmm0, xmmword [rsp + 0x250]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1800559b0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.180055fd0
mov rbx, rax
lea rcx, [rsp + 0x70]
call fcn.1800571e0
mov rdx, rbx
lea rcx, [rsp + 0x280]
call fcn.180056e00
nop
lea rcx, [rsp + 0x90]
call fcn.1800571e0
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, [0x180155050]
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 [0x18023a310]
mov qword [rsp + 0x1c4], rax
mov qword [rsp + 0x1b8], r12
lea r8d, [r14 - 0x3d]
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.1800554b0
test rax, rax
jne 0x180057df5
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 0x180058209
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x2e0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x2e0]
call fcn.180059330
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.18005bc40
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 0x180057f1b
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.180019df0
mov dl, 0xa
mov rcx, rax
call fcn.180059d10
jmp 0x180057e91
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0xf8], r12
mov ecx, Ordinal_41
call fcn.18012d6e8
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.180001620
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180057ff2
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180057fed
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 0x180057fed
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.180059ed0
nop
mov rdi, qword [rsp + 0x2a8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18005812d
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 0x18005829b
mov rdx, qword [rsi + 0x28]
lea rax, [rsp + 0x40]
cmp rax, rdx
je 0x180058097
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18005808d
mov rdx, qword [rdx]
lea rcx, [rsp + 0x40]
call fcn.1800017a0
cmp qword [rsi + 0x18], 0x10
jb 0x1800580a1
mov rsi, qword [rsi]
mov r9d, r12d
movzx r8d, byte [rsi]
test r8b, r8b
je 0x1800580eb
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 0x1800580b0
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.18005a120
and r14d, 0xfffffffe
lea rcx, [rsp + 0x40]
call fcn.18000fd90
mov rbx, qword [rbx]
jmp 0x180058036
lea rcx, [rsp + 0x2a0]
call fcn.1800583f0
nop
movzx ecx, byte [rsp + 0x250]
sub ecx, 1
je 0x18005817a
sub ecx, 1
je 0x180058166
cmp ecx, 1
jne 0x18005819d
mov rcx, qword [rsp + 0x258]
call fcn.18000fd90
mov edx, reloc.WLDAP32.dll_Ordinal_32
jmp 0x18005818f
mov rcx, qword [rsp + 0x258]
call fcn.18000e050
mov edx, Ordinal_27
jmp 0x18005818f
mov rcx, qword [rsp + 0x258]
mov rdx, rcx
call fcn.18000df20
mov edx, reloc.WS2_32.dll_recv
mov rcx, qword [rsp + 0x258]
call fcn.18012d6e0
nop
lea rcx, [rsp + 0x260]
call fcn.18000fd90
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.180059270
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.18000f260
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.1800571e0
nop
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.18012d340
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.18000dca0
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.18000f9e0
nop
mov r8, rax
lea rdx, str.type_must_be_string__but_is
lea rcx, [rsp + 0x70]
call fcn.18000db70
nop
mov r8, rax
mov edx, 0x12e
lea rcx, [rsp + 0x100]
call fcn.18000d890
lea rdx, [0x1801a7bb0]
lea rcx, [rsp + 0x100]
call sub.VCRUNTIME140.dll__CxxThrowException
int3