Function at 0x420ab0
Capabilities:
Query service status
Start service

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x7c
lea esi, [esp + 0x54]
mov dword [esp + 0xc], 0x1c
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1c
mov dword [esp], esi
call fcn.004327e0
mov dword [esp + 4], esi
mov eax, dword [edi + 0x7c]
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [esp], eax
call ebp
sub esp, 8
test eax, eax
je 0x420cb0
cmp dword [esp + 0x58], 4
je 0x420c00
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [edi + 0x7c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
sub esp, 0xc
test eax, eax
mov ebx, eax
jne 0x420d50
call fcn.0042c430
mov edi, eax
lea esi, [esp + 0x44]
lea ebp, [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [0x5510cc]
mov dword [esp], 0x1c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], edx
call fcn.004ed900
mov ecx, 0x6e69
mov edx, dword [esp + 0x28]
mov dword [eax], 0x6e616843
mov word [eax + 0x18], cx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], 0x65536567
mov dword [eax + 8], 0x63697672
mov dword [eax + 0xc], 0x61745365
mov dword [eax + 0x10], 0x54737574
mov dword [eax + 0x14], 0x6e75526f
mov byte [eax + 0x1a], 0x67
mov byte [eax + 0x1b], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], str.error_happens_during_starting_a_service:__s__Error_Code:_d
mov dword [esp + 0xc], 0x235
mov dword [esp + 8], ebp
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x1b
mov dword [esp + 0x40], 0x1b
call fcn.0042ce70
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x420bf3
mov dword [esp], eax
call fcn.004ed8c0
add esp, 0x7c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [esp + 0x3c]
lea esi, [esp + 0x44]
mov ebp, 0x6e69
call fcn.0042c430
mov dword [esp], 0x1c
mov ebx, eax
mov dword [esp + 0x3c], esi
call fcn.004ed900
mov dword [eax], 0x6e616843
mov dword [eax + 4], 0x65536567
mov dword [eax + 8], 0x63697672
mov dword [eax + 0xc], 0x61745365
mov dword [eax + 0x10], 0x54737574
mov dword [eax + 0x14], 0x6e75526f
mov word [eax + 0x18], bp
mov byte [eax + 0x1a], 0x67
mov byte [eax + 0x1b], 0
mov dword [esp + 0x10], str.Service_has_been_started
mov dword [esp + 0xc], 0x230
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x1b
mov dword [esp + 0x40], 0x1b
call fcn.0042ce70
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x420ca1
mov dword [esp], eax
call fcn.004ed8c0
add esp, 0x7c
mov ebx, 1
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [esp + 0x44]
mov ebx, eax
lea ebp, [esp + 0x3c]
call fcn.0042c430
mov dword [esp], 0x1c
mov edi, eax
mov dword [esp + 0x3c], esi
call fcn.004ed900
mov edx, 0x6e69
mov dword [eax], 0x6e616843
mov dword [eax + 4], 0x65536567
mov dword [eax + 8], 0x63697672
mov dword [eax + 0xc], 0x61745365
mov dword [eax + 0x10], 0x54737574
mov dword [eax + 0x14], 0x6e75526f
mov word [eax + 0x18], dx
mov byte [eax + 0x1a], 0x67
mov byte [eax + 0x1b], 0
mov dword [esp + 0x10], str.Query_Services_status_fail
mov dword [esp + 0xc], 0x22b
mov dword [esp + 8], ebp
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x1b
mov dword [esp + 0x40], 0x1b
call fcn.0042ce70
jmp 0x420be3
mov dword [esp + 4], esi
mov eax, dword [edi + 0x7c]
mov dword [esp], eax
call ebp
sub esp, 8
test eax, eax
mov ebx, eax
je 0x420e30
mov dword [esp], esi
mov ecx, edi
call fcn.00420880
sub esp, 4
cmp dword [esp + 0x58], 4
je 0x420ed0
lea esi, [esp + 0x44]
lea edi, [esp + 0x3c]
call fcn.0042c430
mov dword [esp], 0x1c
mov ebx, eax
mov dword [esp + 0x3c], esi
call fcn.004ed900
mov edx, 0x6e69
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x1b
mov dword [eax], 0x6e616843
mov dword [eax + 4], 0x65536567
mov dword [eax + 8], 0x63697672
mov dword [eax + 0xc], 0x61745365
mov dword [eax + 0x10], 0x54737574
mov dword [eax + 0x14], 0x6e75526f
mov word [eax + 0x18], dx
mov byte [eax + 0x1a], 0x67
mov dword [esp + 0x40], 0x1b
mov byte [eax + 0x1b], 0
mov dword [esp + 0x10], str.StartService_fail
mov dword [esp + 0xc], 0x243
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.0042ce70
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x420e22
mov dword [esp], eax
call fcn.004ed8c0
xor ebx, ebx
jmp 0x420bf3
lea esi, [esp + 0x44]
lea ebp, [esp + 0x3c]
call fcn.0042c430
mov dword [esp], 0x1c
mov edi, eax
mov dword [esp + 0x3c], esi
call fcn.004ed900
mov edx, 0x6e69
mov dword [eax], 0x6e616843
mov dword [eax + 4], 0x65536567
mov dword [eax + 8], 0x63697672
mov dword [eax + 0xc], 0x61745365
mov dword [eax + 0x10], 0x54737574
mov dword [eax + 0x14], 0x6e75526f
mov word [eax + 0x18], dx
mov byte [eax + 0x1a], 0x67
mov byte [eax + 0x1b], 0
mov dword [esp + 0x10], str.Query_Services_status_fail
mov dword [esp + 0xc], 0x23a
mov dword [esp + 8], ebp
mov dword [esp + 4], 1
mov dword [esp], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x1b
mov dword [esp + 0x40], 0x1b
call fcn.0042ce70
jmp 0x420be3
lea esi, [esp + 0x44]
lea edi, [esp + 0x3c]
call fcn.0042c430
mov dword [esp], 0x1c
mov ebx, eax
mov dword [esp + 0x3c], esi
call fcn.004ed900
mov ecx, 0x6e69
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x1b
mov dword [eax], 0x6e616843
mov dword [eax + 4], 0x65536567
mov dword [eax + 8], 0x63697672
mov dword [eax + 0xc], 0x61745365
mov dword [eax + 0x10], 0x54737574
mov dword [eax + 0x14], 0x6e75526f
mov word [eax + 0x18], cx
mov byte [eax + 0x1a], 0x67
mov dword [esp + 0x40], 0x1b
mov byte [eax + 0x1b], 0
mov dword [esp + 0x10], str.StartService_success
mov dword [esp + 0xc], 0x240
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0042ce70
jmp 0x420c91