Function at 0x446da0
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 0x4470cb
cmp word [esi], 0
je 0x4470cb
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 0x446e44
mov ecx, dword [ebp + 0xc]
cmp word [ecx], ax
je 0x446de7
call fcn.00470870
jmp 0x446ded
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov esi, dword [0x4e97f8]
cmp byte [esi + 0x17], 0
jne 0x446dfe
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x446e15
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 0x4470ad
mov ecx, esi
call fcn.00401350
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 0x446ef0
mov ecx, dword [ebp + 0xc]
call fcn.00470870
mov edi, eax
test edi, edi
je case.0x446f25.67
push edi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je case.0x446f25.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 [0x4e97f8]
cmp byte [esi + 0x17], 0
jne 0x446e9a
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x446eb3
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 0x446e25
mov ecx, dword [0x4e97f8]
push 1
push 0
push 0xffffffffffffffff
push 0x4bfc14
call fcn.004a5f40
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 0x446fd2
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.0x446f25.67
movzx eax, byte [eax + 0x447100]
jmp dword [eax*4 + 0x4470e4]
mov esi, 0x40
jmp 0x446f54
mov esi, 0x4000
jmp 0x446f54
mov esi, 0x20
jmp 0x446f54
mov esi, 0x8000
jmp 0x446f54
mov esi, 0x80
jmp 0x446f54
mov esi, 0x100
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x446f64
call fcn.00470870
jmp 0x446f6a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
test edi, edi
je case.0x446f25.67
push edi
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je case.0x446f25.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 [0x4e97f8]
cmp byte [esi + 0x17], 0
jne 0x446fae
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x446fc7
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 0x446eb7
push str.Wait
push esi
call edi
add esp, 8
test eax, eax
jne 0x446fe6
lea esi, [eax + 4]
jmp 0x446ffe
push str.WaitClose
push esi
call edi
add esp, 8
test eax, eax
jne 0x4470cb
mov esi, 5
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
cmp word [ecx], 0
je 0x44702a
xor bl, bl
call fcn.00421920
mulsd xmm0, qword [0x4e1398]
cvttsd2si edi, xmm0
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x447038
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.00470870
mov edi, eax
cmp esi, 4
jne 0x44705f
test edi, edi
jne 0x446def
jmp 0x447067
test edi, edi
je case.0x446f25.67
test bl, bl
jne 0x447088
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 0x446def
mov eax, dword [esp + 0x1c]
cmp dword [0x4eb104], eax
jne 0x4470a3
mov edx, 1
lea ecx, [edx + 0x63]
call fcn.004016d0
jmp 0x447046
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x447046
cmp dword [0x4e9820], 0
je 0x4470bd
mov ecx, esi
call fcn.00401350
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.0043e770
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc