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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10191930], 1
push esi
jne 0x100772d6
cmp byte [0x1012d3fd], 1
jne 0x10077221
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [0x1012d218], edx
mov byte [0x1012d3fd], 0
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
sub edx, dword [0x1012d218]
cmp edx, 5
jbe 0x1007798b
push 0
call dword [sym.imp.MSVCR100.dll__time64]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 8
call fcn.10037cf0
call esi
mov esi, dword [sym.imp.MSVCR100.dll_rand]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [0x1012d218], edx
call esi
cdq
mov ecx, 5
idiv ecx
sub esp, 8
mov dword [ebp - 0x14], edx
fild dword [ebp - 0x14]
fadd dword [0x1012d2ac]
fsub qword [0x1009ead0]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [esp + 4]
fldz
fstp dword [esp]
call esi
cdq
mov ecx, 5
idiv ecx
push ecx
mov dword [ebp - 0x14], edx
fild dword [ebp - 0x14]
fadd dword [0x1012d2a8]
fsub qword [0x1009ead0]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [esp]
call fcn.10038220
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [0x2fb7ac4]
test edi, edi
je 0x1007798a
mov eax, dword [edi + 0x1d20]
push ebx
push 0xd71444
push eax
mov dword [ebp - 8], eax
call fcn.10006fa0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
add esp, 8
mov dword [ebp - 4], ebx
call esi
test ebx, ebx
je 0x10077943
movzx edx, word [ebx + 0x14]
fld dword [edi + 0x1f60]
lea ebx, [edi + 0x1f60]
mov dword [0x101b8d2c], eax
mov dword [ebp - 0x14], edx
call fcn.10086850
mov dword [ebp - 0x10], eax
fld dword [edi + 0x1f68]
lea eax, [edi + 0x1f68]
mov dword [ebp - 0x18], eax
call fcn.10086850
cmp dword [0x10191858], 0
mov dword [ebp - 0xc], eax
jne 0x10077643
mov eax, dword [0x1012d8f8]
cmp eax, 8
jge 0x1007737d
mov ecx, dword [edi + 0x1d44]
mov ebx, 1
mov dword [eax*4 + 0x1012d768], ecx
add dword [0x1012d8f8], ebx
jmp 0x1007748a
mov ecx, dword [0x1012d768]
mov eax, 0x1012d768
cmp dword [eax], ecx
jne 0x1007742b
add eax, 4
cmp eax, 0x1012d788
jl 0x10077388
test ecx, ecx
je 0x100773ae
cmp ecx, 0xff
je 0x100773ae
cmp ecx, 0xfe
jne 0x1007742b
mov edi, 1
cmp dword [0x1011cd2c], edi
jne 0x100773fb
fild dword [ebp - 0xc]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0x10]
fstp dword [esp]
call fcn.10037ef0
mov edx, dword [ebp - 0x14]
push 0
push edx
push 0xffffffffffffffff
call fcn.10038030
add esp, 0x14
pop ebx
pop edi
mov dword [0x1011cd2c], 2
mov dword [0x1012d8f8], 0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov dword [0x1012d3bc], eax
call esi
push 0
mov dword [0x1012d224], eax
call fcn.10072ac0
add esp, 4
pop ebx
mov dword [0x1011cd2c], edi
pop edi
mov dword [0x1012d8f8], 0
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1012d76c]
mov edx, dword [0x1012d770]
mov eax, dword [0x1012d774]
mov dword [0x1012d768], ecx
mov ecx, dword [0x1012d778]
mov dword [0x1012d76c], edx
mov edx, dword [0x1012d77c]
mov dword [0x1012d770], eax
mov eax, dword [0x1012d780]
mov dword [0x1012d774], ecx
mov ecx, dword [0x1012d784]
mov dword [0x1012d778], edx
mov dword [0x1012d77c], eax
mov dword [0x1012d780], ecx
mov dword [0x1012d8f8], 7
mov ebx, 1
cmp byte [0x1012d3fd], 1
jne 0x1007749e
mov dword [0x1011cd2c], ebx
jmp 0x100776d9
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, dword [0x1012d218]
cmp edx, 0xf
jbe 0x10077989
mov edx, dword [ebp - 4]
cmp dword [edx + 0x610], ebx
jle 0x10077989
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [0x1012d218], edx
mov edx, dword [ebp - 8]
mov dword [0x1012d3bc], edx
call esi
mov dword [0x1012d224], eax
mov al, byte [0x1012d412]
cmp dword [0x10191854], ebx
jne 0x10077570
test al, al
jne 0x10077570
mov ecx, dword [0x100eaf2c]
xor eax, eax
mov dword [0x1011d1b4], eax
mov dword [0x1011d1ac], eax
mov eax, dword [0x101a46e8]
push fcn.1005c3b0
push 0x1f4
add eax, 0x4d
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
fld dword [0x1012d2ac]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [0x1012d2a8]
fstp dword [esp]
call fcn.10038220
push 0xffff
call fcn.1006e730
push 0x100a1a7c
mov dword [0x1011cd2c], ebx
call fcn.10008130
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x10191928], ebx
jne 0x10077620
test al, al
jne 0x10077620
push 0xffff
call fcn.1006e730
mov edi, dword [sym.imp.USER32.dll_KillTimer]
add esp, 4
xor esi, esi
lea esp, [esp]
mov edx, dword [0x101a46e8]
mov ecx, dword [0x100eaf2c]
lea eax, [edx + esi + 0x44]
push eax
push ecx
call edi
add esi, ebx
cmp esi, 0xa
jl 0x100775a0
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
push 0x1003e8a0
push 0x12c
add edx, 0x4d
push edx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
fld dword [0x1012d2ac]
sub esp, 0xc
fstp dword [esp + 8]
mov dword [0x1011d1ac], 0
fldz
mov dword [0x1011cd2c], ebx
fstp dword [esp + 4]
fld dword [0x1012d2a8]
fstp dword [esp]
call fcn.10038220
push 0x100a1a74
call fcn.10008130
add esp, 0x10
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call fcn.10072ac0
fild dword [ebp - 0xc]
fstp dword [esp]
push ecx
fild dword [ebp - 0x10]
fstp dword [esp]
call fcn.10037ef0
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10a4]
fld dword [eax + 0x288]
mov edi, dword [ebp - 0x18]
sub esp, 0x10
fstp dword [esp + 0xc]
fld dword [eax + 0x280]
fstp dword [esp + 8]
fld dword [edi]
fstp dword [esp + 4]
fld dword [ebx]
fstp dword [esp]
call fcn.10008290
call fcn.10086850
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
fld dword [eax + 0x107c]
fstp dword [esp + 0xc]
fld dword [eax + 0x1074]
fstp dword [esp + 8]
fld dword [edi]
fstp dword [esp + 4]
fld dword [ebx]
fstp dword [esp]
call fcn.10008290
add esp, 0x10
call fcn.10086850
cmp eax, 0x1e
jge 0x100776c6
cmp dword [ebp - 0x18], 0x1e
jle 0x100776c6
pop ebx
pop edi
mov byte [0x1012d3fd], 1
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x1012d3fd], 1
jne 0x100776fb
mov dword [0x1011cd2c], 1
mov byte [0x1012d3fd], 0
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
pop ebx
shr edx, 6
pop edi
mov dword [0x1012d218], edx
pop esi
mov esp, ebp
pop ebp
ret
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, dword [0x1012d218]
cmp edx, 7
jb 0x10077763
cmp dword [0x1011cd2c], 1
jne 0x10077763
call esi
mov ecx, dword [0x10192e78]
mov edx, eax
mov eax, 0x10624dd3
mul edx
mov eax, dword [ebp - 0x14]
push 0
push eax
dec ecx
shr edx, 6
push ecx
mov dword [0x1012d218], edx
call fcn.10038030
mov edx, dword [0x10192e78]
dec edx
push 0x37
push edx
call fcn.10038420
add esp, 0x14
inc dword [0x1011cd2c]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, dword [0x1012d218]
cmp edx, 1
jb 0x100777d0
cmp dword [0x1011cd2c], 2
jne 0x100777d0
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov dword [0x1012d218], edx
fld dword [edi]
call fcn.10086850
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
fld dword [ebx]
call fcn.10086850
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
call fcn.10037ef0
add esp, 8
inc dword [0x1011cd2c]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, dword [0x1012d218]
cmp edx, 1
jb 0x10077989
cmp dword [0x1011cd2c], 3
jne 0x10077989
cmp dword [0x10191934], 1
jne 0x1007790e
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x10a4]
fld dword [edi + 0x280]
call fcn.10086850
mov dword [0x1012d368], eax
fld dword [edi + 0x288]
call fcn.10086850
fild dword [ebp - 0xc]
sub esp, 0x10
mov dword [0x1012d36c], eax
fstp dword [esp + 0xc]
fild dword [ebp - 0x10]
fstp dword [esp + 8]
fild dword [0x1012d36c]
fstp dword [esp + 4]
fild dword [0x1012d368]
fstp dword [esp]
call fcn.10008290
fcomp qword [0x10098be8]
add esp, 0x10
sub esp, 0xc
fnstsw ax
test ah, 1
jne 0x10077874
fld dword [0x100a1a70]
jmp 0x1007787a
fld dword [0x100a16a8]
fstp dword [esp + 8]
fild dword [0x1012d36c]
fstp dword [esp + 4]
fild dword [0x1012d368]
fstp dword [esp]
call fcn.100082e0
mov dword [ebp - 0x18], edx
fld dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x1c], eax
call fcn.10086850
fld dword [ebp - 0x1c]
mov dword [0x1012d370], eax
call fcn.10086850
mov dword [0x1012d374], eax
mov eax, dword [ebp - 8]
mov dword [0x1012d350], eax
call esi
mov ecx, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
push 0x100746d0
push 0x12c
add ecx, 0x46
push ecx
xor esi, esi
push edx
mov dword [0x1012d228], eax
mov dword [0x1012d378], esi
call dword [sym.imp.USER32.dll_SetTimer]
pop ebx
pop edi
mov dword [0x1011d1b4], esi
mov dword [0x1011d1ac], esi
mov dword [0x1011cd68], 4
pop esi
mov esp, ebp
pop ebp
ret
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [0x1012d218], edx
mov edx, dword [ebp - 8]
mov dword [0x1012d3bc], edx
call esi
push 0
mov dword [0x1012d224], eax
call fcn.10072ac0
add esp, 4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub eax, dword [0x101b8d2c]
cmp eax, 0x2710
jb 0x10077989
call esi
fld dword [edi + 0x1f68]
mov dword [0x101b8d2c], eax
call fcn.10086850
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
fld dword [edi + 0x1f60]
call fcn.10086850
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
call fcn.10037ef0
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret