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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0xc], ecx
inc esi
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
call fcn.00435d62
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x28], eax
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call fcn.0043e7f3
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 8], eax
mov cx, word [eax]
cmp cx, 0x2d
mov byte [ebp - 0x10], bl
mov dl, 0x2a
mov byte [ebp - 1], bl
jne 0x4144b1
mov dl, cl
movsx esi, dl
movzx eax, cx
cmp esi, eax
push 2
pop edi
jne 0x41460b
add dword [ebp + 8], edi
je 0x4145e5
push 5
lea eax, [ebp + 8]
push eax
push 0x497400
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4144e8
or byte [ebp - 0x10], 1
jmp 0x414547
push 4
push dword [ebp + 8]
push str.svr2
call fcn.004318b1
add esp, 0xc
test al, al
jne 0x414597
push 9
push dword [ebp + 8]
push str.exitcode
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x41455a
add dword [ebp + 8], 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
movzx eax, word [eax]
push eax
call fcn.004103b8
mov bl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
add esp, 0xc
test bl, bl
je 0x414545
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
movzx eax, word [eax]
cmp esi, eax
je 0x4144c2
jmp 0x4145e5
push 8
lea eax, [ebp + 8]
push eax
push str.explorer
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x41457a
mov dword [ebp - 0x14], 1
jmp 0x414547
push 3
lea eax, [ebp + 8]
push eax
push 0x4973d4
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x4145e2
mov byte [ebp - 1], 1
jmp 0x414547
mov esi, 0x4ad684
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
test byte [0x4ada94], 8
jne 0x4145c0
or byte [0x4ada94], 8
push edi
push str.SeShutdownPrivilege
call fcn.0040f24d
pop ecx
pop ecx
push 1
lea ecx, [ebp - 0x24]
call fcn.00410482
push ebx
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
lea ecx, [ebp - 0x24]
call fcn.004104b6
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x414604
sub dword [ebp + 8], edi
cmp byte [ebp - 1], 0
je 0x41460b
push 6
pop ecx
mov esi, str.26:INDATA
lea edi, [ebp - 0x48]
lea eax, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
push eax
call fcn.00428650
xor esi, esi
jmp 0x414827
mov esi, 0x4ad684
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x8000
call fcn.00410482
cmp byte [ebp - 0x10], 0
jne 0x41463c
push esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [ebp + 8]
cmp word [eax], 0x2a
jne 0x4146b4
add dword [ebp + 8], edi
lea ecx, [ebp + 8]
call fcn.0040bc51
mov ecx, dword [ebp + 8]
xor eax, eax
mov ax, word [ecx]
push eax
call fcn.004103b8
add esp, 4
test al, al
jne 0x414685
lea ecx, [ebp - 0x10]
call fcn.004104b6
cmp dword [ebp - 0xc], ebx
je 0x41467b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, 0x80070057
jmp 0x414827
mov ax, word [ecx]
cmp ax, bx
je 0x4146a0
cmp ax, 0x30
jb 0x414699
cmp ax, 0x39
jbe 0x4146a0
add ecx, edi
mov dword [ebp + 8], ecx
jmp 0x414685
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00438b8e
pop ecx
pop ecx
mov dword [ebp + 8], ebx
jmp 0x414709
push dword [ebp + 8]
call fcn.0040cd10
push eax
call fcn.0040eec0
pop ecx
mov dword [ebp + 8], eax
cmp word [eax], bx
pop ecx
je 0x414665
push 0x5c
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
neg eax
sbb al, al
and eax, 0x20
mov byte [ebp - 1], al
jmp 0x4146e4
mov al, byte [ebp - 1]
cmp dword [ebp + 8], ebx
je 0x414701
push ebx
movsx eax, al
push ebx
push ebx
or eax, 0x10
push eax
push dword [ebp + 8]
call fcn.00413dfd
add esp, 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x28], eax
je 0x414738
cmp dword [ebp - 8], ebx
je 0x414738
push dword [ebp - 8]
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x414738
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x414731
mov dword [ebp - 0x24], ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp + 8], ebx
je 0x41480e
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x41480e
cmp dword [ebp - 0x20], eax
jne 0x4147f8
xor edi, edi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, eax
inc esi
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, esi
sub ecx, eax
cmp ecx, ebx
jle 0x4147f8
cmp byte [0x4ab290], 0
jle 0x4147f8
cmp ecx, ebx
jbe 0x4147e8
cmp ecx, 0x7d0
jbe 0x41478e
mov ecx, 0x3e8
jmp 0x414796
cmp ecx, 0x64
jbe 0x414796
push 0x64
pop ecx
push 0x4bf
push ecx
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x4147e8
cmp edi, ebx
jg 0x4147bc
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x4147f1
push 3
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4147f1
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp edi, ebx
jle 0x4147e8
dec edi
cmp byte [0x4ab290], 0
jg 0x4147aa
xor edi, edi
jmp 0x414760
mov eax, dword [ebp - 8]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jle 0x41480e
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jg 0x4146e1
lea ecx, [ebp - 0x10]
call fcn.004104b6
cmp dword [ebp - 0xc], ebx
je 0x414824
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0043092f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4