Function at 0x5d824b
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.005b9ca6
push eax
push reloc.WS2_32.dll_accept
call fcn.005b941f
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.005d58e6
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
call fcn.005bce9d
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.005bcc94
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d82fd
push 1
call fcn.005ba756
push eax
call fcn.005b8cca
pop ecx
pop ecx
jmp 0x5d8359
call fcn.005b6f7a
mov esi, eax
call fcn.005bc97e
push esi
mov ecx, eax
call fcn.005a7c64
xor ebx, ebx
inc ebx
test al, al
je 0x5d833f
push str.__loader
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bcc94
test al, al
jne 0x5d8342
xor ecx, ecx
inc ecx
mov byte [ebp - 0x4d], cl
mov ebx, ecx
jmp 0x5d8346
mov ebx, dword [ebp - 0x5c]
mov byte [ebp - 0x4d], 0
test bl, 1
je 0x5d8353
lea ecx, [ebp - 0x1c]
call fcn.00449330
cmp byte [ebp - 0x4d], 0
je 0x5d8360
xor esi, esi
jmp 0x5d8633
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.005b9d88
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.005a615f
add esp, 0xc
push eax
call fcn.005ba1b2
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 0x5d83e8
call fcn.005c297e
mov byte [eax + 0xec], 1
call fcn.005c297e
mov ecx, eax
call fcn.005c29ef
call fcn.005b7788
test al, al
je 0x5d83d5
call fcn.005bfee0
call fcn.005c297e
mov ecx, eax
call fcn.005c5474
mov esi, ebx
jmp 0x5d8621
push str.__silent
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bcc94
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d8418
xor edi, edi
call fcn.005c58c1
jmp 0x5d841b
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.005bcc94
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d8467
push esi
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bce71
push eax
call fcn.005d821b
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.005bcc94
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00449330
test bl, bl
je 0x5d84b3
push esi
lea ecx, [ebp - 0x1c]
call fcn.00449380
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.005bce71
push eax
call fcn.005d8233
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.005bcc94
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.005ba756
push eax
call fcn.005b8cca
call fcn.005ba756
push eax
call fcn.005b85c2
add esp, 0xc
test al, al
jne 0x5d85a4
call fcn.005b7baa
push eax
push 0x66951c
call fcn.005ba756
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.005c211f
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005cc2bf
push eax
call fcn.005b4f66
add esp, 0x28
lea ecx, [ebp - 0x4c]
call fcn.00449330
lea ecx, [ebp - 0x34]
call fcn.00449330
jmp 0x5d85f8
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.005d6242
pop ecx
push ebx
push dword [ebp + 8]
push ebx
mov ebx, 0x7137a8
mov ecx, ebx
call fcn.005d657c
call fcn.005d53ef
push edi
push dword [ebp + 0x10]
call fcn.005d7875
pop ecx
pop ecx
mov ecx, ebx
mov esi, eax
call fcn.005d7ca8
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
call fcn.005c297e
mov ecx, eax
call fcn.005c5474
call fcn.005a5a1a
mov ecx, eax
call fcn.005a5f0c
xor eax, eax
inc eax
push eax
call fcn.005ba756
push eax
call fcn.005b8cca
pop ecx
pop ecx
cmp dword [ebp - 0x64], 0
je 0x5d8633
push dword [ebp - 0x64]
call fcn.0062f9c7
pop ecx
mov dword [ebp - 0x60], ebx
lea eax, [ebp - 0x58]
push eax
mov ecx, eax
call fcn.005d58fd
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00628dca
leave
ret 0x10