Function at 0x41bcd0
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a898
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x47a008]
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
mov dword [ebp - 0x3c], ecx
cmp dword [0x47e5ec], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], eax
je 0x41bd90
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41bd90
cmp dword [eax + 0x58], 4
jb 0x41bd90
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x18
push str.Entry_StartServiceByName
mov dword [ebp - 4], 0
call fcn.00404970
push 0x1c6
push str.RC::DM::RCServiceDManager::StartServiceByName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 4
call fcn.0042feb0
test bl, bl
je 0x41bd81
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
lea eax, [ebp - 0x30]
mov dword [edi], 0xffffffff
push eax
lea eax, [ebp - 0x2c]
mov dword [edi + 4], 0xffffffff
push eax
mov edx, esi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x30], 0
call fcn.0041b1a0
mov ecx, eax
add esp, 8
mov eax, dword [ecx]
mov dword [edi], eax
cmp dword [edi], 0
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
je 0x41be69
cmp dword [0x47e5ec], 0
je 0x41c279
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41c1f6
cmp dword [eax + 0x58], 2
jb 0x41c1f6
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x1e
push str.QueryServiceStatusInfo_failed_
mov dword [ebp - 4], 1
call fcn.00404970
push 0x1d2
push str.RC::DM::RCServiceDManager::StartServiceByName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 2
call fcn.0042feb0
test bl, bl
je 0x41be55
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
jmp 0x41c1f6
mov eax, dword [ebp - 0x2c]
cmp eax, 1
je 0x41bf0c
cmp eax, 3
je 0x41bf0c
cmp dword [0x47e5ec], 0
je 0x41bf01
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41bf01
cmp dword [eax + 0x58], 4
jb 0x41bf01
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x10
push str.Service_is_stop_
mov dword [ebp - 4], 2
call fcn.00404970
push 0x1d8
push str.RC::DM::RCServiceDManager::StartServiceByName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 4
call fcn.0042feb0
test bl, bl
je 0x41bef2
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
mov dword [edi], 0
jmp 0x41c1f6
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x41bfb9
cmp dword [0x47e5ec], eax
je 0x41bfa5
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41bfa5
cmp dword [eax + 0x58], 2
jb 0x41bfa5
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x10
push str.Service_is_stop_
mov dword [ebp - 4], 3
call fcn.00404970
push 0x1e0
push str.RC::DM::RCServiceDManager::StartServiceByName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 2
call fcn.0042feb0
test bl, bl
je 0x41bf96
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
mov dword [edi], 0xa803b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
jmp 0x41c1f6
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x41bfc3
mov ecx, dword [esi]
push 0xf01ff
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x41c07a
cmp dword [0x47e5ec], eax
je 0x41c05d
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41c05d
cmp dword [eax + 0x58], 2
jb 0x41c05d
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x14
push str.Open_service_failed_
mov dword [ebp - 4], 4
call fcn.00404970
push 0x1ec
push str.RC::DM::RCServiceDManager::StartServiceByName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 2
call fcn.0042feb0
test bl, bl
je 0x41c04e
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [edi], 0xa803b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
jmp 0x41c1f6
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x41c133
cmp dword [0x47e5ec], eax
je 0x41c10f
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41c10f
cmp dword [eax + 0x58], 2
jb 0x41c10f
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x15
push str.Start_service_failed_
mov dword [ebp - 4], 5
call fcn.00404970
push 0x1f8
push str.RC::DM::RCServiceDManager::StartServiceByName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 2
call fcn.0042feb0
test bl, bl
je 0x41c100
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
push dword [ebp - 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x34]
call esi
mov dword [edi], 0xa803b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
jmp 0x41c1f6
push dword [ebp - 0x30]
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov edx, esi
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041b1a0
add esp, 8
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
test ecx, ecx
jne 0x41c1b8
nop dword [eax + eax]
cmp dword [ebp - 0x2c], 4
je 0x41c1b2
cmp ebx, 2
jg 0x41c1b8
push dword [ebp - 0x30]
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
mov edx, esi
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041b1a0
add esp, 8
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
cmp dword [edi], 0
je 0x41c170
jmp 0x41c1b8
mov dword [edi], 0
push dword [ebp - 0x38]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push dword [ebp - 0x34]
call esi
cmp dword [edi], 0
jne 0x41c1f6
cmp ebx, 2
jg 0x41c1f0
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x4c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
jmp 0x41c1f6
mov dword [edi], 0xa803bb
cmp dword [0x47e5ec], 0
je 0x41c279
push ecx
mov ecx, 0x47e5ec
call fcn.0042f680
mov eax, dword [0x47e5ec]
cmp byte [eax + 0x54], 0
je 0x41c279
cmp dword [eax + 0x58], 4
jb 0x41c279
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.004048f0
push 0x17
push str.Exit_StartServiceByName
mov dword [ebp - 4], 6
call fcn.00404970
push 0x22b
push str.RC::DM::RCServiceDManager::StartServiceByName
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinopcdomain_src_system_service_rcservicedmanager.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
push 4
call fcn.0042feb0
test bl, bl
je 0x41c26a
lea eax, [ebp - 0x28]
mov ecx, 0x47e5ec
push eax
call fcn.00430280
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004047a0
mov eax, edi
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.004306b4
mov esp, ebp
pop ebp
ret 0xc