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

Disassembly:
push 0x2cc
mov eax, 0x1002957e
call fcn.10015c84
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
mov dword [ebp - 0x2c0], eax
lea eax, [ebx + 8]
push eax
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], edi
mov byte [ebp - 0x2ba], 0
mov dword [ebp - 0x2d8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
jb 0x1001451c
mov eax, dword [edi]
jmp 0x1001451e
mov eax, edi
lea ecx, [ebp - 0x1b0]
push 3
mov dword [ebp - 0x1b4], ecx
push eax
lea ecx, [ebp - 0x1b4]
call fcn.100134fc
push dword [ebp - 0x1b4]
lea ecx, [ebp - 0x2d4]
mov byte [ebp - 4], 1
call fcn.10001758
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1b4], eax
je 0x1001456b
push dword [ebp - 0x1b4]
call fcn.10018a20
pop ecx
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2c4]
lea ecx, [ebx + 0x20]
push eax
call fcn.10013be8
mov esi, dword [ebp - 0x2c4]
cmp esi, dword [ebx + 0x24]
je 0x10014914
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0xac]
push 3
mov dword [ebp - 0xb0], ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.100135ad
mov eax, dword [ebp - 0x2d0]
cmp dword [eax + 0x14], 0x10
jb 0x100145bb
mov eax, dword [eax]
push dword [ebp - 0xb0]
push eax
call fcn.10015fd0
pop ecx
pop ecx
test eax, eax
je 0x100145dd
mov eax, dword [esi + 0x20]
cmp dword [eax - 0xc], 0
mov byte [ebp - 0x2b9], 1
jne 0x100145e4
mov byte [ebp - 0x2b9], 0
lea eax, [ebp - 0xac]
cmp dword [ebp - 0xb0], eax
je 0x100145fe
push dword [ebp - 0xb0]
call fcn.10018a20
pop ecx
cmp byte [ebp - 0x2b9], 0
je 0x1001462d
mov bl, 1
mov ecx, dword [ebp - 0x2d4]
add ecx, 0xfffffff0
call fcn.100013fc
push dword [ebp - 0x2d8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.10015d07
ret 0xc
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0xac]
push 3
mov dword [ebp - 0xb0], ecx
push eax
lea ecx, [ebp - 0xb0]
call fcn.100135ad
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.100087d4
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 6
cmp dword [ebp - 0xb0], eax
je 0x1001467a
push dword [ebp - 0xb0]
call fcn.10018a20
pop ecx
cmp dword [edi + 0x14], 0x10
jb 0x10014682
mov edi, dword [edi]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001468e
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.100191d4
pop ecx
pop ecx
test eax, eax
jne 0x100146ad
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.100052b4
xor bl, bl
jmp 0x10014609
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x24]
mov ecx, dword [ebx]
imul edx, edx, 0xea60
sub eax, ecx
cmp eax, edx
ja 0x100146cc
test ecx, ecx
jne 0x10014776
mov eax, dword [ebp - 0x2c0]
mov edi, dword [eax]
mov esi, dword [edi]
jmp 0x100146ec
push dword [ebp - 0x2c8]
lea ecx, [esi + 8]
call fcn.1000e57d
test eax, eax
je 0x100146f5
mov esi, dword [esi]
cmp esi, edi
jne 0x100146d8
jmp 0x10014776
mov esi, dword [esi + 0x24]
mov edi, dword [esi]
mov dword [ebp - 0x2c4], esi
cmp edi, esi
je 0x10014776
mov esi, 0x1002ce30
push esi
call fcn.100161f0
pop ecx
push eax
push esi
mov esi, dword [ebp - 0x2d0]
push dword [esi + 0x10]
mov ecx, esi
push 0
call fcn.1000e3e1
test eax, eax
je 0x10014754
lea eax, [edi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x10014733
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x1001473b
mov esi, dword [esi]
push eax
push esi
call fcn.10015fd0
pop ecx
pop ecx
test eax, eax
jne 0x10014754
mov edi, dword [edi]
cmp edi, dword [ebp - 0x2c4]
jne 0x10014704
jmp 0x10014776
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x2c8]
push 0xffffffffffffffff
mov dword [ebx], eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10007634
mov byte [ebp - 0x2ba], 1
cmp byte [0x10035d75], 0
je 0x10014908
mov eax, dword [ebp - 0x2c0]
mov eax, dword [eax]
mov edi, dword [eax]
mov byte [0x10035d75], 0
mov dword [ebp - 0x2c8], eax
cmp edi, eax
je 0x10014908
lea eax, [edi + 8]
cmp dword [eax + 0x14], 0x10
jb 0x100147ad
mov eax, dword [eax]
lea ecx, [ebp - 0x2b4]
push 3
mov dword [ebp - 0x2b8], ecx
push eax
lea ecx, [ebp - 0x2b8]
call fcn.100134fc
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 7
call fcn.10001758
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2b8], eax
je 0x100147fa
push dword [ebp - 0x2b8]
call fcn.10018a20
pop ecx
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebx + 0x20]
call fcn.10013be8
mov esi, dword [eax]
cmp esi, dword [ebx + 0x24]
je 0x100148e8
mov eax, dword [esi + 0x20]
cmp dword [eax - 0xc], 0
je 0x10014888
lea ecx, [ebp - 0x130]
push 3
mov dword [ebp - 0x134], ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.100135ad
mov eax, dword [ebp - 0x134]
push eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x2c4], eax
call fcn.100161f0
pop ecx
push eax
push dword [ebp - 0x2c4]
lea ecx, [edi + 0x4c]
call fcn.10007f03
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x134], eax
je 0x10014882
push dword [ebp - 0x134]
call fcn.10018a20
pop ecx
mov ebx, dword [ebp - 0x2cc]
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], 0
je 0x100148e8
mov esi, eax
push 3
lea eax, [ebp - 0x130]
push esi
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], eax
call fcn.100135ad
mov ebx, dword [ebp - 0x134]
push ebx
mov byte [ebp - 4], 0xb
call fcn.100161f0
pop ecx
push eax
push ebx
lea ecx, [edi + 0x30]
call fcn.10007f03
lea eax, [ebp - 0x130]
cmp dword [ebp - 0x134], eax
je 0x100148e2
push dword [ebp - 0x134]
call fcn.10018a20
pop ecx
mov ebx, dword [ebp - 0x2cc]
mov ecx, dword [ebp - 0x2c0]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.100013fc
mov edi, dword [edi]
cmp edi, dword [ebp - 0x2c8]
jne 0x100147a2
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.100052b4
mov bl, byte [ebp - 0x2ba]
jmp 0x10014609