Function at 0x140050f00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x1400fc410]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rdi, rcx
mov qword [rbp - 0x70], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xor ecx, ecx
call fcn.1400a83a4
mov qword [rbp - 0x68], rax
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x60]
call fcn.1400910f0
lea rax, [0x1400e6648]
mov qword [rbp - 0x60], rax
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x58], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov dword [rsp + 0x20], 2
lea r15, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x28], r15
mov dword [rbp + 0x24], 0x78
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x28]
call fcn.1400482b0
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x60], r14
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.140048220
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rsi
mov dword [rbp + 0x18], 4
movups xmm0, xmmword [0x1400e6df8]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x1400e6e08]
mov word [rsp + 0x50], ax
cmp byte [0x1400e6e09], sil
je 0x1400511be
mov ecx, esi
cmp dword [0x1400fc418], 2
jl 0x140051178
movdqa xmm5, xmmword [0x1400e7e20]
movdqa xmm4, xmmword [0x1400e7fb0]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1400e7e90]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400e7f50]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rbp - 0x80]
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
paddd xmm1, xmm2
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 [0x1400e7f20]
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
paddd xmm1, xmm3
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 [0x1400e7f20]
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, 0x10
jl 0x140051070
cmp ecx, 0x12
jge 0x1400511be
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x140051190
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400511e0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14003dab0
nop
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.1400a8718
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
cmp byte [rbx], 0
je 0x140051235
inc rbx
cmp byte [rbx], 0
jne 0x140051228
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.14005dc70
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140051282
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005127c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400513a8
call fcn.14008e998
nop
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 0x12
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp + 0x18]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x1400512d0
mov rax, qword [rbp - 0x18]
mov r8, qword [rax]
test r8, r8
je 0x1400512d0
mov rax, qword [rbp - 0x38]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x10]
cmovb r8, qword [rbp + 0x10]
sub r8, rdx
jmp 0x140051301
test cl, 4
jne 0x1400512f7
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400512f7
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
mov rax, qword [rbp - 8]
movsxd r8, dword [rax]
add r8, rcx
sub r8, rdx
jmp 0x140051301
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x14005130f
mov rcx, rdi
call fcn.14005d3a0
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r14
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x58]
call fcn.14005ba80
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r15
mov rcx, qword [rbp - 0x60]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rbp + rdx - 0x64], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.14008d634
nop
mov rax, rdi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14008e370
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14009d7a4
nop
int3