Function at 0x180007610
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._EXTAPI_SERVICE__Loading_advapi32.dll
call fcn.180007540
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18002c588], rax
test rax, rax
jne 0x180007649
lea rcx, str._EXTAPI_SERVICE__Unable_to_load_advapi32.dll
add rsp, 0x28
jmp fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_OpenSCManagerA
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.OpenSCManagerA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c590], rax
test rax, rax
jne 0x180007681
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_OpenSCManagerA_in_advapi32.dll
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_CloseServiceHandle
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.CloseServiceHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c598], rax
test rax, rax
jne 0x1800076b9
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_CloseServiceHandle_in_advapi32.dll._Continuing_anyway.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_EnumServicesStatusExA
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.EnumServicesStatusExA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5b8], rax
test rax, rax
jne 0x1800076f1
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_EnumServicesStatusExA_in_advapi32.dll.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_CloseServiceHandle
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.CloseServiceHandle
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c598], rax
test rax, rax
jne 0x180007729
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_CloseServiceHandle_in_advapi32.dll._Continuing_anyway.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_OpenServiceA
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.OpenServiceA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5c0], rax
test rax, rax
jne 0x180007761
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_OpenServiceA_in_advapi32.dll.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_QueryServiceConfigA
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.QueryServiceConfigA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5d0], rax
test rax, rax
jne 0x180007799
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_QueryServiceConfigA_in_advapi32.dll.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_QueryServiceObjectSecurity
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.QueryServiceObjectSecurity
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5c8], rax
test rax, rax
jne 0x1800077d1
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_QueryServiceObjectSecurity_in_advapi32.dll.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_ConvertSecurityDescriptorToStringSecurityDescriptorA
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.ConvertSecurityDescriptorToStringSecurityDescriptorA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5d8], rax
test rax, rax
jne 0x180007809
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_ConvertSecurityDescriptorToStringSecurityDescriptorA_in_advapi32.dll.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_StartServiceA
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.StartServiceA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5a0], rax
test rax, rax
jne 0x180007841
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_StartServiceA_in_advapi32.dll.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_ControlService
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.ControlService
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5a8], rax
test rax, rax
jne 0x180007879
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_ControlService_in_advapi32.dll.
call fcn.180007540
lea rcx, str._EXTAPI_SERVICE__Searching_for_QueryServiceStatus
call fcn.180007540
mov rcx, qword [0x18002c588]
lea rdx, str.QueryServiceStatus
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002c5b0], rax
test rax, rax
jne 0x1800078b5
lea rcx, str._EXTAPI_SERVICE__Unable_to_locate_QueryServiceStatus_in_advapi32.dll.
add rsp, 0x28
jmp fcn.180007540
add rsp, 0x28
ret