Function at 0x14004f7a0
Capabilities:
Enumerate gui resources
Execute command
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401dd780]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r15d, r15d
mov r14d, r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov r8d, recv
lea rdx, str.notepad.exe
lea rcx, [rsp + 0x48]
call fcn.140040dc0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x30]
call fcn.14004f5c0
nop
mov rdx, qword [rbp + 0x30]
mov rax, qword [rbp + 0x38]
cmp rdx, rax
je 0x14004f885
mov esi, r15d
sub rax, rdx
sar rax, 2
test rax, rax
je 0x14004f885
mov edi, r15d
nop
mov r8d, dword [rdi + rdx]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
lea rdi, [rdi + 4]
mov rcx, qword [rbp + 0x38]
mov rdx, qword [rbp + 0x30]
sub rcx, rdx
sar rcx, 2
movsxd rax, esi
cmp rax, rcx
jb 0x14004f840
lea rcx, str.start_notepad.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
mov r8d, recv
lea rdx, str.notepad.exe
lea rcx, [rbp - 8]
call fcn.140040dc0
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x18]
call fcn.14004f5c0
nop
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x20]
cmp rcx, rax
je 0x14004fc52
sub rax, rcx
sar rax, 2
cmp rax, 1
ja 0x14004fc52
mov dword [rbp + 0x50], r15d
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x70], r15
xor r8d, r8d
lea rdx, [0x140149e34]
lea rcx, [rbp + 0x58]
call fcn.140040dc0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x90], r15
xor r8d, r8d
lea rdx, [0x140149e34]
lea rcx, [rbp + 0x78]
call fcn.140040dc0
mov qword [rbp + 0x98], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], 0x10000000
mov qword [rbp + 0xc8], r15
movdqa xmmword [rbp + 0xd0], xmm0
mov rax, qword [rbp + 0x18]
mov esi, dword [rax]
mov dword [rbp + 0x50], esi
mov byte [rbp + 0xc0], 1
xorps xmm6, xmm6
movdqu xmmword [rbp - 8], xmm6
mov rdi, r15
mov qword [rbp + 8], r15
mov ebx, r15d
nop dword [rax]
test r14, r14
je 0x14004f9ae
cmp ebx, 0x32
jle 0x14004fb03
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x68], esi
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140042a80
nop
lea rdx, [rbp + 0x78]
lea rcx, [rbp - 0x70]
call fcn.140042a80
nop
movups xmm0, xmmword [rbp + 0x98]
movups xmmword [rbp - 0x50], xmm0
mov rax, qword [rbp + 0xa8]
mov qword [rbp - 0x40], rax
movss xmm0, dword [rbp + 0xb0]
movss dword [rbp - 0x38], xmm0
movss xmm1, dword [rbp + 0xb4]
movss dword [rbp - 0x34], xmm1
mov eax, dword [rbp + 0xb8]
mov dword [rbp - 0x30], eax
mov eax, dword [rbp + 0xbc]
mov dword [rbp - 0x2c], eax
movzx eax, byte [rbp + 0xc0]
mov byte [rbp - 0x28], al
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x20]
call fcn.140042bb0
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x68]
lea rcx, [0x14004f140]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.140042bb0
nop
lea rcx, [rsp + 0x68]
call fcn.1400438e0
movq rcx, xmm6
test rcx, rcx
je 0x14004fab9
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004fbcc
call fcn.14013d7b8
movups xmm6, xmmword [rsp + 0x48]
movdqu xmmword [rbp - 8], xmm6
movsd xmm0, qword [rsp + 0x58]
movsd qword [rbp + 8], xmm0
movdqa xmm1, xmm6
psrldq xmm1, 8
movq rax, xmm1
movq rcx, xmm6
sub rax, rcx
sar rax, 3
mov rdi, qword [rbp + 8]
cmp rax, 1
ja 0x14004fb8b
mov r14, qword [rcx]
inc ebx
mov esi, dword [rbp + 0x50]
jmp 0x14004f9a0
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_SetMenu]
mov edx, 0xfffffff0
mov r8d, 0x10000000
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov edx, 0xffffffec
mov r8d, 0x80800a0
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1401de718], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x1401de71c], eax
movq rcx, xmm6
test rcx, rcx
je 0x14004fbd9
sub rdi, rcx
sar rdi, 3
lea rdx, [rdi*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fbd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fbd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14013d7b8
nop
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x14004fc3a
mov rax, qword [rbp + 0xd8]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fc23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fc23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013d7b8
mov qword [rbp + 0xc8], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0x78]
call fcn.140051060
lea rcx, [rbp + 0x58]
call fcn.140051060
mov rcx, qword [rbp + 0x18]
jmp 0x14004fc55
mov r14, r15
test rcx, rcx
je 0x14004fca6
mov rax, qword [rbp + 0x28]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fc95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fc95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013d7b8
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r15
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x14004fce7
mov rdx, qword [rbp + 0x40]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fce2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fce2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14013d7b8
mov rax, r14
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14013dc30
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret