Function at 0x427de5
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 0x427e08
test byte [0x4bdec9], 0x50
je 0x427e8d
push 4
pop eax
jmp 0x428698
cmp dword [ebp + 0x10], 0x453
jne 0x427e8d
push 0x19000
lea ecx, [ebp + 0x10]
call fcn.0043d49b
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.004389fd
add esp, 0x18
test eax, eax
je 0x427e5d
mov word [esi], bx
mov ecx, dword [ebp + 8]
push esi
call fcn.0041e0e1
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.00437960
mov eax, esi
jmp 0x428698
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edi, eax
mov eax, dword [0x4be100]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], edi
je 0x427ec5
cmp eax, dword [ebp + 0x10]
jne 0x427ec5
cmp dword [0x4bdec0], ebx
je 0x427ec5
cmp edi, ebx
je 0x427ec5
push edi
push dword [ebp + 0xc]
mov dword [0x4bdec0], edi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
mov esi, 0x110
cmp eax, esi
je 0x4281b4
cmp eax, 0x44f
je 0x427f01
cmp edi, ebx
je 0x427f01
mov ecx, dword [0x4bdec0]
cmp ecx, ebx
je 0x427f01
cmp ecx, edi
je 0x427f01
push edi
push dword [ebp + 0xc]
mov dword [0x4bdec0], edi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, esi
ja 0x4283b7
je 0x4281b4
cmp eax, 5
je 0x42819a
cmp eax, 0xf
je 0x4280f2
cmp eax, 0x14
je 0x427f4f
cmp eax, 0x21
je 0x427f3b
cmp eax, 0x7e
je 0x4283df
xor eax, eax
jmp 0x428697
mov al, byte [0x4bdec9]
and al, 0x50
neg al
sbb eax, eax
and eax, 3
inc eax
jmp 0x428697
cmp dword [0x4bde98], ebx
mov dword [ebp - 8], ebx
je 0x4280e5
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
call dword [0x4bde0c]
test eax, eax
jne 0x4280e5
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [0x4bdea4]
push ebx
call esi
mov dword [0x4bdea4], eax
mov eax, dword [0x4bdea8]
push 1
mov dword [ebp + 0x10], eax
call esi
mov ecx, dword [0x4bdea4]
cmp edi, ecx
mov dword [0x4bdea8], eax
jne 0x427faa
cmp dword [ebp + 0x10], eax
mov dword [ebp + 0x18], ebx
je 0x427fb1
mov dword [ebp + 0x18], 1
xor edi, edi
test byte [0x4bdec9], 0x40
mov dword [ebp + 8], ebx
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
je 0x427ff6
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 0x428011
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 [0x4bde98]
mov dword [ebp + 0x18], ebx
mov dword [ebp - 4], ebx
call dword [0x4bde30]
lea eax, [ebp - 4]
push eax
push dword [0x4bde98]
call dword [0x4bde34]
mov eax, dword [0x4bdea8]
mov esi, dword [ebp - 4]
cdq
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [0x4bdea4]
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.0048f8b0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edx
push eax
call fcn.0048ff30
push eax
mov eax, dword [ebp + 0x14]
xor ecx, ecx
push ecx
push dword [ebp + 0x18]
cdq
push edx
push eax
call fcn.0048f8b0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.0048ff30
push eax
xor ecx, ecx
push ecx
mov eax, edi
cdq
push esi
push edx
push eax
call fcn.0048f8b0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push edx
push eax
call fcn.0048ff30
push eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push ecx
push dword [ebp + 0x18]
cdq
push edx
push eax
call fcn.0048f8b0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.0048ff30
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push ebx
push ebx
push dword [0x4bde98]
push dword [ebp - 8]
call dword [0x4bde38]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x428697
mov eax, dword [0x4bdec0]
cmp eax, ebx
je 0x42810f
cmp eax, edi
je 0x42810f
push edi
push dword [ebp + 0xc]
mov dword [0x4bdec0], 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 [0x4bdeb1], bl
jne 0x42817a
cmp byte [0x4bdeb0], bl
je 0x428154
cmp byte [0x4bdeca], bl
je 0x428148
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
mov dword [0x4bdeac], eax
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x42815e
mov dword [0x4bdeac], 0x4bc294
jmp 0x42815e
mov dword [0x4bdeac], 0x4bde9c
push dword [0x4c100c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x4bdeac]
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.0040f73f
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x427f34
cmp dword [ebp + 0x14], 1
jne 0x427f34
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x427f34
call fcn.0043bf22
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, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov esi, str.LogohWnd
push esi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00438aad
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push esi
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00438a61
add esp, 0x24
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov al, byte [0x4bdc88]
and al, 0xc
cmp al, 8
jne 0x42822d
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 [0x4bdea4], eax
call esi
cmp byte [0x4bdeca], bl
mov dword [0x4bdea8], eax
je 0x428270
push 0x14
push dword [0x4bc2a0]
push dword [0x4bc29c]
push dword [0x4bc298]
push dword [0x4bc294]
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp - 8], ebx
mov dword [0x4bdec0], 0xffffeffb
je 0x428291
mov eax, dword [ebp - 8]
push eax
push dword [ebp + 0xc]
mov dword [0x4bdec0], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x4bc2a5], bl
push 2
pop eax
mov byte [ebp + 0x10], 0xff
jl 0x4282a3
push 3
pop eax
mov cx, word [0x4bc2a8]
cmp cx, bx
jl 0x4282b7
or dl, 0xff
sub dl, cl
mov byte [ebp + 0x10], dl
or eax, 2
push eax
push dword [ebp + 0x10]
push dword [0x4c100c]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test byte [0x4bdec9], 0x40
mov eax, dword [0x4bdea4]
mov dword [ebp + 0x14], eax
mov eax, dword [0x4bdea8]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
je 0x428321
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 [0x4bdec9], 0x10
je 0x428345
xor eax, eax
inc eax
jmp 0x42834e
mov al, byte [0x4bdec8]
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 0x428380
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 [0x4bde7c], eax
mov dword [0x4bde80], eax
mov byte [0x4bdebd], 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 0x427f34
sub eax, 0x111
je 0x4284ef
sub eax, 0x103
je 0x427f34
sub eax, 0x23b
je 0x4284e6
dec eax
jne 0x427f34
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x42845a
push 0x20a
lea ecx, [ebp + 0x10]
call fcn.0043d49b
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.004389fd
add esp, 0x18
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x18], eax
mov word [esi + 0x410], bx
je 0x428452
cmp word [esi], bx
je 0x428452
push esi
mov ecx, 0x4be04c
call fcn.004458a8
lea ecx, [ebp + 0x10]
call fcn.00437960
mov esi, dword [0x4be04c]
cmp esi, ebx
je 0x428490
cmp word [esi], bx
je 0x428490
mov eax, dword [0x4bde98]
cmp eax, ebx
je 0x42847f
push eax
call dword [0x4bde08]
mov dword [0x4bde98], ebx
mov eax, dword [0x4bde14]
cmp eax, ebx
je 0x428490
push 0x4bde98
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 [0x4bdea4], eax
call esi
cmp byte [0x4bdeca], bl
mov dword [0x4bdea8], eax
jne 0x4284cb
push 0x10
push eax
push dword [0x4bdea4]
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x4bde9c
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x4bdebd], bl
jmp 0x427f34
mov byte [0x4bdebd], 7
jmp 0x4284db
cmp dword [ebp + 0x14], 0x66
mov esi, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, 0x4beb4c
je 0x42860a
cmp dword [ebp + 0x14], 0x67
je 0x428521
cmp dword [ebp + 0x14], 2
jne 0x427f34
test byte [0x4bdc88], 0xc
jne 0x427f34
push edi
call esi
add dword [0x4be310], 1
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp + 0x14], 0x67
jne 0x428541
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x428541
mov byte [eax], bl
cmp byte [0x4bc2a5], bl
jge 0x4285f9
test byte [0x4bdc88], 2
jne 0x4285f9
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 [0x4a8e68]
call fcn.0048feb4
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 0x4285b4
fld dword [ebp + 0x10]
push 2
fadd qword [0x4a8e60]
call fcn.0048feb4
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 [0x4a8e58]
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 0x4285e5
push 1
push 0xb
call dword [sym.imp.KERNEL32.DLL_SleepEx]
fld dword [ebp + 0x10]
fcomp dword [0x4a8e54]
fnstsw ax
test ah, 0x41
jnp 0x42856d
push edi
call esi
sub dword [0x4be310], 1
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push edi
call esi
and byte [0x4bdc88], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.00438aad
add esp, 0xc
mov ecx, 0x4be04c
mov dword [0x4bdec0], ebx
mov byte [0x4bc2a5], 0xff
call fcn.00437960
mov eax, dword [0x4bde98]
cmp eax, ebx
je 0x428652
push eax
call dword [0x4bde08]
mov eax, dword [0x4bde80]
cmp eax, dword [0x4bde7c]
mov dword [0x4bde98], ebx
jne 0x42866b
mov dword [0x4bde80], ebx
push edi
mov dword [0x4bde7c], ebx
mov byte [0x4bdeca], bl
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x4be309]
push eax
call fcn.0043bf47
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebx
leave
ret 0x14