Function at 0x140063a50
Capabilities:
Create process on windows
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, rcx
xor edi, edi
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0xb
mov ecx, 0xf
mov qword [rsp + 0x78], rcx
movsd xmm0, qword [str.notepad.exe]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x140103a58]
mov word [rsp + 0x68], ax
movzx eax, byte [0x140103a5a]
mov byte [rsp + 0x6a], al
mov byte [rsp + 0x6b], dil
lea rdx, [rsp + 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140063b51
lea rdx, str.Failed_to_start_Notepad._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140065050
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140065230]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140063d1d
mov rcx, qword [rbx]
mov eax, dword [rbp - 0x70]
mov dword [rcx], eax
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x38]
call fcn.140001ba0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x38], rax
movabs r8, 0x7ffffffffd050f7f
cmp rax, r8
je 0x140063ba6
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140063ba6
add rax, 0x2faf080
jmp 0x140063bb0
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x38]
call fcn.1400059c0
xor edx, edx
lea rcx, str.Notepad
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rax, rax
jne 0x140063bec
lea rdx, str.Notepad.exe_is_not_running__aborting_overlay_hijack._n
call fcn.140065050
jmp 0x140063d1d
lea rdx, str.___Found_Notepad.exe_window__starting_to_modify_it..._n
call fcn.140065050
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3bffff
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetMenu]
test rax, rax
je 0x140063c35
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetMenu]
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
mov r8d, eax
mov edx, 0xffffffec
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x30], 0x43
mov dword [rsp + 0x28], 0x258
mov dword [rsp + 0x20], 0x320
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, str.___Notepad_has_been_hijacked._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140065050
mov ecx, 8
call fcn.1400d7608
lea rcx, [0x1400726b0]
mov qword [rax], rcx
mov qword [rbp + 0x38], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140067c60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140063d7e
cmp dword [rsp + 0x58], 0
je 0x140063d72
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x60], xmm0
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140063d72
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140063d5d
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140063d58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140063d58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d795c
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3