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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
mov eax, dword [0x48af80]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], esi
je 0x40ef27
cmp eax, dword [ebp + 0x10]
jne 0x40ef27
cmp dword [0x48ae18], ebx
je 0x40ef27
cmp esi, ebx
je 0x40ef27
push esi
push dword [ebp + 0xc]
mov dword [0x48ae18], esi
call dword [sym.imp.USER32.dll_SetParent]
mov edi, pe_nt_image_headers32
cmp dword [ebp + 0x10], edi
je 0x40ef5b
cmp dword [ebp + 0x10], 0x44f
je 0x40ef5b
cmp esi, ebx
je 0x40ef5b
mov eax, dword [0x48ae18]
cmp eax, ebx
je 0x40ef5b
cmp eax, esi
je 0x40ef5b
push esi
push dword [ebp + 0xc]
mov dword [0x48ae18], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, edi
ja 0x40f1e7
je 0x40f0b9
cmp eax, 5
je 0x40f09f
cmp eax, 0xf
je 0x40f018
cmp eax, 0x14
je 0x40ef91
cmp eax, 0x7e
je 0x40f204
jmp 0x40f31e
cmp dword [0x48ade8], ebx
je 0x40f00b
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
call dword [0x48ad84]
test eax, eax
jne 0x40f00b
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x48adf8]
push ebx
call esi
mov dword [0x48adf8], eax
mov eax, dword [0x48adfc]
push 1
mov dword [ebp + 0x10], eax
call esi
mov ecx, dword [0x48adf8]
cmp edi, ecx
mov dword [0x48adfc], eax
jne 0x40efde
cmp dword [ebp + 0x10], eax
je 0x40eff3
push 0x16
push eax
push ecx
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x48adfc]
push eax
push dword [0x48adf8]
push ebx
push ebx
push dword [0x48ade8]
push dword [ebp + 0x14]
call dword [0x48ad88]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x40f422
mov eax, dword [0x48ae18]
cmp eax, ebx
je 0x40f035
cmp eax, esi
je 0x40f035
push esi
push dword [ebp + 0xc]
mov dword [0x48ae18], esi
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [0x48ae0d], bl
jne 0x40f082
cmp byte [0x48ae0c], bl
mov dword [0x48ae00], 0x489290
jne 0x40f066
mov dword [0x48ae00], 0x48adf0
push dword [0x48ae04]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x48ae00]
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x44]
mov ecx, dword [ebp + 8]
call fcn.0040ac12
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x40f31e
cmp dword [ebp + 0x14], 1
jne 0x40f31e
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40f31e
call fcn.00428739
mov esi, 0x48b5d4
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push str.LogohWnd
push str.SOFTWAREPELOGON
mov edi, 0x80000002
push edi
call fcn.0042557a
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push str.LogohWnd
push str.SOFTWAREPELOGON
push edi
call fcn.00425503
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
push 1
mov dword [0x48adf8], eax
call edi
mov dword [0x48adfc], eax
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [0x48ae18], 0xffffeffb
je 0x40f138
push eax
push dword [ebp + 0xc]
mov dword [0x48ae18], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x4892a9], bl
push 2
pop eax
jl 0x40f146
push 3
pop eax
or eax, 2
push eax
push 0xff
push dword [0x48ae04]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push ebx
push dword [0x48adfc]
push dword [0x48adf8]
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [0x48ae20]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push dword [0x48adfc]
neg al
push dword [0x48adf8]
push ebx
push ebx
sbb eax, eax
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x40f1b5
push 0x10
push dword [0x48adfc]
push dword [0x48adf8]
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 [0x48adcc], eax
mov byte [0x48ae14], 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 0x40f31e
sub eax, 0x111
je 0x40f2ff
sub eax, 0x33e
je 0x40f2f6
dec eax
jne 0x40f31e
mov esi, 0x48b5d4
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x40f275
push 0x20a
lea ecx, [ebp + 0x10]
call fcn.0042465d
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 4]
push eax
push str.LogoFile
mov word [edi], bx
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x412
call fcn.0042548c
add esp, 0x18
cmp word [edi], bx
mov word [edi + 0x410], bx
je 0x40f26d
push edi
mov ecx, 0x48aea4
call fcn.00424710
lea ecx, [ebp + 0x10]
call fcn.00424686
mov edi, dword [0x48aea4]
cmp edi, ebx
je 0x40f2ab
cmp word [edi], bx
je 0x40f2ab
mov eax, dword [0x48ade8]
cmp eax, ebx
je 0x40f29a
push eax
call dword [0x48ad80]
mov dword [0x48ade8], ebx
mov eax, dword [0x48ad8c]
cmp eax, ebx
je 0x40f2ab
push 0x48ade8
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 [0x48adf8], eax
call esi
push 0x10
push eax
push dword [0x48adf8]
mov dword [0x48adfc], eax
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x48adf0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x48ae14], bl
jmp 0x40f31e
mov byte [0x48ae14], 7
jmp 0x40f2ee
cmp dword [ebp + 0x14], 0x66
je 0x40f3a5
cmp dword [ebp + 0x14], 0x67
mov al, byte [0x48abf4]
je 0x40f325
cmp dword [ebp + 0x14], 2
jne 0x40f31e
test al, 4
je 0x40f325
xor eax, eax
jmp 0x40f422
cmp byte [0x4892a9], bl
jge 0x40f3a5
test al, 2
jne 0x40f3a5
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
fldz
fstp dword [ebp + 0x10]
mov dword [ebp + 8], eax
fld dword [ebp + 0x10]
push 2
fadd qword [0x477bf8]
call fcn.00462ab4
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 [ebp + 0x10]
fadd qword [0x477bf0]
fstp dword [ebp + 0x10]
call esi
fld dword [ebp + 0x10]
mov edi, eax
fmul dword [0x477be8]
call fcn.00462ab4
mov ecx, eax
mov eax, dword [ebp + 8]
sub eax, ecx
sub eax, edi
cmp eax, ebx
jle 0x40f395
push eax
call dword [sym.imp.KERNEL32.DLL_Sleep]
fld dword [ebp + 0x10]
fcomp dword [0x477be4]
fnstsw ax
test ah, 0x41
jnp 0x40f341
mov esi, 0x48b5d4
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
and byte [0x48abf4], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0042557a
add esp, 0xc
mov ecx, 0x48aea4
mov dword [0x48ae18], ebx
mov byte [0x4892a9], 0xff
call fcn.00424686
mov eax, dword [0x48ade8]
cmp eax, ebx
je 0x40f3f6
push eax
call dword [0x48ad80]
push esi
mov dword [0x48ade8], ebx
mov dword [0x48adcc], ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x48b139]
push eax
call fcn.0042875e
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14