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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x2e022ee0]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x34], eax
mov eax, dword [0x2e022e68]
push edi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push 0x2e001b70
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.2e0108ab
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jl 0x2e008333
lea eax, [ebp - 0x18]
push 0x2e001b10
push eax
call fcn.2e0108ab
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jl 0x2e008333
mov eax, dword [ebp - 0x1c]
push 0xc
pop ebx
push 0x2e001810
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 0x2e0080b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e0080aa
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e008333
push 0x2710
push dword [ebp - 0x10]
call fcn.2e013cb5
mov edi, eax
cmp edi, 0x80070102
je 0x2e008333
cmp edi, esi
jl 0x2e008333
mov ecx, dword [ebp - 0x18]
push 0x2e001ac8
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 0x2e00811f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e008119
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e008333
push esi
push esi
push 1
push esi
call ebx
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x2e00814d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e008147
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e008333
push 0x2e022f08
push dword [ebp - 8]
call fcn.2e0052f7
mov edi, eax
cmp edi, esi
jl 0x2e008333
push 0x2e001a9c
push 2
lea eax, [ebp - 0x34]
push eax
push 0x2e001a64
call fcn.2e011222
mov edi, eax
cmp edi, esi
jl 0x2e008333
cmp dword [ebp + 8], esi
je 0x2e0081c7
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x2e0081c7
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 0x2e0081c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e0081c1
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e00831d
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.2e013d00
mov edi, eax
cmp edi, esi
jl 0x2e00831d
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 0x2e008224
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, esi
jle 0x2e00821e
and edi, 0xffff
or edi, 0x80070000
cmp edi, esi
jl 0x2e00831d
mov edi, dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
cmp dword [ebp - 4], esi
jne 0x2e008252
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20019
push esi
push esi
push esi
push 0x2e0019f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 4], esi
je 0x2e00826a
push 0x2e022f10
push dword [ebp - 4]
call fcn.2e007d16
push 1
push ebx
push 4
push esi
push dword [ebp - 4]
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x2e022f0c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp + 8], 1
cmp ebx, esi
je 0x2e008290
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 0x2e008290
cmp eax, 0x102
jne 0x2e0082d8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [0x2e022ee8]
mov ecx, dword [0x2e022f0c]
imul ebx, ebx, 0xea60
mov edx, eax
sub edx, ecx
cmp edx, ebx
jae 0x2e008309
mov ebx, dword [ebp - 0x14]
jmp 0x2e008290
cmp eax, esi
je 0x2e00831b
cmp eax, 0x80
je 0x2e00831b
cmp ebx, esi
je 0x2e008290
mov ecx, dword [ebp + 8]
dec ecx
cmp ecx, eax
jne 0x2e008290
push 0x2e022f10
push dword [ebp - 4]
call fcn.2e007d16
push 1
push ebx
push 4
push esi
push dword [ebp - 4]
call edi
jmp 0x2e008290
sub eax, ecx
push eax
push 0x2e0019c8
push 1
call fcn.2e013435
add esp, 0xc
xor edi, edi
push esi
push 2
lea eax, [ebp - 0x34]
push eax
call fcn.2e0112ac
cmp dword [ebp - 0x20], esi
je 0x2e008333
call fcn.2e013d75
mov eax, dword [0x2e022f08]
cmp eax, esi
je 0x2e00835d
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [0x2e022f08]
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 [0x2e022f08], esi
cmp dword [ebp - 4], esi
je 0x2e00836b
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 0x2e00837b
push dword [ebp - 0x14]
call ebx
cmp dword [ebp - 8], esi
je 0x2e008385
push dword [ebp - 8]
call ebx
cmp dword [ebp - 0xc], esi
je 0x2e008398
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp - 0xc]
call ebx
cmp dword [ebp - 0x10], esi
je 0x2e0083b0
cmp dword [ebp - 0x24], esi
je 0x2e0083ab
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x10]
call ebx
cmp dword [ebp - 0x18], esi
je 0x2e0083bd
push dword [ebp - 0x18]
call fcn.2e010965
cmp dword [ebp - 0x1c], esi
je 0x2e0083ca
push dword [ebp - 0x1c]
call fcn.2e010965
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8