Function at 0x408a40
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0xc
mov eax, dword [eax + 8]
push ebx
push esi
xor bl, bl
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x408a62
mov eax, dword ds:[eax + 4]
jmp 0x408a64
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 0x408abd
mov ebx, dword [esp + 0x14]
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x408acc
cmp dword [0x62db64], 0xffffffff
jae 0x408aa2
mov eax, dword fs:[0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + 0x34]
jmp 0x408aa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sym.SystemInformer.exe_Ordinal_1343
mov esi, eax
test esi, esi
jns 0x408acc
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor bl, bl
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x408ae5
mov eax, dword [eax + 4]
jmp 0x408ae7
push ebx
mov byte [esp + 0x16], 1
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
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, [esp + 0x13]
push ecx
lea ecx, [esp + 0x16]
mov edx, dword [eax + 4]
push ecx
push esi
mov ecx, edi
call fcn.00401a00
test al, al
je 0x408c90
cmp byte ds:[esp + 0x12], 0
je 0x408da8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x408b35
mov ecx, dword [eax + 4]
jmp 0x408b37
xor ecx, ecx
mov edx, 1
call fcn.0047e600
mov esi, eax
test esi, esi
js 0x408b5d
mov bl, 1
call sym.SystemInformer.exe_Ordinal_1190
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
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 + 0x14], eax
cmp esi, 0xc0000022
je 0x408bb5
cmp esi, 0xc0000005
je 0x408bb5
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x408ba3
movzx eax, si
jmp 0x408bbf
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x408bc4
mov eax, esi
jmp 0x408bbf
push esi
lfence
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
nop
test eax, eax
jne 0x408bcf
push esi
lfence
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x408bd8
push eax
lfence
call sym.SystemInformer.exe_Ordinal_1670
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x408bfc
test esi, esi
je 0x408bef
mov ecx, 0x21
jmp 0x408c11
push eax
push 0x5d369c
push 0x5d1e90
jmp 0x408c6e
nop dword [eax]
test esi, esi
je 0x408c5f
mov dword [ebp + 8], edi
mov ecx, 9
mov eax, 0x5d1e90
mov edx, esi
mov edi, 4
lfence
push dword [edi + edx]
mov edi, dword [ebp + 8]
push 0x5d369c
push eax
push 0xfffe
push ecx
push edi
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
jne 0x408c7e
lfence
call fcn.004fe1e0
call sym.SystemInformer.exe_Ordinal_1190
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5d1e90
push 0x5d369c
push str.Unable_to_perform_the_operation.
push 0xfffe
push 9
push edi
call sym.SystemInformer.exe_Ordinal_1699
add esp, 0x18
nop
call sym.SystemInformer.exe_Ordinal_1190
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [esp + 0x13], 0
jne 0x408da8
mov eax, dword [ebp + 0xc]
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 + 0x14], eax
cmp esi, 0xc0000022
je 0x408cf5
cmp esi, 0xc0000005
je 0x408cf5
mov eax, esi
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x408ce3
movzx eax, si
jmp 0x408cfc
mov eax, esi
and eax, 0xfff0000
cmp eax, 0xb0000
jne 0x408d04
mov eax, esi
jmp 0x408cfc
push esi
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
nop dword [eax]
test eax, eax
jne 0x408d0c
push esi
call sym.SystemInformer.exe_Ordinal_1660
jmp 0x408d12
push eax
call sym.SystemInformer.exe_Ordinal_1670
mov esi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x408d38
nop dword [eax]
test esi, esi
je 0x408d2b
mov ecx, 0x21
jmp 0x408d49
push eax
push 0x5d369c
push 0x5d1e90
jmp 0x408d98
test esi, esi
je 0x408d89
mov dword [ebp + 8], edi
mov ecx, 9
mov eax, 0x5d1e90
mov edx, esi
mov edi, 4
push dword [edi + edx]
mov edi, dword [ebp + 8]
push 0x5d369c
push eax
push 0xfffe
push ecx
push edi
call sym.SystemInformer.exe_Ordinal_1699
add esp, 0x18
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x408da8
call fcn.004fe1e0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5d1e90
push 0x5d369c
push str.Unable_to_perform_the_operation.
push 0xfffe
push 9
push edi
call sym.SystemInformer.exe_Ordinal_1699
add esp, 0x18
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8