Function at 0x45d510
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x590f7b
push eax
mov dword fs:[0], esp
sub esp, 0x94
cmp byte [0x62d748], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x45d56e
push str.Failed_to_get_path_to_executable_n
lea eax, [ebp - 0x7c]
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e650
add esp, 0x20
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x62d438
lea eax, [ebp - 0x48]
push str._s_binSteamService.exe
push eax
call fcn.0046a970
push 0x62d748
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push str._sSteamServiceTmp.exe
push eax
call fcn.0046a970
push 0x62d748
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str._sSteamService.exe
push eax
call fcn.0046a970
add esp, 0x24
lea eax, [ebp - 0xa0]
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 0x5b2558
call fcn.00579dc1
add esp, 8
test eax, eax
jne 0x45d6eb
push str.GlobalSteamServiceUpdateMutex
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x250], eax
test eax, eax
jne 0x45d64f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.0045ac90
push esi
push str.Failed_get_update_mutex_GLE__u_n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e650
add esp, 0x24
mov bl, 1
jmp 0x45d97d
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d671
lea ecx, [ebp - 0x7c]
call fcn.0045ac90
push str.Failed_to_lock_update_mutex__n
jmp 0x45d8df
mov eax, dword [edi]
mov ecx, edi
push 1
push 1
call dword [eax + 0x20]
cmp byte [ebp - 0x1d], 0
jge 0x45d690
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x45d693
mov eax, 0x593554
jmp 0x45d693
lea eax, [ebp - 0x2c]
cmp byte [ebp - 0xd], 0
jge 0x45d6a7
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x45d6aa
mov ecx, 0x593554
jmp 0x45d6aa
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.00462420
mov ecx, dword [edi + 0x250]
add esp, 8
push ecx
test al, al
je 0x45d6d3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov bl, 1
jmp 0x45d97d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.0045ac90
push str.Failed_to_copy_temp_service_file_to_final_location_n
jmp 0x45da03
push SysReAllocString
push dword [esi + 4]
push 0x5b25d4
call fcn.0046a630
add esp, 0xc
test eax, eax
jne 0x45d97b
push str.GlobalSteamServiceUpdateMutex
push 1
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x250], eax
test eax, eax
je 0x45d9ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45d9ea
push 0x5b1930
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
call fcn.0046b540
sub esp, 0x10
mov byte [ebp - 4], 3
lea eax, [ebp + 0x10]
mov ecx, esp
lea edx, [ebp + 0xc]
push eax
push edx
call fcn.0045aa30
mov ecx, edi
call fcn.0045ce30
push 0x446640
push 1
mov bl, al
mov byte [ebp - 4], 2
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0056c17a
test bl, bl
jne 0x45d7a7
lea ecx, [ebp - 0x7c]
call fcn.0045ac90
push str.Failed_to_load_version_info_n
push eax
push 1
push 1
push 1
push 4
push 0
push 0
call fcn.0045e650
add esp, 0x20
cmp byte [ebp - 0xd], 0
mov byte [ebp + 0xf], 0
jge 0x45d7bf
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d7c2
mov eax, 0x593554
jmp 0x45d7c2
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1d], 0
jge 0x45d7d6
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x45d7d9
mov ecx, 0x593554
jmp 0x45d7d9
lea ecx, [ebp - 0x2c]
cmp byte [ebp - 0x39], 0
jge 0x45d7ed
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x45d7f0
mov edx, 0x593554
jmp 0x45d7f0
lea edx, [ebp - 0x48]
lea esi, [ebp + 0xf]
push esi
push eax
push ecx
push edx
mov ecx, edi
call fcn.0045b870
test al, al
je 0x45d92f
cmp byte [ebp + 0xf], 0
je 0x45d92f
cmp byte [ebp - 0xd], 0
jge 0x45d824
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d827
mov eax, 0x593554
jmp 0x45d827
lea eax, [ebp - 0x1c]
push 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.004586a0
push 0
push 0
push str._Update
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004599c0
push eax
push 0x5b2650
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
mov esi, eax
call fcn.00456330
cmp esi, 0x20
jle 0x45d904
push dword [edi + 0x250]
mov ebx, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call ebx
xor esi, esi
push esi
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x45d8f4
push dword [edi + 0x250]
call ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0xa
cmp esi, 0x7d0
jg 0x45d8d2
push 0
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d892
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d97d
lea ecx, [ebp - 0x7c]
call fcn.0045ac90
push str.Failed_to_see_temp_bootstrapper_getting_the_mutex_n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e650
add esp, 0x20
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d97d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.0045ac90
push esi
push str.Failed_to_start_temp_bootstrapper_GLE__u_n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e650
add esp, 0x24
cmp byte [ebp - 0xd], 0
jge 0x45d943
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d946
mov eax, 0x593554
jmp 0x45d946
lea eax, [ebp - 0x1c]
push eax
call fcn.004728b0
add esp, 4
cmp byte [ebp - 0xd], 0
jge 0x45d963
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d966
mov eax, 0x593554
jmp 0x45d966
lea eax, [ebp - 0x1c]
push eax
call fcn.00482aa0
add esp, 4
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp byte [ebp - 0x1d], 0
mov byte [ebp - 4], 5
jge 0x45d99a
call fcn.004802a0
push 0
push dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0xd], 0
mov byte [ebp - 4], 6
jge 0x45d9b7
call fcn.004802a0
push 0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
cmp byte [ebp - 0x39], 0
mov dword [ebp - 4], 7
jge 0x45d9d5
call fcn.004802a0
push 0
push dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.0045ac90
push str.Existing_service_update_mutex_detetced__stopping_launch_n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e650
add esp, 0x20
mov bl, 1
jmp 0x45d97d