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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x10191930], 1
push esi
jne 0x10077296
cmp byte [0x1012d3fd], 1
jne 0x100771e1
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 0x1007794b
push 0
call dword [sym.imp.MSVCR100.dll__time64]
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 8
call fcn.10037c70
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 [0x1009ea88]
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 [0x1009ea88]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
fstp dword [esp]
call fcn.10038190
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [0x36208e4]
test edi, edi
je 0x1007794a
mov eax, dword [edi + 0x1d24]
push ebx
push 0xaf3b24
push eax
mov dword [ebp - 8], eax
call fcn.10006f10
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 0x10077903
movzx edx, word [ebx + 0x14]
fld dword [edi + 0x1f64]
lea ebx, [edi + 0x1f64]
mov dword [0x101b8d2c], eax
mov dword [ebp - 0x14], edx
call fcn.100867b0
mov dword [ebp - 0x10], eax
fld dword [edi + 0x1f6c]
lea eax, [edi + 0x1f6c]
mov dword [ebp - 0x18], eax
call fcn.100867b0
cmp dword [0x10191858], 0
mov dword [ebp - 0xc], eax
jne 0x10077603
mov eax, dword [0x1012d8f8]
cmp eax, 8
jge 0x1007733d
mov ecx, dword [edi + 0x1d48]
mov ebx, 1
mov dword [eax*4 + 0x1012d768], ecx
add dword [0x1012d8f8], ebx
jmp 0x1007744a
mov ecx, dword [0x1012d768]
mov eax, 0x1012d768
cmp dword [eax], ecx
jne 0x100773eb
add eax, 4
cmp eax, 0x1012d788
jl 0x10077348
test ecx, ecx
je 0x1007736e
cmp ecx, 0xff
je 0x1007736e
cmp ecx, 0xfe
jne 0x100773eb
mov edi, 1
cmp dword [0x1011cd2c], edi
jne 0x100773bb
fild dword [ebp - 0xc]
sub esp, 8
fstp dword [esp + 4]
fild dword [ebp - 0x10]
fstp dword [esp]
call fcn.10037e60
mov edx, dword [ebp - 0x14]
push 0
push edx
push 0xffffffffffffffff
call fcn.10037fa0
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.10072a80
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 0x1007745e
mov dword [0x1011cd2c], ebx
jmp 0x10077699
call esi
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
sub edx, dword [0x1012d218]
cmp edx, 0xf
jbe 0x10077949
mov edx, dword [ebp - 4]
cmp dword [edx + 0x610], ebx
jle 0x10077949
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 0x10077530
test al, al
jne 0x10077530
mov ecx, dword [0x100eaf2c]
xor eax, eax
mov dword [0x1011d1b4], eax
mov dword [0x1011d1ac], eax
mov eax, dword [0x101a46e4]
push fcn.1005c380
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.10038190
push 0xffff
call fcn.1006e700
push 0x100a1a2c
mov dword [0x1011cd2c], ebx
call fcn.100080a0
add esp, 0x14
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x10191928], ebx
jne 0x100775e0
test al, al
jne 0x100775e0
push 0xffff
call fcn.1006e700
mov edi, dword [sym.imp.USER32.dll_KillTimer]
add esp, 4
xor esi, esi
lea esp, [esp]
mov edx, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
lea eax, [edx + esi + 0x44]
push eax
push ecx
call edi
add esi, ebx
cmp esi, 0xa
jl 0x10077560
mov edx, dword [0x101a46e4]
mov eax, dword [0x100eaf2c]
push 0x1003e830
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.10038190
push 0x100a1a24
call fcn.100080a0
add esp, 0x10
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
call fcn.10072a80
fild dword [ebp - 0xc]
fstp dword [esp]
push ecx
fild dword [ebp - 0x10]
fstp dword [esp]
call fcn.10037e60
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.10008200
call fcn.100867b0
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.10008200
add esp, 0x10
call fcn.100867b0
cmp eax, 0x1e
jge 0x10077686
cmp dword [ebp - 0x18], 0x1e
jle 0x10077686
pop ebx
pop edi
mov byte [0x1012d3fd], 1
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [0x1012d3fd], 1
jne 0x100776bb
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 0x10077723
cmp dword [0x1011cd2c], 1
jne 0x10077723
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.10037fa0
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 0x10077790
cmp dword [0x1011cd2c], 2
jne 0x10077790
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov dword [0x1012d218], edx
fld dword [edi]
call fcn.100867b0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
fld dword [ebx]
call fcn.100867b0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
call fcn.10037e60
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 0x10077949
cmp dword [0x1011cd2c], 3
jne 0x10077949
cmp dword [0x10191934], 1
jne 0x100778ce
mov edx, dword [ebp - 4]
mov edi, dword [edx + 0x10a4]
fld dword [edi + 0x280]
call fcn.100867b0
mov dword [0x1012d368], eax
fld dword [edi + 0x288]
call fcn.100867b0
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.10008200
fcomp qword [0x10098bc0]
add esp, 0x10
sub esp, 0xc
fnstsw ax
test ah, 1
jne 0x10077834
fld dword [0x100a1a20]
jmp 0x1007783a
fld dword [0x100a1658]
fstp dword [esp + 8]
fild dword [0x1012d36c]
fstp dword [esp + 4]
fild dword [0x1012d368]
fstp dword [esp]
call fcn.10008250
mov dword [ebp - 0x18], edx
fld dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x1c], eax
call fcn.100867b0
fld dword [ebp - 0x1c]
mov dword [0x1012d370], eax
call fcn.100867b0
mov dword [0x1012d374], eax
mov eax, dword [ebp - 8]
mov dword [0x1012d350], eax
call esi
mov ecx, dword [0x101a46e4]
mov edx, dword [0x100eaf2c]
push 0x10074690
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.10072a80
add esp, 4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
sub eax, dword [0x101b8d2c]
cmp eax, 0x2710
jb 0x10077949
call esi
fld dword [edi + 0x1f6c]
mov dword [0x101b8d2c], eax
call fcn.100867b0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
fld dword [edi + 0x1f64]
call fcn.100867b0
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
call fcn.10037e60
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret