Function at 0x409b60
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f5b9
mov eax, dword fs:[0]
push eax
mov eax, 0x1044
call fcn.0040e970
mov eax, dword [0x41500c]
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
push ecx
push 0x4112a0
push 0
call fcn.004071a0
mov ecx, eax
call fcn.0040a8f0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x1044], eax
test eax, eax
jne 0x409c75
lea eax, [ebp - 0x830]
mov dword [ebp - 0x834], 0x400
mov dword [ebp - 0x838], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x838]
call fcn.0040a7b0
sub esp, 0x808
mov dword [ebp - 4], 1
mov edi, esp
lea eax, [ebp - 0x1040]
mov ecx, 0x202
lea esi, [ebp - 0x838]
rep movsd dword es:[edi], dword [esi]
push str.OpenSCManager
push eax
call fcn.004074f0
add esp, 0x80c
mov byte [ebp - 4], 2
push dword [eax]
push 2
call fcn.004071a0
mov ecx, eax
call fcn.0040a8f0
mov eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1038]
cmp eax, ecx
je 0x409c52
push eax
call fcn.0040dca4
add esp, 4
mov eax, dword [ebp - 0x838]
lea ecx, [ebp - 0x830]
cmp eax, ecx
je 0x409c6b
push eax
call fcn.0040dca4
add esp, 4
mov eax, 0x80004005
jmp 0x409e33
mov dword [ebp - 0x1048], eax
push 0xf01ff
push str.TeraBoxUtility
push eax
mov dword [ebp - 4], 3
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x409d4f
lea eax, [ebp - 0x830]
mov dword [ebp - 0x834], 0x400
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x838]
call fcn.0040a7b0
sub esp, 0x808
mov byte [ebp - 4], 5
mov edi, esp
lea eax, [ebp - 0x1040]
mov ecx, 0x202
lea esi, [ebp - 0x838]
rep movsd dword es:[edi], dword [esi]
push str.OpenService
push eax
call fcn.004074f0
add esp, 0x80c
mov byte [ebp - 4], 6
push dword [eax]
push 2
call fcn.004071a0
mov ecx, eax
call fcn.0040a8f0
mov eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1038]
cmp eax, ecx
je 0x409d26
push eax
call fcn.0040dca4
add esp, 4
mov eax, dword [ebp - 0x838]
lea ecx, [ebp - 0x830]
cmp eax, ecx
je 0x409d3f
push eax
call fcn.0040dca4
add esp, 4
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, 0x80004005
jmp 0x409e29
mov dword [ebp - 0x104c], ebx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x409e1e
lea eax, [ebp - 0x830]
mov dword [ebp - 0x834], 0x400
mov dword [ebp - 0x838], eax
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x838]
call fcn.0040a7b0
sub esp, 0x808
mov byte [ebp - 4], 9
mov edi, esp
lea eax, [ebp - 0x1040]
mov ecx, 0x202
lea esi, [ebp - 0x838]
rep movsd dword es:[edi], dword [esi]
push 0x4112e8
push eax
call fcn.004074f0
add esp, 0x80c
mov byte [ebp - 4], 0xa
push dword [eax]
push 2
call fcn.004071a0
mov ecx, eax
call fcn.0040a8f0
mov eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1038]
cmp eax, ecx
je 0x409dfe
push eax
call fcn.0040dca4
add esp, 4
mov eax, dword [ebp - 0x838]
lea ecx, [ebp - 0x830]
cmp eax, ecx
je 0x409e17
push eax
call fcn.0040dca4
add esp, 4
mov esi, 0x80004005
jmp 0x409e20
xor esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call edi
push dword [ebp - 0x1044]
call edi
mov eax, esi
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.0040d7a5
mov esp, ebp
pop ebp
ret