Function at 0x43c2e0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443b8a
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.StopService___Enter
lea ecx, [ebp - 0x80]
call fcn.00401610
mov dword [ebp - 4], 0
lea eax, [ebp - 0x80]
push eax
call fcn.004013c0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00401650
lea ecx, [ebp - 0x38]
call fcn.0043ddb0
mov dword [ebp - 4], 1
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x43c3d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
push str.StopService___schSCManager__0__errcode_d
lea edx, [ebp - 0x38]
push edx
call fcn.0043e660
add esp, 0xc
lea eax, [ebp - 0x38]
test eax, eax
je 0x43c394
lea ecx, [ebp - 0x38]
add ecx, 4
mov dword [ebp - 0xd0], ecx
jmp 0x43c39e
mov dword [ebp - 0xd0], 0
mov edx, dword [ebp - 0xd0]
push edx
call fcn.004013c0
add esp, 4
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043db70
mov eax, dword [ebp - 0x84]
jmp 0x43c5ed
push 0x20
push 0x450e90
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43c465
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
push str.StopService___schService__0__errcode_d
lea edx, [ebp - 0x38]
push edx
call fcn.0043e660
add esp, 0xc
lea eax, [ebp - 0x38]
test eax, eax
je 0x43c41e
lea ecx, [ebp - 0x38]
add ecx, 4
mov dword [ebp - 0xd4], ecx
jmp 0x43c428
mov dword [ebp - 0xd4], 0
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004013c0
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043db70
mov eax, dword [ebp - 0x88]
jmp 0x43c5ed
lea ecx, [ebp - 0x54]
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x43c4e8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.StopService___..._..._Stop_service_successfully__1
lea ecx, [ebp - 0xa4]
call fcn.00401610
mov byte [ebp - 4], 2
lea edx, [ebp - 0xa4]
push edx
call fcn.004013c0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00401650
mov dword [ebp - 0xa8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043db70
mov eax, dword [ebp - 0xa8]
jmp 0x43c5ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x426
jne 0x43c566
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push str.StopService___..._..._Stop_service_successfully__SERVICE_NOT_ACTIVE
lea ecx, [ebp - 0xc4]
call fcn.00401610
mov byte [ebp - 4], 3
lea edx, [ebp - 0xc4]
push edx
call fcn.004013c0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.00401650
mov dword [ebp - 0xc8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043db70
mov eax, dword [ebp - 0xc8]
jmp 0x43c5ed
mov eax, dword [ebp - 0x64]
push eax
push str.StopService___ControlService_STOP_failed__errcode_d
lea ecx, [ebp - 0x38]
push ecx
call fcn.0043e660
add esp, 0xc
lea edx, [ebp - 0x38]
test edx, edx
je 0x43c590
lea eax, [ebp - 0x38]
add eax, 4
mov dword [ebp - 0xd8], eax
jmp 0x43c59a
mov dword [ebp - 0xd8], 0
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004013c0
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0043db70
mov eax, dword [ebp - 0xcc]
jmp 0x43c5ed
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret