Function at 0x2e007f7a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x2e021e90]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x34], eax
mov eax, dword [0x2e021e18]
push edi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push 0x2e001bb0
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
call fcn.2e010745
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jl 0x2e0082b3
lea eax, [ebp - 0x18]
push 0x2e001b50
push eax
call fcn.2e010745
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jl 0x2e0082b3
mov eax, dword [ebp - 0x1c]
push 0xc
pop ebx
push 0x2e001850
mov dword [ebp - 0x3c], eax
push esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x2e008030
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e00802a
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e0082b3
push 0x2710
push dword [ebp - 0x10]
call fcn.2e013956
mov edi, eax
cmp edi, 0x80070102
je 0x2e0082b3
cmp edi, esi
jl 0x2e0082b3
mov ecx, dword [ebp - 0x18]
push 0x2e001b08
xor eax, eax
inc eax
push esi
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], esi
call ebx
mov dword [ebp - 0xc], eax
cmp eax, esi
jne 0x2e00809f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e008099
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e0082b3
push esi
push esi
push 1
push esi
call ebx
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x2e0080cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e0080c7
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e0082b3
push 0x2e021eb8
push dword [ebp - 8]
call fcn.2e005277
mov edi, eax
cmp edi, esi
jl 0x2e0082b3
push 0x2e001adc
push 2
lea eax, [ebp - 0x34]
push eax
push 0x2e001aa4
call fcn.2e0110bc
mov edi, eax
cmp edi, esi
jl 0x2e0082b3
cmp dword [ebp + 8], esi
je 0x2e008147
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x2e008147
push eax
push dword [ebp + 8]
mov dword [eax + 0xc], esi
mov dword [eax + 4], 4
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
test eax, eax
jne 0x2e008147
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e008141
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e00829d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
push 1
call fcn.2e0139a1
mov edi, eax
cmp edi, esi
jl 0x2e00829d
push esi
push esi
push esi
push esi
mov dword [ebp - 0x20], 1
call ebx
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jne 0x2e0081a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e00819e
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e00829d
mov edi, dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
cmp dword [ebp - 4], esi
jne 0x2e0081d2
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20019
push esi
push esi
push esi
push 0x2e001a30
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 4], esi
je 0x2e0081ea
push 0x2e021ec0
push dword [ebp - 4]
call fcn.2e007c96
push 1
push ebx
push 4
push esi
push dword [ebp - 4]
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x2e021ebc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp + 8], 1
cmp ebx, esi
je 0x2e008210
mov dword [ebp - 0x28], ebx
mov dword [ebp + 8], 2
push 1
push 0xea60
push esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
cmp eax, 0xc0
je 0x2e008210
cmp eax, 0x102
jne 0x2e008258
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [0x2e021e98]
mov ecx, dword [0x2e021ebc]
imul ebx, ebx, 0xea60
mov edx, eax
sub edx, ecx
cmp edx, ebx
jae 0x2e008289
mov ebx, dword [ebp - 0x14]
jmp 0x2e008210
cmp eax, esi
je 0x2e00829b
cmp eax, 0x80
je 0x2e00829b
cmp ebx, esi
je 0x2e008210
mov ecx, dword [ebp + 8]
dec ecx
cmp ecx, eax
jne 0x2e008210
push 0x2e021ec0
push dword [ebp - 4]
call fcn.2e007c96
push 1
push ebx
push 4
push esi
push dword [ebp - 4]
call edi
jmp 0x2e008210
sub eax, ecx
push eax
push 0x2e001a08
push 1
call fcn.2e013110
add esp, 0xc
xor edi, edi
push esi
push 2
lea eax, [ebp - 0x34]
push eax
call fcn.2e011146
cmp dword [ebp - 0x20], esi
je 0x2e0082b3
call fcn.2e013a16
mov eax, dword [0x2e021eb8]
cmp eax, esi
je 0x2e0082dd
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [0x2e021eb8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea eax, [ecx + eax + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x2e021eb8], esi
cmp dword [ebp - 4], esi
je 0x2e0082eb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], esi
je 0x2e0082fb
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 8], esi
je 0x2e008305
push dword [ebp - 8]
call ebx
cmp dword [ebp - 0xc], esi
je 0x2e008318
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp - 0xc]
call ebx
cmp dword [ebp - 0x10], esi
je 0x2e008330
cmp dword [ebp - 0x24], esi
je 0x2e00832b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x18], esi
je 0x2e00833d
push dword [ebp - 0x18]
call fcn.2e0107ff
cmp dword [ebp - 0x1c], esi
je 0x2e00834a
push dword [ebp - 0x1c]
call fcn.2e0107ff
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8