Function at 0x1400c1390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140112040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, rcx
mov qword [rbp], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov r8d, 0x104
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movdqa xmm0, xmmword [0x1400edfb0]
movdqu xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x1400edee0]
movdqu xmmword [rbp - 0x48], xmm1
movdqa xmm0, xmmword [0x1400edf40]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x28], 0x100
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
lea rax, [rbp + 0xc0]
mov r12, 0xffffffffffffffff
mov rdi, r12
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1400c1436
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x1400c1826
mov qword [rsp + 0x60], 0xf
cmp rdi, 0x10
jae 0x1400c1481
mov qword [rsp + 0x58], rdi
mov r8, rdi
lea rdx, [rbp + 0xc0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rdi + 0x48], r15b
jmp 0x1400c14d9
mov rax, rdi
or rax, 0xf
cmp rax, rsi
ja 0x1400c149c
mov rsi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rsi, rcx
mov rdx, rsi
add rdx, 1
cmovb rdx, r12
lea rcx, [rsp + 0x48]
call fcn.14004e110
mov rbx, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rsi
mov r8, rdi
lea rdx, [rbp + 0xc0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], r15b
movdqa xmm0, xmmword [0x1400eded0]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], 0x7b78323a
mov word [rsp + 0x3c], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx + 0x46]
xor byte [rsp + rcx + 0x28], al
inc rcx
cmp rcx, 0x14
jb 0x1400c1500
mov byte [rsp + 0x3d], 0
lea rax, [rsp + 0x28]
mov r9, r12
nop dword [rax]
inc r9
cmp byte [rax + r9], 0
jne 0x1400c1520
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.14004e1d0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
cmp byte [rbp - 0x27], 0
je 0x1400c1584
mov rcx, r15
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x46]
xor byte [rbp + rcx - 0x58], al
inc rcx
cmp rcx, 0x30
jb 0x1400c1570
mov byte [rbp - 0x27], 0
lea r9, [rsp + 0x20]
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x20]
call fcn.14004e690
nop
lea r8, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae r8, qword [rbp - 0x78]
mov r9, qword [rbp - 0x68]
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14004e1d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x1400c1628
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1622
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1622
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov dword [rsp + 0x40], 0x3e
movups xmmword [rbp + 0x28], xmm0
lea rdx, [0x1400edd64]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__popen]
mov rbx, rax
mov rax, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rbx
test rbx, rbx
je 0x1400c17e6
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400c16dd
nop word [rax + rax]
lea rax, [rbp + 0x40]
mov r8, r12
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400c16b0
lea rdx, [rbp + 0x40]
mov rcx, r14
call fcn.14004d410
mov r8, rbx
mov edx, 0x80
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x1400c16a0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pclose]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400c1726
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1721
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1721
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
movdqa xmm0, xmmword [0x1400fe1c0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400c1778
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c1772
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c1772
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400c17b8
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c17b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c17b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ccee8
mov rax, r14
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400cd530
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
movdqa xmm0, xmmword [str.6_8__cem_.977u]
movdqu xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x38], 1
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x28]
call fcn.1400c0420
nop
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x20]
call fcn.14003d780
lea rdx, [0x14010e630]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14003d760
int3