Function at 0x4276f5
Capabilities:
Modify service

Disassembly:
push 0x228
mov eax, 0x48f715
call fcn.00458f67
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0x10]
push 1
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x224], ebx
call fcn.0041c836
push esi
push 2
mov ecx, edi
mov dword [ebp - 0x21c], eax
call fcn.0041c836
push 0x100
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0045b1d0
mov esi, dword [ebp - 0x21c]
add esp, 0xc
test esi, esi
je 0x4279be
cmp dword [ebp - 0x220], ebx
je 0x427984
mov eax, dword [0x4c364c]
test al, 0x10
jne 0x4277b2
cmp dword [0x4c3670], ebx
je 0x4277b2
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4277b2
cmp dword [0x4c12e0], ebx
je 0x4277b2
cmp dword [0x4c3630], ebx
je 0x4277b2
mov eax, dword [ecx]
push esi
push str...Checking_digital_signature_of__s
push ecx
call dword [eax + 0x10]
mov eax, dword [0x4c364c]
add esp, 0xc
mov dword [ebp - 0x21c], ebx
test al, 0x10
jne 0x427808
cmp dword [0x4c3670], ebx
je 0x427808
push 3
lea eax, [ebp - 0x210]
push esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], eax
call fcn.0040b4de
mov dword [ebp - 0x22c], 1
push dword [ebp - 0x214]
mov dword [ebp - 4], ebx
call fcn.0045059d
mov dword [ebp - 0x21c], eax
mov byte [ebp - 0x215], 1
pop ecx
test eax, eax
jne 0x42780e
mov byte [ebp - 0x215], bl
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x22c], 1
je 0x427835
lea eax, [ebp - 0x210]
cmp dword [ebp - 0x214], eax
je 0x427835
push dword [ebp - 0x214]
call fcn.0045f1d9
pop ecx
cmp byte [ebp - 0x215], 0
je 0x42788c
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4279e4
mov edx, dword [ebp - 0x21c]
cmp edx, 2
jne 0x42786a
cmp dword [0x4c12e0], 0
je 0x4279e4
push esi
push edx
push str.McValidateModule___failed._Error:__d___File__s_is_not_present
jmp 0x42787e
cmp dword [0x4c12e0], 0
je 0x4279e4
push esi
push edx
push str.McValidateModule___failed._Error:__d___Digital_signature_check_failed_for_file__s
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
add esp, 0x10
jmp 0x4279e4
push esi
call fcn.0041247b
push dword [ebp - 0x220]
mov dword [ebp - 0x21c], eax
call fcn.00467690
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x42796d
push 0x100
lea edx, [ebp - 0x110]
push edx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x427952
lea eax, [ebp - 0x110]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 1
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
mov ecx, dword [edi + 0xc]
test eax, eax
je 0x42792b
test ecx, ecx
je 0x42791c
cmp dword [0x4c12e0], 0
je 0x42791c
cmp dword [0x4c3630], 0
je 0x42791c
mov eax, dword [ecx]
push str...Successfully_changed_Service_Description
push ecx
call dword [eax + 0x10]
pop ecx
pop ecx
mov dword [ebp - 0x224], 1
jmp 0x4279e4
test ecx, ecx
je 0x4279e4
cmp dword [0x4c12e0], 0
je 0x4279e4
push str...Call_to_changeserviceconfig2_failed__using_service_name_as_description
mov eax, dword [ecx]
push ecx
call dword [eax + 0x18]
pop ecx
pop ecx
jmp 0x4279e4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4279e4
cmp dword [0x4c12e0], 0
je 0x4279e4
push str...Cannot_load_string_resource_form_specified_DLL__using_service_name_as_description
jmp 0x427945
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4279e4
cmp dword [0x4c12e0], 0
je 0x4279e4
push str...Error_setting_Service_Description__invalid_Dll_location__using_Service_Name_as_Description
jmp 0x427945
push str.default
push esi
call fcn.004660fd
pop ecx
pop ecx
test eax, eax
jne 0x4279be
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4279b9
cmp dword [0x4c12e0], ebx
je 0x4279b9
cmp dword [0x4c3630], ebx
je 0x4279b9
mov eax, dword [ecx]
push str...Using_Service_Name_as_Description
push ecx
call dword [eax + 0x10]
pop ecx
pop ecx
xor ebx, ebx
inc ebx
jmp 0x4279e4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4279da
cmp dword [0x4c12e0], ebx
je 0x4279da
mov eax, dword [ecx]
push str...Error_in_setting_Service_Description__using_Service_Name_as_Description
push ecx
call dword [eax + 0x18]
pop ecx
pop ecx
mov dword [ebp - 0x224], ebx
test esi, esi
je 0x4279eb
push esi
call fcn.0045f1d9
pop ecx
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4279fc
push eax
call fcn.0045f1d9
pop ecx
test ebx, ebx
jne 0x427a0c
cmp dword [ebp - 0x224], ebx
jne 0x427a98
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
push 1
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
je 0x427a73
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x427a98
test ebx, ebx
je 0x427a5b
cmp dword [0x4c12e0], 0
je 0x427a98
cmp dword [0x4c3630], 0
je 0x427a98
mov eax, dword [ecx]
push str.Successfully_changed_Service_Description_to_Service_Name
push ecx
call dword [eax + 0x10]
jmp 0x427a6f
cmp dword [0x4c12e0], 0
je 0x427a98
mov eax, dword [ecx]
push str.Successfully_changed_Service_Description_to_Service_Name
push ecx
call dword [eax + 0x18]
pop ecx
pop ecx
jmp 0x427a98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi + 0xc]
test edx, edx
je 0x427a98
cmp dword [0x4c12e0], 0
je 0x427a98
mov ecx, dword [edx]
push eax
push str.Error_while_setting_Service_Description_to_Service_Name__Error:__d___will_continue...
push edx
call dword [ecx + 0x18]
add esp, 0xc
call fcn.00458f11
ret 0xc