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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x100ae8c8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x35ed708], 0x64
push esi
mov esi, dword [ebp + 8]
jge 0x10070091
mov edx, 0x101b883c
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10070056
mov eax, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
push 0x100455a0
push 0x3e8
add eax, 0x93
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
push ebx
mov dword [0x1012d38c], 0
mov edx, dword [0x35ed708]
push edi
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.10007980
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push esi
push 0x1009ed88
push 0x1012d4d8
call edi
mov ebx, dword [0x35ed708]
lea ecx, [ebx - 0x59da]
add esp, 0x14
cmp ecx, 0x3e5
ja 0x10070173
push esi
call fcn.10007910
add esp, 4
cmp eax, 0x59d9
jl 0x100700fb
push esi
call fcn.10007910
add esp, 4
cmp eax, 0x5dbf
jle 0x10070173
push 0x32
lea edx, [ebp - 0x38]
push 0
push edx
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0x38]
push 0x10097628
push eax
call edi
mov ecx, dword [0x101663f4]
push 0x10152788
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.10045f90
mov eax, dword [0x101663f4]
push 0x10152788
push eax
push 0x100a032c
call fcn.10045f90
add esp, 0x30
mov ecx, dword [0x101a46e4]
mov edx, dword [0x100eaf2c]
push 0x100404e0
push 0x64
add ecx, 0x93
push ecx
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
push esi
call fcn.10007910
push eax
call fcn.100454e0
push ebx
mov byte [ebp - 0x6d], al
call fcn.100454e0
add esp, 0xc
cmp al, byte [ebp - 0x6d]
je 0x100701b0
push 1
push esi
call fcn.10007910
add esp, 4
push eax
call fcn.1005a280
add esp, 8
push 0x100404e0
push 0x64
jmp 0x10070280
cmp dword [0x101971b0], 1
jne 0x10070231
push esi
call fcn.10007910
push eax
call fcn.100455d0
add esp, 8
cmp al, 1
jne 0x10070231
mov edx, dword [0x36208e4]
cmp byte [edx + 0x488c], 0
jne 0x10070231
push esi
call fcn.10007910
push esi
mov dword [0x101b8880], eax
call fcn.10007910
push eax
call fcn.1003b0a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x100eaf2c]
mov dword [0x101b8884], eax
mov eax, dword [0x101a46e4]
push 0x100432b0
push 0x3e8
add eax, 0x44
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
push 0x1012d4d8
call fcn.10006c80
add esp, 4
test eax, eax
je 0x100702a9
mov edx, dword [0x36208e4]
cmp byte [edx + 0x488c], 0
jne 0x100702a9
push esi
call fcn.10007910
push 1
push 0x1012d4d8
mov dword [0x101b8880], eax
call fcn.10006ad0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x10043350
mov dword [0x101b8884], eax
push 0x3e8
mov eax, dword [0x101a46e4]
mov ecx, dword [0x100eaf2c]
add eax, 0x93
push eax
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
mov ecx, esi
lea eax, [ebp - 0x6c]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100702d0
test dl, dl
je 0x100702cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100702d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x100702b0
xor eax, eax
jmp 0x100702d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10070324
push esi
push 0x100a0318
push 0x1011c6e8
call edi
push 0x1011c6e8
call fcn.100080a0
mov edx, dword [0x101a46e4]
mov eax, dword [0x100eaf2c]
add esp, 0x10
push 0x100404e0
push 0x64
add edx, 0x93
push edx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10086746
mov esp, ebp
pop ebp
ret
push 1
push esi
call fcn.10007910
add esp, 4
push eax
call fcn.1005a280
add esp, 8
cmp al, 1
je 0x10070141
push esi
push 0x100a02f0
push 0x1011c6e8
call edi
push 0x1011c6e8
call fcn.100080a0
push 1
push 0x100943ec
call fcn.10006ad0
mov ecx, dword [0x1011d1bc]
add esp, 0x18
call fcn.1006f0b0
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.10086746
mov esp, ebp
pop ebp
ret