Function at 0x45fce0
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591b5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x14], ebx
cmp dword [ebx], 0
jne 0x45fd24
push str.m_hServiceControlManager
push 0x11e
push str.c:_buildslave_steam_rel_client_win32_build_srccommonwin32service.cpp
call fcn.00476df0
add esp, 0xc
test al, al
jne 0x45fd24
int3
movzx esi, byte [ebp + 0x14]
mov edi, 0x594544
mov ecx, dword [ebp + 0xc]
xor esi, 1
add esi, 2
mov dword [ebp - 0x48], 0
cmp dword [ebx + 4], 0
mov eax, edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x4000000
jne 0x45febc
test ecx, ecx
cmovne eax, ecx
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.00459850
mov esi, dword [ebp + 8]
mov ecx, edi
test esi, esi
mov dword [ebp - 0x38], 0
mov ebx, eax
mov dword [ebp - 0x34], 0
cmovne ecx, esi
mov dword [ebp - 0x30], 0x4000000
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00459850
test esi, esi
mov dword [ebp - 0x28], 0
mov ecx, 0x594544
mov dword [ebp - 0x24], 0
cmovne ecx, esi
mov dword [ebp - 0x20], 0x4000000
mov edi, eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00459850
push 0
push 0
push 0
push 0
push 0
push ebx
mov ebx, dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push 0x10
push 0xf01ff
push edi
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp byte [ebp - 0x20], 0
mov dword [ebx + 4], eax
je 0x45fe09
push dword [ebp - 0x2c]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x1f], 0
je 0x45fe1a
push dword [ebp - 0x28]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x1e], 0
je 0x45fe2b
push dword [ebp - 0x24]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x30], 0
je 0x45fe3c
push dword [ebp - 0x3c]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x2f], 0
je 0x45fe4d
push dword [ebp - 0x38]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x2e], 0
je 0x45fe5e
push dword [ebp - 0x34]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
je 0x45fe76
push dword [ebp - 0x4c]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x3f], 0
je 0x45fe87
push dword [ebp - 0x48]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x3e], 0
je 0x45fe98
push dword [ebp - 0x44]
call fcn.0056b244
add esp, 4
mov edi, 0x594544
cmp dword [ebx + 4], 0
jne 0x45ff2d
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 0x10
test ecx, ecx
cmovne eax, ecx
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 3
call fcn.00459850
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 1
push esi
push 0x10
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
cmp byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
je 0x45ff06
push dword [ebp - 0x4c]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x3f], 0
je 0x45ff17
push dword [ebp - 0x48]
call fcn.0056b244
add esp, 4
cmp byte [ebp - 0x3e], 0
je 0x45fe9d
push dword [ebp - 0x44]
call fcn.0056b244
add esp, 4
jmp 0x45fe9d
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [ebp - 0x48], 0
cmovne edi, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x4000100
mov dword [ebp - 0x4c], edi
push 4
push 0
push 0
push edi
mov dword [ebp - 4], 4
call fcn.0046d930
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056b23b
push 0
push esi
push eax
push edi
mov dword [ebp + 0xc], eax
call fcn.0046d930
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
add esp, 0x24
mov dword [ebp - 0x1c], esi
push eax
push 1
push dword [ebx + 4]
call edi
cmp byte [ebp + 0x14], 0
je 0x45ffe0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
push 2
push dword [ebx + 4]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0xea60
mov dword [ebp - 0x44], 1
call edi
push esi
call fcn.0056b244
mov ecx, dword [ebp - 0xc]
add esp, 4
mov al, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10