Function at 0x408620
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x10]
push esi
push edi
push eax
mov byte [esp + 0x12], 1
mov byte [esp + 0x11], 0
mov dword [esp + 0x1c], 0x36
mov dword [esp + 0x20], str.EnableServiceProgressDialog
call sym.SystemInformer.exe_Ordinal_1886
mov edx, str.start
test eax, eax
je 0x408683
push 1
push 0x408580
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push str.Starting_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 esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov ecx, ebx
push esi
sub esp, 8
push str.Starting_a_service_might_prevent_the_system_from_functioning_properly.
call fcn.004084c0
test al, al
je 0x408676
xor edi, edi
mov dword [esp + 0x10], edi
test esi, esi
je 0x408a29
nop dword [eax + eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4086c2
mov eax, dword [eax + 4]
jmp 0x4086c4
xor eax, eax
push eax
push 0x10
lea eax, [esp + 0x1c]
push eax
call sym.SystemInformer.exe_Ordinal_1936
mov esi, eax
test esi, esi
js 0x40871f
mov edi, dword [esp + 0x14]
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x408742
cmp dword [0x62db64], 0xffffffff
jae 0x408702
mov eax, dword fs:[0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [eax + 0x34]
jmp 0x408708
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_Ordinal_1343
mov esi, eax
test esi, esi
jns 0x408742
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, dword [esp + 0x10]
cmp byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
jne 0x408a29
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x408753
mov eax, dword ds:[eax + 4]
jmp 0x408755
push edi
mov byte [esp + 0x12], 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x408a16
ret
add al, byte [eax]
invalid
xor eax, eax
push eax
push str.Unable_to_start
call sym.SystemInformer.exe_Ordinal_1303
push eax
call sym.SystemInformer.exe_Ordinal_1238
lea ecx, ds:[esp + 0xd]
push ecx
lea ecx, [esp + 0x13]
mov edx, dword [eax + 4]
push ecx
push esi
mov ecx, ebx
call fcn.00401a00
test al, al
je 0x4088f6
cmp byte [esp + 0xf], 0
je 0x4088ec
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4087aa
mov ecx, dword [eax + 4]
jmp 0x4087ac
xor ecx, ecx
mov edx, 1
call fcn.0047e600
mov esi, eax
test esi, esi
js 0x4087cb
mov byte [esp + 0xe], 1
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x408a1a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
push dword [eax + 4]
push str.start
push str.Unable_to__s__s.
call fcn.004019c0
add esp, 0xc
mov edi, dword [eax + 4]
cmp esi, 0xc0000022
je 0x408822
cmp esi, 0xc0000005
je 0x408822
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x40880f
movzx eax, si
jmp 0x40882c
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x408830
mov eax, esi
jmp 0x40882c
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x40883b
push esi
lfence
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x408845
push eax
lfence
call sym.SystemInformer.exe_Ordinal_1670
mov esi, eax
test edi, edi
je 0x408863
test esi, esi
je 0x408856
mov ecx, 0x21
jmp 0x408871
push edi
push 0x5d369c
push 0x5d1e90
jmp 0x4088ce
test esi, esi
je 0x4088bf
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 [ebp + 8]
jne 0x4088de
lfence
call fcn.004fe1e0
mov edi, dword [esp + 0x10]
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x408a1a
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 + 0x10]
call sym.SystemInformer.exe_Ordinal_1190
jmp 0x408a1a
mov byte [esp + 0xd], 1
jmp 0x408a1a
cmp byte ds:[esp + 0xd], 0
jne 0x408a29
mov eax, dword ds:[ebp + 0xc]
mov eax, dword [eax + edi*4]
mov eax, dword [eax + 8]
push dword [eax + 4]
push str.start
push str.Unable_to__s__s.
call fcn.004019c0
add esp, 0xc
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
cmp esi, 0xc0000022
je 0x40896b
cmp esi, 0xc0000005
je 0x40896b
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x408952
movzx eax, si
jmp 0x408972
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x408976
mov eax, esi
jmp 0x408972
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x40897e
push esi
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x408985
push eax
call sym.SystemInformer.exe_Ordinal_1670
mov edi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4089a7
test edi, edi
je 0x40899a
mov edx, 0x21
jmp 0x4089b5
push eax
push 0x5d369c
push 0x5d1e90
jmp 0x4089ff
test edi, edi
je 0x4089f0
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 [ebp + 8]
jne 0x408a11
call fcn.004fe1e0
jmp 0x408a11
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 0x408a29
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [ebp + 0x10]
jb 0x4086b0
mov al, byte [esp + 0xe]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc