Function at 0x10003cc0
Capabilities:
Delete service
Stop service

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d8eb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x101b100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x101acbec
lea ecx, [ebp - 0x138]
call fcn.10002c80
push 0xf003f
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
push 0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x140], eax
test eax, eax
jne 0x10003e4b
mov esi, dword [0x101b2520]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x10003daf
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x140], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b2520], esi
push str.error_OpenSCManager.
push 0
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xd4
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x18
test esi, esi
jne 0x10003e2f
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x140], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b2520], esi
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xd4
push ecx
mov ecx, esi
call fcn.10007830
jmp 0x100041aa
push 0xf01ff
push str.SystemOptimizerSrv
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x10003f75
mov esi, dword [0x101b2520]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x10003ecd
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x13c], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b2520], esi
push str.error_OpenService.
push 0
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xda
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x18
test esi, esi
jne 0x10003f4d
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x13c], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b2520], esi
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xda
push ecx
mov ecx, esi
call fcn.10007830
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100041aa
lea eax, [ebp - 0x30]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x1000408a
mov esi, dword [0x101b2520]
test esi, esi
jne 0x10003fef
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x13c], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b2520], esi
push str.error_ControlService_SERVICE_CONTROL_STOP
push 0
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xe0
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x18
test esi, esi
jne 0x10004073
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x13c], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b2520], esi
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xe0
push ecx
mov ecx, esi
call fcn.10007830
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x10004199
mov esi, dword [0x101b2520]
test esi, esi
jne 0x100040fe
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x13c], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b2520], esi
push str.error_DeleteService
push 0
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xe4
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x18
test esi, esi
jne 0x10004182
push 0x124
call fcn.1000a8d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x13c], esi
push 0x124
push 0
push esi
call fcn.1000d180
add esp, 0xc
mov dword [esi], 0
lea eax, [esi + 4]
mov dword [esi + 0x108], 0xffffffff
push 0x104
push 0
push eax
call fcn.1000d180
add esp, 0xc
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b2520], esi
push 0x101acbec
push str.......project_basedllmain.cpp
push 0xe4
push ecx
mov ecx, esi
call fcn.10007830
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push dword [ebp - 0x140]
call esi
lea ecx, [ebp - 0x138]
call fcn.10002d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000a89d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret