Function at 0x4d2bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5164b0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 8], 0
mov byte [esp + 0x13], 0
jne 0x4d2c21
mov ebx, 0x14
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], 0xff
mov dword [esp + 0x28], ebx
jmp 0x4d2c36
mov ebx, 0xff
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], 0xffffffec
push str._TRANSLUCENCY_TIMEOUT
lea ecx, [esp + 0x28]
call fcn.00471c70
push str.1_clock
lea ecx, [esp + 0x24]
mov dword [esp + 0x54], 0
call fcn.00471c70
push str.doFadeWindow
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 1
call fcn.00471bb0
mov byte [esp + 0x50], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d2c8e
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
mov byte [esp + 0x50], 3
push eax
lea edx, [esp + 0x18]
lea ecx, [esp + 0x3c]
call fcn.00472fc0
mov esi, eax
mov byte [esp + 0x54], 4
call fcn.004eb20c
push eax
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.00472f20
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 5
push ecx
mov edx, eax
lea ecx, [esp + 0x3c]
call fcn.00472fc0
push 0x17
mov edx, eax
mov byte [esp + 0x60], 6
lea ecx, [esp + 0x3c]
call fcn.00472f20
add esp, 0x10
mov byte [esp + 0x50], 7
cmp dword [edi + 0x24], 0
je 0x4d2d11
push 0
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.00473100
mov byte [esp + 0x50], 6
or esi, 0xffffffff
mov edx, dword [esp + 0x2c]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4d2d36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 5
mov ecx, esi
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2d58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 4
mov ecx, esi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2d7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 3
mov ecx, esi
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2d9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 2
mov ecx, esi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2dbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 1
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2de0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 0
mov ecx, esi
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x50], 0xffffffff
mov ecx, esi
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2e27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d2e43
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp byte [esp + 0x13], 0
je 0x4d2e78
cmp ebx, dword [esp + 0x18]
jl 0x4d2e7e
cmp esi, 0xffffffff
je 0x4d2e5c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d2ec0
push 0x80004005
call fcn.004712d0
cmp ebx, dword [esp + 0x18]
jle 0x4d2e50
push 2
movzx eax, bl
push eax
push 0
push dword [edi - 0x58]
mov dword [edi + 0x70], ebx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push dword [edi + 0x70]
mov ecx, dword [edi + 0x6c]
push dword [edi + 0x2c]
call fcn.004a0e30
push 0x17
cmp esi, 0xffffffff
je 0x4d2eb4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add ebx, dword [esp + 0x28]
jmp 0x4d2e43
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, dword [esp + 0x28]
jmp 0x4d2e43
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.2_clock
mov dword [esp + 0x50], 8
test eax, 0xffff0000
jne 0x4d2efd
movzx esi, ax
mov ecx, esi
call fcn.00471400
test eax, eax
je 0x4d2f0b
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.004724d0
jmp 0x4d2f0b
push str.2_clock
lea ecx, [esp + 0x18]
call fcn.00471eb0
push str.doFadeWindow
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 9
call fcn.00471bb0
mov byte [esp + 0x50], 0xa
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4d2f42
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x14]
mov byte [esp + 0x50], 0xb
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x44]
call fcn.00472fc0
mov esi, eax
mov byte [esp + 0x54], 0xc
call fcn.004eb20c
push eax
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.00472f20
add esp, 8
mov byte [esp + 0x50], 0xd
cmp dword [edi + 0x24], 0
je 0x4d2f9e
push 0
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.00473100
mov byte [esp + 0x50], 0xc
or esi, 0xffffffff
mov edx, dword [esp + 0x3c]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2fc3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 0xb
mov ecx, esi
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d2fe5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x50], 0xa
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3003
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x50], 9
mov ecx, esi
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d3025
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x50], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4d3048
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [esp + 0x18]
push 2
push ebx
push 0
push dword [edi - 0x58]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, dword [edi + 0x6c]
push ebx
push dword [edi + 0x2c]
call fcn.004a0e30
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x4d308e
mov eax, dword [edi]
mov ecx, edi
push 0
push 0
call dword [eax + 0xc]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x4d30a7
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0x2c]
call esi
push 0
push dword [edi - 0x58]
call esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4