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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x49f958
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49fcbe
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49fc8f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x49fb8f
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov edx, dword [ebp - 8]
call fcn.00411704
mov dword [ebp - 0x18], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x18]
sub eax, dword [edx + 0x18]
mov edx, dword [ebp - 0x18]
imul edx, dword [edx + 0x14], 0x3c
imul edx, edx, 0x3e8
cmp eax, edx
jbe 0x49fb83
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x18]
call fcn.00403e70
mov edx, dword [ebp - 0x30]
mov eax, dword [0x4ea490]
mov eax, dword [eax]
call fcn.004ac1fc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x49fb83
xor eax, eax
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049f118
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x1c], 0
je 0x49fa2e
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x10]
jle 0x49fae5
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0049f1bc
push ebp
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
call fcn.00403e70
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
sub ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
call fcn.0049f824
pop ecx
mov eax, dword [ebp - 4]
push dword [eax + 0x568]
push 0x49fcd4
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 4]
add edx, 4
call fcn.00403e70
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00403f8c
mov ecx, dword [ebp - 0x38]
mov eax, dword [0x4ea6b8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0048c748
mov eax, dword [ebp - 4]
push dword [eax + 0x568]
push 0x49fcd4
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 4]
add edx, 4
call fcn.00403e70
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403f8c
mov ecx, dword [ebp - 0x40]
mov eax, dword [0x4ea6b8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0048ca64
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
cmp eax, dword [ebp - 0x10]
jge 0x49fb83
push ebp
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
sub edx, dword [eax + 0x10]
lea eax, [ebp - 0x1c]
call fcn.0049f8f8
pop ecx
mov eax, dword [ebp - 4]
push dword [eax + 0x568]
push 0x49fcd4
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 4]
add edx, 4
call fcn.00403e70
push dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00403f8c
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4ea6b8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0048c748
mov eax, dword [ebp - 4]
push dword [eax + 0x568]
push 0x49fcd4
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
add edx, 4
call fcn.00403e70
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403f8c
mov ecx, dword [ebp - 0x50]
mov eax, dword [0x4ea6b8]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.0048ca64
inc dword [ebp - 8]
dec dword [ebp - 0x28]
jne 0x49f9a1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x49fc85
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x588]
mov edx, dword [ebp - 8]
call fcn.00411704
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0x3e8
jle 0x49fc79
mov byte [ebp - 0x21], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x49fc45
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x584]
mov edx, dword [ebp - 0xc]
call fcn.00411704
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x18]
call fcn.00403e70
mov edx, dword [ebp - 0x58]
mov eax, dword [0x4ea490]
mov eax, dword [eax]
call fcn.004ac1fc
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00411704
movzx eax, word [eax + 4]
cmp eax, dword [ebp - 0x14]
jne 0x49fc3d
mov byte [ebp - 0x21], 1
jmp 0x49fc45
inc dword [ebp - 0xc]
dec dword [ebp - 0x2c]
jne 0x49fbf3
cmp byte [ebp - 0x21], 0
jne 0x49fc63
push ebp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 8]
sub edx, 0x3e8
lea eax, [ebp - 0x20]
call fcn.0049f8f8
pop ecx
jmp 0x49fc79
push ebp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 8]
sub edx, 0x1388
lea eax, [ebp - 0x20]
call fcn.0049f8f8
pop ecx
inc dword [ebp - 8]
dec dword [ebp - 0x28]
jne 0x49fbaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49fca3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fcc5
lea eax, [ebp - 0x58]
mov edx, 0xb
call fcn.00403c70
ret