Function at 0x446e60
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
test esi, esi
je 0x44718b
cmp word [esi], 0
je 0x44718b
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push str.Exist
push esi
call edi
add esp, 8
test eax, eax
jne 0x446f04
mov ecx, dword [ebp + 0xc]
cmp word [ecx], ax
je 0x446ea7
call fcn.00470950
jmp 0x446ead
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov esi, dword [0x4e97d8]
cmp byte [esi + 0x17], 0
jne 0x446ebe
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x446ed5
and al, 0x3d
mov byte [esi + 0x15], al
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, byte [esi + 0x15]
and al, 0x9b
or al, 0x18
mov byte [esi + 0x15], al
mov dword [esi + 4], 0
mov dword [esi], edi
jge 0x44716d
mov ecx, esi
call fcn.00401380
and byte [esi + 0x15], 0x8f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.Close
push esi
call edi
add esp, 8
test eax, eax
jne 0x446fb0
mov ecx, dword [ebp + 0xc]
call fcn.00470950
mov edi, eax
test edi, edi
je case.0x446fe5.67
push edi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je case.0x446fe5.67
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x4e97d8]
cmp byte [esi + 0x17], 0
jne 0x446f5a
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x446f73
mov eax, dword [esi]
and cl, 0x3d
mov byte [esi + 0x15], cl
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov cl, byte [esi + 0x15]
xor eax, eax
test ebx, ebx
cmovne eax, edi
and cl, 0x9b
mov dword [esi], eax
or cl, 0x18
mov dword [esi + 4], 0
mov byte [esi + 0x15], cl
jmp 0x446ee5
mov ecx, dword [0x4e97d8]
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc24
call fcn.004a6070
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.Priority
push esi
call edi
add esp, 8
test eax, eax
jne 0x447092
mov eax, dword [ebp + 0x10]
movzx eax, word [eax]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
movzx eax, ax
add esp, 4
add eax, 0xffffffbf
cmp eax, 0x11
ja case.0x446fe5.67
movzx eax, byte [eax + 0x4471c0]
jmp dword [eax*4 + 0x4471a4]
mov esi, 0x40
jmp 0x447014
mov esi, 0x4000
jmp 0x447014
mov esi, 0x20
jmp 0x447014
mov esi, 0x8000
jmp 0x447014
mov esi, 0x80
jmp 0x447014
mov esi, 0x100
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x447024
call fcn.00470950
jmp 0x44702a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
test edi, edi
je case.0x446fe5.67
push edi
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je case.0x446fe5.67
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x4e97d8]
cmp byte [esi + 0x17], 0
jne 0x44706e
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x447087
mov eax, dword [esi]
and cl, 0x3d
mov byte [esi + 0x15], cl
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov cl, byte [esi + 0x15]
xor eax, eax
cmp dword [esp + 0x18], eax
jmp 0x446f77
push str.Wait
push esi
call edi
add esp, 8
test eax, eax
jne 0x4470a6
lea esi, [eax + 4]
jmp 0x4470be
push str.WaitClose
push esi
call edi
add esp, 8
test eax, eax
jne 0x44718b
mov esi, 5
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
cmp word [ecx], 0
je 0x4470ea
xor bl, bl
call fcn.004218d0
mulsd xmm0, qword [0x4e1158]
cvttsd2si edi, xmm0
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x4470f8
mov eax, dword [esp + 0x1c]
mov bl, 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
mov eax, dword fs:[0x24]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0xc]
call fcn.00470950
mov edi, eax
cmp esi, 4
jne 0x44711f
test edi, edi
jne 0x446eaf
jmp 0x447127
test edi, edi
je case.0x446fe5.67
test bl, bl
jne 0x447148
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
sub ecx, eax
cmp ecx, 5
jle 0x446eaf
mov eax, dword [esp + 0x1c]
cmp dword [0x4eb0cc], eax
jne 0x447163
mov edx, 1
lea ecx, [edx + 0x63]
call fcn.00401700
jmp 0x447106
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x447106
cmp dword [0x4e9800], 0
je 0x44717d
mov ecx, esi
call fcn.00401380
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
push 0
push str.Parameter_1_invalid.
mov ecx, ebx
call fcn.0043e8b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc