Function at 0x45d2b0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76d431
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x88bba0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x9d], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push 0xc
push str.Ctes_Manager
lea ecx, [ebp - 0x2c]
call fcn.0042fb60
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
mov dword [ebp - 0xa4], edi
test edi, edi
jne 0x45d3ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push str.SCM_has_not_been_opened_for__s_service_upgrade_GLE_lu
lea ecx, [ebp - 0x44]
call fcn.00404f70
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
push eax
push esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00408f30
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x78]
call fcn.00483380
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.0045b340
mov ecx, eax
call fcn.00483750
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
call fcn.00483470
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
call fcn.00404fd0
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xc0]
call fcn.0045b740
push 0x8510f0
lea eax, [ebp - 0xc0]
push eax
call fcn.00722044
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
mov dword [ebp - 0xa8], ebx
test ebx, ebx
jne 0x45d4b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push str._s_service_cant_be_opened_GLE_lu
lea ecx, [ebp - 0x44]
call fcn.00404f70
mov byte [ebp - 4], 9
lea eax, [ebp - 0x5c]
push eax
push esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00408f30
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x78]
call fcn.00483380
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xc
mov ecx, eax
call fcn.0045b340
mov ecx, eax
call fcn.00483750
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x78]
call fcn.00483470
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.00404fd0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
cmovae eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0045b740
push 0x8510f0
lea eax, [ebp - 0xcc]
push eax
call fcn.00722044
push str.CTES_is_being_upgraded.
lea ecx, [ebp - 0x44]
call fcn.00404f70
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x44]
push eax
call fcn.00481320
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00404fd0
lea eax, [ebp - 0x9c]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x45d580
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push str.ControlService_for__s_failed_GLE_lu
lea ecx, [ebp - 0x44]
call fcn.00404f70
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x5c]
push eax
push esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xac], esp
lea eax, [ebp - 0x2c]
push eax
call fcn.00408f30
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x78]
call fcn.00483380
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x14
mov ecx, eax
call fcn.0045b340
mov ecx, eax
call fcn.00483750
mov byte [ebp - 4], 0x15
push eax
call fcn.00481260
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x5c]
call fcn.00404fd0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x78]
call fcn.00483470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00404fd0
jmp 0x45d587
mov byte [ebp - 0x9d], 1
push ebx
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov dword [ebp - 4], 0
jmp 0x45d63e
test edi, edi
je 0x45d645
push edi
call esi
test ebx, ebx
je 0x45d64c
push ebx
call esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x45d664
push dword [ebp - 0x2c]
call fcn.00489b60
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov al, byte [ebp - 0x9d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00722035
mov esp, ebp
pop ebp
ret