Function at 0x4139b3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1d4
mov eax, dword [0x4ed820]
xor eax, esp
mov dword [esp + 0x1d0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ecx
test eax, eax
je 0x413c76
lea edi, [eax + 0xe0]
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.00421296
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0xc]
mov ebx, dword [edi + 0xf0]
add edi, 0xe0
lea esi, [esp + 0x30]
call fcn.00421296
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x413a3d
cmp eax, dword [esp + 0x30]
je 0x413a42
call fcn.00471456
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
je 0x413b31
lea esi, [esp + 0x1c]
call fcn.0041054b
mov edi, eax
cmp edi, ebx
je 0x413a8d
push 0x10
push edi
push 0x4cef58
call fcn.00472a9e
add esp, 0xc
test eax, eax
jne 0x413a8d
mov dword [esp + 0x14], 1
call fcn.0041054b
push 0x68
pop ecx
mov esi, eax
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
jmp 0x413aff
push ebx
push edi
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
je 0x413ac5
mov esi, dword [esp + 0x18]
push edi
push str.Notify_program_to_Exit__Name___s_n
call fcn.00414537
pop ecx
pop ecx
push dword [edi + 0x198]
push dword [edi + 0x194]
push dword [edi + 0x190]
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x2c], 0
je 0x413afd
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0xf0]
sub eax, dword [ecx + 0xec]
add ecx, 0xe0
cdq
mov ecx, 0x1a0
idiv ecx
push dword [esp + 0x24]
push dword [esp + 0x2c]
push eax
push 1
push edi
call dword [esp + 0x40]
xor ebx, ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x413b2d
call fcn.00471456
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x10]
jb 0x413b1c
call fcn.00471456
add dword [esp + 0x20], 0x1a0
inc dword [esp + 0x28]
jmp 0x413a2f
mov eax, dword [eax]
jmp 0x413b0e
cmp dword [esp + 0x14], ebx
je 0x413c76
push ebx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x413b81
cmp dword [esp + 0x10], ebx
je 0x413c76
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x413c76
push ebx
push ebx
push 0x344c
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x413c76
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
push str.Exit_program_begin__Name___s_n
call fcn.00414537
pop ecx
pop ecx
push str.Global360trayonupdatefile
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
cmp edi, ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x413c13
mov eax, dword [esi]
push str.waite_for_updating
push esi
call dword [eax + 0x68]
push 0x1d4c0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
mov eax, dword [esi]
jne 0x413c03
push str.waiting_for_update_timeout
push esi
call dword [eax + 0x68]
cmp dword [esp + 0x10], 0
je 0x413c0c
push dword [esp + 0x10]
call ebx
test eax, eax
je 0x413c0c
push 0
push 0
push 0x344d
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x413c0c
push str.updating_done
push esi
call dword [eax + 0x68]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [esp + 0x10], edi
je 0x413c36
push dword [esp + 0x10]
call ebx
test eax, eax
je 0x413c36
push edi
push edi
push 0x344c
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 0x24]
push eax
push 0x1388
push 1
push dword [esp + 0x1dc]
mov dword [esp + 0x34], edi
push dword [esp + 0x1dc]
push dword [esp + 0x1dc]
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [esp + 0x38]
push eax
push str.Exit_program_done__Name___s_n
call fcn.00414537
pop ecx
pop ecx
mov ecx, dword [esp + 0x1dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047021a
mov esp, ebp
pop ebp
ret 0x10