Function at 0x46f060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0368
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5299c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x380], 0
jne 0x46f0a6
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46f2df
cmp dword [edi + 0x384], 0
jne 0x46f15b
mov eax, dword [0x534910]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], 0x4fc00c
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xffffffff
call fcn.00410da0
push 1
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push 0x33
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4fc018
mov byte [ecx], 0
call fcn.00403090
mov ecx, dword [ebp - 0x54]
call fcn.0040b340
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x50]
call fcn.0043a170
push 0x33
push 0x4fc018
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00403090
push 0xc
push 0x4f8708
lea ecx, [ebp - 0x4c]
call fcn.00403090
push dword [edi + 4]
lea ecx, [ebp - 0x50]
call fcn.00428030
lea ecx, [ebp - 0x50]
call fcn.00423170
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.004115b0
call fcn.0046d1e0
mov esi, eax
mov dword [ebp - 0x58], esi
cmp dword [esi + 0x20], 0x10
lea eax, [esi + 0xc]
mov dword [ebp - 4], 2
jb 0x46f177
mov eax, dword [eax]
push eax
lea ecx, [esi + 4]
call fcn.0047c540
cmp byte [edi + 0x238], 0
je 0x46f19c
lea eax, [edi + 0x3c]
mov dword [edi + 0x48], 0
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x534910]
xor ebx, ebx
mov dword [0x53490c], eax
mov eax, dword [edi + 0x38c]
mov ecx, dword [edi + 0x388]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x46f212
mov edx, ecx
mov eax, dword [edx + ebx*4]
cmp dword [eax + 4], 0
je 0x46f1eb
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [edi + 0x388]
mov edx, ecx
mov edx, dword [edx + ebx*4]
test edx, edx
je 0x46f200
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [edi + 0x388]
mov eax, dword [edi + 0x38c]
inc ebx
sub eax, ecx
mov edx, ecx
sar eax, 2
cmp ebx, eax
jb 0x46f1d5
mov dword [edi + 0x38c], ecx
mov ecx, dword [edi + 0x318]
add ecx, 0x20
call fcn.004373f0
push 0x534a00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x534a1c]
test eax, eax
je 0x46f25e
sub eax, 1
mov dword [0x534a1c], eax
jne 0x46f25e
mov ecx, dword [0x534a18]
test ecx, ecx
je 0x46f25e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x534a18], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x534a00
call ebx
push 1
push 0
lea ecx, [edi + 0x248]
call fcn.004372d0
call fcn.0046aab0
call fcn.0046a8a0
call fcn.0046aa00
call fcn.0046ab60
call fcn.0046a950
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
test esi, esi
je 0x46f2df
push 0x534a00
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x534a1c]
test eax, eax
je 0x46f2d8
sub eax, 1
mov dword [0x534a1c], eax
jne 0x46f2d8
mov ecx, dword [0x534a18]
test ecx, ecx
je 0x46f2d8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x534a18], 0
push 0x534a00
call ebx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ab970
mov esp, ebp
pop ebp
ret 0x10