Function at 0x42182a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48ffd8]
push ebx
push esi
xor ecx, ecx
cmp eax, ecx
push edi
mov ebx, 0x456
mov edi, str.PECMD2012
mov esi, 0x490258
je 0x421868
cmp byte [0x48fde0], cl
je 0x421868
cmp eax, dword [ebp + 0x10]
jne 0x421868
push ebx
push ecx
push edi
push dword [ebp + 0xc]
push esi
call fcn.004265e5
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, 0x312
cmp edx, eax
ja 0x421aae
je 0x4219e2
mov eax, edx
dec eax
je 0x4219bd
dec eax
je 0x421980
sub eax, 0x10f
je 0x421b30
mov edi, dword [sym.imp.USER32.dll_KillTimer]
dec eax
dec eax
je 0x4218e4
sub eax, 0x106
jne 0x421ac4
mov ebx, dword [ebp + 0x14]
mov esi, 0x8000
cmp ebx, esi
jne 0x4218c1
push esi
call fcn.0042ef76
pop ecx
cmp ebx, 0x8004
je 0x421b30
cmp ebx, esi
je 0x421b30
cmp ebx, 0x17
jb 0x4218f1
cmp ebx, 0x19
ja 0x4218f1
jmp 0x421b30
cmp dword [ebp + 0x14], 0x14
jne 0x421936
push 0x14
push dword [ebp + 0xc]
call edi
mov al, byte [0x48e2a3]
test al, al
jle 0x421b30
cmp al, 0x10
je 0x421b30
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
push dword [ebp + 0xc]
mov dword [0x48fe64], eax
mov byte [0x48e2a3], 2
call edi
push 0
push 0xc8
push 0xa
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x421b30
cmp dword [ebp + 0x14], 0xa
jne 0x421b30
mov esi, dword [0x48fe64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, dword [0x48e2a8]
jb 0x421b30
push 0xa
push dword [ebp + 0xc]
mov byte [0x48e2a3], 0x10
call dword [sym.imp.USER32.dll_KillTimer]
push 0
call fcn.0042ef76
pop ecx
mov byte [0x48e2a3], 1
jmp 0x421b30
cmp word [0x48fdf4], 1
jle 0x4219b1
dec word [0x48fdf4]
movsx eax, word [0x48fdf4]
push eax
push dword [0x48fdec]
call dword [sym.imp.USER32.dll_UnregisterHotKey]
cmp word [0x48fdf4], 1
jg 0x42198a
xor ecx, ecx
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x421b30
cmp byte [0x48fde0], 0
je 0x421b30
push ecx
push ecx
push 0x44b
push dword [0x48fdec]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x421b30
mov dword [ebp + 0xc], ecx
push 0x303a
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x18], 0x80070057
call fcn.0042aed6
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x14]
lea esi, [eax + 0x64]
push str.HotKey_d
xor edi, edi
push eax
mov ebx, eax
mov dword [ebp + 0xc], esi
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x3000
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 0x186a0
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push str.SOFTWAREPELOGON
push 0x80000002
mov word [esi], di
call fcn.00426db8
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [ecx]
add esp, 0x24
cmp ax, di
je 0x421a9e
push eax
call fcn.0042aa31
add esp, 4
test al, al
je 0x421a8a
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042d87d
push 0x2c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042d87d
mov ecx, dword [ebp + 0xc]
add esp, 0x18
cmp word [ecx], di
je 0x421a9e
push edi
push edi
push edi
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041ff01
mov dword [ebp + 0x18], eax
lea ecx, [ebp + 0x10]
call fcn.0042602e
mov eax, dword [ebp + 0x18]
jmp 0x421b32
mov eax, edx
sub eax, 0x446
je 0x421b1f
sub eax, 4
je 0x421b28
dec eax
je 0x421b08
sub eax, 0xb
je 0x421ad6
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x421b32
cmp byte [0x490258], 0
je 0x421b30
mov eax, dword [ebp + 0x18]
cmp eax, 0x206
je 0x421af7
cmp eax, 0x205
je 0x421af7
cmp eax, 0x204
jne 0x421b30
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.0042170e
add esp, 0xc
jmp 0x421b30
cmp byte [0x490258], 0
jne 0x421b30
push ebx
push ecx
push edi
push dword [ebp + 0xc]
push esi
call fcn.004265e5
jmp 0x421b30
push ecx
mov ecx, dword [ebp + 8]
call fcn.004128c2
mov ecx, dword [ebp + 8]
call fcn.00412b33
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14