Function at 0x5d8352
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x70d514]
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.005b9e86
push eax
push reloc.WS2_32.dll_accept
call fcn.005b95ff
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.005d59ed
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.005bd07c
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.005bce73
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d8404
push 1
call fcn.005ba936
push eax
call fcn.005b8eaa
pop ecx
pop ecx
jmp 0x5d8460
call fcn.005b7162
mov esi, eax
call fcn.005bcb5d
push esi
mov ecx, eax
call fcn.005a7c64
xor ebx, ebx
inc ebx
test al, al
je 0x5d8446
push str.__loader
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bce73
test al, al
jne 0x5d8449
xor ecx, ecx
inc ecx
mov byte [ebp - 0x4d], cl
mov ebx, ecx
jmp 0x5d844d
mov ebx, dword [ebp - 0x5c]
mov byte [ebp - 0x4d], 0
test bl, 1
je 0x5d845a
lea ecx, [ebp - 0x1c]
call fcn.00449330
cmp byte [ebp - 0x4d], 0
je 0x5d8467
xor esi, esi
jmp 0x5d873a
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.005b9f68
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005a615f
add esp, 0xc
push eax
call fcn.005ba392
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 0x5d84ef
call fcn.005c2b64
mov byte [eax + 0xec], 1
call fcn.005c2b64
mov ecx, eax
call fcn.005c2bd5
call fcn.005b7968
test al, al
je 0x5d84dc
call fcn.005c00c6
call fcn.005c2b64
mov ecx, eax
call fcn.005c5594
mov esi, ebx
jmp 0x5d8728
push str.__silent
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bce73
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d851f
xor edi, edi
call fcn.005c59e1
jmp 0x5d8522
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.005bce73
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d856e
push esi
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bd050
push eax
call fcn.005d8322
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.005bce73
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d85ba
push esi
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bd050
push eax
call fcn.005d833a
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.005bce73
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
movzx ecx, byte [0x713748]
test bl, bl
push 1
pop eax
cmovne ecx, eax
xor ebx, ebx
push eax
mov byte [0x713748], cl
mov esi, ebx
call fcn.005ba936
push eax
call fcn.005b8eaa
call fcn.005ba936
push eax
call fcn.005b87a2
add esp, 0xc
test al, al
jne 0x5d86ab
call fcn.005b7d8a
push eax
push 0x6695a4
call fcn.005ba936
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.005c2305
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005cc3c6
push eax
call fcn.005b514e
add esp, 0x28
lea ecx, [ebp - 0x4c]
call fcn.00449330
lea ecx, [ebp - 0x34]
call fcn.00449330
jmp 0x5d86ff
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.005d6349
pop ecx
push ebx
push dword [ebp + 8]
push ebx
mov ebx, 0x7137a8
mov ecx, ebx
call fcn.005d6683
call fcn.005d54f6
push edi
push dword [ebp + 0x10]
call fcn.005d797c
pop ecx
pop ecx
mov ecx, ebx
mov esi, eax
call fcn.005d7daf
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
call fcn.005c2b64
mov ecx, eax
call fcn.005c5594
call fcn.005a5a1a
mov ecx, eax
call fcn.005a5f0c
xor eax, eax
inc eax
push eax
call fcn.005ba936
push eax
call fcn.005b8eaa
pop ecx
pop ecx
cmp dword [ebp - 0x64], 0
je 0x5d873a
push dword [ebp - 0x64]
call fcn.0062fb07
pop ecx
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, eax
call fcn.005d5a04
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00628f0a
leave
ret 0x10