Function at 0x402df8
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
mov eax, 0x466ad4
call fcn.0045b8b4
mov dword [ebp - 0x44], 3
lea edx, [ebp + 0x14]
lea eax, [ebp + 0x14]
call fcn.00464588
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 8
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.00464588
inc dword [ebp - 0x44]
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.00464588
inc dword [ebp - 0x44]
push 0xf003f
push 0
push 0
call sub.ADVAPI32.DLL_OpenSCManagerA
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x402f73
mov word [ebp - 0x50], 0x14
mov edx, 0x466357
lea eax, [ebp - 4]
call fcn.00464550
inc dword [ebp - 0x44]
push dword [eax]
mov edx, 0x466349
lea eax, [ebp - 8]
call fcn.00464550
inc dword [ebp - 0x44]
push dword [eax]
mov edx, dword [ebp + 8]
add edx, 8
lea eax, [ebp - 0xc]
call fcn.00464588
inc dword [ebp - 0x44]
push dword [eax]
lea eax, [ebp - 0x10]
call fcn.004016f4
push eax
inc dword [ebp - 0x44]
call fcn.004049d8
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
call fcn.004016f4
mov ecx, eax
inc dword [ebp - 0x44]
lea eax, [ebp + 0x14]
pop edx
call fcn.00464664
lea edx, [ebp - 0x14]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2fc]
call fcn.0044f3cc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00464620
mov byte [ebp - 0x61], 0
mov al, byte [ebp - 0x61]
push eax
dec dword [ebp - 0x44]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.00464620
pop eax
mov edx, dword [ebp - 0x60]
mov dword fs:[0], edx
jmp 0x4031bf
push 0xf01ff
lea eax, [ebp + 0xc]
call fcn.00401cd0
push eax
push dword [ebp - 0x68]
call sub.ADVAPI32.DLL_OpenServiceA
mov dword [ebp - 0x6c], eax
mov word [ebp - 0x50], 8
cmp dword [ebp - 0x6c], 0
je 0x402fc1
lea edx, [ebp - 0x88]
push edx
push 1
push dword [ebp - 0x6c]
call sub.ADVAPI32.DLL_ControlService
push dword [ebp - 0x6c]
call sub.ADVAPI32.DLL_DeleteService
test eax, eax
jne 0x402fbb
mov byte [ebp - 0x61], 0
jmp 0x402fc5
mov byte [ebp - 0x61], 1
jmp 0x402fc5
mov byte [ebp - 0x61], 1
cmp byte [ebp - 0x61], 0
je 0x4030a2
mov word [ebp - 0x50], 0x20
mov edx, str._uninstall_success.
lea eax, [ebp - 0x18]
call fcn.00464550
inc dword [ebp - 0x44]
push dword [eax]
mov edx, str.UninstallSuccess
lea eax, [ebp - 0x1c]
call fcn.00464550
inc dword [ebp - 0x44]
push dword [eax]
mov edx, dword [ebp + 8]
add edx, 8
lea eax, [ebp - 0x20]
call fcn.00464588
inc dword [ebp - 0x44]
push dword [eax]
lea eax, [ebp - 0x24]
call fcn.004016f4
push eax
inc dword [ebp - 0x44]
call fcn.004049d8
add esp, 0x10
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x28]
call fcn.004016f4
mov ecx, eax
inc dword [ebp - 0x44]
lea eax, [ebp + 0x14]
pop edx
call fcn.00464664
lea edx, [ebp - 0x28]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2fc]
call fcn.0044f3cc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00464620
jmp 0x403170
mov word [ebp - 0x50], 0x2c
mov edx, str._uninstall_failed.
lea eax, [ebp - 0x2c]
call fcn.00464550
inc dword [ebp - 0x44]
push dword [eax]
mov edx, str.UninstallFail
lea eax, [ebp - 0x30]
call fcn.00464550
inc dword [ebp - 0x44]
push dword [eax]
mov edx, dword [ebp + 8]
add edx, 8
lea eax, [ebp - 0x34]
call fcn.00464588
inc dword [ebp - 0x44]
push dword [eax]
lea eax, [ebp - 0x38]
call fcn.004016f4
push eax
inc dword [ebp - 0x44]
call fcn.004049d8
add esp, 0x10
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x3c]
call fcn.004016f4
mov ecx, eax
inc dword [ebp - 0x44]
lea eax, [ebp + 0x14]
pop edx
call fcn.00464664
lea edx, [ebp - 0x3c]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2fc]
call fcn.0044f3cc
dec dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00464620
push dword [ebp - 0x6c]
call sub.ADVAPI32.DLL_CloseServiceHandle
push dword [ebp - 0x68]
call sub.ADVAPI32.DLL_CloseServiceHandle
mov al, byte [ebp - 0x61]
push eax
dec dword [ebp - 0x44]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.00464620
dec dword [ebp - 0x44]
lea eax, [ebp + 0x14]
mov edx, 2
call fcn.00464620
pop eax
mov edx, dword [ebp - 0x60]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret