Function at 0x140004c70
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x14010a080]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0x78], r8
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov rcx, qword [rdx + 0x10]
mov rax, rdx
lea r12d, [r15 + 0xf]
cmp qword [rdx + 0x18], r12
jbe 0x140004ccd
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x80], xmm0
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x90]
call fcn.140018a3c
nop
mov dword [rbp + 0x80], r15d
lea rax, [0x14010a118]
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x90]
call fcn.140002ca0
mov r14b, al
cmp dword [rbp + 0x80], r15d
jne 0x140004fc6
lea rcx, [rbp + 0x90]
call fcn.140009fa8
test r14b, r14b
jne 0x140004e60
movsd xmm0, qword [str.rZR]
movsd qword [rbp + 0x80], xmm0
mov eax, dword [0x1400e6e50]
mov dword [rbp + 0x88], eax
movzx eax, word [0x1400e6e54]
mov word [rbp + 0x8c], ax
mov al, byte [0x1400e6e56]
mov byte [rbp + 0x8e], al
mov r8d, r15d
lea r9, [rbp + 0x80]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
inc r9
cmp r8d, r12d
jl 0x140004d85
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
lea rax, [rbp + 0x80]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x140004dcd
lea rdx, [rbp + 0x80]
mov rcx, rsi
call fcn.14000bfa0
nop
mov rdx, qword [rbx + 0x18]
mov r14d, 0x1000
cmp rdx, r12
jbe 0x140004e21
mov rcx, qword [rbx]
inc rdx
cmp rdx, r14
jb 0x140004e1c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004fb8
mov rcx, r8
call fcn.1400d0014
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x140004f89
inc rdx
mov rcx, qword [rdi]
cmp rdx, r14
jb 0x140004f84
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
jmp 0x140004f7f
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140007e48
nop
mov qword [rbp + 0xc8], r15
lea r8, [rbp + 0x90]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000af14
nop
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400081f0
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r12
mov byte [rsi], r15b
mov dword [rsp + 0x30], 0xa
mov rdx, rsi
mov rcx, rax
call fcn.14001ab24
nop
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400099c8
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x70]
call fcn.140007ddc
lea rcx, [rsp + 0x78]
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 + 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbx + 0x18]
mov r14d, 0x1000
cmp rdx, r12
jbe 0x140004f4d
mov rcx, qword [rbx]
inc rdx
cmp rdx, r14
jb 0x140004f48
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004fb8
mov rcx, r8
call fcn.1400d0014
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r12
mov byte [rbx], r15b
mov rdx, qword [rdi + 0x18]
cmp rdx, r12
jbe 0x140004f89
inc rdx
mov rcx, qword [rdi]
cmp rdx, r14
jb 0x140004f84
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004fbf
mov rcx, r8
call fcn.1400d0014
mov rax, rsi
mov byte [rdi], r15b
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1400cfd70
add rsp, 0x1e0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x80]
lea rcx, str.exists
call fcn.140002bcc
int3