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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
test dl, dl
je 0x50da86
add esp, 0xfffffff0
call fcn.00403c58
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x532d5c]
mov eax, dword [eax]
mov eax, dword [eax + 0x36c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
xor eax, eax
mov al, byte [ebp + 0x10]
cmp eax, 0xb
ja case.0x50dab0.0
jmp dword [eax*4 + 0x50dab7]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x69], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x68], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 0xa
jmp case.0x50dab0.0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 0xa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x69], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
jmp case.0x50dab0.0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x69], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x68], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 3
jmp case.0x50dab0.0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x69], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x68], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x24]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x9c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xa0], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x50], edx
fild dword [ebp + 0x20]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x58]
wait
fild dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x60]
wait
mov eax, dword [0x5328dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x120]
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [0x5328dc]
mov edx, dword [edx]
add eax, dword [edx + 0xf0]
mov edx, dword [ebp - 4]
mov dword [edx + 0xb4], eax
mov eax, dword [0x5328dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x124]
shl eax, 5
mov edx, dword [0x5328dc]
mov edx, dword [edx]
add eax, dword [edx + 0xf4]
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0xaa
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x7c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x34]
je 0x50dd10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x9c]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x10], eax
jmp 0x50dd17
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
je 0x50dd41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa0]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x14], eax
jmp 0x50dd48
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x34]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x38]
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jle 0x50ddd4
fild dword [ebp - 0x10]
fdivr dword [0x50dee0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x9c]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402bf8
mov edx, dword [ebp - 4]
mov dword [edx + 0xa4], eax
fild dword [ebp - 0x10]
fdivr dword [0x50dee0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa0]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402bf8
mov edx, dword [ebp - 4]
mov dword [edx + 0xa8], eax
jmp 0x50de30
fild dword [ebp - 0x14]
fdivr dword [0x50dee0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x9c]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402bf8
mov edx, dword [ebp - 4]
mov dword [edx + 0xa4], eax
fild dword [ebp - 0x14]
fdivr dword [0x50dee0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa0]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402bf8
mov edx, dword [ebp - 4]
mov dword [edx + 0xa8], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 0x32
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x94], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
call fcn.005123e4
mov edx, dword [ebp - 4]
mov byte [edx + 0x30], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
mov edx, dword [ebp - 4]
mov byte [edx + 0x31], al
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x70], edx
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xbc], 0x1869f
mov eax, dword [ebp - 4]
mov dword [eax + 0xc0], 0x1869f
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x50ded5
call fcn.00403cb0
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x20