Function at 0x100038d0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d8ab
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x101b100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 0x101acb74
lea ecx, [ebp - 0x134]
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.10002c80
push 0xf003f
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x10003a37
mov esi, dword [0x101b2520]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test esi, esi
jne 0x100039a1
push 0x124
call fcn.1000a8d6
push 0x124
mov esi, eax
push 0
push esi
mov dword [ebp - 0x138], esi
call fcn.1000d180
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.1000d180
add esp, 0x1c
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b2520], esi
push str.error_OpenSCManager.
push 0
push 0x101acb74
push str.......project_basedllmain.cpp
push 0xb6
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x18
test esi, esi
jne 0x10003a1b
push 0x124
call fcn.1000a8d6
push 0x124
mov esi, eax
push 0
push esi
mov dword [ebp - 0x138], esi
call fcn.1000d180
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.1000d180
add esp, 0x1c
lea eax, [esi + 0x10c]
push eax
call edi
mov dword [0x101b2520], esi
push 0x101acb74
push str.......project_basedllmain.cpp
push 0xb6
push ecx
mov ecx, esi
call fcn.10007830
jmp 0x10003c96
push 0xf01ff
push str.SystemOptimizerSrv
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x10003b56
mov esi, dword [0x101b2520]
test esi, esi
jne 0x10003ab5
push 0x124
call fcn.1000a8d6
push 0x124
mov esi, eax
push 0
push esi
mov dword [ebp - 0x138], esi
call fcn.1000d180
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.1000d180
add esp, 0x1c
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b2520], esi
push str.error_OpenService.
push 0
push 0x101acb74
push str.......project_basedllmain.cpp
push 0xbc
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x18
test esi, esi
jne 0x10003b33
push 0x124
call fcn.1000a8d6
push 0x124
mov esi, eax
push 0
push esi
mov dword [ebp - 0x138], esi
call fcn.1000d180
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.1000d180
add esp, 0x1c
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b2520], esi
push 0x101acb74
push str.......project_basedllmain.cpp
push 0xbc
push ecx
mov ecx, esi
call fcn.10007830
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x10003c96
lea ecx, [ebp - 0x2c]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x10003c61
mov esi, dword [0x101b2520]
test esi, esi
jne 0x10003bca
push 0x124
call fcn.1000a8d6
push 0x124
mov esi, eax
push 0
push esi
mov dword [ebp - 0x13c], esi
call fcn.1000d180
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.1000d180
add esp, 0x1c
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 0x101acb74
push str.......project_basedllmain.cpp
push 0xc2
push esi
call fcn.100073e0
mov esi, dword [0x101b2520]
add esp, 0x18
test esi, esi
jne 0x10003c48
push 0x124
call fcn.1000a8d6
push 0x124
mov esi, eax
push 0
push esi
mov dword [ebp - 0x13c], esi
call fcn.1000d180
push 0x104
lea eax, [esi + 4]
mov dword [esi], 0
push 0
push eax
mov dword [esi + 0x108], 0xffffffff
call fcn.1000d180
add esp, 0x1c
lea eax, [esi + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x101b2520], esi
push 0x101acb74
push str.......project_basedllmain.cpp
push 0xc2
push ecx
mov ecx, esi
call fcn.10007830
jmp 0x10003c85
push str.succ_ControlService_SERVICE_CONTROL_STOP
push 0
push 0x101acb74
push str.......project_basedllmain.cpp
push 0xc6
call fcn.10007170
push eax
call fcn.100073e0
add esp, 0x18
push dword [ebp - 0x138]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
lea ecx, [ebp - 0x134]
call fcn.10002d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a89d
mov esp, ebp
pop ebp
ret