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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0d56
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x524a60]
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 esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3cc], 1
cmp edi, 0x10
ja 0x428fd3
je 0x428fb9
mov ecx, edi
sub ecx, 1
je 0x428f9f
sub ecx, 1
jne 0x428fe4
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x3cc]
mov eax, dword [esi]
push ecx
push ebx
push edx
push 2
mov ecx, esi
call dword [eax + 0x4c]
jmp 0x429110
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x3cc]
mov eax, dword [esi]
push ecx
push ebx
push edx
push 1
mov ecx, esi
call dword [eax + 0x78]
jmp 0x429110
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x3cc]
mov eax, dword [esi]
push ecx
push ebx
push edx
push 0x10
mov ecx, esi
call dword [eax + 0x48]
jmp 0x429110
cmp edi, 0x47
je 0x429091
cmp edi, 0x464
je 0x428fef
mov dword [ebp - 0x3cc], eax
jmp 0x42910d
mov ebx, dword [esi + 0x3ac]
mov dword [esi + 0x3b4], eax
cmp ebx, 0xc
jle 0x429052
push 0x3b8
lea eax, [ebp - 0x3c8]
push 0
push eax
call fcn.004b1030
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x3c4], eax
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x3c8], 0x3b8
mov dword [ebp - 0x3c0], ebx
push eax
push 2
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3bc], 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x52a958]
call fcn.004191b0
mov ecx, dword [0x52a958]
call fcn.00418d40
mov ecx, dword [0x52a958]
cmp dword [eax + 0xac], 0
je 0x42908a
call fcn.00418ba0
jmp 0x42910b
call fcn.004192a0
jmp 0x42910b
lea ecx, [esi + 0x30]
mov dword [ebp - 0x3cc], eax
call fcn.00449d70
test eax, eax
je 0x42910b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
lea ecx, [esi + 0x30]
test eax, eax
je 0x4290d4
push str.restore
call fcn.00449700
test eax, eax
je 0x4290cd
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push 0x4e9ee0
jmp 0x4290f3
push 0x4e9ee0
call fcn.00449700
test eax, eax
je 0x4290ee
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push str.restore
lea ecx, [esi + 0x30]
call fcn.00449700
test eax, eax
je 0x42910b
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x10c]
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi + 0x3bc]
test ecx, ecx
je 0x429141
cmp edi, ecx
jne 0x429141
cmp dword [esi + 0x3b4], 0
mov dword [ebp - 0x3cc], 0
je 0x429241
mov ecx, esi
call fcn.00429af0
jmp 0x429241
mov ecx, dword [esi + 0x3b0]
test ecx, ecx
je 0x429243
cmp edi, ecx
jne 0x429243
lea eax, [ebx - 0x202]
cmp eax, 1
ja 0x429241
cmp dword [0x52a970], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x42918c
call eax
sub eax, dword [0x52a970]
cmp eax, 0x1f4
jb 0x429237
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
call eax
sub esp, 0x28
mov dword [0x52a970], eax
mov eax, esp
mov dword [ebp - 0x3d0], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x52a958]
mov dword [ebp - 4], 0
call fcn.00418d40
push 1
push 0
push str.tray_click
push dword [eax + 0x90]
call fcn.0040dbe0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00441c00
push str.CPlayWindow::OnTrayIconMsg__tray_clicked
call fcn.00433e30
add esp, 4
mov ecx, esi
push 1
push 1
call fcn.0044e1b0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x3d0], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x52a958]
mov dword [ebp - 4], 1
call fcn.00418d40
push 1
push 0
push str.from_tray
push dword [eax + 0x90]
call fcn.0040dbe0
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00441c00
mov dword [ebp - 0x3cc], 1
xor eax, eax
cmp dword [ebp - 0x3cc], 0
jne 0x429258
push ebx
push dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00455950
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.004a1588
mov esp, ebp
pop ebp
ret 0xc