Function at 0x4477a0
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]
push edi
mov edi, ecx
test esi, esi
je 0x447acc
cmp byte [esi], 0
je 0x447acc
push str.Exist
push esi
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x44783f
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], al
je 0x4477e2
call fcn.0046da70
jmp 0x4477e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
mov esi, dword [0x4eb720]
cmp byte [esi + 0x17], 0
jne 0x4477f9
mov esi, dword [esi + 0xc]
mov al, byte [esi + 0x15]
test al, 2
je 0x447810
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 0x447aae
mov ecx, esi
call fcn.004013b0
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 fcn.004b626e
add esp, 8
test eax, eax
jne 0x4478ee
mov ecx, dword [ebp + 0xc]
call fcn.0046da70
mov edi, eax
test edi, edi
je case.0x447922.67
push edi
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je case.0x447922.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 [0x4eb720]
cmp byte [esi + 0x17], 0
jne 0x447898
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x4478b1
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 0x447820
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
call fcn.004a2730
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.Priority
push esi
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x4479ce
mov eax, dword [ebp + 0x10]
movsx eax, byte [eax]
push eax
call fcn.004be0e9
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x447922.67
movzx eax, byte [eax + 0x447b00]
jmp dword [eax*4 + 0x447ae4]
mov esi, 0x40
jmp 0x447951
mov esi, 0x4000
jmp 0x447951
mov esi, 0x20
jmp 0x447951
mov esi, 0x8000
jmp 0x447951
mov esi, 0x80
jmp 0x447951
mov esi, 0x100
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0
je 0x447960
call fcn.0046da70
jmp 0x447966
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
test edi, edi
je case.0x447922.67
push edi
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je case.0x447922.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 [0x4eb720]
cmp byte [esi + 0x17], 0
jne 0x4479aa
mov esi, dword [esi + 0xc]
mov cl, byte [esi + 0x15]
test cl, 2
je 0x4479c3
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 0x4478b5
push str.Wait
push esi
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x4479e5
lea esi, [eax + 4]
jmp 0x447a00
push str.WaitClose
push esi
call fcn.004b626e
add esp, 8
test eax, eax
jne 0x447acc
mov esi, 5
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
cmp byte [ecx], 0
je 0x447a2b
xor bl, bl
call fcn.00421050
mulsd xmm0, qword [0x4e1c48]
cvttsd2si edi, xmm0
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x447a39
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.0046da70
mov edi, eax
cmp esi, 4
jne 0x447a60
test edi, edi
jne 0x4477ea
jmp 0x447a68
test edi, edi
je case.0x447922.67
test bl, bl
jne 0x447a89
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 0x4477ea
mov eax, dword [esp + 0x1c]
cmp dword [0x4ed7f8], eax
jne 0x447aa4
mov edx, 1
lea ecx, [edx + 0x63]
call fcn.00401730
jmp 0x447a47
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x447a47
cmp dword [0x4eb748], 0
je 0x447abe
mov ecx, esi
call fcn.004013b0
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, edi
call fcn.0043ea30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc