Function at 0x40ebd0
Capabilities:
Check for time delay via gettickcount
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4d9018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x58]
push ebx
push esi
push edi
push ecx
push eax
mov dword [ebp - 0x5c], eax
call fcn.0040f150
add esp, 8
test al, al
je 0x40eec4
mov eax, dword [ebp - 0x54]
cmp eax, 1
je 0x40ed5e
cmp eax, 3
je 0x40ed5e
push 0x20
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00405c90
movups xmm0, xmmword [str.service_is_already_running_n]
mov edx, eax
mov dword [ebp - 0xc], 0x1b
mov dword [ebp - 8], 0x1f
push 1
push 0x4b941c
movups xmmword [edx], xmm0
movq xmm0, qword [0x4ba37c]
movq qword [edx + 0x10], xmm0
mov cx, word [0x4ba384]
mov word [edx + 0x18], cx
lea ecx, [ebp - 0x1c]
mov al, byte [0x4ba386]
mov byte [edx + 0x1a], al
mov byte [edx + 0x1b], 0
mov dword [ebp - 0x1c], edx
call fcn.00405d50
push 1
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
mov word [ebp - 0x34], 0xa
call fcn.00405d50
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x40ecd5
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eccb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef66
push edx
push ecx
call fcn.00445172
add esp, 8
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
mov edi, dword [ebp - 0xc]
cmovae esi, dword [ebp - 0x1c]
push 0x4b93f8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ed17
push str.writeLog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ed17
push edi
push esi
push str.doStartService
push 0x5b
push str.c:jks_qsafeworkspacexwolfqaxdefenderHelper_trayinstall_functions.cpp
push 2
call eax
add esp, 0x18
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40ed4b
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef66
push edx
push ecx
call fcn.00445172
add esp, 8
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044518e
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [ebp - 0x54], 3
mov ebx, eax
mov edi, dword [ebp - 0x44]
jne 0x40ede7
mov ecx, 0x2710
nop word [eax + eax]
mov eax, 0xcccccccd
mul dword [ebp - 0x40]
shr edx, 3
cmp edx, 0x3e8
jae 0x40ed9a
mov edx, 0x3e8
jmp 0x40eda3
cmp edx, 0x2710
cmova edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call fcn.0040f150
add esp, 8
test al, al
je 0x40eea9
cmp dword [ebp - 0x44], edi
jbe 0x40edcf
call esi
mov edi, dword [ebp - 0x44]
mov ebx, eax
jmp 0x40eddc
call esi
sub eax, ebx
cmp eax, dword [ebp - 0x40]
ja 0x40eea9
cmp dword [ebp - 0x54], 3
mov ecx, 0x2710
je 0x40ed80
push 0
push 0
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x40ed4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x20
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00405c90
movups xmm0, xmmword [str.StartService_failed:]
mov dword [ebp - 0xc], 0x14
mov dword [ebp - 8], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x4ba3c4]
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0x1c]
push 1
mov byte [eax + 0x14], 0
push 0x4b941c
mov dword [ebp - 0x1c], eax
call fcn.00405d50
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00406ec0
add esp, 8
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40ee73
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405d50
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x40eee1
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40eed7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef6b
jmp 0x40eed7
push str.wait_stop_pending_failed
push str.doStartService
push 0x60
push str.c:jks_qsafeworkspacexwolfqaxdefenderHelper_trayinstall_functions.cpp
push 4
call fcn.0040e4d0
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044518e
mov esp, ebp
pop ebp
ret
push edx
push ecx
call fcn.00445172
add esp, 8
cmp dword [ebp - 8], 0x10
lea esi, [ebp - 0x1c]
mov edi, dword [ebp - 0xc]
cmovae esi, dword [ebp - 0x1c]
push 0x4b93f8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40ef23
push str.writeLog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ef23
push edi
push esi
push str.doStartService
push 0x65
push str.c:jks_qsafeworkspacexwolfqaxdefenderHelper_trayinstall_functions.cpp
push 4
call eax
add esp, 0x18
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x40eec4
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ef49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ef70
push edx
push ecx
call fcn.00445172
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.0044518e
mov esp, ebp
pop ebp
ret
call fcn.0047357c
call fcn.0047357c
call fcn.0047357c
int3