Function at 0x419843
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 0x4198d0
push 0x19000
lea ecx, [ebp + 0x14]
call fcn.00433c42
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.0042f905
add esp, 0x18
test eax, eax
je 0x4198a0
mov word [esi], bx
mov ecx, dword [ebp + 8]
push esi
call fcn.00410ea0
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.0042eb98
mov eax, esi
jmp 0x419f1b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
mov eax, dword [0x4a7044]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], esi
je 0x419907
cmp eax, dword [ebp + 0x10]
jne 0x419907
cmp dword [0x4a6e3c], ebx
je 0x419907
cmp esi, ebx
je 0x419907
push esi
push dword [ebp + 0xc]
mov dword [0x4a6e3c], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
push edi
mov edi, 0x110
cmp eax, edi
je 0x419ac0
cmp eax, 0x44f
je 0x419944
cmp esi, ebx
je 0x419944
mov ecx, dword [0x4a6e3c]
cmp ecx, ebx
je 0x419944
cmp ecx, esi
je 0x419944
push esi
push dword [ebp + 0xc]
mov dword [0x4a6e3c], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, edi
ja 0x419c49
je 0x419ac0
cmp eax, 5
je 0x419aa6
cmp eax, 0xf
je 0x4199fe
cmp eax, 0x14
je 0x419977
cmp eax, 0x7e
je 0x419c66
jmp 0x419d9d
cmp dword [0x4a6e14], ebx
je 0x4199f1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
call dword [0x4a6d94]
test eax, eax
jne 0x4199f1
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x4a6e20]
push ebx
call esi
mov dword [0x4a6e20], eax
mov eax, dword [0x4a6e24]
push 1
mov dword [ebp + 0x14], eax
call esi
mov ecx, dword [0x4a6e20]
cmp edi, ecx
mov dword [0x4a6e24], eax
jne 0x4199c4
cmp dword [ebp + 0x14], eax
je 0x4199d9
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 [0x4a6e24]
push eax
push dword [0x4a6e20]
push ebx
push ebx
push dword [0x4a6e14]
push dword [ebp - 4]
call dword [0x4a6d98]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x419f1a
mov eax, dword [0x4a6e3c]
cmp eax, ebx
je 0x419a1b
cmp eax, esi
je 0x419a1b
push esi
push dword [ebp + 0xc]
mov dword [0x4a6e3c], 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 [0x4a6e2d], bl
jne 0x419a86
cmp byte [0x4a6e2c], bl
je 0x419a60
cmp byte [0x4a6e45], bl
je 0x419a54
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
mov dword [0x4a6e28], eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x419a6a
mov dword [0x4a6e28], 0x4a5270
jmp 0x419a6a
mov dword [0x4a6e28], 0x4a6e18
push dword [0x4aa00c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x4a6e28]
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.0040cbca
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x419d9d
cmp dword [ebp + 0x14], 1
jne 0x419d9d
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x419d9d
call fcn.0043298d
mov esi, 0x4a7658
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, str.LogohWnd
push edi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0042f9f3
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0042f97c
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [0x4a6c10]
and al, 0xc
cmp al, 8
jne 0x419b1d
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 [0x4a6e20], eax
call edi
cmp byte [0x4a6e45], bl
mov dword [0x4a6e24], eax
je 0x419b60
push 0x14
push dword [0x4a527c]
push dword [0x4a5278]
push dword [0x4a5274]
push dword [0x4a5270]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 8]
cmp eax, ebx
mov dword [0x4a6e3c], 0xffffeffb
je 0x419b80
push eax
push dword [ebp + 0xc]
mov dword [0x4a6e3c], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x4a5281], bl
push 2
pop edi
mov byte [ebp + 0x14], 0xff
jl 0x419b92
push 3
pop edi
mov ax, word [0x4a5284]
cmp ax, bx
jl 0x419ba5
or cl, 0xff
sub cl, al
mov byte [ebp + 0x14], cl
or edi, 2
push edi
push dword [ebp + 0x14]
push dword [0x4aa00c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push ebx
push dword [0x4a6e24]
push dword [0x4a6e20]
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov al, byte [0x4a6e44]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x10
push dword [0x4a6e24]
neg al
push dword [0x4a6e20]
push ebx
push ebx
sbb eax, eax
push eax
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x419c12
push 0x10
push dword [0x4a6e24]
push dword [0x4a6e20]
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 [0x4a6df8], eax
mov dword [0x4a6dfc], eax
mov byte [0x4a6e39], 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 0x419d9d
sub eax, 0x111
je 0x419d73
sub eax, 0x33e
je 0x419d6a
dec eax
jne 0x419d9d
mov esi, 0x4a7658
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x419ce1
push 0x20a
lea ecx, [ebp + 0x14]
call fcn.00433c42
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.0042f905
add esp, 0x18
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x18], eax
mov word [edi + 0x410], bx
je 0x419cd9
cmp word [edi], bx
je 0x419cd9
push edi
mov ecx, 0x4a6fa8
call fcn.0043de8d
lea ecx, [ebp + 0x14]
call fcn.0042eb98
mov edi, dword [0x4a6fa8]
cmp edi, ebx
je 0x419d17
cmp word [edi], bx
je 0x419d17
mov eax, dword [0x4a6e14]
cmp eax, ebx
je 0x419d06
push eax
call dword [0x4a6d90]
mov dword [0x4a6e14], ebx
mov eax, dword [0x4a6d9c]
cmp eax, ebx
je 0x419d17
push 0x4a6e14
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 [0x4a6e20], eax
call esi
cmp byte [0x4a6e45], bl
mov dword [0x4a6e24], eax
jne 0x419d52
push 0x10
push eax
push dword [0x4a6e20]
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x4a6e18
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x4a6e39], bl
jmp 0x419d9d
mov byte [0x4a6e39], 7
jmp 0x419d62
cmp dword [ebp + 0x14], 0x66
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 0x4a7658
je 0x419e8d
cmp dword [ebp + 0x14], 0x67
je 0x419da4
cmp dword [ebp + 0x14], 2
jne 0x419d9d
test byte [0x4a6c10], 0xc
je 0x419da4
xor eax, eax
jmp 0x419f1a
push esi
call edi
add dword [0x4a7228], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 0x14], 0x67
jne 0x419dc4
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x419dc4
mov byte [eax], bl
cmp byte [0x4a5281], bl
jge 0x419e7c
test byte [0x4a6c10], 2
jne 0x419e7c
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 [0x492628]
call fcn.0047c064
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 0x419e37
fld dword [ebp + 0x14]
push 2
fadd qword [0x492620]
call fcn.0047c064
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 [0x492618]
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 0x419e68
push 1
push 0xb
call dword [sym.imp.KERNEL32.dll_SleepEx]
fld dword [ebp + 0x14]
fcomp dword [0x492614]
fnstsw ax
test ah, 0x41
jnp 0x419df0
push esi
call edi
sub dword [0x4a7228], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call edi
and byte [0x4a6c10], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0042f9f3
add esp, 0xc
mov ecx, 0x4a6fa8
mov dword [0x4a6e3c], ebx
mov byte [0x4a5281], 0xff
call fcn.0042eb98
mov eax, dword [0x4a6e14]
cmp eax, ebx
je 0x419ed5
push eax
call dword [0x4a6d90]
mov eax, dword [0x4a6dfc]
cmp eax, dword [0x4a6df8]
mov dword [0x4a6e14], ebx
jne 0x419eee
mov dword [0x4a6dfc], ebx
push esi
mov dword [0x4a6df8], ebx
mov byte [0x4a6e45], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x4a721d]
push eax
call fcn.004329b2
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14