Function at 0x43e340
Capabilities:
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c94a2
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x5036e8]
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 - 0x9d], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ecx, eax
mov dword [ebp - 0xf8], ecx
test ecx, ecx
jne 0x43e486
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43ec28
push 0x6b
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_update_utils.cc
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 1
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.0040ecb0
push 0x282
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x190]
call fcn.0040a7e0
mov esi, eax
push str.OpenSCManager_fail__errno_
push esi
mov byte [ebp - 4], 3
call fcn.0040b5c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0040b460
call fcn.0046fbc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x190]
call fcn.0040b820
lea ecx, [ebp - 0xd0]
call fcn.0040afe0
lea ecx, [ebp - 0xb8]
call fcn.0040afe0
jmp 0x43ec28
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 - 0x98], xmm0
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x88], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x43e5a8
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43ec13
push 0x6b
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_update_utils.cc
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.0040ecb0
push 0x289
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x190]
call fcn.0040a7e0
mov esi, eax
push str.OpenService_fail__errno_
push esi
mov byte [ebp - 4], 6
call fcn.0040b5c0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0040b460
call fcn.0046fbc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x190]
call fcn.0040b820
lea ecx, [ebp - 0xd0]
call fcn.0040afe0
lea ecx, [ebp - 0xb8]
call fcn.0040afe0
jmp 0x43ec13
cmp byte [ebp + 0x20], 0
je 0x43e8e9
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 0xd8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43ec0c
push 0x6b
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_update_utils.cc
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 7
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 8
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004990f0
add esp, 0xc
cmp esi, 0xffffffff
je 0x43e7a4
mov ecx, dword [ebp - 0xd4]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x43e7a4
mov eax, dword [ebp - 0xc0]
lea edx, [ecx + 1]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp eax, edx
jb 0x43ec7f
sub esi, ecx
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push ecx
add eax, edx
lea ecx, [ebp - 0xf4]
push eax
call fcn.0040ecb0
cmp dword [ebp - 0xe0], 0x10
lea eax, [ebp - 0xf4]
cmovae eax, dword [ebp - 0xf4]
push eax
push 0x290
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00409e10
mov edx, dword [ebp - 0xe0]
add esp, 0x10
cmp edx, 0x10
jb 0x43e787
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e77d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ec84
push edx
push ecx
call fcn.004776ff
add esp, 8
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
jmp 0x43e7ba
push 0x290
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xa
push str.StartService_start_res:
push eax
call fcn.0040b5c0
add esp, 0x18
lea ecx, [ebp - 0x190]
push dword [ebp - 0xd8]
call fcn.0041ff10
lea eax, [ebp - 0x190]
push str.__lasterror:
push eax
call fcn.0040b5c0
add esp, 8
lea ecx, [ebp - 0x190]
push dword [ebp - 0xdc]
call fcn.0040b460
call fcn.0046fbc0
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x190]
call fcn.0040b820
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x43e891
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e887
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ec89
push edx
push ecx
call fcn.004776ff
add esp, 8
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp edx, 0x10
jb 0x43ec0c
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ec02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ec8e
jmp 0x43ec02
lea eax, [ebp - 0x98]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [ebp - 0xd8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd4], eax
call fcn.0046fbc0
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43ec0c
push 0x6b
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcwin_update_utils.cc
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xc
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xd
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xdc], eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004990f0
add esp, 0xc
cmp esi, 0xffffffff
je 0x43eaca
mov ecx, dword [ebp - 0xdc]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x43eaca
mov eax, dword [ebp - 0xe4]
lea edx, [ecx + 1]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp eax, edx
jb 0x43ec93
sub esi, ecx
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xe0], 0x10
lea eax, [ebp - 0xf4]
cmovae eax, dword [ebp - 0xf4]
push ecx
add eax, edx
lea ecx, [ebp - 0xd0]
push eax
call fcn.0040ecb0
cmp dword [ebp - 0xbc], 0x10
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push eax
push 0x296
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00409e10
mov edx, dword [ebp - 0xbc]
add esp, 0x10
cmp edx, 0x10
jb 0x43eaad
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43eaa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ec98
push edx
push ecx
call fcn.004776ff
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
jmp 0x43eae0
push 0x296
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0xa4], 0x10
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x190]
mov byte [ebp - 4], 0xe
push str.ControlService_set_res:
push eax
call fcn.0040b5c0
add esp, 0x18
lea ecx, [ebp - 0x190]
push dword [ebp - 0xd8]
call fcn.0041ff10
lea eax, [ebp - 0x190]
push str.__lasterror:
push eax
call fcn.0040b5c0
add esp, 8
lea ecx, [ebp - 0x190]
push dword [ebp - 0xd4]
call fcn.0040b460
call fcn.0046fbc0
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x190]
call fcn.0040b820
mov edx, dword [ebp - 0xa4]
cmp edx, 0x10
jb 0x43ebb7
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ebad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43ec9d
push edx
push ecx
call fcn.004776ff
add esp, 8
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp edx, 0x10
jb 0x43ec0c
mov ecx, dword [ebp - 0xf4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43ec02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43eca2
push edx
push ecx
call fcn.004776ff
add esp, 8
mov byte [ebp - 0x9d], 1
push dword [ebp - 0xf8]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
test edi, edi
je 0x43ec28
push edi
call esi
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x43ec5e
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ec54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43eca7
push edx
push ecx
call fcn.004776ff
add esp, 8
mov al, byte [ebp - 0x9d]
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.004779c3
mov esp, ebp
pop ebp
ret
call fcn.0040e580
call fcn.0049c66a
call fcn.0049c66a
call fcn.0049c66a
call fcn.0040e580
call fcn.0049c66a
call fcn.0049c66a
call fcn.0049c66a
call fcn.0049c66a
int3