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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x48af80]
test eax, eax
push ebx
push esi
push edi
mov esi, 0x48b200
mov ebx, 0x456
mov edi, str.PECMD2012
je 0x4200ee
cmp byte [0x48adc8], 0
je 0x4200ee
cmp eax, dword [ebp + 0x10]
jne 0x4200ee
mov ecx, esi
call fcn.00424c4c
push ebx
push 0
push edi
push dword [ebp + 0xc]
push esi
call fcn.00424c97
mov ecx, dword [ebp + 0x10]
mov eax, 0x312
cmp ecx, eax
ja 0x4202f5
je 0x42022b
mov eax, ecx
dec eax
je 0x420204
dec eax
je 0x4201ed
sub eax, 0x10f
je 0x420370
dec eax
dec eax
je 0x42018b
sub eax, 0x106
jne 0x42030b
test byte [0x48ae0e], 1
je 0x420370
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x48ae58], eax
mov al, byte [0x4892ab]
test al, al
jle 0x420370
cmp al, 0x10
je 0x420370
cmp dword [ebp + 0x14], 7
jne 0x420370
push 0xa
push dword [ebp + 0xc]
mov byte [0x4892ab], 2
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x64
push 0xa
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x420370
cmp dword [ebp + 0x14], 0xa
jne 0x420370
mov esi, dword [0x48ae58]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, dword [0x4892b0]
jb 0x420370
push 0xa
push dword [ebp + 0xc]
mov byte [0x4892ab], 0x10
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.0042f16c
mov byte [0x4892ab], 1
jmp 0x420370
dec word [0x48ade0]
movsx eax, word [0x48ade0]
push eax
push dword [0x48add4]
call dword [sym.imp.USER32.dll_UnregisterHotKey]
cmp word [0x48ade0], 1
jg 0x4201d2
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x420370
cmp byte [0x48adc8], 0
je 0x420370
push 0
push 0
push 0x44b
push dword [0x48add4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x420370
and dword [ebp + 0xc], 0
push 0x303a
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x18], 0x80070057
call fcn.0042465d
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.0042548c
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov ax, word [ecx]
add esp, 0x24
cmp ax, di
je 0x4202e8
push eax
call fcn.0040e5a7
add esp, 4
test al, al
je 0x4202d4
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042e1dd
push 0x2c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0042e1dd
mov ecx, dword [ebp + 0xc]
add esp, 0x18
cmp word [ecx], di
je 0x4202e8
push edi
push edi
push edi
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041e84e
mov dword [ebp + 0x18], eax
lea ecx, [ebp + 0x10]
call fcn.00424686
mov eax, dword [ebp + 0x18]
jmp 0x420372
mov eax, ecx
sub eax, 0x446
je 0x42035e
sub eax, 4
je 0x420368
dec eax
je 0x42034f
sub eax, 0xb
je 0x42031d
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x420372
cmp byte [0x48b200], 0
je 0x420370
mov eax, dword [ebp + 0x18]
cmp eax, 0x206
je 0x42033e
cmp eax, 0x205
je 0x42033e
cmp eax, 0x204
jne 0x420370
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.0041ff8f
add esp, 0xc
jmp 0x420370
push ebx
push 0
push edi
push dword [ebp + 0xc]
push esi
call fcn.00424c97
jmp 0x420370
mov ecx, dword [ebp + 8]
push 0
call fcn.0041105e
mov ecx, dword [ebp + 8]
call fcn.00411275
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14