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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
cmp dword [ebp + 0x10], 0x453
push ebx
push esi
jne 0x41ca52
push 0x19000
lea ecx, [ebp + 0x14]
call fcn.0043719c
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
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 + 0x10], 0x31ffe
call fcn.00432ad4
add esp, 0x18
test eax, eax
je 0x41ca22
mov word [esi], bx
mov ecx, dword [ebp + 8]
push esi
call fcn.00411900
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 + 0x14]
call fcn.00431c4c
mov eax, esi
jmp 0x41d09d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
mov eax, dword [0x4b0064]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], esi
je 0x41ca89
cmp eax, dword [ebp + 0x10]
jne 0x41ca89
cmp dword [0x4afe4c], ebx
je 0x41ca89
cmp esi, ebx
je 0x41ca89
push esi
push dword [ebp + 0xc]
mov dword [0x4afe4c], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
push edi
mov edi, pe_nt_image_headers32
cmp eax, edi
je 0x41cc42
cmp eax, 0x44f
je 0x41cac6
cmp esi, ebx
je 0x41cac6
mov ecx, dword [0x4afe4c]
cmp ecx, ebx
je 0x41cac6
cmp ecx, esi
je 0x41cac6
push esi
push dword [ebp + 0xc]
mov dword [0x4afe4c], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, edi
ja 0x41cdcb
je 0x41cc42
cmp eax, 5
je 0x41cc28
cmp eax, 0xf
je 0x41cb80
cmp eax, 0x14
je 0x41caf9
cmp eax, 0x7e
je 0x41cde8
jmp 0x41cf1f
cmp dword [0x4afe24], ebx
je 0x41cb73
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
call dword [0x4afd9c]
test eax, eax
jne 0x41cb73
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x4afe30]
push ebx
call esi
mov dword [0x4afe30], eax
mov eax, dword [0x4afe34]
push 1
mov dword [ebp + 0x14], eax
call esi
mov ecx, dword [0x4afe30]
cmp edi, ecx
mov dword [0x4afe34], eax
jne 0x41cb46
cmp dword [ebp + 0x14], eax
je 0x41cb5b
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 [0x4afe34]
push eax
push dword [0x4afe30]
push ebx
push ebx
push dword [0x4afe24]
push dword [ebp - 4]
call dword [0x4afda0]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x41d09c
mov eax, dword [0x4afe4c]
cmp eax, ebx
je 0x41cb9d
cmp eax, esi
je 0x41cb9d
push esi
push dword [ebp + 0xc]
mov dword [0x4afe4c], esi
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [0x4afe3d], bl
jne 0x41cc08
cmp byte [0x4afe3c], bl
je 0x41cbe2
cmp byte [0x4afe55], bl
je 0x41cbd6
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
mov dword [0x4afe38], eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x41cbec
mov dword [0x4afe38], 0x4ae270
jmp 0x41cbec
mov dword [0x4afe38], 0x4afe28
push dword [0x4b300c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x4afe38]
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x58]
call fcn.0040d806
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x41cf1f
cmp dword [ebp + 0x14], 1
jne 0x41cf1f
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41cf1f
call fcn.00435e8a
mov esi, 0x4b069c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, str.LogohWnd
push edi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00432b84
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00432b38
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [0x4afc18]
and al, 0xc
cmp al, 8
jne 0x41cc9f
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
push 1
mov dword [0x4afe30], eax
call edi
cmp byte [0x4afe55], bl
mov dword [0x4afe34], eax
je 0x41cce2
push 0x14
push dword [0x4ae27c]
push dword [0x4ae278]
push dword [0x4ae274]
push dword [0x4ae270]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 8]
cmp eax, ebx
mov dword [0x4afe4c], 0xffffeffb
je 0x41cd02
push eax
push dword [ebp + 0xc]
mov dword [0x4afe4c], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x4ae281], bl
push 2
pop edi
mov byte [ebp + 0x14], 0xff
jl 0x41cd14
push 3
pop edi
mov ax, word [0x4ae284]
cmp ax, bx
jl 0x41cd27
or cl, 0xff
sub cl, al
mov byte [ebp + 0x14], cl
or edi, 2
push edi
push dword [ebp + 0x14]
push dword [0x4b300c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push ebx
push dword [0x4afe34]
push dword [0x4afe30]
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [0x4afe54]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push dword [0x4afe34]
neg al
push dword [0x4afe30]
push ebx
push ebx
sbb eax, eax
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x41cd94
push 0x10
push dword [0x4afe34]
push dword [0x4afe30]
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 [0x4afe08], eax
mov dword [0x4afe0c], eax
mov byte [0x4afe49], 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 0x41cf1f
sub eax, 0x111
je 0x41cef5
sub eax, 0x33e
je 0x41ceec
dec eax
jne 0x41cf1f
mov esi, 0x4b069c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x41ce63
push 0x20a
lea ecx, [ebp + 0x14]
call fcn.0043719c
mov edi, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
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 + 0x10], 0x412
call fcn.00432ad4
add esp, 0x18
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x18], eax
mov word [edi + 0x410], bx
je 0x41ce5b
cmp word [edi], bx
je 0x41ce5b
push edi
mov ecx, 0x4affc4
call fcn.00441a80
lea ecx, [ebp + 0x14]
call fcn.00431c4c
mov edi, dword [0x4affc4]
cmp edi, ebx
je 0x41ce99
cmp word [edi], bx
je 0x41ce99
mov eax, dword [0x4afe24]
cmp eax, ebx
je 0x41ce88
push eax
call dword [0x4afd98]
mov dword [0x4afe24], ebx
mov eax, dword [0x4afda4]
cmp eax, ebx
je 0x41ce99
push 0x4afe24
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 [0x4afe30], eax
call esi
cmp byte [0x4afe55], bl
mov dword [0x4afe34], eax
jne 0x41ced4
push 0x10
push eax
push dword [0x4afe30]
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x4afe28
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x4afe49], bl
jmp 0x41cf1f
mov byte [0x4afe49], 7
jmp 0x41cee4
cmp dword [ebp + 0x14], 0x66
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x4b069c
je 0x41d00f
cmp dword [ebp + 0x14], 0x67
je 0x41cf26
cmp dword [ebp + 0x14], 2
jne 0x41cf1f
test byte [0x4afc18], 0xc
je 0x41cf26
xor eax, eax
jmp 0x41d09c
push esi
call edi
add dword [0x4b0274], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x14], 0x67
jne 0x41cf46
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x41cf46
mov byte [eax], bl
cmp byte [0x4ae281], bl
jge 0x41cffe
test byte [0x4afc18], 2
jne 0x41cffe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fldz
fstp dword [ebp + 0x10]
mov dword [ebp + 0x18], eax
fldz
fstp dword [ebp + 0x14]
fld dword [ebp + 0x10]
fmul dword [0x49aeb8]
call fcn.00483ab4
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 0x41cfb9
fld dword [ebp + 0x14]
push 2
fadd qword [0x49aeb0]
call fcn.00483ab4
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 [0x49aeac]
fld dword [ebp + 0x14]
fadd st(1)
fstp dword [ebp + 0x14]
fld dword [ebp + 0x10]
fadd st(1)
fstp dword [ebp + 0x10]
fstp st(0)
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, ecx
jle 0x41cfea
push 1
push 0xb
call dword [sym.imp.KERNEL32.dll_SleepEx]
fld dword [ebp + 0x14]
fcomp dword [0x49aea8]
fnstsw ax
test ah, 0x41
jnp 0x41cf72
push esi
call edi
sub dword [0x4b0274], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
and byte [0x4afc18], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00432b84
add esp, 0xc
mov ecx, 0x4affc4
mov dword [0x4afe4c], ebx
mov byte [0x4ae281], 0xff
call fcn.00431c4c
mov eax, dword [0x4afe24]
cmp eax, ebx
je 0x41d057
push eax
call dword [0x4afd98]
mov eax, dword [0x4afe0c]
cmp eax, dword [0x4afe08]
mov dword [0x4afe24], ebx
jne 0x41d070
mov dword [0x4afe0c], ebx
push esi
mov dword [0x4afe08], ebx
mov byte [0x4afe55], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x4b0269]
push eax
call fcn.00435eaf
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14