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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
mov eax, dword [0x48ffd8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], esi
je 0x40fe96
cmp eax, dword [ebp + 0x10]
jne 0x40fe96
cmp dword [0x48fe24], ebx
je 0x40fe96
cmp esi, ebx
je 0x40fe96
push esi
push dword [ebp + 0xc]
mov dword [0x48fe24], esi
call dword [sym.imp.USER32.dll_SetParent]
mov edi, 0x110
cmp dword [ebp + 0x10], edi
je 0x40feca
cmp dword [ebp + 0x10], 0x44f
je 0x40feca
cmp esi, ebx
je 0x40feca
mov eax, dword [0x48fe24]
cmp eax, ebx
je 0x40feca
cmp eax, esi
je 0x40feca
push esi
push dword [ebp + 0xc]
mov dword [0x48fe24], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, edi
ja 0x41015b
je 0x41002d
cmp eax, 5
je 0x410013
cmp eax, 0xf
je 0x40ff8a
cmp eax, 0x14
je 0x40ff00
cmp eax, 0x7e
je 0x410178
jmp 0x41029e
cmp dword [0x48fdfc], ebx
je 0x40ff7d
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
call dword [0x48fd9c]
test eax, eax
jne 0x40ff7d
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x48fe08]
push ebx
call esi
mov ebx, dword [0x48fe0c]
push 1
mov dword [0x48fe08], eax
call esi
mov ecx, dword [0x48fe08]
cmp edi, ecx
mov dword [0x48fe0c], eax
jne 0x40ff4a
cmp ebx, eax
je 0x40ff63
push 0x16
push eax
push ecx
xor esi, esi
push esi
push esi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x48fe0c]
jmp 0x40ff65
xor esi, esi
push eax
push dword [0x48fe08]
push esi
push esi
push dword [0x48fdfc]
push dword [ebp - 4]
call dword [0x48fda0]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x410400
mov eax, dword [0x48fe24]
cmp eax, ebx
je 0x40ffa7
cmp eax, esi
je 0x40ffa7
push esi
push dword [ebp + 0xc]
mov dword [0x48fe24], esi
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [0x48fe15], 0
jne 0x40fff6
cmp byte [0x48fe14], 0
mov dword [0x48fe10], 0x48e290
jne 0x40ffda
mov dword [0x48fe10], 0x48fe00
push dword [0x49300c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x48fe10]
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
call fcn.0040b2dc
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x41029e
cmp dword [ebp + 0x14], 1
jne 0x41029e
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41029e
call fcn.004294c8
mov esi, 0x49062c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push str.LogohWnd
mov ebx, str.SOFTWAREPELOGON
push ebx
mov edi, 0x80000002
push edi
call fcn.00426ea6
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push str.LogohWnd
push ebx
push edi
call fcn.00426e2f
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
call edi
push 1
mov dword [0x48fe08], eax
call edi
mov dword [0x48fe0c], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
mov dword [0x48fe24], 0xffffeffb
je 0x4100ab
push eax
push dword [ebp + 0xc]
mov dword [0x48fe24], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x48e2a1], 0
push 2
pop eax
jl 0x4100ba
push 3
pop eax
or eax, 2
push eax
push 0xff
push dword [0x49300c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push ebx
push dword [0x48fe0c]
push dword [0x48fe08]
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [0x48fe2c]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push dword [0x48fe0c]
neg al
push dword [0x48fe08]
push ebx
push ebx
sbb eax, eax
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x410129
push 0x10
push dword [0x48fe0c]
push dword [0x48fe08]
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
push esi
mov dword [0x48fde4], eax
mov byte [0x48fe20], 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 0x41029e
sub eax, 0x111
je 0x410274
sub eax, 0x33e
je 0x41026b
dec eax
jne 0x41029e
mov esi, 0x49062c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x4101e9
push 0x20a
lea ecx, [ebp + 0x10]
call fcn.0042aed6
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
push edi
lea eax, [ebp + 8]
push eax
push str.LogoFile
mov word [edi], bx
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], 0x412
call fcn.00426db8
add esp, 0x18
cmp word [edi], bx
mov word [edi + 0x410], bx
je 0x4101e1
push edi
mov ecx, 0x48ff68
call fcn.00426075
lea ecx, [ebp + 0x10]
call fcn.0042602e
mov edi, dword [0x48ff68]
cmp edi, ebx
je 0x41021f
cmp word [edi], bx
je 0x41021f
mov eax, dword [0x48fdfc]
cmp eax, ebx
je 0x41020e
push eax
call dword [0x48fd98]
mov dword [0x48fdfc], ebx
mov eax, dword [0x48fda4]
cmp eax, ebx
je 0x41021f
push 0x48fdfc
push edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [0x48fe08], eax
call esi
push 0x10
push eax
push dword [0x48fe08]
mov dword [0x48fe0c], eax
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x48fe00
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x48fe20], 0
jmp 0x41029e
mov byte [0x48fe20], 7
jmp 0x410262
mov ebx, dword [ebp + 0x14]
cmp ebx, 0x66
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x49062c
je 0x41038a
cmp ebx, 0x67
je 0x4102a5
cmp ebx, 2
jne 0x41029e
test byte [0x48fc0c], 4
je 0x4102a5
xor eax, eax
jmp 0x410400
push esi
call edi
add dword [0x49019c], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0x67
jne 0x4102c5
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4102c5
mov byte [eax], 0
cmp byte [0x48e2a1], 0
jge 0x410379
test byte [0x48fc0c], 2
jne 0x410379
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fldz
fstp dword [ebp + 0x14]
mov dword [ebp + 8], eax
fldz
fstp dword [ebp + 0x10]
fld dword [ebp + 0x14]
fmul dword [0x47cfa8]
call fcn.00467ae4
mov ecx, dword [ebp + 8]
lea ebx, [eax + ecx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebx
sub ecx, eax
test ecx, ecx
jle 0x410337
fld dword [ebp + 0x10]
push 2
fadd qword [0x47cfa0]
call fcn.00467ae4
xor ecx, ecx
or cl, 0xff
sub cl, al
push ecx
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
fld dword [0x47cf9c]
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]
sub ebx, eax
test ebx, ebx
jle 0x410365
push 1
push 0xb
call dword [sym.imp.KERNEL32.dll_SleepEx]
fld dword [ebp + 0x10]
fcomp dword [0x47cf98]
fnstsw ax
test ah, 0x41
jnp 0x4102f2
push esi
call edi
sub dword [0x49019c], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
and byte [0x48fc0c], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00426ea6
xor edi, edi
add esp, 0xc
mov ecx, 0x48ff68
mov dword [0x48fe24], edi
mov byte [0x48e2a1], 0xff
call fcn.0042602e
mov eax, dword [0x48fdfc]
cmp eax, edi
je 0x4103d4
push eax
call dword [0x48fd98]
push esi
mov dword [0x48fdfc], edi
mov dword [0x48fde4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x490191]
push eax
call fcn.004294ed
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14