Function at 0x4185e4
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x1c
call fcn.004c4d96
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
mov eax, 0x532edc
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, 0x532c00
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00407cbc
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41865c
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41866c
push ebx
call fcn.004c4d90
add esp, 4
mov dword [ebp - 0x14], esp
push 0xf003f
push 0
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4186a4
push 0x46
push 0x40c58f1
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4186e2
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x61a2c0]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4186dd
push 0xa7
push 0x40c58f1
push 6
call fcn.004c4d9c
add esp, 0xc
jmp 0x418871
mov dword [ebp - 0x14], esp
push 0x20
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x418718
push 0x103
push 0x40c58f1
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x418756
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x61a2c0]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x418751
push 0x160
push 0x40c58f1
push 6
call fcn.004c4d9c
add esp, 0xc
jmp 0x418871
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
push 1
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x41878a
push 0x1bc
push 0x40c58f1
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 8]
xor eax, eax
call dword [0x61a2c0]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4187b9
push 0x1f6
push 0x40c58f1
push 6
call fcn.004c4d9c
add esp, 0xc
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
xor eax, eax
call dword [0x61a2c0]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x4187e5
push 0x210
push 0x40c58f1
push 6
call fcn.004c4d9c
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x168
call fcn.004c8c40
add esp, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push str.szReturn:
mov ecx, 2
call fcn.00402647
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41882c
push ebx
call fcn.004c4d90
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, 0x532ef4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407cbc
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x418861
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x418871
push ebx
call fcn.004c4d90
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004c4d90
add esp, 4
mov esp, ebp
pop ebp
ret 4