Function at 0x5d765d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x70c514]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea ecx, [ebp - 0x1c]
push str.false
mov dword [ebp - 0x5c], ebx
call fcn.00449380
push str.hasDownloadedUpdate
lea ecx, [ebp - 0x34]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.005b92aa
push eax
push reloc.WS2_32.dll_accept
call fcn.005b8a3a
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.00449330
lea ecx, [ebp - 0x1c]
call fcn.00449330
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
push eax
mov dword [ebp - 0x54], ebx
call fcn.005d4cf7
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.005bc3a6
pop ecx
pop ecx
push str.__crashed
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc19d
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d770f
push 1
call fcn.005b9c62
push eax
call fcn.005b82e5
pop ecx
pop ecx
jmp 0x5d776b
call fcn.005b65fb
mov esi, eax
call fcn.005bbe87
push esi
mov ecx, eax
call fcn.005a7c59
xor ebx, ebx
inc ebx
test al, al
je 0x5d7751
push str.__loader
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc19d
test al, al
jne 0x5d7754
xor ecx, ecx
inc ecx
mov byte [ebp - 0x4d], cl
mov ebx, ecx
jmp 0x5d7758
mov ebx, dword [ebp - 0x5c]
mov byte [ebp - 0x4d], 0
test bl, 1
je 0x5d7765
lea ecx, [ebp - 0x1c]
call fcn.00449330
cmp byte [ebp - 0x4d], 0
je 0x5d7772
xor esi, esi
jmp 0x5d7a45
lea eax, [ebp - 0x64]
xor ebx, ebx
push eax
push str._installer_singleapplication_mutex
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.005b938c
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005a615f
add esp, 0xc
push eax
call fcn.005b96be
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00449330
push dword [ebp - 0x64]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x5d77fa
call fcn.005c1e6b
mov byte [eax + 0xec], 1
call fcn.005c1e6b
mov ecx, eax
call fcn.005c1edc
call fcn.005b6e08
test al, al
je 0x5d77e7
call fcn.005bf3e9
call fcn.005c1e6b
mov ecx, eax
call fcn.005c4960
mov esi, ebx
jmp 0x5d7a33
push str.__silent
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc19d
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d782a
xor edi, edi
call fcn.005c4dad
jmp 0x5d782d
mov edi, dword [ebp + 0x14]
mov esi, str.__reseller
lea ecx, [ebp - 0x1c]
push esi
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc19d
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d7879
push esi
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc37a
push eax
call fcn.005d762d
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00449330
mov esi, str.__subid
lea ecx, [ebp - 0x1c]
push esi
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc19d
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d78c5
push esi
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc37a
push eax
call fcn.005d7645
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00449330
push str.__test
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bc19d
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
movzx ecx, byte [0x712728]
test bl, bl
push 1
pop eax
cmovne ecx, eax
xor ebx, ebx
push eax
mov byte [0x712728], cl
mov esi, ebx
call fcn.005b9c62
push eax
call fcn.005b82e5
call fcn.005b9c62
push eax
call fcn.005b7bdd
add esp, 0xc
test al, al
jne 0x5d79b6
call fcn.005b71c5
push eax
push 0x6691fc
call fcn.005b9c62
push eax
lea eax, [ebp - 0x4c]
push str.Unable_to_create_temporary_directory__
push eax
call fcn.005a0eb7
add esp, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005a0e4e
add esp, 0xc
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.005a0e25
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.00449330
lea ecx, [ebp - 0x4c]
call fcn.00449330
xor eax, eax
inc eax
push eax
sub esp, 0x18
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.005a3525
call fcn.005c160c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005cb6d0
push eax
call fcn.005b45e7
add esp, 0x28
lea ecx, [ebp - 0x4c]
call fcn.00449330
lea ecx, [ebp - 0x34]
call fcn.00449330
jmp 0x5d7a0a
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.005d5653
pop ecx
push ebx
push dword [ebp + 8]
push ebx
mov ebx, 0x712788
mov ecx, ebx
call fcn.005d598d
call fcn.005d4800
push edi
push dword [ebp + 0x10]
call fcn.005d6c86
pop ecx
pop ecx
mov ecx, ebx
mov esi, eax
call fcn.005d70ba
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
call fcn.005c1e6b
mov ecx, eax
call fcn.005c4960
call fcn.005a5a1a
mov ecx, eax
call fcn.005a5f0c
xor eax, eax
inc eax
push eax
call fcn.005b9c62
push eax
call fcn.005b82e5
pop ecx
pop ecx
cmp dword [ebp - 0x64], 0
je 0x5d7a45
push dword [ebp - 0x64]
call fcn.0062edf7
pop ecx
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, eax
call fcn.005d4d0e
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006281fa
leave
ret 0x10