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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x418], 0
test ebx, ebx
jne 0x10142550
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8
push esi
push edi
lea ecx, [eax + 0x18]
call fcn.100996c0
xor eax, eax
xor esi, esi
push 0x208
mov dword [ebp - 0x420], eax
xor edi, edi
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x20c]
push esi
push eax
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x43c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x430], esi
cmp dword [ebp + 0xc], esi
jbe 0x10142728
jmp 0x101425aa
mov esi, dword [ebp - 0x434]
mov ecx, dword [ebx]
test ecx, ecx
je 0x1014271c
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, eax
mov dword [ebp - 0x420], ecx
test cl, 0x20
je 0x101425fe
cmp esi, edi
je 0x101425d9
mov eax, dword [ebx]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x440], edi
jmp 0x101425fe
push ebx
push edi
lea ecx, [ebp - 0x444]
call fcn.100cc490
mov eax, dword [ebp - 0x43c]
mov edi, dword [ebp - 0x440]
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x434], eax
test cl, cl
jns 0x101426fd
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [ebx]
lea edx, [ebp - 0x20c]
add esp, 0xc
mov eax, dword [ecx]
push 0x104
push edx
push str.KillProcName
call dword [eax + 8]
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10023e80
test al, al
jne 0x10142692
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
jmp 0x10142670
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10142670
sub eax, edx
lea ecx, [ebp - 0x41c]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10003740
mov ecx, dword [ebp - 0x424]
mov esi, dword [ebp - 0x41c]
add ecx, 0x18
mov eax, dword [ecx + 4]
mov dword [ebp - 0x438], eax
cmp dword [ecx + 8], eax
je 0x101426d2
lea eax, [esi - 0x10]
push eax
call fcn.10002a60
mov ecx, dword [ebp - 0x438]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
mov ecx, dword [ebp - 0x424]
add dword [ecx + 0x1c], 4
jmp 0x101426df
lea edx, [ebp - 0x41c]
push edx
push eax
call fcn.1001ddd0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x101426f7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x420]
mov eax, dword [ebp - 0x430]
add ebx, 4
or dword [ebp - 0x418], ecx
inc eax
mov dword [ebp - 0x430], eax
cmp eax, dword [ebp + 0xc]
jb 0x101425a4
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x420], eax
mov ebx, dword [ebp - 0x418]
and ebx, 0xffffffaf
test bl, 8
je 0x10142742
call fcn.10182630
test eax, eax
jne 0x10142742
and ebx, 0xfffffff7
test bl, 0x20
je 0x101428f9
mov esi, dword [ebp - 0x424]
and ebx, 0xffffffdf
mov dword [ebp - 0x418], ebx
lea edi, [esi + 0x78]
mov dword [ebp - 0x41c], edi
test edi, edi
je 0x1014276e
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [esi + 0xc]
mov ecx, ebx
call fcn.100996c0
add esi, 0x90
mov dword [ebp - 0x42c], 0
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x428], 0
call fcn.1003cef0
mov dword [ebp - 0x42c], eax
mov ecx, esi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.10143370
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x14]
cmp eax, 0x7d0
jbe 0x101427de
mov ecx, esi
call fcn.101b31a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x42c]
mov esi, dword [eax]
mov dword [ebp - 0x424], esi
cmp esi, eax
je 0x10142891
mov edi, dword [ebp - 0x438]
lea ebx, [ebx]
cmp dword [esi + 0x14], 0
jne 0x1014286e
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x414]
lea eax, [esi + 0x10]
mov dword [ebp - 0x430], eax
push 0x104
push ecx
push dword [eax]
mov ecx, edi
call fcn.101b2f50
test eax, eax
je 0x1014286e
mov esi, dword [ebx + 4]
mov eax, dword [ebp - 0x430]
cmp dword [ebx + 8], esi
je 0x10142865
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10002a60
add eax, 0x10
add esp, 4
mov dword [esi], eax
add dword [ebx + 4], 4
jmp 0x1014286e
push eax
push esi
mov ecx, ebx
call fcn.100048e0
lea ecx, [ebp - 0x424]
call fcn.10014d60
mov esi, dword [ebp - 0x424]
cmp esi, dword [ebp - 0x42c]
jne 0x10142800
mov edi, dword [ebp - 0x41c]
mov esi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x42c]
push dword [esi + 4]
call fcn.100407c0
mov eax, dword [ebp - 0x42c]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x42c]
mov dword [eax], esi
mov eax, dword [ebp - 0x42c]
mov dword [eax + 8], esi
push dword [ebp - 0x42c]
mov dword [ebp - 0x428], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 4]
add esp, 8
sub eax, dword [ebx]
mov ebx, dword [ebp - 0x418]
test eax, 0xfffffffc
je 0x101428ee
or ebx, 0x10
test edi, edi
je 0x101428f9
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x420]
pop edi
pop esi
test edx, edx
je 0x10142934
mov ecx, dword [ebp - 0x434]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1014292a
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10142947
push ecx
push edx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 8
call fcn.101e6c40
int3