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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 0xb
je 0x4db037
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 9
je 0x4db037
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 0xd
je 0x4db037
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 0x1392
je 0x4db037
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 6
je 0x4db037
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 7
je 0x4db037
mov eax, dword [ebp - 4]
mov byte [eax + 0x214], 0
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x4dac24
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x250]
cmp dword [eax + 8], 2
jl 0x4dac24
mov eax, dword [ebp - 4]
mov byte [eax + 0x214], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1e8]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x1e0]
mov eax, dword [ebp - 4]
mov si, 0xfff8
call fcn.004043e8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1e8]
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x1e0]
mov eax, dword [ebp - 4]
mov si, 0xfff7
call fcn.004043e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x174], 0
je 0x4dafa3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1e0]
jl 0x4daca4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1e4]
jle 0x4dacb6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e0]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1e8], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
je 0x4dacf4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x118], 0
je 0x4dacf4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
fild qword [ebp - 0x1c]
fld xword [0x4db03c]
fdivp st(1)
call fcn.004033d0
mov dword [ebp - 0xc], eax
jmp 0x4dad32
mov eax, dword [ebp - 4]
cmp byte [eax + 0x214], 0
je 0x4dad26
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
add eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
fild qword [ebp - 0x1c]
fdiv dword [0x4db048]
call fcn.004033d0
mov dword [ebp - 0xc], eax
jmp 0x4dad32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x200]
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x204]
cmp eax, dword [ebp - 0xc]
jbe 0x4daf66
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x1e4]
jge 0x4dae2a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x118], 0
je 0x4dae11
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x134]
sub edx, 2
cmp eax, edx
je 0x4dad95
push ebp
call fcn.004dab24
pop ecx
test al, al
je 0x4dadd5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x138], 0
jge 0x4dadb0
push ebp
call fcn.004dab24
pop ecx
test al, al
je 0x4dae9a
mov eax, dword [ebp - 4]
inc dword [eax + 0x1e8]
mov eax, dword [ebp - 4]
inc dword [eax + 0x130]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
jmp 0x4dae9a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1e4]
dec edx
cmp eax, edx
jge 0x4dadf5
mov eax, dword [ebp - 4]
inc dword [eax + 0x1e8]
mov eax, dword [ebp - 4]
inc dword [eax + 0x130]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
jmp 0x4dae9a
mov eax, dword [ebp - 4]
inc dword [eax + 0x1e8]
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x204], eax
jmp 0x4dae9a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2f], 0
je 0x4dae3a
mov eax, dword [ebp - 4]
mov byte [eax + 0x2e], 1
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp eax, dword [ebp - 4]
jne 0x4dae79
mov eax, dword [0x4e95e4]
mov eax, dword [eax]
call fcn.0048a61c
test al, al
je 0x4dae9a
mov eax, dword [ebp - 4]
mov si, 0xfff6
call fcn.004043e8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x174], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x118], 0
jmp 0x4dae9a
mov eax, dword [ebp - 4]
mov si, 0xfff6
call fcn.004043e8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x174], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x118], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x118], 0
je 0x4daf66
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x134]
dec edx
cmp eax, edx
jne 0x4daf66
mov eax, dword [ebp - 4]
cmp dword [eax + 0x138], 0
jle 0x4daf5b
mov eax, dword [ebp - 4]
add eax, 0x138
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0xc]
push eax
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x1c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
push eax
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [0x4e9280]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
call fcn.004cd2a0
cmp byte [ebp - 0xd], 0
je 0x4daf4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d4]
call fcn.004c4298
jmp 0x4daf5b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d8]
call fcn.004c4298
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x138], edx
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x1a]
sub ax, 2
jb 0x4daf79
sub ax, 0x29
jne 0x4daf88
mov eax, dword [ebp - 4]
mov dword [eax + 0x21c], 0xfffffff6
jmp 0x4daf93
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x21c], edx
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x220], eax
jmp 0x4db00f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x22c]
cmp eax, 0xc8
jbe 0x4db00f
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jbe 0x4db003
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0x21c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x224]
jl 0x4db003
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x21c], edx
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004043e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1e8]
cmp eax, dword [ebp - 8]
je 0x4db037
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x234], eax
mov eax, dword [ebp - 4]
mov si, 0xfff3
call fcn.004043e8
pop esi
mov esp, ebp
pop ebp
ret