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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591f6d
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 0x460114
push str.m_hServiceControlManager
push 0x11e
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_srccommonwin32service.cpp
call fcn.00476d20
add esp, 0xc
test al, al
jne 0x460114
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 0x4602ac
test ecx, ecx
cmovne eax, ecx
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.00459980
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.00459980
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.00459980
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 0x4601f9
push dword [ebp - 0x2c]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x1f], 0
je 0x46020a
push dword [ebp - 0x28]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x1e], 0
je 0x46021b
push dword [ebp - 0x24]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x30], 0
je 0x46022c
push dword [ebp - 0x3c]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x2f], 0
je 0x46023d
push dword [ebp - 0x38]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x2e], 0
je 0x46024e
push dword [ebp - 0x34]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
je 0x460266
push dword [ebp - 0x4c]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x3f], 0
je 0x460277
push dword [ebp - 0x48]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x3e], 0
je 0x460288
push dword [ebp - 0x44]
call fcn.0056b524
add esp, 4
mov edi, 0x594544
cmp dword [ebx + 4], 0
jne 0x46031d
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.00459980
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 0x4602f6
push dword [ebp - 0x4c]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x3f], 0
je 0x460307
push dword [ebp - 0x48]
call fcn.0056b524
add esp, 4
cmp byte [ebp - 0x3e], 0
je 0x46028d
push dword [ebp - 0x44]
call fcn.0056b524
add esp, 4
jmp 0x46028d
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.0046d950
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0056b51b
push 0
push esi
push eax
push edi
mov dword [ebp + 0xc], eax
call fcn.0046d950
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 0x4603d0
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.0056b524
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