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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push 0x10
call fcn.004740eb
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.004740eb
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0xa
push dword [ebp + 8]
call fcn.00408b24
push eax
call fcn.00408b89
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x712e1f]
push ebx
call fcn.004740f1
add esp, 4
pop eax
mov dword [0x712e1f], eax
push 0x712e1f
push 1
push 4
push 1
push 4
push 1
push 0xfffffffe
push 1
push 0xfffffffe
call fcn.00414c85
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 0x712e13
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41690e
push 1
push 0x712e1f
push 0x712e13
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov ebx, eax
push ebx
call fcn.004740f1
add esp, 4
push 1
push 1
push 0x712e13
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
jmp 0x416c2d
push 0x10
call fcn.004740eb
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x712e13
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004740f1
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004740f1
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x712e1f]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fdiv qword [0x513702]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fstp dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x712e1f]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fdiv qword [0x513702]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fstp dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x712e1f]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fdiv qword [0x513702]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fstp dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [0x712e1f]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fdiv qword [0x513702]
fstp qword [ebp - 0x2c]
fld qword [ebp - 0x2c]
fstp dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 0xa
jg 0x416bef
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fstp dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fstp dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fstp dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
fld dword [ebx]
mov ebx, dword [ebp - 0x1c]
fsub dword [ebx]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fstp dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
push 1
lea eax, [ebp - 4]
push eax
push 0x712e13
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov ebx, eax
push ebx
call fcn.004740f1
add esp, 4
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fild dword [ebp - 0xc]
fstp qword [ebp - 0x24]
fsub qword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fld qword [0x53a50f]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401055
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x416be1
mov dword [ebp - 0x10], 5
push dword [ebp - 0x10]
call fcn.00416c4b
pop ecx
jmp 0x416a80
add esp, 4
push 1
push 0x712e1f
push 0x712e13
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov ebx, eax
push ebx
call fcn.004740f1
add esp, 4
push dword [0x712e23]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [0x712e23], 0
mov ebx, dword [ebp - 4]
push ebx
call fcn.004740f1
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
call fcn.004740f1
add esp, 4
mov esp, ebp
pop ebp
ret 4