Function at 0x14006dc10
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x298
mov rax, qword [0x140381b40]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x40], 0
mov edx, 0x18
lea rcx, [rsp + 0x1c0]
call fcn.140006b60
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x60], rax
lea rdx, str.notepad.exe
mov rcx, qword [rsp + 0x60]
call fcn.140068dc0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1c0]
call fcn.14006d9a0
nop
lea rcx, [rsp + 0x1c0]
call fcn.140078d00
movzx eax, al
test eax, eax
jne 0x14006dd08
mov dword [rsp + 0x48], 0
jmp 0x14006dca2
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
movsxd rax, dword [rsp + 0x48]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x1c0]
call fcn.14007ca60
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
jae 0x14006dd08
movsxd rax, dword [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.14006aba0
mov r8d, dword [rax]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14006dc98
lea rcx, str.start_notepad.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov edx, 0x18
lea rcx, [rsp + 0x1a8]
call fcn.140006b60
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x78], rax
lea rdx, str.notepad.exe
mov rcx, qword [rsp + 0x78]
call fcn.140068dc0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x1a8]
call fcn.14006d9a0
nop
lea rcx, [rsp + 0x1a8]
call fcn.140078d00
movzx eax, al
test eax, eax
jne 0x14006dd8b
lea rcx, [rsp + 0x1a8]
call fcn.14007ca60
cmp rax, 1
jbe 0x14006ddc0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x1a8]
call fcn.14006a3f0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006a3f0
mov rax, qword [rsp + 0x88]
jmp 0x14006e07a
lea rcx, [rsp + 0x1f0]
call fcn.140069640
nop
xor edx, edx
lea rcx, [rsp + 0x1a8]
call fcn.14006aba0
mov eax, dword [rax]
mov dword [rsp + 0x1f0], eax
mov dword [rsp + 0x258], 0x10000000
mov byte [rsp + 0x260], 1
mov edx, 0x18
lea rcx, [rsp + 0x1d8]
call fcn.140006b60
lea rcx, [rsp + 0x1d8]
call fcn.1400691c0
nop
mov dword [rsp + 0x4c], 0
cmp qword [rsp + 0x40], 0
je 0x14006de34
cmp dword [rsp + 0x4c], 0x32
jle 0x14006df37
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rax, [rsp + 0x118]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x90]
call fcn.140069520
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xc0]
call fcn.1400703d0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1d8]
call fcn.14006aa10
lea rcx, [rsp + 0xc0]
call fcn.140004e20
nop
lea rcx, [rsp + 0x1d8]
call fcn.14007ca90
cmp rax, 1
jbe 0x14006df11
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x1d8]
call fcn.140004e20
nop
lea rcx, [rsp + 0x1f0]
call fcn.14006a5e0
nop
lea rcx, [rsp + 0x1a8]
call fcn.14006a3f0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006a3f0
mov rax, qword [rsp + 0xa8]
jmp 0x14006e07a
xor edx, edx
lea rcx, [rsp + 0x1d8]
call fcn.14006abd0
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x14006de21
cmp qword [rsp + 0x40], 0
jne 0x14006df90
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x1d8]
call fcn.140004e20
nop
lea rcx, [rsp + 0x1f0]
call fcn.14006a5e0
nop
lea rcx, [rsp + 0x1a8]
call fcn.14006a3f0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006a3f0
mov rax, qword [rsp + 0xb0]
jmp 0x14006e07a
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetMenu]
mov r8d, 0x10000000
mov edx, 0xfffffff0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov r8d, 0x80800a0
mov edx, 0xffffffec
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x50], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x30], 0x40
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1403829cc], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1403829d0], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x1d8]
call fcn.140004e20
nop
lea rcx, [rsp + 0x1f0]
call fcn.14006a5e0
nop
lea rcx, [rsp + 0x1a8]
call fcn.14006a3f0
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006a3f0
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14007ee60
add rsp, 0x298
ret