Function at 0x10008ed0
Capabilities:
Delete registry value
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c54b
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x10088084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0xc]
push 0xf003f
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x258], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x1000906b
push 0xf01ff
push dword [ebp - 0x250]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1000906b
lea eax, [ebp - 0x234]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x230], 1
je 0x10008f7e
lea eax, [ebp - 0x234]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call edi
push ebx
call edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x1000906b
push 0xf01ff
push dword [ebp - 0x250]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1000906b
lea eax, [ebp - 0x234]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x1000906b
push esi
call edi
test eax, eax
je 0x1000906b
push ebx
call edi
lea eax, [ebp - 0x254]
push eax
push 0xf003f
push 0
push str.SOFTWAREWow6432NodeMicrosoftWindows_NTCurrentVersionSvchost
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000906b
push str.LocalWorkSvc
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.100080e0
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x24c]
call fcn.100069f0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10045420
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10088f90]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
push eax
call fcn.100080e0
push dword [ebp - 0x258]
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push dword [ebp - 0x25c]
push dword [ebp - 0x250]
push dword [ebp - 0x260]
push eax
call fcn.100092d0
mov edx, dword [ebp - 0x21c]
add esp, 0x14
test eax, eax
sete bl
cmp edx, 8
jb 0x10009137
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000912d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000915c
push edx
push ecx
call fcn.10016f10
add esp, 8
xor eax, eax
test bl, bl
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10016f2c
mov esp, ebp
pop ebp
ret 0x10
call fcn.10048a49
int3