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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3adbd], 0
je 0x6ad8cf
test cl, cl
je 0x6ad16d
mov eax, dword [ebp - 4]
call fcn.0046e0d4
jmp 0x6ad8cf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3ae16], 0
je 0x6ad8cf
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3ae17], 0
jne 0x6ad51a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3ad58], 0xffffffff
je 0x6ad8cf
mov eax, dword [ebp - 4]
mov byte [eax + 0x3ad4c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ad58]
sub eax, dword [ebp + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jl 0x6ad1d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ad5c]
sub eax, dword [ebp + 8]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jge 0x6ad1fb
lea ecx, [ebp - 0x34]
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041d20c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x3ad60], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x3ad64], edx
jmp 0x6ad8cf
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.006aab8c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x3ad60], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x3ad64], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3ad70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ad68]
call fcn.00432720
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3ad74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ad6c]
call fcn.00432720
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3ad70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ad68]
call fcn.0043280c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3ad74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ad6c]
call fcn.0043280c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
lea edi, [eax + 0x3ae28]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
mov byte [eax + 0x3ae17], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adc8]
test eax, eax
je 0x6ad443
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
push ebp
push 0x6ad43c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
call fcn.0042b4e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov eax, dword [eax + 0x10]
mov dl, 0xe
call fcn.0042ad48
mov cl, 0xff
mov dl, 0xff
xor eax, eax
call fcn.00408800
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov eax, dword [eax + 0x10]
pop edx
call fcn.0042ac68
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0042b084
mov eax, dword [ebp - 4]
cmp byte [eax + 0x374], 0
je 0x6ad38e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov eax, dword [eax + 0x10]
mov edx, 3
call fcn.0042ad94
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x3ad68
call fcn.00822b30
mov eax, dword [ebp - 0x24]
inc eax
push eax
mov eax, dword [ebp - 0x20]
inc eax
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0042b5dc
jmp 0x6ad3dc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.0042ad94
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x3ad68
call fcn.00822b30
mov eax, dword [ebp - 0x24]
inc eax
push eax
mov eax, dword [ebp - 0x20]
inc eax
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
call fcn.0042b5dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ad443
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0042b084
mov eax, dword [ebp - 4]
cmp byte [eax + 0x374], 0
je 0x6ad428
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.0042ad94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3adcc]
call fcn.0043051c
call fcn.0042b900
ret
call sub.kernel32.dll_GetTickCount
xor edx, edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3ae18], eax
mov dword [ecx + 0x3ae1c], edx
xor eax, eax
push ebp
push 0x6ad4b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f4]
xor edx, edx
call fcn.0044f6d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.0044f6d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
xor edx, edx
call fcn.0044f6d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
xor edx, edx
call fcn.0044f6d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6ad4bb
xor eax, eax
push ebp
push 0x6ad50b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
call fcn.0081beb4
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.0044f2e8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov cl, byte [0x6ad8d8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
call fcn.006aaab4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6ad8cf
test edx, edx
je 0x6ad8cf
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3ae1c]
mov eax, dword [eax + 0x3ae18]
push edx
push eax
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
test edx, edx
jge 0x6ad54e
neg eax
adc edx, 0
neg edx
cmp edx, 0
jne 0x6ad55f
cmp eax, 0x12c
jae 0x6ad565
jmp 0x6ad8cf
jl 0x6ad8cf
lea eax, [ebp - 0x34]
call fcn.0081beb4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x3ae20], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x3ae24], edx
lea edx, [ebp - 0x44]
mov eax, dword [0x8400a8]
mov eax, dword [eax]
call fcn.0047023c
mov eax, dword [ebp - 0x44]
inc eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3ae20]
call fcn.0043280c
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x8400a8]
mov eax, dword [eax]
call fcn.0047023c
mov eax, dword [ebp - 0x3c]
dec eax
pop edx
call fcn.00432720
mov edx, dword [ebp - 4]
mov dword [edx + 0x3ae20], eax
lea edx, [ebp - 0x44]
mov eax, dword [0x8400a8]
mov eax, dword [eax]
call fcn.0047023c
mov eax, dword [ebp - 0x40]
inc eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3ae24]
call fcn.0043280c
push eax
lea edx, [ebp - 0x44]
mov eax, dword [0x8400a8]
mov eax, dword [eax]
call fcn.0047023c
mov eax, dword [ebp - 0x38]
dec eax
pop edx
call fcn.00432720
mov edx, dword [ebp - 4]
mov dword [edx + 0x3ae24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
cmp dword [eax + 0x30], 0
jbe 0x6ad620
xor edx, edx
call fcn.0044270c
mov eax, dword [ebp - 4]
call fcn.0046e274
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x3ae24]
mov eax, esi
inc eax
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3ae20]
mov ecx, ebx
inc ecx
mov edx, esi
dec edx
mov eax, ebx
dec eax
call fcn.0041d234
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x44]
lea edi, [eax + 0x3ae40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
push ebp
push 0x6ad7ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x3ade1], 1
mov eax, dword [ebp - 4]
call fcn.006aabe0
mov dl, 1
mov eax, dword [0x810798]
call fcn.00403d80
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x388], ebx
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x35], 0
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 4]
lea esi, [eax + 0x3ae28]
lea edi, [ebx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3ae30]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x3ae28]
inc eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3ae34]
mov ecx, dword [ebp - 4]
sub edx, dword [ecx + 0x3ae2c]
inc edx
imul edx
cdq
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
xor eax, eax
push ebp
push 0x6ad74f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.006acc74
xor eax, eax
push ebp
push 0x6ad73e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x83f380]
mov eax, dword [eax]
mov byte [eax + 0x74c], 0
mov eax, dword [ebp - 4]
call fcn.006ab22c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6ad745
mov eax, dword [0x83f380]
mov eax, dword [eax]
mov byte [eax + 0x74c], 1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc