Function at 0x140049fd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
test rax, rax
je 0x14004a4c3
mov dword [rbp + 0x60], 0xf7f6ece8
mov dword [rbp + 0x64], 0x100ede9
xor r15d, r15d
mov ecx, r15d
nop word [rax + rax]
lea eax, [rcx - 0x68]
xor byte [rbp + rcx + 0x60], al
inc rcx
cmp rcx, 6
jb 0x14004a020
mov byte [rbp + 0x67], r15b
xor edx, edx
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14004a4c3
cmp rax, rbx
je 0x14004a4c3
movdqa xmm0, xmmword [0x14005c1a0]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xe5a0a6aa
mov dword [rsp + 0x44], 0xacbca282
mov dword [rsp + 0x48], 0xa9a9bfa9
mov word [rsp + 0x4c], 0xef
mov byte [rsp + 0x4e], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x1d
jb 0x14004a090
mov byte [rsp + 0x4e], r15b
movdqa xmm0, xmmword [0x14005c390]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0xf8a0aab5
mov word [rsp + 0x64], 0x100
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x14
jb 0x14004a0d0
mov byte [rsp + 0x65], r15b
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], r15b
lea rdx, [0x1400695e0]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r15b
jne 0x14004a110
lea rcx, [rbp - 0x38]
call fcn.1400506b0
nop
movdqa xmm0, xmmword [0x14005c170]
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x14005c660]
movdqu xmmword [rbp - 8], xmm1
movdqa xmm0, xmmword [0x14005bf70]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp + 0x18], 0xdf
mov byte [rbp + 0x1a], 1
mov rcx, r15
nop word [rax + rax]
lea eax, [rcx - 0x4e]
xor byte [rbp + rcx - 0x18], al
inc rcx
cmp rcx, 0x31
jb 0x14004a160
mov byte [rbp + 0x1a], 0
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x20]
call fcn.140050a10
mov r14, rax
lea rax, [rsp + 0x50]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x14004a190
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14004a1da
lea rax, [rcx + rsi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x14004a1c0
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8, rsi
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
jmp 0x14004a1f2
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, r14
call fcn.140051750
mov r14, rax
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r15
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
lea rdx, [0x140068970]
lea rcx, [rbp - 0x58]
call fcn.14004fd30
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
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
lea rax, [rsp + 0x30]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14004a262
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x80]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14004a2b5
lea rax, [rcx + rdi]
mov qword [rsp + 0x78], rax
lea rbx, [rsp + 0x68]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x68]
add rbx, rcx
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rax, [rsp + 0x68]
jmp 0x14004a2cc
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140051750
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
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
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x30]
call fcn.140046400
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14004a345
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a33f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a33f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14004a383
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a37e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a37e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14004a3d2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a3cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a3cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14004a422
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a41d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a41d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x14004a470
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a46b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a46b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14004a4be
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004a4b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004a4b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140052b18
call fcn.140049b90
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret