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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58fd98
push eax
mov dword fs:[0], esp
sub esp, 0xc4
cmp byte [0x62c6e8], 0
sete al
push ebx
push esi
push edi
mov edi, ecx
test al, al
je 0x45d2a6
push str.Failed_to_get_path_to_executable_n
lea eax, [ebp - 0x8c]
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e350
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 0x62c3d8
lea eax, [ebp - 0x48]
push str._s_binSteamService.exe
push eax
call fcn.0046a380
push 0x62c6e8
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push str._sSteamServiceTmp.exe
push eax
call fcn.0046a380
push 0x62c6e8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str._sSteamService.exe
push eax
call fcn.0046a380
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 0x5b0fe8
call fcn.00578bd1
add esp, 8
test eax, eax
jne 0x45d44f
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 0x45d38a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x8c]
mov esi, eax
call fcn.0045aa00
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.0045e350
add esp, 0x24
mov bl, 1
jmp 0x45d6c4
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d3d2
lea ecx, [ebp - 0x8c]
call fcn.0045aa00
push str.Failed_to_lock_update_mutex__n
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e350
add esp, 0x20
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d6c4
mov eax, dword [edi]
mov ecx, edi
push 1
push 1
call dword [eax + 0x20]
cmp byte [ebp - 0x1d], 0
jge 0x45d3f1
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x45d3f4
mov eax, 0x592544
jmp 0x45d3f4
lea eax, [ebp - 0x2c]
cmp byte [ebp - 0xd], 0
jge 0x45d408
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x45d40b
mov ecx, 0x592544
jmp 0x45d40b
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.00461ca0
mov ecx, dword [edi + 0x254]
add esp, 8
push ecx
test al, al
je 0x45d434
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov bl, 1
jmp 0x45d6c4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x8c]
call fcn.0045aa00
push str.Failed_to_copy_temp_service_file_to_final_location_n
jmp 0x45d74d
push SysReAllocString
push dword [esi + 4]
push 0x5b1064
call fcn.00469d20
add esp, 0xc
test eax, eax
jne 0x45d6c2
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 0x45d731
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45d731
push 0x5b0428
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
call fcn.0046ad50
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.0045a8d0
mov ecx, edi
call fcn.0045cb90
push 0x446660
push 1
mov bl, al
mov byte [ebp - 4], 2
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0056b154
test bl, bl
jne 0x45d50e
lea ecx, [ebp - 0x8c]
call fcn.0045aa00
push str.Failed_to_load_version_info_n
push eax
push 1
push 1
push 1
push 4
push 0
push 0
call fcn.0045e350
add esp, 0x20
cmp byte [ebp - 0xd], 0
mov byte [ebp + 0xf], 0
jge 0x45d526
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d529
mov eax, 0x592544
jmp 0x45d529
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1d], 0
jge 0x45d53d
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x45d540
mov ecx, 0x592544
jmp 0x45d540
lea ecx, [ebp - 0x2c]
cmp byte [ebp - 0x39], 0
jge 0x45d554
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x45d557
mov edx, 0x592544
jmp 0x45d557
lea edx, [ebp - 0x48]
lea esi, [ebp + 0xf]
push esi
push eax
push ecx
push edx
mov ecx, edi
call fcn.0045b560
test al, al
je 0x45d676
cmp byte [ebp + 0xf], 0
je 0x45d676
cmp byte [ebp - 0xd], 0
jge 0x45d58b
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d58e
mov eax, 0x592544
jmp 0x45d58e
lea eax, [ebp - 0x1c]
push 4
push eax
lea ecx, [ebp - 0x5c]
call fcn.00458670
push 0
push 0
push str._Update
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00459840
push eax
push 0x5b10e0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov esi, eax
call fcn.00456300
cmp esi, 0x20
jle 0x45d648
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 0x45d3bf
push dword [edi + 0x254]
call ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0xa
cmp esi, 0x7d0
jg 0x45d633
push 0
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d5f3
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d6c4
lea ecx, [ebp - 0x8c]
call fcn.0045aa00
push str.Failed_to_see_temp_bootstrapper_getting_the_mutex_n
jmp 0x45d3aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xd0]
mov esi, eax
call fcn.0045aa00
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.0045e350
add esp, 0x24
cmp byte [ebp - 0xd], 0
jge 0x45d68a
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d68d
mov eax, 0x592544
jmp 0x45d68d
lea eax, [ebp - 0x1c]
push eax
call fcn.00471d80
add esp, 4
cmp byte [ebp - 0xd], 0
jge 0x45d6aa
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d6ad
mov eax, 0x592544
jmp 0x45d6ad
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 0x45d6e1
call fcn.0047f350
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 0x45d6fe
call fcn.0047f350
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 0x45d71c
call fcn.0047f350
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 + 0x254]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xd0]
call fcn.0045aa00
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.0045e350
add esp, 0x20
mov bl, 1
jmp 0x45d6c4