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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x443350]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
push edi
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x21c], eax
je 0x417740
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x417740
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x10]
test eax, eax
je 0x417656
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x2c], edi
je 0x417740
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x417683
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x14]
cmp eax, 7
jne 0x417683
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
push 7
push edi
call dword [eax + 0x18]
mov word [esp + 0x18], di
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x10]
mov edi, dword [eax]
cmp edi, eax
mov dword [esp + 0x10], edi
je 0x4177f8
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
mov edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x18]
cmp eax, 0x1388
jae 0x4176cb
lea ecx, [esp + 0x10]
call fcn.004169a0
jmp 0x417724
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
push ecx
push edx
push str._I64d
lea eax, [esp + 0x24]
push 0x7f
push eax
call ebx
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add esp, 0x14
add edx, 1
adc ecx, 0
lea eax, [esp + 0x18]
push eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x28]
push 1
mov dword [esi + 0x18], edx
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [edx + 0x34]
lea ecx, [esp + 0x10]
call fcn.004169a0
push edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0xc]
call fcn.00417080
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x10]
jne 0x4176b0
mov ecx, dword [esp + 0x21c]
call fcn.00426448
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [esp + 0x118], di
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x11a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x10]
mov edi, dword [eax]
cmp edi, eax
mov dword [esp + 0x10], edi
je 0x4177f8
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x18]
cmp eax, 0x1388
jae 0x41778c
lea ecx, [esp + 0x10]
call fcn.004169a0
jmp 0x4177eb
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
push edx
push eax
push str._I64d
lea ecx, [esp + 0x124]
push 0x7f
push ecx
call ebx
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add esp, 0x14
add edx, 1
adc ecx, 0
lea eax, [esp + 0x118]
push eax
mov dword [esi + 0x1c], ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
push 1
mov dword [esi + 0x18], edx
mov edx, dword [ecx]
push eax
mov eax, dword [esi + 0x18]
push eax
call dword [edx + 0x34]
lea ecx, [esp + 0x10]
call fcn.004169a0
push edi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0xc]
call fcn.00417080
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x10]
jne 0x417771
mov ecx, dword [esp + 0x21c]
call fcn.00426448
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret