Function at 0x494970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52a7f4
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x595be0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0xd], 0
cmp dword [ebp + 8], 0
jne 0x4949d5
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x1c], 0x14
mov dword [ebp - 0x20], 0xff
mov dword [ebp - 0x24], 0x14
jmp 0x4949ea
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0xffffffec
mov dword [ebp - 0x9c], 0x17
push str._TRANSLUCENCY_TIMEOUT
lea ecx, [ebp - 0x28]
call fcn.004289c0
mov dword [ebp - 4], 0
push str.1_clock
lea ecx, [ebp - 0x34]
call fcn.004289c0
mov byte [ebp - 4], 1
push str.doFadeWindow
lea ecx, [ebp - 0x2c]
call fcn.00428940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.0042a230
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x70]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 4
call fcn.004ffacd
push eax
mov edx, dword [ebp - 0x88]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 6
push 0x17
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 7
push 0
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.00453320
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.00428a40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x90]
call fcn.00428a40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00428a40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.00428a40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00428a40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00428a40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00428a40
mov dword [ebp - 0x18], 0xffffffff
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x494b75
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x494b80
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x494b90
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x20]
jl 0x494ba0
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x494bfc
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jle 0x494bfc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x70], eax
push 2
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + 0x70]
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0x58]
push ecx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x70]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x6c]
call fcn.0046a810
cmp dword [ebp - 0x18], 0xffffffff
je 0x494bef
push 0x17
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x494bf7
push 0x17
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x494b77
cmp dword [ebp - 0x18], 0xffffffff
je 0x494c13
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0xffffffff
push str.2_clock
lea ecx, [ebp - 0x38]
call fcn.004289c0
mov dword [ebp - 4], 8
push 0x573074
lea ecx, [ebp - 0x30]
call fcn.00428940
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
call fcn.0042a230
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.0042a940
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 0xb
call fcn.004ffacd
push eax
mov edx, dword [ebp - 0x6c]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.0042a8b0
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 4], 0xc
push 0
mov edx, dword [ebp - 0x7c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.00453320
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x84]
call fcn.00428a40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8c]
call fcn.00428a40
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
call fcn.00428a40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
call fcn.00428a40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00428a40
push 2
movzx ecx, byte [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx - 0x58]
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x6c]
call fcn.0046a810
cmp dword [ebp + 8], 1
jne 0x494d3c
push 0
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
call edx
jmp 0x494d5e
cmp dword [ebp + 8], 2
jne 0x494d5e
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x14]
sub ecx, 0x58
call fcn.0045a4d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4