Function at 0x404ce0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
mov edi, 0x40c620
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov ebx, dword [sym.imp.USER32.dll_FindWindowA]
push 0x40f718
push esi
mov byte [ebp - 4], 1
call ebx
cmp eax, esi
jne 0x404d46
mov eax, dword [0x40fcd4]
push 1
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [0x40f154], esi
je 0x404e78
mov ecx, dword [0x40fd70]
call fcn.00405510
cmp eax, esi
jne 0x404e4c
push 0x40f718
push esi
mov dword [0x40f154], 1
call ebx
mov ecx, dword [0x40fd8c]
inc ecx
cmp ecx, 0xa
mov dword [0x40fd8c], ecx
jle 0x404ded
push ecx
mov dword [0x40fd8c], esi
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x40f51c
call fcn.004085dc
call fcn.00401440
add esp, 4
cmp eax, 0xffffffff
je 0x404dc5
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, esi
je 0x404dc5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x404e3b
mov edi, dword [ebp - 0x20]
mov esi, eax
mov edx, edi
dec edi
test edx, edx
je 0x404e2f
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
add esi, 0x14
jmp 0x404dd8
cmp ecx, 5
jle 0x404dc5
cmp eax, esi
je 0x404dc5
mov ecx, dword [0x40fd68]
push esi
push 2
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp eax, esi
je 0x404e3b
mov edi, dword [ebp - 0x20]
mov esi, eax
mov edx, edi
dec edi
test edx, edx
je 0x404e2f
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
add esi, 0x14
jmp 0x404e1a
mov ecx, dword [ebp - 0x24]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0x64
mov edx, dword [0x40fd70]
cmp dword [edx + 0x74], 0xffffffff
jne 0x404e6a
push 0x32
call edi
dec esi
jne 0x404e57
mov dword [0x40f154], 0
xor esi, esi
jmp 0x404e7e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x40fd70]
push 1
mov byte [0x40f940], 0
mov byte [0x40f942], 0xb7
mov byte [0x40f941], 1
mov dword [0x40fd80], esi
call fcn.004053f0
cmp esi, 0xa
jge 0x404ec7
mov eax, dword [0x40fd80]
test eax, eax
jne 0x404ebe
push 0x3e8
call edi
inc esi
jmp 0x404ea6
cmp esi, 0xa
jl 0x404fad
push 0x40f718
push 0
mov dword [0x40f154], 1
call ebx
mov ecx, dword [0x40fd8c]
inc ecx
cmp ecx, 0xa
mov dword [0x40fd8c], ecx
jle 0x404f60
push ecx
mov dword [0x40fd8c], 0
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x40f51c
call fcn.004085dc
call fcn.00401440
add esp, 4
cmp eax, 0xffffffff
je 0x404f2e
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x404f2e
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x28], 0x40c620
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 5
test esi, esi
je 0x404e3b
mov edi, dword [ebp - 0x20]
mov edx, edi
dec edi
test edx, edx
je 0x404e2f
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
add esi, 0x14
jmp 0x404f47
cmp ecx, 5
jle 0x404f2e
test eax, eax
je 0x404f2e
mov ecx, dword [0x40fd68]
push 0
push 2
push ecx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [ebp - 0x28], 0x40c620
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 4
test esi, esi
je 0x404e3b
mov edi, dword [ebp - 0x20]
mov edx, edi
dec edi
test edx, edx
je 0x404e2f
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
add esi, 0x14
jmp 0x404f94
lea edx, [ebp - 0x28]
mov dword [0x40fd8c], 0
push edx
call fcn.004018b0
mov eax, dword [ebp - 0x24]
add esp, 4
mov ecx, dword [eax + 4]
push ecx
mov ecx, 0x40fd58
call sub.MFC42.DLL_CString::operator_1
mov dword [ebp - 0x28], 0x40c620
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 6
test esi, esi
je 0x404e3b
mov edi, dword [ebp - 0x20]
mov edx, edi
dec edi
test edx, edx
je 0x404e2f
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 4]
add esi, 0x14
jmp 0x404fed