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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
test byte [eax + 0x6e1], 0x80
jne 0x68b651
mov eax, dword [ebp - 8]
test eax, eax
jbe 0x68b651
mov ecx, 0x7af380
mov edx, 0x7af400
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
call dword [ebx + 0x53c]
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x54]
mov eax, 1
call fcn.0040d0e0
call fcn.0040f290
push eax
test eax, eax
jne 0x68b627
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
fild qword [ebp - 0x68]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
fild qword [ebp - 0x70]
fdivp st(1)
fstp dword [ebp - 0x74]
fld dword [ebp - 0x74]
fstp dword [ebp - 0x60]
fld1
fstp dword [ebp - 0x74]
fld dword [ebp - 0x60]
fld dword [ebp - 0x74]
fcompp
fnstsw ax
sahf
jbe 0x68b4df
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
jmp 0x68b4e5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
fld dword [ebp - 0x5c]
fistp qword [ebp - 0x60]
wait
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov edx, 0
div dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0
jmp 0x68b5e8
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov edx, 0
div dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
add eax, edx
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
call ebx
test al, al
je 0x68b606
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
jmp 0x68b554
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x1c]
jb 0x68b54c
mov ebx, dword [ebp - 0x28]
mov ecx, 0
mov eax, dword [ebp - 0x24]
mov edx, 0
sub ebx, eax
sbb ecx, edx
mov eax, dword [ebp - 0x14]
mov edx, 0
cmp ecx, edx
jl 0x68b582
jg 0x68b592
cmp ebx, eax
ja 0x68b592
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
sub eax, edx
sub dword [ebp - 0x14], eax
dec dword [ebp - 0x18]
jmp 0x68b5a0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
test eax, eax
jbe 0x68b5dd
mov eax, dword [ebp - 0x14]
mov edx, 0
div dword [ebp - 0x18]
cmp eax, 1
jae 0x68b5dd
nop
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, 0
div dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
jbe 0x68b5dd
mov eax, dword [ebp - 0x14]
mov edx, 0
div dword [ebp - 0x18]
cmp eax, 1
jb 0x68b5b8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
sub edx, eax
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x18]
test eax, eax
jbe 0x68b606
mov eax, dword [ebp - 0x14]
test eax, eax
jbe 0x68b606
mov eax, dword [0x6e04e0]
mov al, byte [eax + 0x38]
test al, al
je 0x68b50c
mov eax, dword [0x6e04e0]
mov al, byte [eax + 0x38]
test al, al
jne 0x68b627
push dword [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, 0
mov edx, 0
mov ebx, dword [ebp - 0x30]
call ebx
call fcn.0040d3b0
mov ecx, 0x7afa00
mov edx, 0x7af380
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
call dword [ebx + 0x53c]
pop eax
test eax, eax
je 0x68b651
dec eax
test eax, eax
call fcn.0040d520
mov ebx, dword [ebp - 0x78]
leave
ret 8