Function at 0x409dc0
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], esi
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 0
mov dword [esp + 0x28], 0x36
mov dword [esp + 0x2c], str.EnableServiceProgressDialog
call sym.SystemInformer.exe_Ordinal_1886
mov edx, str.stop
test eax, eax
je 0x409e43
push 4
push 0x409d60
push dword [ebp + 0x10]
push esi
push ecx
push str.Stopping_a_service_might_prevent_the_system_from_functioning_properly.
mov ecx, ebx
call fcn.00408340
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov ecx, ebx
push esi
sub esp, 8
push str.Stopping_a_service_might_prevent_the_system_from_functioning_properly.
call fcn.004084c0
test al, al
je 0x409e2a
xor edi, edi
mov dword [esp + 0x14], edi
test esi, esi
je 0x40a1ec
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x409e83
mov eax, dword [eax + 4]
jmp 0x409e85
xor eax, eax
push eax
push 0x20
lea eax, [esp + 0x34]
push eax
call sym.SystemInformer.exe_Ordinal_1936
mov esi, eax
test esi, esi
js 0x409ee3
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x409f09
cmp dword [0x62db64], 0xffffffff
jae 0x409ec6
mov eax, dword fs:[0x18]
mov edi, dword [esp + 0x2c]
mov eax, dword [eax + 0x34]
jmp 0x409ecc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_Ordinal_1343
mov esi, eax
test esi, esi
jns 0x409f09
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [esp + 0x14]
cmp byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
jne 0x40a1ec
mov eax, dword ds:[esp + 0x1c]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x409f1a
mov eax, dword [eax + 4]
jmp 0x409f1c
push edi
mov byte [esp + 0x17], 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x40a1da
xor eax, eax
push eax
push str.Unable_to_stop
call sym.SystemInformer.exe_Ordinal_1303
push eax
call sym.SystemInformer.exe_Ordinal_1238
lea ecx, ds:[esp + 0x12]
push ecx
lea ecx, [esp + 0x1f]
mov edx, dword [eax + 4]
push ecx
push esi
mov ecx, ebx
call fcn.00401a00
test al, al
je 0x40a0c5
cmp byte [esp + 0x1b], 0
je 0x40a0b6
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x409f6b
mov ecx, dword [eax + 4]
jmp 0x409f6d
xor ecx, ecx
mov edx, 4
call fcn.0047e500
mov esi, eax
test esi, esi
js 0x409f8c
mov byte [esp + 0x13], 1
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x40a1de
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
push dword [eax + 4]
push str.stop
push str.Unable_to__s__s.
call fcn.004019c0
add esp, 0xc
mov edi, dword [eax + 4]
cmp esi, 0xc0000022
je 0x409fe3
cmp esi, 0xc0000005
je 0x409fe3
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x409fd1
movzx eax, si
jmp 0x409fed
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x409ff1
mov eax, esi
jmp 0x409fed
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x409ffc
push esi
lfence
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x40a005
push eax
lfence
call sym.SystemInformer.exe_Ordinal_1670
mov esi, eax
test edi, edi
je 0x40a023
test esi, esi
je 0x40a016
mov ecx, 0x21
jmp 0x40a031
push edi
push 0x5d369c
push 0x5d1e90
jmp 0x40a094
test esi, esi
je 0x40a085
mov ecx, 9
mov edi, 0x5d1e90
mov eax, ebx
mov edx, esi
mov ebx, 4
lfence
push dword [ebx + edx]
push 0x5d369c
push edi
push 0xfffe
push ecx
push eax
call sym.SystemInformer.exe_Ordinal_1699
add esp, 0x18
lea ecx, [esi - 8]
lfence
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
mov ebx, dword [esp + 0x20]
jne 0x40a0a8
lfence
call fcn.004fe0c0
mov edi, dword [esp + 0x14]
call sym.SystemInformer.exe_Ordinal_1190
nop dword [eax + eax]
jmp 0x40a1de
push 0x5d1e90
push 0x5d369c
push str.Unable_to_perform_the_operation.
push 0xfffe
push 9
push ebx
call sym.SystemInformer.exe_Ordinal_1699
add esp, 0x18
mov edi, dword [esp + 0x14]
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x40a1de
mov byte ds:[esp + 0x12], 1
jmp 0x40a1de
cmp byte [esp + 0x12], 0
jne 0x40a1ec
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
push dword [eax + 4]
push str.stop
push str.Unable_to__s__s.
call fcn.004019c0
add esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
cmp esi, 0xc0000022
je 0x40a12d
nop
cmp esi, 0xc0000005
je 0x40a12d
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x40a11b
movzx eax, si
jmp 0x40a134
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x40a138
mov eax, esi
jmp 0x40a134
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x40a142
push esi
call sym.SystemInformer.exe_Ordinal_1660
nop
jmp 0x40a148
push eax
call sym.SystemInformer.exe_Ordinal_1670
mov edi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x40a16a
test edi, edi
je 0x40a15d
mov edx, 0x21
jmp 0x40a178
push eax
push 0x5d369c
push 0x5d1e90
jmp 0x40a1c3
test edi, edi
je 0x40a1b4
mov edx, 9
mov eax, 0x5d1e90
mov ecx, ebx
mov esi, edi
mov ebx, 4
push dword [ebx + esi]
push 0x5d369c
push eax
push 0xfffe
push edx
push ecx
call sym.SystemInformer.exe_Ordinal_1699
mov esi, eax
lea ecx, [edi - 8]
add esp, 0x18
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
mov ebx, dword [esp + 0x20]
jne 0x40a1d5
call fcn.004fe0c0
jmp 0x40a1d5
push 0x5d1e90
push 0x5d369c
push str.Unable_to_perform_the_operation.
push 0xfffe
push 9
push ebx
call sym.SystemInformer.exe_Ordinal_1699
mov esi, eax
add esp, 0x18
cmp esi, 1
jne 0x40a1ec
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [ebp + 0x10]
jb 0x409e70
mov ecx, dword [esp + 0x4c]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00583f7f
mov esp, ebp
pop ebp
ret 0xc