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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
cmp dword [ebp + 0x10], 0x21
push ebx
push esi
jne 0x427104
test byte [0x4c8f45], 0x50
je 0x427189
push 4
pop eax
jmp 0x4279ad
cmp dword [ebp + 0x10], 0x453
jne 0x427189
push 0x19000
lea ecx, [ebp + 0x10]
call fcn.0043fdb8
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
push esi
lea eax, [ebp + 0x18]
push eax
push str.Text.Paramd
xor ebx, ebx
mov word [esi], bx
mov dword [esi + 0x31ffc], ebx
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], 0x31ffe
call fcn.0043ad75
add esp, 0x18
test eax, eax
je 0x427159
mov word [esi], bx
mov ecx, dword [ebp + 8]
push esi
call fcn.0041f7e8
mov esi, eax
or esi, 0x1000
mov eax, esi
or eax, 0x10
push eax
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea ecx, [ebp + 0x10]
call fcn.00439cfd
mov eax, esi
jmp 0x4279ad
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
mov eax, dword [0x4c9184]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], edi
je 0x4271c1
cmp eax, dword [ebp + 0x10]
jne 0x4271c1
cmp dword [0x4c8f3c], ebx
je 0x4271c1
cmp edi, ebx
je 0x4271c1
push edi
push dword [ebp + 0xc]
mov dword [0x4c8f3c], edi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
mov esi, pe_nt_image_headers32
cmp eax, esi
je 0x4274b9
cmp eax, 0x44f
je 0x4271fd
cmp edi, ebx
je 0x4271fd
mov ecx, dword [0x4c8f3c]
cmp ecx, ebx
je 0x4271fd
cmp ecx, edi
je 0x4271fd
push edi
push dword [ebp + 0xc]
mov dword [0x4c8f3c], edi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, esi
ja 0x4276bc
je 0x4274b9
cmp eax, 5
je 0x42749f
cmp eax, 0xf
je 0x4273ee
cmp eax, 0x14
je 0x42724b
cmp eax, 0x21
je 0x427237
cmp eax, 0x7e
je 0x4276e4
xor eax, eax
jmp 0x4279ac
mov al, byte [0x4c8f45]
and al, 0x50
neg al
sbb eax, eax
and eax, 3
inc eax
jmp 0x4279ac
cmp dword [0x4c8f14], ebx
mov dword [ebp - 8], ebx
je 0x4273e1
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
call dword [0x4c8e6c]
test eax, eax
jne 0x4273e1
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x4c8f20]
push ebx
call esi
mov dword [0x4c8f20], eax
mov eax, dword [0x4c8f24]
push 1
mov dword [ebp + 0x10], eax
call esi
mov ecx, dword [0x4c8f20]
cmp edi, ecx
mov dword [0x4c8f24], eax
jne 0x4272a6
cmp dword [ebp + 0x10], eax
mov dword [ebp + 0x18], ebx
je 0x4272ad
mov dword [ebp + 0x18], 1
xor edi, edi
test byte [0x4c8f45], 0x40
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
je 0x4272f2
push ebx
call esi
push 1
mov edi, eax
call esi
push 0x3d
mov dword [ebp + 0x10], eax
call esi
add edi, 0xfffffed4
push 0x3e
mov dword [ebp + 0x14], 0x12c
mov dword [ebp + 8], edi
call esi
mov edi, eax
mov eax, dword [ebp + 0x10]
sub edi, 0x50
sub eax, edi
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x18], ebx
je 0x42730d
push 0x16
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
push dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp + 0x18]
push eax
push dword [0x4c8f14]
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
call dword [0x4c8e90]
lea eax, [ebp - 4]
push eax
push dword [0x4c8f14]
call dword [0x4c8e94]
mov eax, dword [0x4c8f24]
mov esi, dword [ebp - 4]
cdq
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x4c8f20]
push ebx
push ebx
mov dword [ebp - 0xc], edx
cdq
push 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ecx
mov dword [ebp - 0x14], edx
cdq
push esi
push edx
push eax
call fcn.0049a8f0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edx
push eax
call fcn.0049adb0
push eax
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push ecx
push dword [ebp + 0x18]
cdq
push edx
push eax
call fcn.0049a8f0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.0049adb0
push eax
xor ecx, ecx
push ecx
mov eax, edi
cdq
push esi
push edx
push eax
call fcn.0049a8f0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edx
push eax
call fcn.0049adb0
push eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ecx
push dword [ebp + 0x18]
cdq
push edx
push eax
call fcn.0049a8f0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.0049adb0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [0x4c8f14]
push dword [ebp - 8]
call dword [0x4c8e98]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x4279ac
mov eax, dword [0x4c8f3c]
cmp eax, ebx
je 0x42740b
cmp eax, edi
je 0x42740b
push edi
push dword [ebp + 0xc]
mov dword [0x4c8f3c], edi
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [0x4c8f2d], bl
jne 0x42747f
cmp byte [0x4c8f2c], bl
je 0x427450
cmp byte [0x4c8f46], bl
je 0x427444
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
mov dword [0x4c8f28], eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x42745a
mov dword [0x4c8f28], 0x4c7290
jmp 0x42745a
mov dword [0x4c8f28], 0x4c8f18
push dword [0x4cc00c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
push esi
push dword [0x4c8f28]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x60]
call fcn.00410435
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x427230
cmp dword [ebp + 0x14], 1
jne 0x427230
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x427230
call fcn.0043e63d
push 0xffffffffffffffec
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x8000000
push eax
push 0xffffffffffffffec
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, 0x4c9c14
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov esi, str.LogohWnd
push esi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0043ae25
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0043add9
add esp, 0x24
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov al, byte [0x4c8cc8]
and al, 0xc
cmp al, 8
jne 0x427532
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [0x4c8f20], eax
call esi
cmp byte [0x4c8f46], bl
mov dword [0x4c8f24], eax
je 0x427575
push 0x14
push dword [0x4c729c]
push dword [0x4c7298]
push dword [0x4c7294]
push dword [0x4c7290]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 8], ebx
mov dword [0x4c8f3c], 0xffffeffb
je 0x427596
mov eax, dword [ebp - 8]
push eax
push dword [ebp + 0xc]
mov dword [0x4c8f3c], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x4c72a1], bl
push 2
pop eax
mov byte [ebp + 0x10], 0xff
jl 0x4275a8
push 3
pop eax
mov cx, word [0x4c72a4]
cmp cx, bx
jl 0x4275bc
or dl, 0xff
sub dl, cl
mov byte [ebp + 0x10], dl
or eax, 2
push eax
push dword [ebp + 0x10]
push dword [0x4cc00c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test byte [0x4c8f45], 0x40
mov eax, dword [0x4c8f20]
mov dword [ebp + 0x14], eax
mov eax, dword [0x4c8f24]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
je 0x427626
push ebx
call esi
push 1
mov dword [ebp + 0x10], eax
call esi
push 0x3d
mov dword [ebp - 8], eax
call esi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffed4
push 0x3e
mov dword [ebp + 0x14], 0x12c
mov dword [ebp + 0x18], eax
call esi
mov ecx, dword [ebp - 8]
sub eax, 0x50
sub ecx, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ecx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
test byte [0x4c8f45], 0x10
je 0x42764a
xor eax, eax
inc eax
jmp 0x427653
mov al, byte [0x4c8f44]
neg al
sbb eax, eax
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x11
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x427685
push 0x11
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0xc]
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
push edi
mov dword [0x4c8efc], eax
mov dword [0x4c8f00], eax
mov byte [0x4c8f39], 2
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push ebx
push ebx
push 0x44f
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x427230
sub eax, 0x111
je 0x4277f4
sub eax, 0x103
je 0x427230
sub eax, 0x23b
je 0x4277eb
dec eax
jne 0x427230
mov edi, 0x4c9c14
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x42775f
push 0x20a
lea ecx, [ebp + 0x10]
call fcn.0043fdb8
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
push esi
lea eax, [ebp + 8]
push eax
push str.LogoFile
mov word [esi], bx
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], 0x412
call fcn.0043ad75
add esp, 0x18
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x18], eax
mov word [esi + 0x410], bx
je 0x427757
cmp word [esi], bx
je 0x427757
push esi
mov ecx, 0x4c8ff8
call fcn.0044845d
lea ecx, [ebp + 0x10]
call fcn.00439cfd
mov esi, dword [0x4c8ff8]
cmp esi, ebx
je 0x427795
cmp word [esi], bx
je 0x427795
mov eax, dword [0x4c8f14]
cmp eax, ebx
je 0x427784
push eax
call dword [0x4c8e68]
mov dword [0x4c8f14], ebx
mov eax, dword [0x4c8e74]
cmp eax, ebx
je 0x427795
push 0x4c8f14
push esi
call eax
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [0x4c8f20], eax
call esi
cmp byte [0x4c8f46], bl
mov dword [0x4c8f24], eax
jne 0x4277d0
push 0x10
push eax
push dword [0x4c8f20]
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x4c8f18
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x4c8f39], bl
jmp 0x427230
mov byte [0x4c8f39], 7
jmp 0x4277e0
cmp dword [ebp + 0x14], 0x66
mov esi, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, 0x4c9c14
je 0x42791f
cmp dword [ebp + 0x14], 0x67
je 0x427826
cmp dword [ebp + 0x14], 2
jne 0x427230
test byte [0x4c8cc8], 0xc
jne 0x427230
push edi
call esi
add dword [0x4c93bc], 1
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp + 0x14], 0x67
jne 0x427846
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x427846
mov byte [eax], bl
cmp byte [0x4c72a1], bl
jge 0x4278fe
test byte [0x4c8cc8], 2
jne 0x4278fe
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
fldz
fstp dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
fldz
fstp dword [ebp + 0x10]
fld dword [ebp + 0x14]
fmul dword [0x4b3a20]
call fcn.0049ad34
mov ecx, dword [ebp + 0x18]
add eax, ecx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, ecx
jle 0x4278b9
fld dword [ebp + 0x10]
push 2
fadd qword [0x4b3a18]
call fcn.0049ad34
xor ecx, ecx
or cl, 0xff
sub cl, al
push ecx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
fld dword [0x4b3a10]
fld dword [ebp + 0x10]
fadd st(1)
fstp dword [ebp + 0x10]
fld dword [ebp + 0x14]
fadd st(1)
fstp dword [ebp + 0x14]
fstp st(0)
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, ecx
jle 0x4278ea
push 1
push 0xb
call dword [sym.imp.KERNEL32.DLL_SleepEx]
fld dword [ebp + 0x10]
fcomp dword [0x4b3a0c]
fnstsw ax
test ah, 0x41
jnp 0x427872
push edi
call esi
sub dword [0x4c93bc], 1
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [0x4c8e30]
cmp eax, ebx
je 0x42791f
push eax
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push edi
call esi
and byte [0x4c8cc8], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0043ae25
add esp, 0xc
mov ecx, 0x4c8ff8
mov dword [0x4c8f3c], ebx
mov byte [0x4c72a1], 0xff
call fcn.00439cfd
mov eax, dword [0x4c8f14]
cmp eax, ebx
je 0x427967
push eax
call dword [0x4c8e68]
mov eax, dword [0x4c8f00]
cmp eax, dword [0x4c8efc]
mov dword [0x4c8f14], ebx
jne 0x427980
mov dword [0x4c8f00], ebx
push edi
mov dword [0x4c8efc], ebx
mov byte [0x4c8f46], bl
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x4c93b4]
push eax
call fcn.0043e662
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14