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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x496fc8]
push ebx
push esi
xor ecx, ecx
cmp eax, ecx
push edi
mov ebx, 0x456
mov edi, str.PECMD2012
mov esi, 0x4971e8
je 0x422668
cmp byte [0x496dcc], cl
je 0x422668
cmp eax, dword [ebp + 0x10]
jne 0x422668
push ebx
push ecx
push edi
push dword [ebp + 0xc]
push esi
call fcn.0042755f
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, 0x312
cmp edx, eax
ja 0x4228ae
je 0x4227e2
mov eax, edx
dec eax
je 0x4227bd
dec eax
je 0x422780
sub eax, 0x10f
je 0x422930
mov edi, dword [sym.imp.USER32.dll_KillTimer]
dec eax
dec eax
je 0x4226e4
sub eax, 0x106
jne 0x4228c4
mov ebx, dword [ebp + 0x14]
mov esi, 0x8000
cmp ebx, esi
jne 0x4226c1
push esi
call fcn.004302ae
pop ecx
cmp ebx, 0x8004
je 0x422930
cmp ebx, esi
je 0x422930
cmp ebx, 0x17
jb 0x4226f1
cmp ebx, 0x19
ja 0x4226f1
jmp 0x422930
cmp dword [ebp + 0x14], 0x14
jne 0x422736
push 0x14
push dword [ebp + 0xc]
call edi
mov al, byte [0x495277]
test al, al
jle 0x422930
cmp al, 0x10
je 0x422930
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
push dword [ebp + 0xc]
mov dword [0x496e50], eax
mov byte [0x495277], 2
call edi
push 0
push 0xc8
push 0xa
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x422930
cmp dword [ebp + 0x14], 0xa
jne 0x422930
mov esi, dword [0x496e50]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, dword [0x49527c]
jb 0x422930
push 0xa
push dword [ebp + 0xc]
mov byte [0x495277], 0x10
call dword [sym.imp.USER32.dll_KillTimer]
push 0
call fcn.004302ae
pop ecx
mov byte [0x495277], 1
jmp 0x422930
cmp word [0x496de0], 1
jle 0x4227b1
dec word [0x496de0]
movsx eax, word [0x496de0]
push eax
push dword [0x496dd8]
call dword [sym.imp.USER32.dll_UnregisterHotKey]
cmp word [0x496de0], 1
jg 0x42278a
xor ecx, ecx
push ecx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x422930
cmp byte [0x496dcc], 0
je 0x422930
push ecx
push ecx
push 0x44b
push dword [0x496dd8]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x422930
mov dword [ebp + 0xc], ecx
push 0x303a
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x18], 0x80070057
call fcn.0042c415
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.00427d32
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [ecx]
add esp, 0x24
cmp ax, di
je 0x42289e
push eax
call fcn.0040ee76
add esp, 4
test al, al
je 0x42288a
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042eb29
push 0x2c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042eb29
mov ecx, dword [ebp + 0xc]
add esp, 0x18
cmp word [ecx], di
je 0x42289e
push edi
push edi
push edi
push ecx
mov ecx, dword [ebp + 8]
call fcn.00420c52
mov dword [ebp + 0x18], eax
lea ecx, [ebp + 0x10]
call fcn.0042704a
mov eax, dword [ebp + 0x18]
jmp 0x422932
mov eax, edx
sub eax, 0x446
je 0x42291f
sub eax, 4
je 0x422928
dec eax
je 0x422908
sub eax, 0xb
je 0x4228d6
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x422932
cmp byte [0x4971e8], 0
je 0x422930
mov eax, dword [ebp + 0x18]
cmp eax, 0x206
je 0x4228f7
cmp eax, 0x205
je 0x4228f7
cmp eax, 0x204
jne 0x422930
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.0042250e
add esp, 0xc
jmp 0x422930
cmp byte [0x4971e8], 0
jne 0x422930
push ebx
push ecx
push edi
push dword [ebp + 0xc]
push esi
call fcn.0042755f
jmp 0x422930
push ecx
mov ecx, dword [ebp + 8]
call fcn.00411fe6
mov ecx, dword [ebp + 8]
call fcn.00412257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14