Function at 0x1001b090
Capabilities:
Delete service
Pause service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9f4
mov eax, dword [0x10194180]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x91c], ebx
lea ecx, [ebp - 0x940]
call fcn.1006cb70
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x984]
call fcn.1006cb70
mov byte [ebp - 4], 1
mov dword [ebp - 0x928], ebx
mov dword [ebp - 0x924], ebx
mov dword [ebp - 0x920], ebx
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov esi, dword [ebp + 8]
push esi
push str.systemcurrentcontrolset_services_s_
lea eax, [ebp - 0x918]
push eax
call fcn.100578f4
add esp, 0xc
mov dword [ebp - 0x95c], ebx
lea ecx, [ebp - 0x918]
mov dword [ebp - 0x958], ecx
mov byte [ebp - 4], 4
push ebx
push ebx
lea edx, [ebp - 0x95c]
push edx
push connect
lea ecx, [ebp - 0x940]
call fcn.1006cf60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x95c]
call fcn.10008420
mov dword [ebp - 0x91c], 0x400
lea eax, [ebp - 0x91c]
push eax
lea ecx, [ebp - 0x518]
push ecx
push ebx
push str.imagePath
lea ecx, [ebp - 0x940]
call fcn.1006d0b0
mov dword [ebp - 0x96c], 0x25
lea edx, [ebp - 0x4f3]
mov dword [ebp - 0x988], edx
mov dword [ebp - 0x948], ebx
mov dword [ebp - 0x944], str.parameters
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x934]
mov dword [ebp - 0x98c], eax
push ebx
push ebx
lea ecx, [ebp - 0x948]
push ecx
push eax
lea ecx, [ebp - 0x984]
call fcn.1006cf60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x948]
call fcn.10008420
mov dword [ebp - 0x91c], 0x104
lea edx, [ebp - 0x91c]
push edx
lea eax, [ebp - 0x118]
push eax
push ebx
push str.ServiceDll
lea ecx, [ebp - 0x984]
call fcn.1006d0b0
mov dword [ebp - 0x950], ebx
mov dword [ebp - 0x94c], str.softwaremicrosoftwindows_NTcurrentVersion_svchost_
mov byte [ebp - 4], 6
push ebx
push ebx
lea ecx, [ebp - 0x950]
push ecx
push connect
lea ecx, [ebp - 0x940]
call fcn.1006cf60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x950]
call fcn.10008420
lea edx, [ebp - 0x92c]
push edx
lea eax, [ebp - 0x4f3]
push eax
lea ecx, [ebp - 0x940]
call fcn.1006d670
mov dword [ebp - 0x954], esi
mov eax, dword [ebp - 0x924]
mov dword [ebp - 0x964], eax
mov dword [ebp - 0x968], eax
mov ecx, dword [ebp - 0x928]
mov dword [ebp - 0x970], ecx
mov dword [ebp - 0x99c], ecx
lea edx, [ebp - 0x954]
push edx
push eax
push ecx
lea eax, [ebp - 0x9a4]
push eax
call fcn.1001a4f0
add esp, 0x10
mov ecx, dword [eax]
mov dword [ebp - 0x990], ecx
mov eax, dword [ebp - 0x924]
mov dword [ebp - 0x994], eax
mov dword [ebp - 0x960], eax
cmp ecx, eax
je 0x1001b2c5
push ecx
lea ecx, [ebp - 0x9a0]
push ecx
lea ecx, [ebp - 0x92c]
call fcn.1001ae00
lea edx, [ebp - 0x92c]
push edx
lea eax, [ebp - 0x4f3]
push eax
lea ecx, [ebp - 0x940]
call fcn.1006cd90
lea ecx, [ebp - 0x940]
call fcn.1006cd10
mov dword [ebp - 4], 2
push 0xf003f
lea ecx, [ebp - 0x930]
call fcn.10072280
mov byte [ebp - 4], 8
push 0xf01ff
push esi
lea ecx, [ebp - 0x930]
call fcn.10072100
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
cmp esi, ebx
jne 0x1001b34a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UnInstallService:_OpenService
lea ecx, [ebp - 0xa00]
call fcn.1006e6d0
push 0x10180678
lea ecx, [ebp - 0xa00]
push ecx
call fcn.10056f02
lea edx, [ebp - 0x9c0]
push edx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x930]
call fcn.10072210
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x928]
cmp eax, ebx
je 0x1001b3af
mov ecx, dword [ebp - 0x974]
push ecx
lea edx, [ebp - 0x92c]
push edx
mov ecx, dword [ebp - 0x924]
push ecx
push eax
call fcn.1000f050
mov edx, dword [ebp - 0x928]
push edx
call fcn.101209d7
add esp, 0x14
mov dword [ebp - 0x928], ebx
mov dword [ebp - 0x924], ebx
mov dword [ebp - 0x920], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x984]
call fcn.1006ce30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x940]
call fcn.1006ce30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.100571c6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret