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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461bac
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x47a040]
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 - 0xa4], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], ebx
push ecx
mov ecx, eax
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
call fcn.0040c6c0
mov dword [ebp - 4], 0
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
test ebx, ebx
je 0x40ad29
xor edi, edi
mov dword [ebp - 0x98], edi
add eax, edx
je 0x40ac52
xor ebx, ebx
cmp dword [ebx + esi + 0x14], 7
lea eax, [ebx + esi]
jbe 0x40ab9d
mov eax, dword [eax]
push eax
push dword [ebp - 0xa0]
call fcn.00442342
add esp, 8
test eax, eax
je 0x40ac27
mov esi, dword [ebp - 0x20]
add esi, ebx
cmp dword [esi + 0x14], 7
jbe 0x40abbd
mov esi, dword [esi]
push ecx
mov edi, esp
mov dword [ebp - 0x9c], edi
call fcn.00404660
mov ecx, eax
test ecx, ecx
je 0x40aea2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00405690
test al, al
jne 0x40ac18
test esi, esi
jne 0x40abf7
xor ecx, ecx
jmp 0x40ac0f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ac00
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.004058c0
mov byte [ebp - 4], 0
call fcn.0040ccd0
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
inc edi
sub ecx, esi
mov dword [ebp - 0x98], edi
imul ecx
add ebx, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40ab91
call fcn.0040d040
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0x94]
push eax
call fcn.0040a7f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x80], 0
jne 0x40acdc
mov eax, dword [0x47cfec]
test al, 1
jne 0x40acaf
or eax, 1
mov dword [0x47cfec], eax
push 0x64
push 0
push 0x47cf88
mov byte [ebp - 4], 4
call fcn.00439ab0
add esp, 0xc
call fcn.0041a7e0
push 0x4654b0
call fcn.00437f3d
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [0x47cfc0]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40acc0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.00407f50
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 0x40ae23
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x40ade7
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x40ae23
mov dword [ebp - 0x98], 0
add eax, edx
je 0x40ac52
xor ebx, ebx
nop dword [eax]
add esi, ebx
cmp dword [esi + 0x14], 7
jbe 0x40ad4a
mov esi, dword [esi]
push ecx
mov edi, esp
mov dword [ebp - 0x9c], edi
call fcn.00404660
mov ecx, eax
test ecx, ecx
je 0x40aea2
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.00405690
test al, al
jne 0x40ada8
test esi, esi
jne 0x40ad84
xor ecx, ecx
jmp 0x40ad9f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ad90
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.004058c0
mov byte [ebp - 4], 0
call fcn.0040ccd0
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 0x40ad40
jmp 0x40ac52
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x38], 1
je 0x40ae10
lea eax, [ebp - 0x3c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ecx
push dword [ebp - 0x38]
push ecx
push edi
call fcn.00412fa0
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.0040a950
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40ae84
mov edx, dword [ebp - 0x1c]
push ecx
call fcn.0040dad0
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 0x40ae7a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aeac
push ecx
push esi
call fcn.00437f52
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.004378e6
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00401920
call fcn.00441fe0
int3