Function at 0x14004ab60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1400d4460]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rbx, rdx
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
xor r15d, r15d
mov edi, r15d
mov qword [rbp + 0x20], r15
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x30]
call fcn.140075e00
cmp qword [rbx + 0x18], 0x10
jb 0x14004abd4
mov rbx, qword [rbx]
mov r8d, 0x22
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140046dd0
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rax, [rbp - 0x80]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x38], rax
movsd xmm0, qword [0x1400c1378]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400c1380]
mov dword [rsp + 0x38], eax
mov r12d, 5
lea r13d, [r12 + 0x1a]
mov esi, dword [0x1400d4468]
cmp byte [0x1400c1383], 0
je 0x14004adb3
mov r8d, r15d
cmp esi, 2
jl 0x14004ad6c
movdqa xmm4, xmmword [0x1400c3550]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x1400c3430]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c3470]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400c34d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.55555555555555556666666666666666]
movd xmm0, dword [0x1400c1378]
pxor xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x1400c3440]
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, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c3470]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400c34d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.55555555555555556666666666666666]
movd xmm0, dword [rsp + 0x34]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x14004ad80
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x14004add1
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.14003d220
nop
lea rdx, [0x1400de300]
lea rcx, [rbp - 0x10]
call fcn.14003c360
mov r14, rax
movups xmm0, xmmword [str.GSQTBL_O_V35_53_.___8_0_::vX]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1400c1398]
movups xmmword [rsp + 0x50], xmm1
mov ecx, dword [0x1400c13a8]
mov dword [rsp + 0x60], ecx
mov ecx, r15d
cmp esi, 2
jl 0x14004af7c
movdqa xmm5, xmmword [0x1400c3430]
movdqa xmm4, xmmword [0x1400c3550]
movd xmm6, r12d
movdqa xmm7, xmmword [0x1400c3470]
movd xmm8, r13d
movdqa xmm0, xmmword [str.55555555555555556666666666666666]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x30]
nop word [rax + 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
pand xmm2, xmmword [0x1400c34d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor 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
pand xmm2, xmmword [0x1400c34d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x14004ae70
cmp ecx, 0x24
jge 0x14004afbe
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x24
jl 0x14004af90
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
lea rax, [rsp + 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004afd2
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.14003d220
nop
lea r9, [rbp - 0x80]
mov r8, r14
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.14003a780
nop
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14003b3c0
lea rcx, [rbp + 0x10]
cmp rcx, rax
je 0x14004b03c
mov rbx, qword [rax]
mov qword [rbp + 0x10], rbx
mov rsi, qword [rax + 8]
mov qword [rbp + 0x18], rsi
mov rdi, qword [rax + 0x10]
mov qword [rbp + 0x20], rdi
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
jmp 0x14004b044
mov rsi, qword [rbp + 0x18]
mov rbx, qword [rbp + 0x10]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004b08e
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b07b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b201
call fcn.1400735b8
mov qword [rsp + 0x68], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14004b0c9
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b0c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b207
call fcn.1400735b8
sub rsi, rbx
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp + 0x30]
call fcn.140046620
lea rcx, [rbp + 0x38]
call fcn.140047190
test rax, rax
jne 0x14004b11b
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x78], 0
cmovne eax, edx
or eax, dword [rbp + rcx + 0x40]
and eax, 0x17
mov dword [rbp + rcx + 0x40], eax
mov edx, dword [rbp + rcx + 0x44]
and edx, eax
jne 0x14004b20d
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.140046130
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rax
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x2c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xd8], rax
lea rcx, [rbp + 0xd8]
call fcn.14007077c
nop
test rbx, rbx
je 0x14004b1bc
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14004b1b1
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b1fb
mov rdx, rdi
mov rcx, rbx
call fcn.1400735b8
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140072f90
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140082444
nop
call fcn.140082444
nop
call fcn.140082444
int3
test dl, 4
je 0x14004b21b
lea rbx, str.ios_base::badbit_set
jmp 0x14004b230
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.14003f0a0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14003f9f0
lea rdx, [0x1400d2b20]
lea rcx, [rsp + 0x40]
call fcn.14007567c
int3