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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10043070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1004516f], 0
je 0x100049c1
mov ecx, dword [0x10045154]
test ecx, ecx
je 0x100049c1
movd xmm0, edx
cvtdq2ps xmm0, xmm0
push esi
mov dword [ebp - 8], 0
push 0x10
push ecx
movss dword [ebp - 0x10], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xc], xmm0
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [0x10045154]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100451dc]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10045154]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x100453f0]
mov ecx, eax
mov eax, 0x88888889
mul ecx
shr edx, 5
mov ecx, edx
mov dword [0x100453c4], edx
sub ecx, esi
cmp ecx, 0xd
jbe 0x100045e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x88888889
mul ecx
mov esi, edx
mov edx, dword [0x100453c4]
shr esi, 5
mov dword [0x100453f0], esi
mov eax, edx
sub eax, esi
jne 0x10004626
mov eax, dword [0x100453ec]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x100453ec]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100453b4]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x100453ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 1
jne 0x1000466e
mov eax, dword [0x1004524c]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x1004524c]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x1004523c]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x1004524c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 2
jne 0x100046b6
mov eax, dword [0x10045174]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x10045174]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x10045230]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10045174]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 3
jne 0x100046fe
mov eax, dword [0x10045258]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x10045258]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100453a8]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10045258]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 4
jne 0x10004746
mov eax, dword [0x10045600]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x10045600]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100451f4]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10045600]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 5
jne 0x1000478e
mov eax, dword [0x100453d4]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x100453d4]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x10045204]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x100453d4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 6
jne 0x100047d6
mov eax, dword [0x100453ac]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x100453ac]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100453b0]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x100453ac]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 7
jne 0x1000481e
mov eax, dword [0x10045224]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x10045224]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x1004519c]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10045224]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 8
jne 0x10004866
mov eax, dword [0x1004514c]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x1004514c]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x10045250]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x1004514c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 9
jne 0x100048ae
mov eax, dword [0x10045190]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x10045190]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100451bc]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10045190]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 0xa
jne 0x100048f6
mov eax, dword [0x100453dc]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x100453dc]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100453e0]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x100453dc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 0xb
jne 0x1000493e
mov eax, dword [0x1004521c]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x1004521c]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100451b0]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x1004521c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
mov eax, edx
sub eax, esi
cmp eax, 0xc
jne 0x10004986
mov eax, dword [0x10045218]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x10045218]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x10045234]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x10045218]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [0x100453c4]
mov esi, dword [0x100453f0]
sub edx, esi
pop esi
cmp edx, 0xd
jne 0x100049c1
mov eax, dword [0x100455fc]
push 0x10
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [0x100455fc]
lea edx, [ebp - 0x10]
push 0xffffffffffffffff
push edx
push 0
mov ecx, dword [eax]
push 0
push dword [0x100455f8]
push eax
call dword [ecx + 0x24]
mov eax, dword [0x100455fc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011944
mov esp, ebp
pop ebp
ret