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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x44643c
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44680e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00479870
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b0], 0
je 0x4467c4
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2be]
sub al, 2
jae 0x44649f
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00472840
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x2b8
call fcn.00404dc0
jmp 0x4464d3
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x2b4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x2dc]
jb 0x4464c5
mov eax, dword [ebp - 4]
add eax, 0x2b8
call fcn.00404d6c
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x2b4], eax
movzx eax, byte [ebx]
sub al, 8
je 0x44651a
dec al
je 0x4464eb
sub al, 0x12
jne 0x4466ad
jmp 0x4467c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b1], 0
je 0x4467c4
mov eax, dword [ebp - 4]
call fcn.004450f4
test al, al
je 0x4467c4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00445118
jmp 0x4467c4
push ebp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00446328
pop ecx
test al, al
je 0x446537
push ebp
call fcn.0044636c
pop ecx
jmp 0x446699
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2be]
sub al, 2
jae 0x446569
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00472840
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x446562
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x44656b
xor eax, eax
test al, al
je 0x446651
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00472840
mov esi, dword [ebp - 0x10]
jmp 0x446584
dec esi
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0040eaf0
cmp al, 2
je 0x446583
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405264
push 0
push 0xffffffffffffffff
push 0x14e
mov eax, dword [ebp - 4]
call fcn.0047a8f4
push eax
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x44]
push eax
mov edx, dword [ebp - 0x14]
inc edx
mov ecx, 0x7fffffff
mov eax, dword [ebp - 0xc]
call fcn.00405264
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 8]
call fcn.00405084
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00472870
mov edi, esi
dec edi
movzx edi, di
mov eax, edi
shl edi, 0x10
or eax, edi
push eax
push 0
push 0x142
mov eax, dword [ebp - 4]
call fcn.0047a8f4
push eax
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00472840
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x2b8
call fcn.00404dc0
jmp 0x446699
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x2b8]
test esi, esi
je 0x44663d
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebp - 4]
add eax, 0x2b8
mov ecx, 1
mov edx, esi
call fcn.004052a4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0040502c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0040eaf0
cmp al, 2
je 0x44662b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
test eax, eax
je 0x446685
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add edx, 0x2b8
mov ecx, 1
xchg edx, eax
call fcn.004052a4
mov byte [ebx], 0
mov eax, dword [ebp - 4]
mov si, 0xffb0
call fcn.00404028
jmp 0x4467c4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b1], 0
je 0x4466cf
mov eax, dword [ebp - 4]
call fcn.004450f4
test al, al
jne 0x4466cf
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00445118
push ebp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00446328
pop ecx
test al, al
je 0x446717
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
mov ecx, dword [ebp - 0x10]
mov edx, 1
call fcn.00405264
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
movzx edx, byte [ebx]
call fcn.00404f54
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
pop edx
call fcn.00405084
jmp 0x446736
lea eax, [ebp - 0x54]
movzx edx, byte [ebx]
call fcn.00404f54
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2b8]
lea eax, [ebp - 0xc]
call fcn.00405084
movzx eax, byte [ebx]
mov edx, dword [0x5f0610]
movzx eax, al
bt dword [edx], eax
jae 0x4467b2
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0047a8f4
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4467c4
cmp dword [ebp - 0x2c], 0x102
jne 0x4467c4
lea eax, [ebp - 0x5c]
movzx edx, byte [ebp - 0x28]
call fcn.00404f54
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
call fcn.00405084
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.0044681c
test al, al
je 0x4467c4
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0047a8f4
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PeekMessageA
mov byte [ebx], 0
jmp 0x4467c4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0044681c
test al, al
je 0x4467c4
mov byte [ebx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446815
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.00404d90
lea eax, [ebp - 0x48]
call fcn.00404d6c
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404d90
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00404d90
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404d90
ret