Function at 0x558a2a
Capabilities:
Modify service

Disassembly:
push 0x178
mov eax, 0x5d60b4
call fcn.00573e45
mov edi, edx
mov esi, ecx
lea ecx, [ebp - 0x184]
call fcn.0054d8fa
push 2
xor ebx, ebx
lea ecx, [ebp - 0x184]
push esi
mov dword [ebp - 4], ebx
call fcn.0054da18
test al, al
jne 0x558b89
cmp dword [esi + 0x14], 8
jb 0x558a6b
mov esi, dword [esi]
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], esi
push eax
mov edx, str.Unable_to_open_service._ServiceName:_s
lea ecx, [ebp - 0x88]
call fcn.0040c1f9
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x558a92
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
mov dword [ebp - 0x15c], eax
xor ecx, ecx
pop eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], cx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], cx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], cx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x158]
call fcn.0051542d
mov esi, eax
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 6
call fcn.0050f875
lea ecx, [ebp - 0x168]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
push ecx
push esi
push eax
push str.O15Client::ChangeServiceBinaryPath
push 0xa
mov edx, 0x3ae
mov dword [ebp - 0x164], str.ContextData
mov ecx, 0x10075d8
mov dword [ebp - 0x160], edi
call fcn.0040c19d
lea ecx, [ebp - 0xf0]
call fcn.0040c0f8
lea ecx, [ebp - 0x158]
call fcn.0040c9ed
xor esi, esi
lea ecx, [ebp - 0x28]
push ebx
inc esi
push esi
call fcn.0040968b
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040968b
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0040968b
push ebx
push esi
lea ecx, [ebp - 0x70]
call fcn.0040968b
lea ecx, [ebp - 0x88]
jmp 0x558c9b
cmp dword [edi + 0x14], 8
jb 0x558b91
mov edi, dword [edi]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 0x180]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x558ca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
mov dword [ebp - 0x15c], eax
xor ecx, ecx
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], cx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ebx
mov word [ebp - 0x58], cx
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0051542d
mov esi, eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0xb
call fcn.0050f875
lea ecx, [ebp - 0x168]
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
push ecx
push esi
push eax
push str.O15Client::ChangeServiceBinaryPath
push 0xa
mov edx, 0x3ae
mov dword [ebp - 0x164], str.ContextData
mov ecx, 0x10075d9
mov dword [ebp - 0x160], str.Exception_occurred
call fcn.0040c19d
lea ecx, [ebp - 0x158]
call fcn.0040c0f8
lea ecx, [ebp - 0xf0]
call fcn.0040c9ed
xor esi, esi
lea ecx, [ebp - 0x70]
push ebx
inc esi
push esi
call fcn.0040968b
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0040968b
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.0040968b
lea ecx, [ebp - 0x28]
push ebx
push esi
call fcn.0040968b
jmp 0x558cbc
push str.O15Client::ChangeServiceBinaryPath:_Service_changed.
push 0x32
push 0xe
pop edx
mov ecx, 0x10075da
call fcn.0048399f
pop ecx
pop ecx
mov bl, 1
lea ecx, [ebp - 0x184]
call fcn.0054d9f0
mov al, bl
call fcn.00573def
ret