Function at 0x411970
Capabilities:
Delete service
Print debug messages

Disassembly:
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x411a28
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push edi
push esi
call fcn.00537300
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x10
call edi
push eax
push str.DoDeleteSvc
push 0x344
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_servicemain.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x344
push str.DoDeleteSvc
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x411a0b
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
call edi
push eax
push str.OpenSCManager_failed___d__n
call fcn.00536761
add esp, 8
call edi
pop edi
pop esi
pop ebx
ret
push 0x10000
push str.ChromodoUpdater
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x411ae9
push str._n______________________________________________________________________________________________n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x10
call ebx
push eax
push str.DoDeleteSvc
push 0x352
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_servicemain.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x352
push str.DoDeleteSvc
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x411ac1
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call ebx
push eax
push str.OpenService_failed___d__n
call fcn.00536761
add esp, 8
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call ebx
pop edi
pop esi
pop ebx
ret
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x411b95
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n______________________________________________________________________________________________n
call ebx
push 0x800
call fcn.005369fe
push 0x800
mov esi, eax
push 0
push esi
call fcn.00537300
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 0x10
call edi
push eax
push str.DoDeleteSvc
push 0x35c
push str.c:devdragon_release_sync_srcdragonupdateservicedragonupdateservice_servicemain.cpp
push str.CD_Module
push str._s_____s____d____s___returned__d
push 0x800
push esi
call fcn.00406430
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push 0x35c
push str.DoDeleteSvc
call fcn.00404610
add esp, 0xc
test esi, esi
je 0x411b78
push esi
call fcn.005369c6
add esp, 4
push str._n______________________________________________________________________________________________n
call ebx
call edi
push eax
push str.DeleteService_failed___d__n
call fcn.00536761
add esp, 8
call edi
pop edi
pop esi
pop ebx
ret
push str.Service_deleted_successfully_n
call fcn.00536761
add esp, 4
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
ret