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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x43eeb4
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43f286
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045d6e0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b0], 0
je 0x43f23c
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2be]
sub al, 2
jae 0x43ef17
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004566ac
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x2b8
call fcn.00405664
jmp 0x43ef4b
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x2b4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x2dc]
jb 0x43ef3d
mov eax, dword [ebp - 4]
add eax, 0x2b8
call fcn.00405610
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x2b4], eax
movzx eax, byte [ebx]
sub al, 8
je 0x43ef92
dec al
je 0x43ef63
sub al, 0x12
jne 0x43f125
jmp 0x43f23c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b1], 0
je 0x43f23c
mov eax, dword [ebp - 4]
call fcn.0043da00
test al, al
je 0x43f23c
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0043da24
jmp 0x43f23c
push ebp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0043eda0
pop ecx
test al, al
je 0x43efaf
push ebp
call fcn.0043ede4
pop ecx
jmp 0x43f111
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2be]
sub al, 2
jae 0x43efe1
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004566ac
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43efda
sub eax, 4
mov eax, dword [eax]
test eax, eax
setg al
jmp 0x43efe3
xor eax, eax
test al, al
je 0x43f0c9
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004566ac
mov esi, dword [ebp - 0x10]
jmp 0x43effc
dec esi
mov edx, esi
mov eax, dword [ebp - 0xc]
call fcn.0040faa4
cmp al, 2
je 0x43effb
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405b08
push 0
push 0xffffffffffffffff
push 0x14e
mov eax, dword [ebp - 4]
call fcn.0045e79c
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.00405b08
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 8]
call fcn.00405928
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.004566dc
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.0045e79c
push eax
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.004566ac
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, 0x2b8
call fcn.00405664
jmp 0x43f111
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x2b8]
test esi, esi
je 0x43f0b5
sub esi, 4
mov esi, dword [esi]
mov eax, dword [ebp - 4]
add eax, 0x2b8
mov ecx, 1
mov edx, esi
call fcn.00405b48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.004058d0
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
call fcn.0040faa4
cmp al, 2
je 0x43f0a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2b8]
test eax, eax
je 0x43f0fd
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add edx, 0x2b8
mov ecx, 1
xchg edx, eax
call fcn.00405b48
mov byte [ebx], 0
mov eax, dword [ebp - 4]
mov si, 0xffb0
call fcn.004048a8
jmp 0x43f23c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2b1], 0
je 0x43f147
mov eax, dword [ebp - 4]
call fcn.0043da00
test al, al
jne 0x43f147
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043da24
push ebp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.0043eda0
pop ecx
test al, al
je 0x43f18f
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.00405b08
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
movzx edx, byte [ebx]
call fcn.004057f8
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
pop edx
call fcn.00405928
jmp 0x43f1ae
lea eax, [ebp - 0x54]
movzx edx, byte [ebx]
call fcn.004057f8
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x2b8]
lea eax, [ebp - 0xc]
call fcn.00405928
movzx eax, byte [ebx]
mov edx, dword [0x63a024]
movzx eax, al
bt dword [edx], eax
jae 0x43f22a
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045e79c
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x43f23c
cmp dword [ebp - 0x2c], 0x102
jne 0x43f23c
lea eax, [ebp - 0x5c]
movzx edx, byte [ebp - 0x28]
call fcn.004057f8
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
call fcn.00405928
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.0043f294
test al, al
je 0x43f23c
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045e79c
push eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PeekMessageA
mov byte [ebx], 0
jmp 0x43f23c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0043f294
test al, al
je 0x43f23c
mov byte [ebx], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f28d
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.00405634
lea eax, [ebp - 0x48]
call fcn.00405610
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00405634
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00405634
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00405634
ret