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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
cmp dword [ebp + 0x10], 0x21
push ebx
push esi
jne 0x428168
test byte [0x4c0ee5], 0x50
je 0x4281ed
push 4
pop eax
jmp 0x428a08
cmp dword [ebp + 0x10], 0x453
jne 0x4281ed
push 0x19000
lea ecx, [ebp + 0x10]
call fcn.0043dd9c
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
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 + 0x14], 0x31ffe
call fcn.00438f9c
add esp, 0x18
test eax, eax
je 0x4281bd
mov word [esi], bx
mov ecx, dword [ebp + 8]
push esi
call fcn.0041e49a
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 + 0x10]
call fcn.00437e1a
mov eax, esi
jmp 0x428a08
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
mov eax, dword [0x4c1110]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], edi
je 0x428225
cmp eax, dword [ebp + 0x10]
jne 0x428225
cmp dword [0x4c0edc], ebx
je 0x428225
cmp edi, ebx
je 0x428225
push edi
push dword [ebp + 0xc]
mov dword [0x4c0edc], edi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
mov esi, pe_nt_image_headers32
cmp eax, esi
je 0x428514
cmp eax, 0x44f
je 0x428261
cmp edi, ebx
je 0x428261
mov ecx, dword [0x4c0edc]
cmp ecx, ebx
je 0x428261
cmp ecx, edi
je 0x428261
push edi
push dword [ebp + 0xc]
mov dword [0x4c0edc], edi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, esi
ja 0x428717
je 0x428514
cmp eax, 5
je 0x4284fa
cmp eax, 0xf
je 0x428452
cmp eax, 0x14
je 0x4282af
cmp eax, 0x21
je 0x42829b
cmp eax, 0x7e
je 0x42873f
xor eax, eax
jmp 0x428a07
mov al, byte [0x4c0ee5]
and al, 0x50
neg al
sbb eax, eax
and eax, 3
inc eax
jmp 0x428a07
cmp dword [0x4c0eb4], ebx
mov dword [ebp - 8], ebx
je 0x428445
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
call dword [0x4c0e28]
test eax, eax
jne 0x428445
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x4c0ec0]
push ebx
call esi
mov dword [0x4c0ec0], eax
mov eax, dword [0x4c0ec4]
push 1
mov dword [ebp + 0x10], eax
call esi
mov ecx, dword [0x4c0ec0]
cmp edi, ecx
mov dword [0x4c0ec4], eax
jne 0x42830a
cmp dword [ebp + 0x10], eax
mov dword [ebp + 0x18], ebx
je 0x428311
mov dword [ebp + 0x18], 1
xor edi, edi
test byte [0x4c0ee5], 0x40
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
je 0x428356
push ebx
call esi
push 1
mov edi, eax
call esi
push 0x3d
mov dword [ebp + 0x10], eax
call esi
add edi, 0xfffffed4
push 0x3e
mov dword [ebp + 0x14], 0x12c
mov dword [ebp + 8], edi
call esi
mov edi, eax
mov eax, dword [ebp + 0x10]
sub edi, 0x50
sub eax, edi
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x18], ebx
je 0x428371
push 0x16
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
push dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp + 0x18]
push eax
push dword [0x4c0eb4]
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
call dword [0x4c0e4c]
lea eax, [ebp - 4]
push eax
push dword [0x4c0eb4]
call dword [0x4c0e50]
mov eax, dword [0x4c0ec4]
mov esi, dword [ebp - 4]
cdq
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x4c0ec0]
push ebx
push ebx
mov dword [ebp - 0xc], edx
cdq
push 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ecx
mov dword [ebp - 0x14], edx
cdq
push esi
push edx
push eax
call fcn.00492f10
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edx
push eax
call fcn.004933d0
push eax
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push ecx
push dword [ebp + 0x18]
cdq
push edx
push eax
call fcn.00492f10
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.004933d0
push eax
xor ecx, ecx
push ecx
mov eax, edi
cdq
push esi
push edx
push eax
call fcn.00492f10
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edx
push eax
call fcn.004933d0
push eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ecx
push dword [ebp + 0x18]
cdq
push edx
push eax
call fcn.00492f10
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.004933d0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [0x4c0eb4]
push dword [ebp - 8]
call dword [0x4c0e54]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x428a07
mov eax, dword [0x4c0edc]
cmp eax, ebx
je 0x42846f
cmp eax, edi
je 0x42846f
push edi
push dword [ebp + 0xc]
mov dword [0x4c0edc], edi
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [0x4c0ecd], bl
jne 0x4284da
cmp byte [0x4c0ecc], bl
je 0x4284b4
cmp byte [0x4c0ee6], bl
je 0x4284a8
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
mov dword [0x4c0ec8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x4284be
mov dword [0x4c0ec8], 0x4bf294
jmp 0x4284be
mov dword [0x4c0ec8], 0x4c0eb8
push dword [0x4c400c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x4c0ec8]
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x60]
call fcn.0040fb90
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x428294
cmp dword [ebp + 0x14], 1
jne 0x428294
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x428294
call fcn.0043c78c
push 0xffffffffffffffec
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x8000000
push eax
push 0xffffffffffffffec
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edi, 0x4c1b94
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov esi, str.LogohWnd
push esi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0043904c
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00439000
add esp, 0x24
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov al, byte [0x4c0c98]
and al, 0xc
cmp al, 8
jne 0x42858d
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [0x4c0ec0], eax
call esi
cmp byte [0x4c0ee6], bl
mov dword [0x4c0ec4], eax
je 0x4285d0
push 0x14
push dword [0x4bf2a0]
push dword [0x4bf29c]
push dword [0x4bf298]
push dword [0x4bf294]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 8], ebx
mov dword [0x4c0edc], 0xffffeffb
je 0x4285f1
mov eax, dword [ebp - 8]
push eax
push dword [ebp + 0xc]
mov dword [0x4c0edc], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x4bf2a5], bl
push 2
pop eax
mov byte [ebp + 0x10], 0xff
jl 0x428603
push 3
pop eax
mov cx, word [0x4bf2a8]
cmp cx, bx
jl 0x428617
or dl, 0xff
sub dl, cl
mov byte [ebp + 0x10], dl
or eax, 2
push eax
push dword [ebp + 0x10]
push dword [0x4c400c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test byte [0x4c0ee5], 0x40
mov eax, dword [0x4c0ec0]
mov dword [ebp + 0x14], eax
mov eax, dword [0x4c0ec4]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
je 0x428681
push ebx
call esi
push 1
mov dword [ebp + 0x10], eax
call esi
push 0x3d
mov dword [ebp - 8], eax
call esi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffed4
push 0x3e
mov dword [ebp + 0x14], 0x12c
mov dword [ebp + 0x18], eax
call esi
mov ecx, dword [ebp - 8]
sub eax, 0x50
sub ecx, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ecx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
test byte [0x4c0ee5], 0x10
je 0x4286a5
xor eax, eax
inc eax
jmp 0x4286ae
mov al, byte [0x4c0ee4]
neg al
sbb eax, eax
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x11
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x4286e0
push 0x11
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x18]
push ebx
push dword [ebp + 0xc]
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
push edi
mov dword [0x4c0e98], eax
mov dword [0x4c0e9c], eax
mov byte [0x4c0ed9], 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 0x428294
sub eax, 0x111
je 0x42884f
sub eax, 0x103
je 0x428294
sub eax, 0x23b
je 0x428846
dec eax
jne 0x428294
mov edi, 0x4c1b94
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x4287ba
push 0x20a
lea ecx, [ebp + 0x10]
call fcn.0043dd9c
mov esi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
push esi
lea eax, [ebp + 8]
push eax
push str.LogoFile
mov word [esi], bx
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], 0x412
call fcn.00438f9c
add esp, 0x18
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x18], eax
mov word [esi + 0x410], bx
je 0x4287b2
cmp word [esi], bx
je 0x4287b2
push esi
mov ecx, 0x4c1064
call fcn.0044655b
lea ecx, [ebp + 0x10]
call fcn.00437e1a
mov esi, dword [0x4c1064]
cmp esi, ebx
je 0x4287f0
cmp word [esi], bx
je 0x4287f0
mov eax, dword [0x4c0eb4]
cmp eax, ebx
je 0x4287df
push eax
call dword [0x4c0e24]
mov dword [0x4c0eb4], ebx
mov eax, dword [0x4c0e30]
cmp eax, ebx
je 0x4287f0
push 0x4c0eb4
push esi
call eax
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [0x4c0ec0], eax
call esi
cmp byte [0x4c0ee6], bl
mov dword [0x4c0ec4], eax
jne 0x42882b
push 0x10
push eax
push dword [0x4c0ec0]
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x4c0eb8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x4c0ed9], bl
jmp 0x428294
mov byte [0x4c0ed9], 7
jmp 0x42883b
cmp dword [ebp + 0x14], 0x66
mov esi, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, 0x4c1b94
je 0x42897a
cmp dword [ebp + 0x14], 0x67
je 0x428881
cmp dword [ebp + 0x14], 2
jne 0x428294
test byte [0x4c0c98], 0xc
jne 0x428294
push edi
call esi
add dword [0x4c1338], 1
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp + 0x14], 0x67
jne 0x4288a1
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x4288a1
mov byte [eax], bl
cmp byte [0x4bf2a5], bl
jge 0x428959
test byte [0x4c0c98], 2
jne 0x428959
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
fldz
fstp dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
fldz
fstp dword [ebp + 0x10]
fld dword [ebp + 0x14]
fmul dword [0x4ab888]
call fcn.00493354
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 0x428914
fld dword [ebp + 0x10]
push 2
fadd qword [0x4ab880]
call fcn.00493354
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 [0x4ab87c]
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]
mov ecx, dword [ebp + 8]
sub ecx, eax
test ecx, ecx
jle 0x428945
push 1
push 0xb
call dword [sym.imp.KERNEL32.DLL_SleepEx]
fld dword [ebp + 0x10]
fcomp dword [0x4ab878]
fnstsw ax
test ah, 0x41
jnp 0x4288cd
push edi
call esi
sub dword [0x4c1338], 1
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [0x4c0df8]
cmp eax, ebx
je 0x42897a
push eax
call dword [sym.imp.KERNEL32.DLL_SetEvent]
push edi
call esi
and byte [0x4c0c98], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.0043904c
add esp, 0xc
mov ecx, 0x4c1064
mov dword [0x4c0edc], ebx
mov byte [0x4bf2a5], 0xff
call fcn.00437e1a
mov eax, dword [0x4c0eb4]
cmp eax, ebx
je 0x4289c2
push eax
call dword [0x4c0e24]
mov eax, dword [0x4c0e9c]
cmp eax, dword [0x4c0e98]
mov dword [0x4c0eb4], ebx
jne 0x4289db
mov dword [0x4c0e9c], ebx
push edi
mov dword [0x4c0e98], ebx
mov byte [0x4c0ee6], bl
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x4c1331]
push eax
call fcn.0043c7b1
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14