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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x590beb
push eax
mov dword fs:[0], esp
sub esp, 0xc4
cmp byte [0x62d708], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x45d7f1
push 0x62d3f8
lea eax, [ebp - 0x48]
push str._s_binSteamService.exe
push eax
call fcn.0046aaa0
push 0x62d708
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push str._sSteamServiceTmp.exe
push eax
call fcn.0046aaa0
push 0x62d708
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push str._sSteamService.exe
push eax
call fcn.0046aaa0
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 0x5b2168
call fcn.00579a91
add esp, 8
test eax, eax
jne 0x45d4bd
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 0x45d421
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.0045aa50
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.0045e4c0
add esp, 0x24
mov bl, 1
jmp 0x45d74f
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d443
lea ecx, [ebp - 0x7c]
call fcn.0045aa50
push str.Failed_to_lock_update_mutex__n
jmp 0x45d6b1
mov eax, dword [edi]
mov ecx, edi
push 1
push 1
call dword [eax + 0x20]
cmp byte [ebp - 0x1d], 0
jge 0x45d462
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x45d465
mov eax, 0x593544
jmp 0x45d465
lea eax, [ebp - 0x2c]
cmp byte [ebp - 0xd], 0
jge 0x45d479
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x45d47c
mov ecx, 0x593544
jmp 0x45d47c
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.00462570
mov ecx, dword [edi + 0x250]
add esp, 8
push ecx
test al, al
je 0x45d4a5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov bl, 1
jmp 0x45d74f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.0045aa50
push str.Failed_to_copy_temp_service_file_to_final_location_n
jmp 0x45d7d5
push SysReAllocString
push dword [esi + 4]
push 0x5b21e4
call fcn.0046a760
add esp, 0xc
test eax, eax
jne 0x45d74d
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 0x45d7bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45d7bc
push 0x5b1540
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
call fcn.0046b5e0
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.0045a7f0
mov ecx, edi
call fcn.0045cc70
push 0x4465d0
push 1
mov bl, al
mov byte [ebp - 4], 2
push 4
lea eax, [ebp + 0xc]
push eax
call fcn.0056c035
test bl, bl
jne 0x45d579
lea ecx, [ebp - 0x7c]
call fcn.0045aa50
push str.Failed_to_load_version_info_n
push eax
push 1
push 1
push 1
push 4
push 0
push 0
call fcn.0045e4c0
add esp, 0x20
cmp byte [ebp - 0xd], 0
mov byte [ebp + 0xf], 0
jge 0x45d591
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d594
mov eax, 0x593544
jmp 0x45d594
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1d], 0
jge 0x45d5a8
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x45d5ab
mov ecx, 0x593544
jmp 0x45d5ab
lea ecx, [ebp - 0x2c]
cmp byte [ebp - 0x39], 0
jge 0x45d5bf
mov edx, dword [ebp - 0x48]
test edx, edx
jne 0x45d5c2
mov edx, 0x593544
jmp 0x45d5c2
lea edx, [ebp - 0x48]
lea esi, [ebp + 0xf]
push esi
push eax
push ecx
push edx
mov ecx, edi
call fcn.0045b640
test al, al
je 0x45d701
cmp byte [ebp + 0xf], 0
je 0x45d701
cmp byte [ebp - 0xd], 0
jge 0x45d5f6
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d5f9
mov eax, 0x593544
jmp 0x45d5f9
lea eax, [ebp - 0x1c]
push 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.004585e0
push 0
push 0
push str._Update
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.004598f0
push eax
push 0x5b2260
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 0x45d6d6
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 0x45d6c6
push dword [edi + 0x250]
call ebx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0xa
cmp esi, 0x7d0
jg 0x45d6a4
push 0
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45d664
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d74f
lea ecx, [ebp - 0x7c]
call fcn.0045aa50
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.0045e4c0
add esp, 0x20
push dword [edi + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x45d74f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x7c]
mov esi, eax
call fcn.0045aa50
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.0045e4c0
add esp, 0x24
cmp byte [ebp - 0xd], 0
jge 0x45d715
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d718
mov eax, 0x593544
jmp 0x45d718
lea eax, [ebp - 0x1c]
push eax
call fcn.00472900
add esp, 4
cmp byte [ebp - 0xd], 0
jge 0x45d735
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x45d738
mov eax, 0x593544
jmp 0x45d738
lea eax, [ebp - 0x1c]
push eax
call fcn.00482840
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 0x45d76c
call fcn.00480220
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 0x45d789
call fcn.00480220
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 0x45d7a7
call fcn.00480220
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 + 0x250]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x7c]
call fcn.0045aa50
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.0045e4c0
add esp, 0x20
mov bl, 1
jmp 0x45d74f
push str.Failed_to_get_path_to_executable_n
lea eax, [ebp - 0xd0]
push eax
push 1
push 1
push 3
push 4
push 0
push 0
call fcn.0045e4c0
mov ecx, dword [ebp - 0xc]
add esp, 0x20
xor al, al
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8