Function at 0x140050ea0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x318]
sub rsp, 0x3f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movzx esi, cl
movups xmm0, xmmword [0x1400f8160]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1400f8170]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1400f8178]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1400f817c]
mov word [rsp + 0x6c], ax
movzx eax, byte [0x1400f817e]
mov byte [rsp + 0x6e], al
xor ebx, ebx
mov ecx, ebx
lea r15d, [rbx + 4]
lea r14d, [rbx + 0x1f]
mov edi, dword [reloc.WS2_32.dll_accept]
cmp edi, 2
jl 0x140051060
movdqa xmm5, xmmword [0x1400f5690]
movdqa xmm4, xmmword [0x1400faf80]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1400fae20]
movd xmm8, r14d
movdqa xmm0, xmmword [str.5555555555555555R]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x54]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fae90]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fae90]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x140050f60
cmp ecx, r14d
jge 0x14005109c
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, r14d
jl 0x140051070
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3f]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xa0]
call fcn.14004d000
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14004d4a0
movzx eax, byte [rsp + 0x30]
cmp al, 1
jne 0x140051100
cmp qword [rsp + 0x38], 0
jne 0x14005117d
mov r8d, 0x4d8b
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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 eax, byte [rsp + 0x30]
cmp al, 2
jne 0x14005112b
cmp qword [rsp + 0x38], 0
jne 0x14005117d
mov r8d, 0x4d8c
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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 eax, byte [rsp + 0x30]
cmp al, 3
jne 0x140051156
cmp qword [rsp + 0x38], 0
jne 0x14005117d
mov r8d, 0x4d8d
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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 eax, byte [rsp + 0x30]
cmp al, 8
jne 0x14005117d
cmp qword [rsp + 0x38], 0
jne 0x14005117d
mov r8d, 0x4d8e
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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]
nop
mov qword [rbp - 0x78], rbx
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ios_char__struct_std::char_traits_char__::rdbuf_void_const___ptr64]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1b0]
call fcn.140048af0
nop
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14006c320
nop
lea rcx, [rbp + 0x1f8]
call fcn.14004e9d0
mov rcx, qword [rbp + 0x1e8]
test rcx, rcx
je 0x140051207
mov rax, qword [rcx]
lea rdx, [rbp + 0x1b0]
cmp rcx, rdx
setne dl
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
lea rcx, [rbp + 0xb0]
call fcn.1400666f0
test rax, rax
jne 0x14005123a
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rax, [rsp + 0x40]
mov byte [rsp + 0x40], 0
xor edx, edx
lea rcx, [rsp + 0x48]
mov qword [rbp + 0x328], rax
xor eax, eax
mov qword [rsp + 0x48], rax
call fcn.140066a10
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400e54ac
test sil, sil
je 0x140051298
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 2
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov word [rax], 0x4e4f
mov byte [rax + 2], 0
mov qword [rsp + 0x48], rax
jmp 0x1400512ca
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 3
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov ecx, dword [0x1400f8158]
mov word [rax], cx
movzx ecx, byte [0x1400f815a]
mov byte [rax + 2], cl
mov byte [rax + 3], 0
mov qword [rsp + 0x48], rax
movups xmmword [rsp + 0x50], xmm0
mov eax, dword [0x1400f81a0]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1400f81a4]
mov qword [rsp + 0x60], 6
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov word [rsp + 0x54], ax
mov byte [rsp + 0x56], 0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14004f2d0
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14004f050
movups xmm0, xmmword [0x1400f8180]
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x1400f8190]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1400f8198]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1400f819c]
mov word [rsp + 0x6c], ax
movzx eax, byte [0x1400f819e]
mov byte [rsp + 0x6e], al
cmp edi, 2
jl 0x1400514a0
movdqa xmm5, xmmword [0x1400f5690]
movdqa xmm4, xmmword [0x1400faf80]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1400fae20]
movd xmm8, r14d
movdqa xmm0, xmmword [str.5555555555555555R]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fae90]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400fae90]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x1400513a0
cmp eax, 0x1f
jge 0x1400514dc
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax + rax]
mov eax, 0x5397829d
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1f
jl 0x1400514b0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14004d6a0
nop
mov rdx, r15
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll_struct_std::_Smanip_long_long___int64_____cdecl_std::setw_long_long___int64__
mov r8, qword [rax]
mov rcx, qword [rbp - 0x70]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x70]
add rcx, rdx
mov rdx, qword [rax + 8]
call r8
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.14004f150
lea rdx, [0x140042ab0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x68]
call fcn.1400666f0
test rax, rax
jne 0x14005156c
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
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 [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.14004e670
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
movzx edx, byte [rsp + 0x30]
cmp dl, 1
jne 0x1400515e5
cmp qword [rsp + 0x38], 0
jne 0x140051669
mov r8d, 0x4d8b
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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 + 0x30]
cmp dl, 2
jne 0x140051611
cmp qword [rsp + 0x38], 0
jne 0x140051669
mov r8d, 0x4d8c
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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 + 0x30]
cmp dl, 3
jne 0x14005163d
cmp qword [rsp + 0x38], 0
jne 0x140051669
mov r8d, 0x4d8d
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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 + 0x30]
cmp dl, 8
jne 0x140051669
cmp qword [rsp + 0x38], 0
jne 0x140051669
mov r8d, 0x4d8e
lea rdx, str.F:Premium_ProjectTinder_BackendFinal_Conseptexamplesexample_win32_directx9json.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 + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140066a10
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb0]
call fcn.14004e670
lea rcx, [rbp + 0xb8]
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 + 0x150]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret