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

Disassembly:
mov eax, 0x2009f2e3
call fcn.2007d394
sub esp, 0x60
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
sub eax, dword [esi + 0x191f8]
cmp eax, 0x7d0
jb 0x2003f82a
push ebx
call edi
lea ecx, [ebp - 0x6c]
mov dword [esi + 0x191f8], eax
call fcn.20013a41
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x56]
push eax
mov ecx, esi
call fcn.2003e3b0
push 0
mov ecx, esi
call fcn.2003c5bc
mov ebx, 0xff
cmp eax, ebx
mov byte [ebp - 0x52], bl
ja 0x2003f695
mov byte [ebp - 0x52], al
push 1
mov ecx, esi
call fcn.2003c5bc
cmp eax, ebx
mov byte [ebp - 0x53], bl
ja 0x2003f6a8
mov byte [ebp - 0x53], al
lea ecx, [esi + 0x688]
call fcn.2001bfcf
lea ebx, [esi + 0x10938]
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 0x4c], al
call fcn.200011c0
and dword [ebp - 4], 0
mov eax, dword [esi + 0x10968]
add al, byte [esi + 0x10998]
mov byte [ebp - 0x4b], al
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x2003f6f1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
dec dword [eax + 0x18]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
mov byte [ebp - 0x68], 0
call fcn.2003aeb9
call edi
sub eax, dword [esi + 0x19024]
xor edx, edx
mov ecx, 0x3e8
div ecx
and dword [ebp - 0x44], 0
mov byte [ebp - 0x48], 0
mov byte [ebp - 0x47], 0
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
shr eax, 0xa
mov word [ebp - 0x4e], ax
mov eax, dword [ebp - 0x14]
shr eax, 0xa
mov word [ebp - 0x50], ax
mov al, byte [esi + 0x2a4]
test al, al
mov byte [ebp - 0x54], al
je 0x2003f759
cmp al, 1
jne 0x2003f766
cmp byte [esi + 0x10e58], 0
je 0x2003f766
or byte [ebp - 0x54], 0x80
inc dword [ebx + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x10d8c]
mov edi, dword [eax]
cmp edi, eax
mov dword [ebp - 0x10], edi
je 0x2003f81f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x28]
cmp eax, dword [edi + 0x2c]
jbe 0x2003f808
mov eax, dword [edi + 0x1c]
cmp eax, 6
jb 0x2003f7a8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [edi + 0x1c], 0
mov dword [edi + 0x28], eax
jmp 0x2003f7ac
inc eax
mov dword [edi + 0x1c], eax
lea eax, [esi + 0x19284]
cmp dword [eax + 0x18], 0x10
jb 0x2003f7bd
mov edx, dword [eax + 4]
jmp 0x2003f7c0
lea edx, [eax + 4]
lea eax, [esi + 0x19268]
cmp dword [eax + 0x18], 0x10
jb 0x2003f7d1
mov ecx, dword [eax + 4]
jmp 0x2003f7d4
lea ecx, [eax + 4]
lea eax, [esi + 0x1924c]
cmp dword [eax + 0x18], 0x10
jb 0x2003f7e5
mov eax, dword [eax + 4]
jmp 0x2003f7e8
add eax, 4
push edx
push ecx
push eax
xor eax, eax
mov ax, word [edi + 0x18]
lea ecx, [esi + 0x10b5c]
push eax
push dword [edi + 0x14]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.20013b7a
lea ecx, [ebp - 0x10]
call fcn.2003cdcc
mov edi, dword [ebp - 0x10]
cmp edi, dword [esi + 0x10d8c]
jne 0x2003f783
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec dword [ebx + 0x18]
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret