Function at 0x415970
Capabilities:
Check mutex on windows
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x461b28
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
push str.360ACTIVEDEF
push edi
mov ebx, ecx
push edi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp esi, edi
je 0x4159b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4159b7
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push edi
push str.HideTray
push str.main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00408010
cmp esi, edi
je 0x415b05
cmp ebp, edi
jne 0x415b05
mov ecx, dword [0x47b85c]
mov eax, 1
mov dword [0x47b3e8], eax
mov edx, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [0x47b3e8]
cmp eax, edi
jne 0x415bd0
mov eax, dword [0x46f42c]
mov dword [esp + 0x14], eax
push edi
lea ecx, [esp + 0x18]
push 0x46f644
push ecx
mov dword [esp + 0x34], edi
call fcn.004076f0
lea edx, [esp + 0x28]
push edx
call fcn.00408910
mov eax, dword [eax]
add esp, 0x10
push eax
mov eax, dword [esp + 0x18]
push eax
push str.HideTray
push str.main
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x1c]
call fcn.00408010
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00408010
lea ebp, [ebx + 0x2c]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebx + 0x34], 0x66
mov dword [ebp], 0x3a8
mov dword [ebx + 0x38], 7
mov dword [ebx + 0x3d0], 0x10
mov esi, dword [0x47b7a8]
push 0x32
call edi
push eax
push 0x31
call edi
push eax
push 1
push 0xca
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ecx, dword [ebx + 4]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x3c], 0x47a
mov dword [ebx + 0x34c], 1
mov edx, dword [0x46f42c]
mov eax, 0x4733f0
mov dword [esp + 0x10], edx
test eax, eax
je 0x415b51
mov ecx, eax
shr ecx, 0x10
jne 0x415b10
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, ax
push edx
call fcn.00407c70
jmp 0x415b51
mov dword [0x47b3e8], edi
jmp 0x415a1d
push 0x4733f0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x415b51
push esi
lea ecx, [esp + 0x14]
call fcn.00408040
test eax, eax
je 0x415b51
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x415b51
mov edi, dword [esp + 0x10]
mov eax, ecx
mov esi, 0x4733f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x10]
lea eax, [ebx + 0x44]
mov esi, 0x100
sub edx, eax
mov cx, word [edx + eax]
test cx, cx
je 0x415b73
mov word [eax], cx
add eax, 2
dec esi
jne 0x415b5f
jmp 0x415b77
test esi, esi
jne 0x415b7a
sub eax, 2
push ebp
push 0
mov word [eax], 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
mov dword [ebx + 0x24], eax
jne 0x415ba1
mov ecx, dword [ebx + 4]
push eax
push 0x3e8
push 4
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x46f430]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x415bd0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415bd0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, dword [ebx + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret