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

Disassembly:
push 0x84
push 0x100a30b0
call fcn.10084100
wait
xor edi, edi
mov dword [ebp - 4], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0xe7b5d4], edi
jne 0x10079117
call esi
sub eax, dword [0x103d9f44]
cmp eax, 0x7d0
jb 0x10079117
call esi
mov dword [0x103d9f44], eax
push 1
call fcn.1003aa4d
pop ecx
cmp dword [0x34d1968], edi
jne 0x10079125
wait
jmp 0x10079a7b
mov edi, dword [0x2fb6ac4]
push 0xd730a0
push dword [edi + 0x1d20]
call fcn.1000631c
pop ecx
pop ecx
mov ebx, eax
mov dword [ebp - 0x8c], ebx
cmp dword [0x10342a50], 0
jle 0x1007916d
cmp dword [0x103b7db4], 1
jne 0x1007916d
push 0xd70444
push dword [edi + 0x1d20]
call fcn.1000631c
pop ecx
pop ecx
test eax, eax
jne 0x1007911f
cmp dword [0x103b74b0], 1
jne 0x100792bd
test ebx, ebx
je 0x100792bd
cmp ebx, edi
je 0x100792bd
mov eax, dword [edi + 0x4d14]
mov cx, word [0x103d9f40]
cmp cx, word [ebx + 0x14]
je 0x100791b3
call esi
mov dword [0x103d9f3c], eax
mov ax, word [ebx + 0x14]
mov word [0x103d9f40], ax
jmp 0x100792bd
test eax, eax
jle 0x100791c3
mov byte [0x103d9f38], 1
jmp 0x10079266
cmp byte [0x103d9f38], 1
jne 0x100791dd
mov byte [0x103d9f38], 0
call fcn.10037deb
jmp 0x100792bd
cmp byte [0x10342a77], 1
jne 0x100791f9
call esi
mov dword [0x103d9f3c], eax
mov byte [0x10342a77], 0
jmp 0x100792bd
call esi
sub eax, dword [0x103d9f3c]
cmp eax, 0x1b58
jb 0x10079244
push 0xa
lea eax, [ebp - 0x50]
push eax
movzx eax, word [0x103d9f40]
push eax
call dword [sym.imp.MSVCR100.dll__itoa]
push 8
lea eax, [ebp - 0x50]
push eax
call fcn.1003a41e
movzx eax, word [0x103d9f40]
mov byte [eax + 0x10112868], 1
push 0xffff
call fcn.1006dba0
add esp, 0x18
jmp 0x100792bd
call esi
sub eax, dword [0x103d9f3c]
mov ebx, 0xfa0
cmp eax, ebx
jb 0x100792bd
call esi
sub eax, dword [0x10162864]
cmp eax, ebx
jb 0x1007926f
call fcn.10037deb
call esi
mov dword [0x103d9f3c], eax
jmp 0x100792bd
call esi
sub eax, dword [0x103d9f34]
cmp eax, 0x12c
jbe 0x100792bd
call esi
mov dword [0x103d9f34], eax
push ecx
push ecx
fld dword [edi + 0x1f68]
fstp dword [esp + 4]
fld dword [edi + 0x1f60]
fstp dword [esp]
call fcn.10038013
call fcn.10037deb
push 0
movzx eax, word [0x103d9f40]
push eax
mov eax, dword [0x103b748c]
dec eax
push eax
call fcn.1003812b
add esp, 0x14
xor ebx, ebx
inc ebx
cmp dword [0x103b73c8], ebx
jne 0x1007941d
push 0xd730a0
push dword [edi + 0x1d20]
call fcn.1000631c
pop ecx
pop ecx
test eax, eax
je 0x10079345
cmp eax, edi
je 0x10079345
sub esp, 0x10
fld dword [0x103da0d0]
fstp dword [esp + 0xc]
fld dword [0x103da0d4]
fstp dword [esp + 8]
fld dword [eax + 0x1f68]
fstp dword [esp + 4]
fld dword [eax + 0x1f60]
fstp dword [esp]
call fcn.10006f97
add esp, 0x10
fild dword [0x103b73d0]
fcompp
fnstsw ax
test ah, 5
jp 0x10079345
push 8
push 0x1009ce80
call fcn.1003a41e
push 0xffff
call fcn.1006dba0
add esp, 0xc
jmp 0x1007911f
sub esp, 0x10
fld dword [0x103da0d0]
fstp dword [esp + 0xc]
fld dword [0x103da0d4]
fstp dword [esp + 8]
fld dword [edi + 0x1f68]
fstp dword [esp + 4]
fld dword [edi + 0x1f60]
fstp dword [esp]
call fcn.10006f97
add esp, 0x10
fild dword [0x103b73d0]
fcompp
fnstsw ax
test ah, 5
jnp 0x100793cd
sub esp, 0x10
fld dword [0x103da0d0]
fstp dword [esp + 0xc]
fld dword [0x103da0d4]
fstp dword [esp + 8]
fld dword [edi + 0x1f68]
fstp dword [esp + 4]
fld dword [edi + 0x1f60]
fstp dword [esp]
call fcn.10006f97
add esp, 0x10
fcomp qword [0x10098d10]
fnstsw ax
test ah, 0x41
jne 0x1007941d
cmp dword [0x103b74a8], ebx
jne 0x1007941d
push fcn.10078294
push 0x1f4
mov eax, dword [0x103be1c0]
add eax, 0x59
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x10342a91], 1
xor eax, eax
mov dword [0x101127c4], eax
push eax
push eax
push eax
push eax
call fcn.10078294
push 8
push 0x1009ce70
call fcn.1003a41e
pop ecx
pop ecx
mov byte [0x10342a83], 0
jmp 0x1007911f
mov eax, dword [0x2fb6ac4]
cmp dword [eax + 0x2a50], 6
jne 0x10079464
call esi
sub eax, dword [0x103d9f30]
cmp eax, 0x12c
jbe 0x10079464
push 0x1008d900
call fcn.10044dcf
mov dword [esp], 0x100992f8
call fcn.10044dcf
mov dword [esp], 0x10099304
call fcn.10044dcf
pop ecx
call esi
mov dword [0x103d9f30], eax
cmp dword [0x103b73c4], ebx
jne 0x1007982b
call esi
sub eax, dword [0x103d9ec8]
mov ecx, dword [0x103b7570]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jl 0x100794a0
cmp dword [0x103b756c], ebx
jne 0x100794a0
push 0xffff
call fcn.1006dba0
pop ecx
jmp 0x100796f9
mov ebx, dword [ebp - 0x8c]
test ebx, ebx
je 0x1007962e
cmp ebx, edi
je 0x1007962e
cmp dword [0x103b73d4], 1
jne 0x100794da
push ebx
call fcn.1003a415
pop ecx
test al, al
jne 0x100794da
push 0xffff
call fcn.1006dba0
pop ecx
jmp 0x1007911f
movzx eax, word [ebx + 0x14]
imul eax, eax, 0x1cc
cmp byte [eax + 0x333ab45], 0
je 0x10079508
push 0xffff
call fcn.1006dba0
push 8
push 0x1009ce64
call fcn.1003a41e
jmp 0x1007933d
push 1
push ebx
call fcn.100778ed
pop ecx
pop ecx
test al, al
jne 0x10079529
push 0xffff
call fcn.1006dba0
push 8
push 0x1009ce48
jmp 0x100794fe
cmp dword [0x103b7484], 2
jne 0x1007959a
call esi
sub eax, dword [0x103d9f2c]
cmp eax, 0x3e8
jb 0x1007959a
call esi
mov dword [0x103d9f2c], eax
call fcn.10077d24
mov ebx, eax
cmp ebx, dword [edi + 0x1d20]
je 0x1007959a
call fcn.10037deb
push ebx
call fcn.1006dba0
mov dword [esp], 0xd730a0
push dword [edi + 0x1d20]
call fcn.1000631c
mov ebx, eax
mov ax, word [ebx + 0x14]
mov word [0x103d9f40], ax
fld dword [ebx + 0x1f68]
fstp dword [esp + 4]
fld dword [ebx + 0x1f60]
fstp dword [esp]
push ecx
push ecx
jmp 0x10079686
push 0xd730a0
push dword [edi + 0x1d20]
call fcn.1000631c
fld dword [eax + 0x1f60]
fstp dword [ebp - 0x94]
fld dword [eax + 0x1f68]
fstp dword [ebp - 0x8c]
fld dword [ebp - 0x8c]
fstp dword [esp + 4]
fld dword [ebp - 0x94]
fstp dword [esp]
push ecx
push ecx
fld dword [edi + 0x1f68]
fstp dword [esp + 4]
fld dword [edi + 0x1f60]
fstp dword [esp]
call fcn.10006f97
add esp, 0x10
fcomp dword [0x1009ad84]
fnstsw ax
test ah, 0x41
jne 0x1007982b
call esi
sub eax, dword [0x103d9f28]
cmp eax, 0xfa
jb 0x1007982b
push dword [edi + 0x1d20]
call fcn.1006dba0
pop ecx
call esi
mov dword [0x103d9f28], eax
jmp 0x1007982b
call fcn.10077d24
mov ebx, eax
test ebx, ebx
jle 0x100796d9
call fcn.10037deb
push ebx
call fcn.1006dba0
mov dword [esp], 0xd730a0
push dword [edi + 0x1d20]
call fcn.1000631c
pop ecx
pop ecx
mov ebx, eax
call esi
mov dword [0x103d9f3c], eax
mov ax, word [ebx + 0x14]
mov word [0x103d9f40], ax
sub esp, 0x10
fld dword [ebx + 0x1f68]
fstp dword [esp + 0xc]
fld dword [ebx + 0x1f60]
fstp dword [esp + 8]
fld dword [edi + 0x1f68]
fstp dword [esp + 4]
fld dword [edi + 0x1f60]
fstp dword [esp]
call fcn.10006f97
call fcn.10083f90
push eax
add ebx, 0x5258
push ebx
push 0x1009ce40
push str._s:_s_L__d
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
push 8
lea eax, [ebp - 0x80]
push eax
call fcn.1003a41e
add esp, 0x2c
call esi
mov dword [0x103d9ec8], eax
jmp 0x100799e1
cmp dword [0x103b756c], 1
jne 0x1007977e
call esi
sub eax, dword [0x103d9ec8]
cmp eax, 0x7d0
jl 0x1007977e
call esi
sub eax, 0x186a0
mov dword [0x103d9ec8], eax
mov eax, dword [0x103d27fc]
dec eax
push eax
call fcn.1007840c
pop ecx
mov dword [0x103d27fc], eax
test eax, eax
js 0x1007977e
mov byte [0x10342a95], 0
push 0x10079053
push 0x12c
mov eax, dword [0x103be1c0]
add eax, 0x59
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [0x10342a91], 1
and dword [0x101127c4], 0
and dword [0x103429f8], 0
push dword [0x103d27fc]
push 0x1009ce24
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
push 8
lea eax, [ebp - 0x30]
push eax
call fcn.1003a41e
add esp, 0x14
jmp 0x10079411
call esi
mov dword [0x103d9f3c], eax
xor eax, eax
mov word [0x103d9f40], ax
mov byte [0x10342a83], al
cmp dword [0x103b73c8], 1
jne 0x1007982b
call esi
sub eax, dword [0x103d9f24]
cmp eax, 0x12c
jb 0x1007982b
call esi
mov dword [0x103d9f24], eax
push ecx
push ecx
fld dword [edi + 0x1f60]
fstp dword [esp + 4]
fld dword [0x103da0d4]
fstp dword [esp]
call fcn.10054981
pop ecx
pop ecx
fcomp dword [0x10098948]
fnstsw ax
test ah, 5
jp 0x10079807
push ecx
push ecx
fld dword [edi + 0x1f68]
fstp dword [esp + 4]
fld dword [0x103da0d0]
fstp dword [esp]
call fcn.10054981
pop ecx
pop ecx
fcomp dword [0x10098948]
fnstsw ax
test ah, 5
jnp 0x1007982b
sub esp, 0xc
fld dword [0x103da0d0]
fstp dword [esp + 8]
fldz
fstp dword [esp + 4]
fld dword [0x103da0d4]
fstp dword [esp]
call fcn.1003823d
add esp, 0xc
mov eax, dword [edi + 0x1d20]
cmp eax, 0xffff
je 0x1007911f
cmp eax, dword [edi + 0xc]
je 0x1007911f
call esi
sub eax, dword [0x103d9f20]
cmp eax, 0x12c
jbe 0x1007911f
call esi
mov dword [0x103d9f20], eax
xor ebx, ebx
mov dword [ebp - 0x84], ebx
cmp dword [ebp - 0x84], 0x14
jge 0x100798da
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x84]
call fcn.100060a1
push 0x1009adb4
lea eax, [ebp - 0x3c]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 0x10
test eax, eax
jne 0x100798d2
cmp dword [ebp - 0x24], ebx
jne 0x100798d2
push 0x1009ada8
call fcn.100061a6
pop ecx
test eax, eax
je 0x100798d2
mov eax, dword [0x2fb6ac4]
mov esi, dword [eax + 0x1d20]
push dword [eax + 0xc]
call fcn.1006dba0
push dword [ebp - 0x84]
call fcn.1005c58f
mov byte [0x10342a83], bl
push esi
jmp 0x10079338
inc dword [ebp - 0x84]
jmp 0x10079867
mov eax, dword [edi + 0x2a50]
cmp dword [0x103b73cc], 1
jne 0x100799da
cmp eax, 8
jne 0x1007990c
cmp dword [0x10342910], ebx
jne 0x10079907
cmp byte [0x10342a99], 1
je 0x100799da
cmp eax, 8
je 0x10079945
cmp eax, 9
je 0x10079945
cmp eax, 0xb
je 0x10079945
cmp eax, 0xd
je 0x10079945
cmp eax, 0xa
jne 0x100799da
call fcn.1005ca86
cmp al, 1
jne 0x100799da
cmp dword [0x103b7488], 1
sete al
mov byte [0x10342a83], al
jmp 0x1007911f
mov dword [ebp - 0x88], ebx
mov ecx, 0x103bb574
call fcn.10001036
cmp dword [ebp - 0x88], eax
jge 0x100799da
xor esi, esi
mov dword [ebp - 0x90], esi
cmp esi, 0x14
jge 0x100799cf
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.100060a1
mov eax, dword [0x103bb574]
mov ecx, dword [ebp - 0x88]
push dword [eax + ecx*4]
lea eax, [ebp - 0x3c]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 0x10
test eax, eax
jne 0x100799cc
cmp dword [ebp - 0x24], ebx
jne 0x100799cc
cmp dword [0x103b7488], 1
jne 0x100799bb
mov byte [0x10342a83], 1
push 0xb
push esi
call fcn.1005c63e
pop ecx
mov dword [0x100a6388], esi
jmp 0x100794d4
push esi
call fcn.1005c58f
mov byte [0x10342a83], bl
jmp 0x100794d4
inc esi
jmp 0x1007995f
inc dword [ebp - 0x88]
jmp 0x1007994b
or dword [0x100a6388], 0xffffffff
cmp dword [0x103b7488], 1
jne 0x10079a34
cmp dword [0x103b73cc], 1
jne 0x10079411
push 0xd730a0
push dword [edi + 0x1d20]
call fcn.1000631c
pop ecx
pop ecx
test eax, eax
je 0x10079411
cmp eax, edi
je 0x10079411
push 0xb
mov eax, dword [0x103b748c]
dec eax
push eax
call fcn.1005c63e
pop ecx
mov byte [0x10342a83], 1
jmp 0x100794d4
cmp dword [0x103b73cc], 1
jne 0x1007911f
push 0xd730a0
push dword [edi + 0x1d20]
call fcn.1000631c
pop ecx
pop ecx
test eax, eax
je 0x1007911f
cmp eax, edi
je 0x1007911f
mov eax, dword [0x103b748c]
dec eax
push eax
call fcn.1005c58f
jmp 0x100794d4
mov dword [ebp - 4], 0xfffffffe
call fcn.10084148
ret