Function at 0x4234a7
Capabilities:
Query service status
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x81c
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [0x458858]
inc eax
xor ebx, ebx
cmp edi, ebx
mov esi, ecx
mov dword [ebp - 4], eax
je 0x42350a
push 0xd
push eax
mov ecx, edi
call fcn.00414777
test al, al
je 0x42350a
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x4234e1
mov eax, dword [esi + 0x48]
push eax
push 0x407160
push 0xd
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x42371d
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x42352c
mov eax, dword [esi + 0x48]
push 0xf01ff
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4236c9
lea ebx, [esi + 0x20]
push ebx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x423616
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call edi
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x42357f
cmp dword [esi + 0x24], 3
jne 0x423588
push 0x64
call edi
lea eax, [esi + 0x20]
push eax
push dword [ebp - 0x10]
call ebx
test eax, eax
jne 0x423571
cmp dword [esi + 0x24], 1
jne 0x4235c8
mov edi, dword [0x458858]
test edi, edi
je 0x423674
push 0xd
push 1
mov ecx, edi
call fcn.00414777
test al, al
je 0x423674
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4235ba
mov esi, eax
jmp 0x4235bd
mov esi, dword [esi + 0x48]
push esi
push 0x40713c
jmp 0x423650
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414575
mov ecx, dword [eax]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4235e5
mov esi, eax
jmp 0x4235e8
mov esi, dword [esi + 0x48]
mov eax, dword [0x458858]
and dword [ebp - 0x1c], 0
push ecx
push esi
push 0x407118
push 0xd
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x18], eax
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0x10
jmp 0x4236af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
jne 0x42367a
mov edi, dword [0x458858]
test edi, edi
je 0x423674
push 0xd
push 1
mov ecx, edi
call fcn.00414777
test al, al
je 0x423674
mov eax, dword [esi + 0x10]
test eax, eax
je 0x423647
mov esi, eax
jmp 0x42364a
mov esi, dword [esi + 0x48]
push esi
push 0x4070fc
and dword [ebp - 0x1c], 0
push 0xd
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x18], edi
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
and dword [ebp - 4], 0
jmp 0x4236be
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414575
mov eax, dword [eax]
mov ecx, dword [0x458858]
and dword [ebp - 0x1c], 0
push eax
push 0x4070d8
mov dword [ebp - 0x18], ecx
push 0xd
lea ecx, [ebp - 0x81c]
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
lea ecx, [ebp - 0xc]
call fcn.00413720
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x423712
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414575
mov eax, dword [eax]
mov ecx, dword [0x458858]
push eax
push 0x407020
mov dword [ebp - 0x18], ecx
push 0xd
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x1c], ebx
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
lea ecx, [ebp - 0xc]
call fcn.00413720
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x423766
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00414575
mov eax, dword [eax]
mov ecx, dword [0x458858]
push eax
push 0x406ec0
mov dword [ebp - 0x18], ecx
push 0xd
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x1c], ebx
call fcn.0044ef27
push eax
call fcn.0044ed72
add esp, 0xc
mov ecx, eax
call fcn.0044ef88
lea ecx, [ebp - 0xc]
call fcn.00413720
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret