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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10191930], 1
push esi
jne 0x10077276
cmp byte [0x1012d3fd], 1
jne 0x100771c1
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 0x1007792b
push 0
call dword [sym.imp.MSVCR100.dll__time64]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 8
call fcn.10037c50
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 [0x1009eaa8]
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 [0x1009eaa8]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [esp]
call fcn.10038180
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [0x2fb6ac4]
test edi, edi
je 0x1007792a
mov eax, dword [edi + 0x1d20]
push ebx
push 0xd70444
push eax
mov dword [ebp - 8], eax
call fcn.10006ed0
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 0x100778e3
movzx edx, word [ebx + 0x14]
fld dword [edi + 0x1f60]
lea ebx, [edi + 0x1f60]
mov dword [0x101b8d2c], eax
mov dword [ebp - 0x14], edx
call fcn.100867a0
mov dword [ebp - 0x10], eax
fld dword [edi + 0x1f68]
lea eax, [edi + 0x1f68]
mov dword [ebp - 0x18], eax
call fcn.100867a0
cmp dword [0x10191858], 0
mov dword [ebp - 0xc], eax
jne 0x100775e3
mov eax, dword [0x1012d8f8]
cmp eax, 8
jge 0x1007731d
mov ecx, dword [edi + 0x1d44]
mov ebx, 1
mov dword [eax*4 + 0x1012d768], ecx
add dword [0x1012d8f8], ebx
jmp 0x1007742a
mov ecx, dword [0x1012d768]
mov eax, 0x1012d768
cmp dword [eax], ecx
jne 0x100773cb
add eax, 4
cmp eax, 0x1012d788
jl 0x10077328
test ecx, ecx
je 0x1007734e
cmp ecx, 0xff
je 0x1007734e
cmp ecx, 0xfe
jne 0x100773cb
mov edi, 1
cmp dword [0x1011cd2c], edi
jne 0x1007739b
fild dword [ebp - 0xc]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0x10]
fstp dword [esp]
call fcn.10037e40
mov edx, dword [ebp - 0x14]
push 0
push edx
push 0xffffffffffffffff
call fcn.10037f90
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.10072a50
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 0x1007743e
mov dword [0x1011cd2c], ebx
jmp 0x10077679
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, dword [0x1012d218]
cmp edx, 0xf
jbe 0x10077929
mov edx, dword [ebp - 4]
cmp dword [edx + 0x610], ebx
jle 0x10077929
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 0x10077510
test al, al
jne 0x10077510
mov ecx, dword [0x100eaf2c]
xor eax, eax
mov dword [0x1011d1b4], eax
mov dword [0x1011d1ac], eax
mov eax, dword [0x101a46e8]
push fcn.1005c330
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.10038180
push 0xffff
call fcn.1006e6c0
push 0x100a1a54
mov dword [0x1011cd2c], ebx
call fcn.10008080
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x10191928], ebx
jne 0x100775c0
test al, al
jne 0x100775c0
push 0xffff
call fcn.1006e6c0
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 0x10077540
mov edx, dword [0x101a46e8]
mov eax, dword [0x100eaf2c]
push 0x1003e810
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.10038180
push 0x100a1a4c
call fcn.10008080
add esp, 0x10
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call fcn.10072a50
fild dword [ebp - 0xc]
fstp dword [esp]
push ecx
fild dword [ebp - 0x10]
fstp dword [esp]
call fcn.10037e40
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.100081e0
call fcn.100867a0
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.100081e0
add esp, 0x10
call fcn.100867a0
cmp eax, 0x1e
jge 0x10077666
cmp dword [ebp - 0x18], 0x1e
jle 0x10077666
pop ebx
pop edi
mov byte [0x1012d3fd], 1
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x1012d3fd], 1
jne 0x1007769b
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 0x10077703
cmp dword [0x1011cd2c], 1
jne 0x10077703
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.10037f90
mov edx, dword [0x10192e78]
dec edx
push 0x37
push edx
call fcn.10038380
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 0x10077770
cmp dword [0x1011cd2c], 2
jne 0x10077770
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov dword [0x1012d218], edx
fld dword [edi]
call fcn.100867a0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
fld dword [ebx]
call fcn.100867a0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
call fcn.10037e40
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 0x10077929
cmp dword [0x1011cd2c], 3
jne 0x10077929
cmp dword [0x10191934], 1
jne 0x100778ae
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x10a4]
fld dword [edi + 0x280]
call fcn.100867a0
mov dword [0x1012d368], eax
fld dword [edi + 0x288]
call fcn.100867a0
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.100081e0
fcomp qword [0x10098bc0]
add esp, 0x10
sub esp, 0xc
fnstsw ax
test ah, 1
jne 0x10077814
fld dword [0x100a1a48]
jmp 0x1007781a
fld dword [0x100a1680]
fstp dword [esp + 8]
fild dword [0x1012d36c]
fstp dword [esp + 4]
fild dword [0x1012d368]
fstp dword [esp]
call fcn.10008230
mov dword [ebp - 0x18], edx
fld dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x1c], eax
call fcn.100867a0
fld dword [ebp - 0x1c]
mov dword [0x1012d370], eax
call fcn.100867a0
mov dword [0x1012d374], eax
mov eax, dword [ebp - 8]
mov dword [0x1012d350], eax
call esi
mov ecx, dword [0x101a46e8]
mov edx, dword [0x100eaf2c]
push 0x10074670
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.10072a50
add esp, 4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub eax, dword [0x101b8d2c]
cmp eax, 0x2710
jb 0x10077929
call esi
fld dword [edi + 0x1f68]
mov dword [0x101b8d2c], eax
call fcn.100867a0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
fld dword [edi + 0x1f60]
call fcn.100867a0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
call fcn.10037e40
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret