Function at 0x45d7c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x591c4b
push eax
mov dword fs:[0], esp
sub esp, 0xa0
cmp byte [0x6526f0], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x45dce2
push 0x6523e0
lea eax, [ebp - 0x48]
push str._s_binSteamService.exe
push eax
call fcn.0046ac70
push 0x6526f0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push str._sSteamServiceTmp.exe
push eax
call fcn.0046ac70
push 0x6526f0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str._sSteamService.exe
push eax
call fcn.0046ac70
add esp, 0x24
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 2
push 1
push eax
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov esi, dword [ebp + 0xc]
push dword [esi + 4]
push 0x5cda10
call fcn.00579c97
add esp, 8
test eax, eax
jne 0x45d981
push str.GlobalSteamServiceUpdateMutex
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x254], eax
test eax, eax
jne 0x45d8dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0045ae70
push esi
push str.Failed_get_update_mutex_GLE__u_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045eca0
add esp, 0x2c
mov bl, 1
jmp 0x45dc38
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d903
push 0
push 0
lea ecx, [ebp - 0x74]
call fcn.0045ae70
push str.Failed_to_lock_update_mutex__n
jmp 0x45db83
mov eax, dword [edi]
mov ecx, edi
push 1
push 1
call dword [eax + 0x20]
cmp byte [ebp - 0x1d], 0
jge 0x45d922
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x45d925
mov eax, 0x59934c
jmp 0x45d925
lea eax, [ebp - 0x2c]
cmp byte [ebp - 0xd], 0
jge 0x45d939
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x45d93c
mov ecx, 0x59934c
jmp 0x45d93c
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.004624d0
mov ecx, dword [edi + 0x254]
add esp, 8
push ecx
test al, al
je 0x45d965
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov bl, 1
jmp 0x45dc38
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
lea ecx, [ebp - 0x74]
call fcn.0045ae70
push str.Failed_to_copy_temp_service_file_to_final_location_n
jmp 0x45dcbe
push closesocket
push dword [esi + 4]
push 0x5cda8c
call fcn.0046a600
add esp, 0xc
test eax, eax
jne 0x45dc36
push str.GlobalSteamServiceUpdateMutex
push 1
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x254], eax
test eax, eax
je 0x45dca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45dca1
push 0x5cccd8
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
call fcn.0046b590
sub esp, 0x14
mov byte [ebp - 4], 3
lea eax, [ebp + 0x10]
mov ecx, esp
lea edx, [ebp + 0xc]
push eax
push edx
call fcn.0045ad30
mov ecx, edi
call fcn.0045d0f0
push 0x4465f0
push 1
mov bl, al
mov byte [ebp - 4], 2
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0056b923
test bl, bl
jne 0x45da49
push 0
push 0
lea ecx, [ebp - 0x74]
call fcn.0045ae70
push str.Failed_to_load_version_info_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 1
push 4
push 0
push 0
call fcn.0045eca0
add esp, 0x28
cmp byte [ebp - 0xd], 0
mov byte [ebp + 0xf], 0
jge 0x45da61
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45da64
mov eax, 0x59934c
jmp 0x45da64
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1d], 0
jge 0x45da78
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x45da7b
mov ecx, 0x59934c
jmp 0x45da7b
lea ecx, [ebp - 0x2c]
cmp byte [ebp - 0x39], 0
jge 0x45da8f
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x45da92
mov edx, 0x59934c
jmp 0x45da92
lea edx, [ebp - 0x48]
lea esi, [ebp + 0xf]
push esi
push eax
push ecx
push edx
mov ecx, edi
call fcn.0045b9e0
test al, al
je 0x45dbea
cmp byte [ebp + 0xf], 0
je 0x45dbea
cmp byte [ebp - 0xd], 0
jge 0x45dac6
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45dac9
mov eax, 0x59934c
jmp 0x45dac9
lea eax, [ebp - 0x1c]
push 4
push eax
lea ecx, [ebp - 0x84]
call fcn.00458180
push 0
push 0
push str._Update
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00459d10
push eax
push 0x5cdb08
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
mov esi, eax
call fcn.00456350
cmp esi, 0x20
jle 0x45dbb3
push dword [edi + 0x254]
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call ebx
xor esi, esi
push esi
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45dba0
push dword [edi + 0x254]
call ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0xa
push 0
cmp esi, 0x7d0
jg 0x45db74
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45db34
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45dc38
push 0
lea ecx, [ebp - 0x74]
call fcn.0045ae70
push str.Failed_to_see_temp_bootstrapper_getting_the_mutex_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045eca0
add esp, 0x28
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45dc38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0045ae70
push esi
push str.Failed_to_start_temp_bootstrapper_GLE__u_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045eca0
add esp, 0x2c
cmp byte [ebp - 0xd], 0
jge 0x45dbfe
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45dc01
mov eax, 0x59934c
jmp 0x45dc01
lea eax, [ebp - 0x1c]
push eax
call fcn.004722a0
add esp, 4
cmp byte [ebp - 0xd], 0
jge 0x45dc1e
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45dc21
mov eax, 0x59934c
jmp 0x45dc21
lea eax, [ebp - 0x1c]
push eax
call fcn.004819a0
add esp, 4
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 4], 5
jge 0x45dc53
call fcn.0047f570
push 0
push dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 6
jge 0x45dc6e
call fcn.0047f570
push 0
push dword [ebp - 0x1c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp byte [ebp - 0x39], 0
mov dword [ebp - 4], 7
jge 0x45dc8c
call fcn.0047f570
push 0
push dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
lea ecx, [ebp - 0x74]
call fcn.0045ae70
push str.Existing_service_update_mutex_detetced__stopping_launch_n
lea ecx, [eax + 0x20]
push ecx
lea ecx, [eax + 8]
push ecx
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045eca0
add esp, 0x28
mov bl, 1
jmp 0x45dc38
push str.Failed_to_get_path_to_executable_n
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xac]
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045eca0
mov ecx, dword [ebp - 0xc]
add esp, 0x28
xor al, al
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8