Function at 0x41075a
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 [0x49afe8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], esi
je 0x41079a
cmp eax, dword [ebp + 0x10]
jne 0x41079a
cmp dword [0x49ae18], ebx
je 0x41079a
cmp esi, ebx
je 0x41079a
push esi
push dword [ebp + 0xc]
mov dword [0x49ae18], esi
call dword [sym.imp.USER32.dll_SetParent]
mov edi, 0x110
cmp dword [ebp + 0x10], edi
je 0x4107ce
cmp dword [ebp + 0x10], 0x44f
je 0x4107ce
cmp esi, ebx
je 0x4107ce
mov eax, dword [0x49ae18]
cmp eax, ebx
je 0x4107ce
cmp eax, esi
je 0x4107ce
push esi
push dword [ebp + 0xc]
mov dword [0x49ae18], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, edi
ja 0x410a74
je 0x410931
cmp eax, 5
je 0x410917
cmp eax, 0xf
je 0x41088e
cmp eax, 0x14
je 0x410804
cmp eax, 0x7e
je 0x410a91
jmp 0x410bb7
cmp dword [0x49adf0], ebx
je 0x410881
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
call dword [0x49ad90]
test eax, eax
jne 0x410881
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x49adfc]
push ebx
call esi
mov ebx, dword [0x49ae00]
push 1
mov dword [0x49adfc], eax
call esi
mov ecx, dword [0x49adfc]
cmp edi, ecx
mov dword [0x49ae00], eax
jne 0x41084e
cmp ebx, eax
je 0x410867
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 [0x49ae00]
jmp 0x410869
xor esi, esi
push eax
push dword [0x49adfc]
push esi
push esi
push dword [0x49adf0]
push dword [ebp - 4]
call dword [0x49ad94]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x410d19
mov eax, dword [0x49ae18]
cmp eax, ebx
je 0x4108ab
cmp eax, esi
je 0x4108ab
push esi
push dword [ebp + 0xc]
mov dword [0x49ae18], 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 [0x49ae09], 0
jne 0x4108fa
cmp byte [0x49ae08], 0
mov dword [0x49ae04], 0x499260
jne 0x4108de
mov dword [0x49ae04], 0x49adf4
push dword [0x49e00c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x49ae04]
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
call fcn.0040c39d
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x410bb7
cmp dword [ebp + 0x14], 1
jne 0x410bb7
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x410bb7
call fcn.0042c115
mov esi, 0x49b604
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.00429876
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push str.LogohWnd
push ebx
push edi
call fcn.004297ff
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 [0x49adfc], eax
call edi
mov dword [0x49ae00], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
mov dword [0x49ae18], 0xffffeffb
je 0x4109af
push eax
push dword [ebp + 0xc]
mov dword [0x49ae18], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x499271], 0
push 2
pop edi
mov byte [ebp + 0x10], 0xff
jl 0x4109c2
push 3
pop edi
mov ax, word [0x499274]
cmp ax, bx
jl 0x4109d5
or cl, 0xff
sub cl, al
mov byte [ebp + 0x10], cl
or edi, 2
push edi
push dword [ebp + 0x10]
push dword [0x49e00c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push ebx
push dword [0x49ae00]
push dword [0x49adfc]
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [0x49ae20]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push dword [0x49ae00]
neg al
push dword [0x49adfc]
push ebx
push ebx
sbb eax, eax
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x410a42
push 0x10
push dword [0x49ae00]
push dword [0x49adfc]
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 [0x49add8], eax
mov byte [0x49ae15], 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 0x410bb7
sub eax, 0x111
je 0x410b8d
sub eax, 0x33e
je 0x410b84
dec eax
jne 0x410bb7
mov esi, 0x49b604
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x410b02
push 0x20a
lea ecx, [ebp + 0x10]
call fcn.0042e1e2
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.00429788
add esp, 0x18
cmp word [edi], bx
mov word [edi + 0x410], bx
je 0x410afa
push edi
mov ecx, 0x49af6c
call fcn.0043a57e
lea ecx, [ebp + 0x10]
call fcn.00428a48
mov edi, dword [0x49af6c]
cmp edi, ebx
je 0x410b38
cmp word [edi], bx
je 0x410b38
mov eax, dword [0x49adf0]
cmp eax, ebx
je 0x410b27
push eax
call dword [0x49ad8c]
mov dword [0x49adf0], ebx
mov eax, dword [0x49ad98]
cmp eax, ebx
je 0x410b38
push 0x49adf0
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 [0x49adfc], eax
call esi
push 0x10
push eax
push dword [0x49adfc]
mov dword [0x49ae00], eax
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x49adf4
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x49ae15], 0
jmp 0x410bb7
mov byte [0x49ae15], 7
jmp 0x410b7b
mov ebx, dword [ebp + 0x14]
cmp ebx, 0x66
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x49b604
je 0x410ca3
cmp ebx, 0x67
je 0x410bbe
cmp ebx, 2
jne 0x410bb7
test byte [0x49ac04], 4
je 0x410bbe
xor eax, eax
jmp 0x410d19
push esi
call edi
add dword [0x49b1a0], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0x67
jne 0x410bde
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x410bde
mov byte [eax], 0
cmp byte [0x499271], 0
jge 0x410c92
test byte [0x49ac04], 2
jne 0x410c92
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 [0x486ff0]
call fcn.004712e4
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 0x410c50
fld dword [ebp + 0x10]
push 2
fadd qword [0x486fe8]
call fcn.004712e4
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 [0x486fe0]
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 0x410c7e
push 1
push 0xb
call dword [sym.imp.KERNEL32.dll_SleepEx]
fld dword [ebp + 0x10]
fcomp dword [0x486fdc]
fnstsw ax
test ah, 0x41
jnp 0x410c0b
push esi
call edi
sub dword [0x49b1a0], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
and byte [0x49ac04], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00429876
xor edi, edi
add esp, 0xc
mov ecx, 0x49af6c
mov dword [0x49ae18], edi
mov byte [0x499271], 0xff
call fcn.00428a48
mov eax, dword [0x49adf0]
cmp eax, edi
je 0x410ced
push eax
call dword [0x49ad8c]
push esi
mov dword [0x49adf0], edi
mov dword [0x49add8], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x49b195]
push eax
call fcn.0042c13a
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14