Function at 0x5f303c
Capabilities:
Modify service

Disassembly:
push 0x12c
mov eax, 0x6b9796
call fcn.0064d018
mov edi, edx
mov esi, ecx
lea ecx, [ebp - 0x138]
call fcn.0050cee2
push 2
xor ebx, ebx
lea ecx, [ebp - 0x138]
push esi
mov dword [ebp - 4], ebx
call fcn.0050d066
test al, al
jne 0x5f31a4
cmp dword [esi + 0x14], 8
jb 0x5f307d
mov esi, dword [esi]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], esi
push eax
mov edx, str.Unable_to_open_service._ServiceName:_s
lea ecx, [ebp - 0xa4]
call fcn.00411f2c
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x5f30a4
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
pop edx
mov dword [ebp - 0x110], eax
lea edi, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x7c], ebx
mov ecx, edx
mov dword [ebp - 0x78], edx
rep stosd dword es:[edi], eax
mov word [ebp - 0x8c], ax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], edx
mov word [ebp - 0x74], ax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], edx
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10c]
call fcn.005b30c3
xor ecx, ecx
mov dword [ebp - 0x2c], vtable.C2R::CommonTelemetry.0
mov word [ebp - 0x28], cx
mov edx, 0x3ae
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x18], ebx
push ecx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
push eax
push str.O15Client::ChangeServiceBinaryPath
push 0xa
mov ecx, 0x10075d8
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 0x118], str.ContextData
mov dword [ebp - 0x114], esi
call fcn.00411ea6
lea ecx, [ebp - 0x28]
call fcn.0040d475
lea ecx, [ebp - 0x10c]
call fcn.00413b8b
lea ecx, [ebp - 0x44]
call fcn.0040d475
lea ecx, [ebp - 0x5c]
call fcn.0040d475
lea ecx, [ebp - 0x74]
call fcn.0040d475
lea ecx, [ebp - 0x8c]
call fcn.0040d475
lea ecx, [ebp - 0xa4]
jmp 0x5f32bd
cmp dword [edi + 0x14], 8
jb 0x5f31ac
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 - 0x134]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x5f32c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 7
pop esi
mov dword [ebp - 0x110], eax
lea edi, [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x34], ebx
mov ecx, esi
mov dword [ebp - 0x30], esi
rep stosd dword es:[edi], eax
mov word [ebp - 0x44], ax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], esi
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], esi
mov word [ebp - 0x74], ax
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], esi
mov word [ebp - 0x8c], ax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x10c]
call fcn.005b30c3
xor ecx, ecx
mov dword [ebp - 0x2c], vtable.C2R::CommonTelemetry.0
mov word [ebp - 0x28], cx
mov edx, 0x3ae
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x18], ebx
push ecx
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
push eax
push str.O15Client::ChangeServiceBinaryPath
push 0xa
mov ecx, 0x10075d9
mov dword [ebp - method.Mso::Logging::StructuredObject_wchar_t_const___1_.virtual_0], vtable.Mso::Logging::StructuredObject_wchar_t_const___1_.0
mov dword [ebp - 0x118], str.ContextData
mov dword [ebp - 0x114], str.Exception_occurred
call fcn.00411ea6
lea ecx, [ebp - 0x28]
call fcn.0040d475
lea ecx, [ebp - 0x10c]
call fcn.00413b8b
lea ecx, [ebp - 0x8c]
call fcn.0040d475
lea ecx, [ebp - 0x74]
call fcn.0040d475
lea ecx, [ebp - 0x5c]
call fcn.0040d475
lea ecx, [ebp - 0x44]
call fcn.0040d475
jmp 0x5f32dc
push str.O15Client::ChangeServiceBinaryPath:_Service_changed.
push 0x32
push 0xe
pop edx
mov ecx, 0x10075da
call fcn.004f4c26
pop ecx
pop ecx
mov bl, 1
lea ecx, [ebp - 0x138]
call fcn.0050cfd9
mov al, bl
call fcn.0064cfc2
ret