Function at 0x6027d0
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x765a5351
push 0x208
call fcn.004f3590
mov ebx, eax
push 0x208
push ebx
mov dword [ebp - 8], ebx
call fcn.004f3630
add esp, 0x10
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x60284c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x602b19
push esi
push str.Failed_to_open_Service_Control_Manager:__d_n
push 0x36
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 1
call fcn.004f21c0
add esp, 0x1c
jmp 0x602b19
push 3
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x60289e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x602892
push esi
push str.OpenService_failed___d__n
push 0x45
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 1
call fcn.004f21c0
add esp, 0x1c
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x602b19
lea ecx, [ebp - 0x10]
push ecx
push 0xc8
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x6028f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x6028e6
push esi
push str.QueryServiceConfig_failed___d__n
push 0x53
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 1
call fcn.004f21c0
add esp, 0x1c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
jmp 0x602b14
push str.svchost.exe
push dword [ebx + 0xc]
call fcn.004f3ea0
add esp, 4
push eax
call fcn.004f39b0
add esp, 8
test eax, eax
jne 0x60293e
test byte [0x9538a8], 4
mov esi, 0x408
je 0x6028e6
mov eax, dword [ebp + 8]
push eax
push str.Service__s_is_not_hosted_service.
push 0x5c
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 4
jmp 0x6028de
mov eax, dword [ebp + 0x10]
push 0x545a5351
push 0x208
mov dword [eax], 1
call fcn.004f3590
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
jne 0x60299f
test byte [0x9538a8], 1
je 0x60298c
push str.Memory_allocation_failure.
push 0x69
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 1
call fcn.004f21c0
add esp, 0x18
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, 0xc
call edi
jmp 0x602b14
push 0x545a5351
push 0x208
call fcn.004f3590
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x6029eb
test byte [0x9538a8], 1
je 0x6029e1
push str.Memory_allocation_failure.
push 0x72
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 1
call fcn.004f21c0
add esp, 0x18
mov esi, 0xc
jmp 0x602aef
mov eax, dword [ebp + 8]
push 0x74b530
push eax
push 0x6eaef8
push 0x208
push ebx
call fcn.004f3b60
push 0x104
push esi
push str.ServiceDll
push ebx
push str.HKLMSYSTEMCurrentControlSetServices_
call fcn.005077d0
mov esi, eax
add esp, 0x28
test esi, esi
je 0x602a57
test byte [0x9538a8], 1
je 0x602aef
push esi
push str.Failed_to_retrieve_serviceDLL_reg_hive__err___d
push 0x7f
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 1
call fcn.004f21c0
add esp, 0x1c
jmp 0x602aef
push dword [ebp - 4]
call fcn.00506810
push eax
push 0x208
push dword [ebp + 0xc]
call fcn.004f3880
add esp, 0x10
mov ecx, 0x20
cmp dword [ebp + 0x14], 0
mov eax, 0x10
cmove eax, ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x602ac2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [0x9538a8], 1
mov esi, eax
je 0x602aef
push esi
push str.ChangeServiceConfig_failed___d__n
push 0x9f
jmp 0x602a38
test byte [0x9538a8], 4
je 0x602aef
push str.Service_type_config_changed_successfully._n
push 0xa2
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_service_updater_service_db.c
push str.query_service_configuration
push dword [0x905520]
push 4
call fcn.004f21c0
add esp, 0x18
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call edi
mov eax, dword [ebp - 4]
push eax
call fcn.004f3570
add esp, 4
test ebx, ebx
je 0x602b11
push ebx
call fcn.004f3570
add esp, 4
mov ebx, dword [ebp - 8]
push dword [ebp - 0xc]
call edi
test ebx, ebx
je 0x602b26
push ebx
call fcn.004f3570
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret