Function at 0x430860
Capabilities:
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9f54
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4f0464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x65], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
mov dword [ebp - 0x78], ecx
test ecx, ecx
jne 0x430988
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430cfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilswin_update_utils.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00411d10
mov byte [ebp - 4], 2
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x114]
push 0x247
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004092d0
mov esi, eax
push str.OpenSCManager_fail__errno_
push esi
mov byte [ebp - 4], 3
call fcn.0040a600
add esp, 8
mov ecx, esi
push dword [ebp - 0x6c]
call fcn.004160a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.0040a7e0
lea ecx, [ebp - 0x40]
call fcn.00409da0
lea ecx, [ebp - 0x28]
call fcn.00409da0
jmp 0x430cfa
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0xf01ff
cmovae eax, dword [ebp + 8]
xorps xmm0, xmm0
push eax
push ecx
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
jne 0x430a93
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430ce5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilswin_update_utils.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00411d10
mov byte [ebp - 4], 5
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x114]
push 0x24e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004092d0
mov esi, eax
push str.OpenService_fail__errno_
push esi
mov byte [ebp - 4], 6
call fcn.0040a600
add esp, 8
mov ecx, esi
push dword [ebp - 0x6c]
call fcn.004160a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.0040a7e0
lea ecx, [ebp - 0x40]
call fcn.00409da0
lea ecx, [ebp - 0x28]
call fcn.00409da0
jmp 0x430ce5
cmp byte [ebp + 0x20], 0
je 0x430c0a
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x74], eax
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430ce1
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilswin_update_utils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00411d10
mov byte [ebp - 4], 8
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x114]
push 0x255
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004092d0
mov esi, eax
push str.StartService_start_res:
push esi
mov byte [ebp - 4], 9
call fcn.0040a600
add esp, 8
mov ecx, esi
push dword [ebp - 0x70]
call fcn.0040a450
push str.__lasterror:
push esi
call fcn.0040a600
add esp, 8
push dword [ebp - 0x74]
mov ecx, esi
call fcn.004160a0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x114]
call fcn.0040a7e0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x430bc1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430bb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430d4e
push edx
push ecx
call fcn.00466e06
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x430ce1
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430cd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430d53
jmp 0x430cd7
lea eax, [ebp - 0x64]
push eax
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0x74], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
call fcn.00445180
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x430ce1
push 0x74
push str.d:jenkins.jenkinsworkspacelib_commonwin11_update_assistantwin11_update_assistant_srcutilswin_update_utils.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00411d10
push 3
push 0x4c1b84
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00411d10
mov byte [ebp - 4], 0xb
call fcn.00445180
mov edi, eax
lea ecx, [ebp - 0x114]
push 0x25b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004092d0
mov esi, eax
push str.ControlService_set_res:
push esi
mov byte [ebp - 4], 0xc
call fcn.0040a600
add esp, 8
mov ecx, esi
push dword [ebp - 0x74]
call fcn.0040a450
push str.__lasterror:
push esi
call fcn.0040a600
add esp, 8
push dword [ebp - 0x70]
jmp 0x430b73
push edx
push ecx
call fcn.00466e06
add esp, 8
mov byte [ebp - 0x65], 1
push dword [ebp - 0x78]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x430cfa
push eax
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x430d30
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430d26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430d4e
push edx
push ecx
call fcn.00466e06
add esp, 8
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004670b3
mov esp, ebp
pop ebp
ret
call fcn.0048f279
call fcn.0048f279
int3