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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x590c2b
push eax
mov dword fs:[0], esp
sub esp, 0x94
cmp byte [0x62d748], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x45d4fe
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.0045e5e0
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.0046a880
push 0x62d748
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push str._sSteamServiceTmp.exe
push eax
call fcn.0046a880
push 0x62d748
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str._sSteamService.exe
push eax
call fcn.0046a880
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 0x5b21a8
call fcn.00579a81
add esp, 8
test eax, eax
jne 0x45d67b
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 0x45d5df
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.0045ac20
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.0045e5e0
add esp, 0x24
mov bl, 1
jmp 0x45d90d
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d601
lea ecx, [ebp - 0x7c]
call fcn.0045ac20
push str.Failed_to_lock_update_mutex__n
jmp 0x45d86f
mov eax, dword [edi]
mov ecx, edi
push 1
push 1
call dword [eax + 0x20]
cmp byte [ebp - 0x1d], 0
jge 0x45d620
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x45d623
mov eax, 0x593544
jmp 0x45d623
lea eax, [ebp - 0x2c]
cmp byte [ebp - 0xd], 0
jge 0x45d637
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x45d63a
mov ecx, 0x593544
jmp 0x45d63a
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.00462330
mov ecx, dword [edi + 0x250]
add esp, 8
push ecx
test al, al
je 0x45d663
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov bl, 1
jmp 0x45d90d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.0045ac20
push str.Failed_to_copy_temp_service_file_to_final_location_n
jmp 0x45d993
push SysReAllocString
push dword [esi + 4]
push 0x5b2224
call fcn.0046a540
add esp, 0xc
test eax, eax
jne 0x45d90b
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 0x45d97a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45d97a
push 0x5b1580
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
call fcn.0046b450
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.0045a9c0
mov ecx, edi
call fcn.0045cdc0
push 0x4465d0
push 1
mov bl, al
mov byte [ebp - 4], 2
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0056be2a
test bl, bl
jne 0x45d737
lea ecx, [ebp - 0x7c]
call fcn.0045ac20
push str.Failed_to_load_version_info_n
push eax
push 1
push 1
push 1
push 4
push 0
push 0
call fcn.0045e5e0
add esp, 0x20
cmp byte [ebp - 0xd], 0
mov byte [ebp + 0xf], 0
jge 0x45d74f
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d752
mov eax, 0x593544
jmp 0x45d752
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1d], 0
jge 0x45d766
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x45d769
mov ecx, 0x593544
jmp 0x45d769
lea ecx, [ebp - 0x2c]
cmp byte [ebp - 0x39], 0
jge 0x45d77d
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x45d780
mov edx, 0x593544
jmp 0x45d780
lea edx, [ebp - 0x48]
lea esi, [ebp + 0xf]
push esi
push eax
push ecx
push edx
mov ecx, edi
call fcn.0045b800
test al, al
je 0x45d8bf
cmp byte [ebp + 0xf], 0
je 0x45d8bf
cmp byte [ebp - 0xd], 0
jge 0x45d7b4
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d7b7
mov eax, 0x593544
jmp 0x45d7b7
lea eax, [ebp - 0x1c]
push 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.00458630
push 0
push 0
push str._Update
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00459950
push eax
push 0x5b22a0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
mov esi, eax
call fcn.004562c0
cmp esi, 0x20
jle 0x45d894
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 0x45d884
push dword [edi + 0x250]
call ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0xa
cmp esi, 0x7d0
jg 0x45d862
push 0
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d822
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d90d
lea ecx, [ebp - 0x7c]
call fcn.0045ac20
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.0045e5e0
add esp, 0x20
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d90d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.0045ac20
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.0045e5e0
add esp, 0x24
cmp byte [ebp - 0xd], 0
jge 0x45d8d3
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d8d6
mov eax, 0x593544
jmp 0x45d8d6
lea eax, [ebp - 0x1c]
push eax
call fcn.00472740
add esp, 4
cmp byte [ebp - 0xd], 0
jge 0x45d8f3
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d8f6
mov eax, 0x593544
jmp 0x45d8f6
lea eax, [ebp - 0x1c]
push eax
call fcn.00482780
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 0x45d92a
call fcn.00480170
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 0x45d947
call fcn.00480170
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 0x45d965
call fcn.00480170
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.0045ac20
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.0045e5e0
add esp, 0x20
mov bl, 1
jmp 0x45d90d