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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
cmp dword [ebp + 0x10], 0x21
push esi
push edi
jne 0x1001e681
test byte [0x100e3001], 0x50
je 0x1001e706
push 4
pop eax
jmp 0x1001f0a8
cmp dword [ebp + 0x10], 0x453
jne 0x1001e706
push 0x19000
lea ecx, [ebp + 0x14]
call fcn.10046141
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0x18]
push eax
push str.Text.Paramd
xor edi, edi
mov word [esi], di
mov dword [esi + 0x31ffc], edi
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x10], 0x31ffe
call fcn.10040bf5
add esp, 0x18
test eax, eax
je 0x1001e6d6
mov word [esi], di
mov ecx, dword [ebp + 8]
push esi
call fcn.10015b9e
mov esi, eax
or esi, 0x1000
mov eax, esi
or eax, 0x10
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea ecx, [ebp + 0x14]
call fcn.1003f96c
mov eax, esi
jmp 0x1001f0a8
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, eax
mov eax, dword [0x100e326c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 8], esi
je 0x1001e73d
cmp eax, dword [ebp + 0x10]
jne 0x1001e73d
cmp dword [0x100e2ff8], edi
je 0x1001e73d
cmp esi, edi
je 0x1001e73d
push esi
push dword [ebp + 0xc]
mov dword [0x100e2ff8], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, 0x110
cmp eax, ebx
je 0x1001eb9e
cmp eax, 0x44f
je 0x1001e77a
cmp esi, edi
je 0x1001e77a
mov ecx, dword [0x100e2ff8]
cmp ecx, edi
je 0x1001e77a
cmp ecx, esi
je 0x1001e77a
push esi
push dword [ebp + 0xc]
mov dword [0x100e2ff8], esi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
ja 0x1001edb5
je 0x1001eb9e
cmp eax, 5
je 0x1001eb84
cmp eax, 0xf
je 0x1001eb42
cmp eax, 0x14
je 0x1001e7c6
cmp eax, 0x21
je 0x1001e7b2
cmp eax, 0x7e
je 0x1001eddd
jmp 0x1001eef1
mov al, byte [0x100e3001]
and al, 0x50
neg al
sbb eax, eax
and eax, 3
inc eax
jmp 0x1001f0a7
mov eax, dword [ebp + 0x14]
push edi
push edi
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp + 0x10], edi
xor ebx, ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
call fcn.1003f8af
add esp, 0x10
cmp byte [0x100e3002], bl
jne 0x1001ea09
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [0x100e2fdc]
push 0
call esi
mov dword [0x100e2fdc], eax
mov eax, dword [0x100e2fe0]
push 1
mov dword [ebp + 0x10], eax
call esi
mov edi, dword [0x100e2fdc]
cmp ebx, edi
mov dword [0x100e2fe0], eax
jne 0x1001e830
cmp dword [ebp + 0x10], eax
jne 0x1001e830
and dword [ebp + 0x10], 0
jmp 0x1001e837
mov dword [ebp + 0x10], 1
test byte [0x100e3001], 0x40
mov ebx, eax
je 0x1001e86f
push 0
call esi
push 1
mov dword [ebp + 0x18], eax
call esi
push 0x3d
mov ebx, eax
call esi
mov eax, dword [ebp + 0x18]
add eax, 0xfffffed4
push 0x3e
mov edi, 0x12c
mov dword [ebp - 0xc], eax
call esi
sub eax, 0x50
mov dword [ebp - 4], eax
sub ebx, eax
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x1001e88a
push 0x16
push ebx
push edi
push dword [ebp - 4]
push dword [ebp - 0xc]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp + 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1000f6b3
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x18], eax
mov eax, dword [0x100e2fd0]
cmp eax, esi
je 0x1001e9fa
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
call dword [0x100e2f04]
lea eax, [ebp - 0x30]
push eax
push dword [0x100e2fd0]
call dword [0x100e2f08]
mov eax, dword [0x100e2fdc]
cdq
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
push ecx
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
cdq
push edx
push eax
call fcn.100b4200
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.100b4650
mov dword [ebp - 8], eax
mov eax, dword [0x100e2fe0]
cdq
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
push ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
cdq
push edx
push eax
call fcn.100b4200
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edx
push eax
call fcn.100b4650
mov dword [ebp - 0x44], eax
xor ecx, ecx
push ecx
push dword [ebp - 0x2c]
mov eax, edi
cdq
push edx
push eax
call fcn.100b4200
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edx
push eax
call fcn.100b4650
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ecx
push dword [ebp - 0x30]
mov eax, ebx
cdq
push edx
push eax
call fcn.100b4200
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edx
push eax
call fcn.100b4650
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
call dword [0x100e2f14]
test eax, eax
jne 0x1001e9fa
push esi
push esi
push esi
push 2
push dword [ebp - 0x24]
push dword [ebp - 0x14]
push dword [ebp - 0x44]
push dword [ebp - 8]
push ebx
push edi
push esi
push esi
push dword [0x100e2fd0]
push dword [ebp - 0x10]
call dword [0x100e2f10]
mov eax, dword [0x100e3104]
cmp eax, esi
je 0x1001e9cc
cmp word [eax], si
je 0x1001e9cc
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.100113c4
push 0xcc0020
push esi
push esi
push dword [ebp + 0x10]
push ebx
push edi
push esi
push esi
push dword [ebp + 0x14]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [ebp - 0x10], esi
je 0x1001eb19
push dword [ebp - 0x10]
call dword [0x100e2f18]
jmp 0x1001eb19
cmp byte [0x100e2fe9], 0
je 0x1001ea16
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
cmp byte [0x100e2fe9], 0
jne 0x1001eae5
cmp byte [0x100e2fe8], 0
mov cl, byte [0x100e3003]
je 0x1001ea86
test cl, cl
jne 0x1001ea86
cmp byte [0x100e3002], cl
lea eax, [ebp - 0x20]
mov dword [0x100e2fe4], eax
je 0x1001ea4a
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x100e2fe4]
jmp 0x1001ea9b
mov esi, 0x100e12c0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jg 0x1001ea6d
add ecx, ecx
sar ecx, 1
sub ecx, dword [ebp - 0x20]
add ecx, dword [0x100e2fdc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jg 0x1001ea9b
add ecx, ecx
sar ecx, 1
sub ecx, dword [ebp - 0x1c]
add ecx, dword [0x100e2fe0]
mov dword [ebp - 0x14], ecx
jmp 0x1001ea9b
test cl, cl
mov eax, 0x100e2fd4
mov dword [0x100e2fe4], eax
je 0x1001ea9b
mov byte [0x100e3003], 0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
push dword [0x100e6014]
mov dword [ebp - 4], ecx
sub edi, esi
sub ebx, ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push dword [0x100e2fe4]
mov dword [ebp - 8], eax
push dword [ebp + 0x18]
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x18]
call fcn.100113c4
jmp 0x1001eaf6
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.100113c4
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x18]
je 0x1001eb17
push 0xcc0020
push dword [ebp - 4]
push esi
push dword [ebp + 0x18]
push ebx
push edi
push dword [ebp - 4]
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
xor esi, esi
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
call fcn.1003f903
cmp dword [ebp + 0x10], esi
pop ecx
je 0x1001eb3b
push dword [ebp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, edi
jmp 0x1001f0a7
mov eax, dword [0x100e2ff8]
cmp eax, edi
je 0x1001eb5f
cmp eax, esi
je 0x1001eb5f
push esi
push dword [ebp + 0xc]
mov dword [0x100e2ff8], esi
call dword [sym.imp.USER32.dll_SetParent]
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x1001eef1
cmp dword [ebp + 0x14], 1
jne 0x1001eef1
push 1
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1001eef1
call fcn.1004479d
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 esi, 0x100e3d7c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, str.LogohWnd
push edi
push str.SOFTWAREPELOGON
mov ebx, 0x80000002
push ebx
call fcn.10040cb4
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push edi
push str.SOFTWAREPELOGON
push ebx
call fcn.10040c59
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [0x100e2d20]
and al, 0xc
cmp al, 8
jne 0x1001ec15
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov dword [0x100e2fdc], eax
call ebx
mov esi, 0x100e12c0
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x38]
test edx, edx
mov dword [0x100e2fe0], eax
jg 0x1001ec4d
add edx, edx
sar edx, 1
sub edx, dword [ebp - 0x40]
add edx, dword [0x100e2fdc]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jg 0x1001ec5d
add ecx, ecx
sar ecx, 1
sub ecx, dword [ebp - 0x3c]
add ecx, eax
cmp byte [0x100e3002], 0
je 0x1001ec81
push 0x14
push ecx
push edx
push dword [0x100e12c4]
push dword [0x100e12c0]
push 0
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 8]
test eax, eax
mov dword [0x100e2ff8], 0xffffeffb
je 0x1001eca1
push eax
push dword [ebp + 0xc]
mov dword [0x100e2ff8], eax
call dword [sym.imp.USER32.dll_SetParent]
cmp byte [0x100e12d1], 0
push 2
pop esi
mov byte [ebp + 0x14], 0xff
jl 0x1001ecb4
push 3
pop esi
mov ax, word [0x100e12d4]
test ax, ax
jl 0x1001ecc7
or cl, 0xff
sub cl, al
mov byte [ebp + 0x14], cl
or esi, 2
push esi
push dword [ebp + 0x14]
push dword [0x100e6014]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov eax, dword [0x100e2fdc]
mov edi, dword [0x100e2fe0]
xor esi, esi
test byte [0x100e3001], 0x40
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], eax
je 0x1001ed23
push esi
call ebx
push 1
mov esi, eax
call ebx
push 0x3d
mov edi, eax
call ebx
add esi, 0xfffffed4
push 0x3e
mov dword [ebp + 0x14], 0x12c
mov dword [ebp + 0x10], esi
call ebx
mov esi, eax
sub esi, 0x50
sub edi, esi
push 0
push edi
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MoveWindow]
test byte [0x100e3001], 0x10
je 0x1001ed44
xor eax, eax
inc eax
jmp 0x1001ed4d
mov al, byte [0x100e3000]
neg al
sbb eax, eax
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x11
push edi
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x1001ed77
push 0x11
push edi
push dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call ebx
mov esi, 0x100e3d7c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
push esi
mov dword [0x100e2fb8], eax
mov dword [0x100e2fbc], eax
mov byte [0x100e2ff5], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push 0x44f
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1001eef1
sub eax, 0x111
je 0x1001eef8
sub eax, 0x103
je 0x1001eef1
sub eax, 0x23b
je 0x1001eee3
dec eax
jne 0x1001eef1
mov ebx, 0x100e3d7c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0x10], 0x450
jne 0x1001ee58
push 0x20a
lea ecx, [ebp + 0x14]
call fcn.10046141
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 8]
push eax
push str.LogoFile
mov word [esi], di
push str.SOFTWAREPELOGON
push 0x80000002
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], 0x412
call fcn.10040bf5
add esp, 0x18
neg eax
sbb eax, eax
inc eax
mov dword [ebp + 0x18], eax
mov word [esi + 0x410], di
je 0x1001ee50
cmp word [esi], di
je 0x1001ee50
push esi
mov ecx, 0x100e30b8
call fcn.100502c8
lea ecx, [ebp + 0x14]
call fcn.1003f96c
mov esi, dword [0x100e30b8]
cmp esi, edi
je 0x1001ee8e
cmp word [esi], di
je 0x1001ee8e
mov eax, dword [0x100e2fd0]
cmp eax, edi
je 0x1001ee7d
push eax
call dword [0x100e2ec8]
mov dword [0x100e2fd0], edi
mov eax, dword [0x100e2ed0]
cmp eax, edi
je 0x1001ee8e
push 0x100e2fd0
push esi
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
call esi
push 1
mov dword [0x100e2fdc], eax
call esi
cmp byte [0x100e3002], 0
mov dword [0x100e2fe0], eax
jne 0x1001eeca
push 0x10
push eax
push dword [0x100e2fdc]
push edi
push edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0x100e2fd4
push dword [ebp + 0xc]
mov byte [0x100e3003], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1001eeea
mov byte [0x100e2ff5], 7
mov byte [0x100e2ff5], 0
xor eax, eax
jmp 0x1001f0a7
mov ebx, dword [ebp + 0x14]
cmp ebx, 0x66
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
je 0x1001f012
cmp ebx, 0x67
je 0x1001ef1d
cmp ebx, 2
jne 0x1001eef1
test byte [0x100e2d20], 0xc
jne 0x1001eef1
mov esi, 0x100e3d7c
push esi
call edi
add dword [0x100e34c0], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, 0x67
jne 0x1001ef42
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1001ef42
mov byte [eax], 0
cmp byte [0x100e12d1], 0
jge 0x1001efec
test byte [0x100e2d20], 2
jne 0x1001efec
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
fldz
fstp dword [ebp + 0x10]
mov dword [ebp + 8], eax
fldz
fstp dword [ebp + 0x14]
fld dword [ebp + 0x10]
fmul dword [0x100caaa8]
call fcn.100b4728
mov ecx, dword [ebp + 8]
lea esi, [eax + ecx]
call ebx
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x1001efb2
fld dword [ebp + 0x14]
push 2
fadd qword [0x100caaa0]
call fcn.100b4728
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 [0x100caa98]
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 ebx
sub esi, eax
test esi, esi
jle 0x1001efdc
push 1
push 0xb
call dword [sym.imp.KERNEL32.dll_SleepEx]
fld dword [ebp + 0x14]
fcomp dword [0x100caa94]
fnstsw ax
test ah, 0x41
jnp 0x1001ef71
mov esi, 0x100e3d7c
push esi
call edi
sub dword [0x100e34c0], 1
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x100e2e90]
test eax, eax
je 0x1001f012
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, 0x100e3d7c
push esi
call edi
and byte [0x100e2d20], 0xfd
push str.LogohWnd
push str.SOFTWAREPELOGON
push 0x80000002
call fcn.10040cb4
xor edi, edi
add esp, 0xc
mov ecx, 0x100e30b8
mov dword [0x100e2ff8], edi
mov byte [0x100e12d1], 0xff
call fcn.1003f97f
mov eax, dword [0x100e2fd0]
cmp eax, edi
je 0x1001f061
push eax
call dword [0x100e2ec8]
mov eax, dword [0x100e2fbc]
cmp eax, dword [0x100e2fb8]
mov dword [0x100e2fd0], edi
jne 0x1001f07a
mov dword [0x100e2fbc], edi
push esi
mov dword [0x100e2fb8], edi
mov byte [0x100e3002], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov al, byte [0x100e34b8]
push eax
call fcn.100447c2
pop ecx
push 8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_EndDialog]
pop ebx
pop edi
pop esi
leave
ret 0x14