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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100ab2f8
push 0x1008690a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100ae8c8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
wait
mov dword [ebp - 4], 0
cmp dword [0x34d1968], 0
je 0x1007d050
mov ebx, dword [0x2fb6ac4]
push 0xd730a0
mov eax, dword [ebx + 0x1d20]
push eax
call fcn.10006ed0
add esp, 8
mov edi, eax
cmp dword [0x1019f4d0], 1
jne 0x1007cfbb
test edi, edi
je 0x1007cfbb
cmp edi, ebx
je 0x1007cfbb
mov eax, dword [ebx + 0x47e4]
mov cx, word [0x101c04a0]
cmp cx, word [edi + 0x14]
je 0x1007cf88
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x101c049c], eax
mov dx, word [edi + 0x14]
mov word [0x101c04a0], dx
jmp 0x1007cfc1
test eax, eax
jle 0x1007cfa2
mov byte [0x101c0498], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [0x101c049c], eax
jmp 0x1007cfc1
cmp byte [0x101c0498], 1
jne 0x1007d056
mov byte [0x101c0498], 0
call fcn.10037c50
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1019f3e8], 1
jne 0x1007d236
push 0xd730a0
mov eax, dword [ebx + 0x1d20]
push eax
call fcn.10006ed0
add esp, 8
test eax, eax
je 0x1007d152
cmp eax, ebx
je 0x1007d152
sub esp, 0x10
fld dword [0x101c04c8]
fstp dword [esp + 0xc]
fld dword [0x101c04cc]
fstp dword [esp + 8]
fld dword [eax + 0x1f68]
fstp dword [esp + 4]
fld dword [eax + 0x1f60]
fstp dword [esp]
call fcn.100081e0
add esp, 0x10
fild dword [0x1019f3f0]
fcompp
fnstsw ax
test ah, 5
jp 0x1007d152
push 8
push 0x100a1fe0
call fcn.1003ae80
push 0xffff
call fcn.1006e6c0
add esp, 0xc
wait
jmp 0x1007d7ee
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x1012d3fd], 1
jne 0x1007d078
call esi
mov dword [0x101c049c], eax
mov byte [0x1012d3fd], 0
jmp 0x1007cfc1
call esi
sub eax, dword [0x101c049c]
cmp eax, 0x1b58
jb 0x1007d0c6
push 0xa
lea eax, [ebp - 0x50]
push eax
movzx ecx, word [0x101c04a0]
push ecx
call dword [sym.imp.MSVCR100D.dll__itoa]
push 8
lea edx, [ebp - 0x50]
push edx
call fcn.1003ae80
movzx eax, word [0x101c04a0]
mov byte [eax + 0x1011d208], 1
push 0xffff
call fcn.1006e6c0
add esp, 0x18
jmp 0x1007cfc1
call esi
sub eax, dword [0x101c049c]
cmp eax, 0xfa0
jb 0x1007cfc1
call esi
sub eax, dword [0x1012d208]
cmp eax, 0xfa0
jb 0x1007d0f9
call fcn.10037c50
call esi
mov dword [0x101c049c], eax
jmp 0x1007cfc1
call esi
sub eax, dword [0x101c0494]
cmp eax, 0x12c
jbe 0x1007cfc1
call esi
mov dword [0x101c0494], eax
sub esp, 8
fld dword [ebx + 0x1f68]
fstp dword [esp + 4]
fld dword [ebx + 0x1f60]
fstp dword [esp]
call fcn.10037e40
call fcn.10037c50
push 0
movzx ecx, word [0x101c04a0]
push ecx
mov edx, dword [0x1019f4ac]
dec edx
push edx
call fcn.10037f90
add esp, 0x14
jmp 0x1007cfc1
sub esp, 0x10
fld dword [0x101c04c8]
fstp dword [esp + 0xc]
fld dword [0x101c04cc]
fstp dword [esp + 8]
fld dword [ebx + 0x1f68]
fstp dword [esp + 4]
fld dword [ebx + 0x1f60]
fstp dword [esp]
call fcn.100081e0
add esp, 0x10
fild dword [0x1019f3f0]
fcompp
fnstsw ax
test ah, 5
jnp 0x1007d1db
sub esp, 0x10
fld dword [0x101c04c8]
fstp dword [esp + 0xc]
fld dword [0x101c04cc]
fstp dword [esp + 8]
fld dword [ebx + 0x1f68]
fstp dword [esp + 4]
fld dword [ebx + 0x1f60]
fstp dword [esp]
call fcn.100081e0
add esp, 0x10
fcomp qword [0x100a0638]
fnstsw ax
test ah, 0x41
jne 0x1007d236
cmp dword [0x1019f4c8], 1
jne 0x1007d236
push fcn.1007be50
push 0x1f4
mov ecx, dword [0x101a46e8]
add ecx, 0x59
push ecx
mov edx, dword [0x100eaf2c]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x1012d416], 1
mov dword [0x1011d174], 0
push 0
push 0
push 0
push 0
call fcn.1007be50
push 8
push 0x100a1fd0
call fcn.1003ae80
add esp, 8
mov byte [0x1012d409], 0
wait
jmp 0x1007d7ee
mov eax, dword [0x2fb6ac4]
cmp dword [eax + 0x2a50], 6
jne 0x1007d27b
call esi
sub eax, dword [0x101c0490]
cmp eax, 0x12c
jbe 0x1007d27b
push 0x100956e0
call fcn.100464e0
push 0x1009edcc
call fcn.100464e0
push 0x1009edd8
call fcn.100464e0
add esp, 0xc
call esi
mov dword [0x101c0490], eax
cmp dword [0x1019f3e4], 1
jne 0x1007d60f
call esi
sub eax, dword [0x101c0428]
mov ecx, dword [0x1019f590]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jb 0x1007d2bb
cmp dword [0x1019f58c], 1
jne 0x1007d2bb
push 0xffff
call fcn.1006e6c0
add esp, 4
jmp 0x1007d4c9
test edi, edi
je 0x1007d43d
cmp edi, ebx
je 0x1007d43d
cmp dword [0x1019f3f4], 1
jne 0x1007d2f4
push edi
call fcn.1003ae70
add esp, 4
test al, al
jne 0x1007d2f4
push 0xffff
call fcn.1006e6c0
add esp, 4
wait
jmp 0x1007d7ee
push 1
push edi
call fcn.1007b540
add esp, 8
test al, al
jne 0x1007d322
push 0xffff
call fcn.1006e6c0
push 8
push 0x100a1fb4
call fcn.1003ae80
add esp, 0xc
wait
jmp 0x1007d7ee
cmp dword [0x1019f4a4], 2
jne 0x1007d3a4
call esi
sub eax, dword [0x101c048c]
cmp eax, 0x3e8
jb 0x1007d3a4
call esi
mov dword [0x101c048c], eax
call fcn.1007bab0
mov edi, eax
cmp edi, dword [ebx + 0x1d20]
je 0x1007d3a4
call fcn.10037c50
push edi
call fcn.1006e6c0
push 0xd730a0
mov edx, dword [ebx + 0x1d20]
push edx
call fcn.10006ed0
mov cx, word [eax + 0x14]
mov word [0x101c04a0], cx
add eax, 0x5258
push eax
push 0x100a1fa8
push str._s:_s
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
push 8
lea eax, [ebp - 0x80]
push eax
call fcn.1003ae80
add esp, 0x24
jmp 0x1007d758
push 0xd730a0
mov ecx, dword [ebx + 0x1d20]
push ecx
call fcn.10006ed0
fld dword [eax + 0x1f60]
fstp dword [ebp - 0x90]
fld dword [eax + 0x1f68]
fstp dword [ebp - 0x8c]
fld dword [ebp - 0x8c]
fstp dword [esp + 4]
fld dword [ebp - 0x90]
fstp dword [esp]
sub esp, 8
fld dword [ebx + 0x1f68]
fstp dword [esp + 4]
fld dword [ebx + 0x1f60]
fstp dword [esp]
call fcn.100081e0
add esp, 0x10
fcomp dword [0x1009e908]
fnstsw ax
test ah, 0x41
jne 0x1007d60f
call esi
sub eax, dword [0x101c0488]
cmp eax, 0xfa
jb 0x1007d60f
mov edx, dword [ebx + 0x1d20]
push edx
call fcn.1006e6c0
add esp, 4
call esi
mov dword [0x101c0488], eax
jmp 0x1007d60f
call fcn.1007bab0
mov edi, eax
test edi, edi
jle 0x1007d4a9
call fcn.10037c50
push edi
call fcn.1006e6c0
push 0xd730a0
mov eax, dword [ebx + 0x1d20]
push eax
call fcn.10006ed0
add esp, 0xc
mov edi, eax
call esi
mov dword [0x101c049c], eax
mov cx, word [edi + 0x14]
mov word [0x101c04a0], cx
add edi, 0x5258
push edi
push 0x100a1fa8
push str._s:_s
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
push 8
lea eax, [ebp - 0x80]
push eax
call fcn.1003ae80
add esp, 0x18
jmp 0x1007d758
cmp dword [0x1019f58c], 1
jne 0x1007d558
call esi
sub eax, dword [0x101c0428]
cmp eax, 0x7d0
jb 0x1007d558
call esi
mov dword [0x101c0428], eax
mov ecx, dword [0x101b8d5c]
dec ecx
push ecx
call fcn.1007bf50
add esp, 4
mov dword [0x101b8d5c], eax
xor edi, edi
cmp eax, edi
jl 0x1007d558
push 0x1007ce70
push 0x64
mov edx, dword [0x101a46e8]
add edx, 0x59
push edx
mov eax, dword [0x100eaf2c]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x1012d416], 1
mov dword [0x1011d174], edi
mov ecx, dword [0x101b8d5c]
push ecx
call fcn.1007bee0
mov dword [0x1012d38c], edi
mov edx, dword [0x101b8d5c]
push edx
push 0x100a1f98
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
push 8
lea ecx, [ebp - 0x30]
push ecx
call fcn.1003ae80
add esp, 0x18
mov byte [0x1012d409], 0
wait
jmp 0x1007d7ee
call esi
mov dword [0x101c049c], eax
xor edx, edx
mov word [0x101c04a0], dx
mov byte [0x1012d409], dl
cmp dword [0x1019f3e8], 1
jne 0x1007d60f
call esi
sub eax, dword [0x101c0484]
cmp eax, 0x12c
jb 0x1007d60f
call esi
mov dword [0x101c0484], eax
sub esp, 8
fld dword [ebx + 0x1f60]
fstp dword [esp + 4]
fld dword [0x101c04cc]
fstp dword [esp]
call fcn.10056030
add esp, 8
fcomp dword [0x1009e6fc]
fnstsw ax
test ah, 5
jp 0x1007d5eb
sub esp, 8
fld dword [ebx + 0x1f68]
fstp dword [esp + 4]
fld dword [0x101c04c8]
fstp dword [esp]
call fcn.10056030
add esp, 8
fcomp dword [0x1009e6fc]
fnstsw ax
test ah, 5
jnp 0x1007d60f
sub esp, 0xc
fld dword [0x101c04c8]
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [0x101c04cc]
fstp dword [esp]
call fcn.10038180
add esp, 0xc
mov eax, dword [ebx + 0x1d20]
cmp eax, 0xffff
je 0x1007d050
cmp eax, dword [ebx + 0xc]
je 0x1007d050
call esi
sub eax, dword [0x101c0480]
cmp eax, 0x12c
jbe 0x1007d050
call esi
mov dword [0x101c0480], eax
mov esi, 1
cmp dword [0x1019f3ec], esi
jne 0x1007d74e
mov eax, dword [ebx + 0x2a50]
cmp eax, 8
je 0x1007d693
cmp eax, 9
je 0x1007d693
cmp eax, 0xb
je 0x1007d693
cmp eax, 0xa
jne 0x1007d74e
call fcn.1003cb40
cmp al, 1
jne 0x1007d74e
cmp dword [0x1019f4a8], esi
sete al
mov byte [0x1012d409], al
wait
jmp 0x1007d7ee
xor edi, edi
mov dword [ebp - 0x88], edi
mov ecx, 0x101a20fc
call fcn.10001240
cmp edi, eax
jge 0x1007d74e
xor esi, esi
mov dword [ebp - 0x84], esi
cmp esi, 0x14
jge 0x1007d748
lea ecx, [ebp - 0x3c]
push ecx
push esi
call fcn.10006b70
add esp, 8
mov edx, dword [0x101a20fc]
mov ecx, dword [edx + edi*4]
lea eax, [ebp - 0x3c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007d6f7
test dl, dl
je 0x1007d6f3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007d6f7
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007d6d7
xor eax, eax
jmp 0x1007d6fc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1007d742
cmp dword [ebp - 0x24], eax
jne 0x1007d742
cmp dword [0x1019f4a8], 1
jne 0x1007d72c
mov byte [0x1012d409], 1
push 0xb
push esi
call fcn.10038380
add esp, 8
mov dword [0x100ae394], esi
wait
jmp 0x1007d7ee
push esi
call fcn.100380e0
add esp, 4
mov byte [0x1012d409], 0
wait
jmp 0x1007d7ee
inc esi
jmp 0x1007d6af
inc edi
jmp 0x1007d695
mov dword [0x100ae394], 0xffffffff
mov eax, 1
cmp dword [0x1019f4a8], eax
jne 0x1007d7af
cmp dword [0x1019f3ec], eax
jne 0x1007d7a5
push 0xd730a0
mov eax, dword [ebx + 0x1d20]
push eax
call fcn.10006ed0
add esp, 8
test eax, eax
jle 0x1007d7a5
cmp eax, ebx
je 0x1007d7a5
push 0xb
mov ecx, dword [0x1019f4ac]
dec ecx
push ecx
call fcn.10038380
add esp, 8
mov byte [0x1012d409], 1
wait
jmp 0x1007d7ee
mov byte [0x1012d409], 0
wait
jmp 0x1007d7ee
cmp dword [0x1019f3ec], eax
jne 0x1007d7e2
push 0xd730a0
mov edx, dword [ebx + 0x1d20]
push edx
call fcn.10006ed0
add esp, 8
test eax, eax
jle 0x1007d7e2
cmp eax, ebx
je 0x1007d7e2
mov eax, dword [0x1019f4ac]
dec eax
push eax
call fcn.100380e0
add esp, 4
wait
jmp 0x1007d7ee
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10086738
mov esp, ebp
pop ebp
ret