Function at 0x405ff0
Capabilities:
Check for time delay via gettickcount
Create thread
Enumerate processes
Get graphical window text
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40fd1b
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x417014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call esi
cdq
and edx, 7
add eax, edx
sar eax, 3
sub eax, 0x14
push 0x11
mov dword [ebp - 0x458], eax
call esi
mov ecx, eax
mov dword [ebp - 0x214], 0
mov eax, 0x2aaaaaab
xorps xmm0, xmm0
imul ecx
movq qword [ebp - 0x21c], xmm0
xor ebx, ebx
xor edi, edi
mov eax, edx
mov dword [ebp - 0x21c], ebx
shr eax, 0x1f
add eax, 0xffffffec
mov dword [ebp - 0x218], edi
add eax, edx
mov dword [ebp - 0x454], eax
xor eax, eax
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x214], eax
push eax
push 0xf
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x228
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x44c]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x450], 0x22c
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4061bb
nop word [eax + eax]
push str.GameApp.exe
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4061a0
push ecx
mov ecx, dword [ebp - 0x448]
call fcn.00405e10
mov esi, eax
add esp, 4
mov dword [ebp - 0x220], esi
test esi, esi
je 0x4061a0
lea eax, [ebp - 0x220]
cmp eax, edi
jae 0x406165
cmp ebx, eax
ja 0x406165
mov esi, eax
sub esi, ebx
sar esi, 2
cmp edi, dword [ebp - 0x45c]
jne 0x40615a
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040baf0
mov eax, dword [ebp - 0x214]
mov edi, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x21c]
mov dword [ebp - 0x45c], eax
test edi, edi
je 0x406197
mov eax, dword [ebx + esi*4]
mov dword [edi], eax
jmp 0x406197
cmp edi, dword [ebp - 0x45c]
jne 0x406191
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040baf0
mov eax, dword [ebp - 0x214]
mov edi, dword [ebp - 0x218]
mov ebx, dword [ebp - 0x21c]
mov dword [ebp - 0x45c], eax
test edi, edi
je 0x406197
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x218], edi
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4060e0
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub edi, ebx
sar edi, 2
mov dword [ebp - 0x464], edi
test edi, edi
je 0x406418
mov esi, dword [ebp - 0x21c]
mov ebx, 0xfffffffa
mov dword [ebp - 0x220], esi
nop dword [eax + eax]
mov esi, dword [esi]
mov dword [ebp - 0x468], esi
test esi, esi
je 0x4063f7
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x4120d4
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jg 0x4063f7
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push 0
push esi
push 0x405fc0
push 0
push 0
mov dword [0x417bc0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x417bc0], 0
mov dword [ebp - 0x460], eax
jne 0x4062e7
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, edi
mul ecx
shr edx, 6
cmp edx, 5
jbe 0x4062d2
push dword [ebp - 0x224]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4062d2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x417bc0], 0
je 0x406290
mov edi, dword [ebp - 0x464]
mov esi, dword [ebp - 0x468]
lea eax, [ebx + 6]
cmp eax, 5
ja 0x40630e
mov ecx, dword [ebp - 0x458]
push dword [ebp - 0x454]
push ecx
lea edx, [ecx + 4]
mov ecx, esi
imul edx, eax
push 0
call fcn.00405d80
add esp, 0xc
cmp ebx, 5
ja 0x406335
mov ecx, dword [ebp - 0x458]
mov eax, dword [ebp - 0x454]
push eax
push ecx
lea edx, [ecx + 4]
add eax, 0xa
imul edx, ebx
mov ecx, esi
push eax
call fcn.00405d80
add esp, 0xc
lea eax, [ebx - 6]
cmp eax, 5
ja 0x406366
mov eax, dword [ebp - 0x454]
lea edx, [ebx - 6]
mov ecx, dword [ebp - 0x458]
push eax
push ecx
lea eax, [eax*2 + 0x14]
push eax
lea eax, [ecx + 4]
mov ecx, esi
imul edx, eax
call fcn.00405d80
add esp, 0xc
lea eax, [ebx - 0xc]
cmp eax, 5
ja 0x406396
mov eax, dword [ebp - 0x454]
lea edx, [ebx - 0xc]
mov ecx, dword [ebp - 0x458]
push eax
push ecx
lea eax, [eax + eax*2]
add eax, 0x1e
push eax
lea eax, [ecx + 4]
mov ecx, esi
imul edx, eax
call fcn.00405d80
add esp, 0xc
lea eax, [ebx - 0x12]
cmp eax, 5
ja 0x4063c7
mov eax, dword [ebp - 0x454]
lea edx, [ebx - 0x12]
mov ecx, dword [ebp - 0x458]
push eax
push ecx
lea eax, [eax*4 + 0x28]
push eax
lea eax, [ecx + 4]
mov ecx, esi
imul edx, eax
call fcn.00405d80
add esp, 0xc
lea eax, [ebx - 0x18]
cmp eax, 5
ja 0x4063f7
mov eax, dword [ebp - 0x454]
lea edx, [ebx - 0x18]
mov ecx, dword [ebp - 0x458]
push eax
push ecx
lea eax, [eax + eax*4]
add eax, 0x32
push eax
lea eax, [ecx + 4]
mov ecx, esi
imul edx, eax
call fcn.00405d80
add esp, 0xc
mov esi, dword [ebp - 0x220]
inc ebx
add esi, 4
mov dword [ebp - 0x220], esi
lea eax, [ebx + 6]
cmp eax, edi
jb 0x4061f0
mov ebx, dword [ebp - 0x21c]
test ebx, ebx
je 0x40642e
mov eax, dword [ebp - 0x45c]
sub eax, ebx
sar eax, 2
push eax
push ebx
call fcn.0040bf90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e8e5
mov esp, ebp
pop ebp
ret