Function at 0x14006ffc0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x298
mov rax, qword [0x140457a00]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x40], 0
mov edx, 0x18
lea rcx, [rsp + 0x1c0]
call fcn.140007070
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x60], rax
lea rdx, str.notepad.exe
mov rcx, qword [rsp + 0x60]
call fcn.14006a3c0
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1c0]
call fcn.14006fd50
nop
lea rcx, [rsp + 0x1c0]
call fcn.14007c280
movzx eax, al
test eax, eax
jne 0x1400700b8
mov dword [rsp + 0x48], 0
jmp 0x140070052
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.140080340
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
jae 0x1400700b8
movsxd rax, dword [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x1c0]
call fcn.14006cb30
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 0x140070048
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.140007070
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x78], rax
lea rdx, str.notepad.exe
mov rcx, qword [rsp + 0x78]
call fcn.14006a3c0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x1a8]
call fcn.14006fd50
nop
lea rcx, [rsp + 0x1a8]
call fcn.14007c280
movzx eax, al
test eax, eax
jne 0x14007013b
lea rcx, [rsp + 0x1a8]
call fcn.140080340
cmp rax, 1
jbe 0x140070170
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x1a8]
call fcn.14006c180
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006c180
mov rax, qword [rsp + 0x88]
jmp 0x14007042a
lea rcx, [rsp + 0x1f0]
call fcn.14006ac80
nop
xor edx, edx
lea rcx, [rsp + 0x1a8]
call fcn.14006cb30
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.140007070
lea rcx, [rsp + 0x1d8]
call fcn.14006a800
nop
mov dword [rsp + 0x4c], 0
cmp qword [rsp + 0x40], 0
je 0x1400701e4
cmp dword [rsp + 0x4c], 0x32
jle 0x1400702e7
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.14006ab60
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xc0]
call fcn.1400727d0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1d8]
call fcn.14006c8c0
lea rcx, [rsp + 0xc0]
call fcn.140005230
nop
lea rcx, [rsp + 0x1d8]
call fcn.140080370
cmp rax, 1
jbe 0x1400702c1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x1d8]
call fcn.140005230
nop
lea rcx, [rsp + 0x1f0]
call fcn.14006c370
nop
lea rcx, [rsp + 0x1a8]
call fcn.14006c180
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006c180
mov rax, qword [rsp + 0xa8]
jmp 0x14007042a
xor edx, edx
lea rcx, [rsp + 0x1d8]
call fcn.14006cb60
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x1400701d1
cmp qword [rsp + 0x40], 0
jne 0x140070340
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x1d8]
call fcn.140005230
nop
lea rcx, [rsp + 0x1f0]
call fcn.14006c370
nop
lea rcx, [rsp + 0x1a8]
call fcn.14006c180
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006c180
mov rax, qword [rsp + 0xb0]
jmp 0x14007042a
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 [0x140458e84], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x140458e88], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0x1d8]
call fcn.140005230
nop
lea rcx, [rsp + 0x1f0]
call fcn.14006c370
nop
lea rcx, [rsp + 0x1a8]
call fcn.14006c180
nop
lea rcx, [rsp + 0x1c0]
call fcn.14006c180
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140126fc0
add rsp, 0x298
ret