Function at 0x1000b0a0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f073
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10087040]
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 eax, ecx
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
push ecx
mov ecx, eax
movq qword [ebp - 0x20], xmm0
call fcn.1000e240
mov dword [ebp - 4], 0
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
mov dword [ebp - 0x98], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000b1c2
xor ebx, ebx
add esi, ebx
cmp dword [esi + 0x14], 7
jbe 0x1000b12c
mov esi, dword [esi]
push ecx
mov edi, esp
mov dword [ebp - 0xa0], edi
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1000b33c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10005830
test al, al
jne 0x1000b188
test esi, esi
jne 0x1000b166
xor eax, eax
jmp 0x1000b17f
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000b170
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.10005aa0
mov byte [ebp - 4], 0
call fcn.1000e860
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add ebx, 0x18
mov edi, dword [ebp - 0x98]
sub ecx, esi
imul ecx
inc edi
sar edx, 2
mov eax, edx
mov dword [ebp - 0x98], edi
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x1000b122
call fcn.1000eb40
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x94]
push eax
call fcn.1000ad90
mov byte [ebp - 4], 3
cmp dword [ebp - 0x80], 0
jne 0x1000b23e
mov eax, dword [0x10089eac]
test al, 1
jne 0x1000b217
push 0x64
or eax, 1
push 0
push 0x10089e48
mov dword [0x10089eac], eax
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
add esp, 4
mov edx, dword [0x10089e88]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000b222
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.1000a240
cmp dword [ebp - 0x7c], 7
lea edi, [ebp - 0x90]
push 0xf003f
cmova edi, dword [ebp - 0x90]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x1000b2bd
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x1000b280
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1000b2bd
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x38], 1
je 0x1000b2aa
lea eax, [ebp - 0x3c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ecx
push dword [ebp - 0x38]
push 1
push edi
call fcn.100156d0
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0x94]
call fcn.1000ae70
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x1000b31e
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.1000f8c0
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1000b314
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000b346
push ecx
push esi
call fcn.10042472
add esp, 8
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.10041e20
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.100013a0
call fcn.10045dc4
int3