Function at 0x41d580
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e52f4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x65d4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1bc], ecx
lea ecx, [ebp - 0x48]
call fcn.0040bee0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0040bee0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040bee0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0041cc80
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push eax
lea ecx, [ebp - 0x68]
call fcn.0041bd90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00430210
cmp dword [eax], 0
je 0x41d7e4
push 0xf01ff
lea ecx, [ebp - 0x64]
call fcn.0040be10
push eax
lea ecx, [ebp - 0x68]
call fcn.00430210
mov eax, dword [eax]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0041bd90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00430210
cmp dword [eax], 0
je 0x41d7d3
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.00430210
mov edx, dword [eax]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x41d6c9
mov dword [ebp - 0x178], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0041edc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.0041edc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040bf30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040bf30
mov eax, dword [ebp - 0x178]
jmp 0x41d8ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x420
jne 0x41d72f
mov dword [ebp - 0x17c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0041edc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.0041edc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040bf30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040bf30
mov eax, dword [ebp - 0x17c]
jmp 0x41d8ce
push 1
push 2
lea ecx, [ebp - 0xf4]
call fcn.0040b040
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x74]
push eax
push str.Start_Protect_Driver_failed_
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0xf4]
call fcn.004094f0
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c4]
call fcn.0040be10
push eax
push 0x627e18
push 0xaf
push 0x627e2c
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x198]
call fcn.0040bf30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00409dd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0041edc0
jmp 0x41d88b
push 1
push 2
lea ecx, [ebp - 0x174]
call fcn.0040b040
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_failed_
lea ecx, [ebp - 0x174]
push ecx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea edx, [ebp - 0x1b4]
push edx
lea ecx, [ebp - 0x174]
call fcn.004094f0
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1cc]
call fcn.0040be10
push eax
push str.CProtectUser::Start
push 0xb2
push 0x627e98
push 0xf0000000
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b4]
call fcn.0040bf30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x174]
call fcn.00409dd0
mov dword [ebp - 0x1b8], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.0041edc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0040bf30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0040bf30
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b1988
mov esp, ebp
pop ebp
ret