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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1002b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x11dd8ee0
push esi
mov eax, dword [esi]
call dword [eax + 0xc0]
mov eax, dword [0x11dd8b7c]
test eax, eax
jne 0x1000d286
mov dword [0x11dd8b24], 7
jmp 0x1000d295
cmp eax, 1
jne 0x1000d295
mov dword [0x11dd8b24], 5
cmp dword [0x10044aa0], 0
je 0x1000d737
mov eax, dword [0x10044948]
cmp dword [eax], 0
jbe 0x1000d737
mov eax, dword [0x1004430c]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x100448d8]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x11dd8d94]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
lea ecx, [eax + edx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x1004446c]
mov ecx, dword [eax + ecx]
call fcn.10004c80
test eax, eax
jle 0x1000d737
mov ecx, esi
call fcn.1000cf20
mov dword [0x11dd8f64], eax
cmp eax, 0xffffffff
je 0x1000d737
push dword [0x11dd8b24]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.100096b0
add esp, 4
test al, al
je 0x1000d737
movq xmm0, qword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push esi
push eax
mov eax, dword [ebp - 8]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10004740
test al, al
je 0x1000d737
mov eax, dword [0x11dd8ee8]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10028f00]
mov eax, dword [0x10043a04]
add eax, 2
cdq
sub eax, edx
sar eax, 1
cvtpd2ps xmm4, xmm0
movd xmm1, eax
mov eax, dword [0x11dd8eec]
mulss xmm4, dword [0x10028250]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
subss xmm5, xmm4
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm5, xmm1
addsd xmm0, qword [eax*8 + 0x10028f00]
cvttss2si eax, dword [ebp - 0x1c]
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x24], xmm5
mulss xmm6, dword [0x10028250]
cvttss2si ecx, xmm4
subss xmm0, xmm6
divss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
cmp eax, ecx
je 0x1000d737
cvttss2si ecx, xmm6
cvttss2si eax, xmm3
cmp eax, ecx
je 0x1000d737
cmp dword [0x100443c0], 0
jne 0x1000d419
cvttss2si eax, xmm0
push 0
push 0
mov dword [0x11dd8f6c], 0x10002400
push eax
cvttss2si eax, xmm5
push eax
push 1
call fcn.10002400
cmp dword [0x100443c0], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1000d4a3
push 1
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d475
cmp byte [0x11dd9fa8], 0
je 0x1000d460
cmp dword [0x11dd9fac], 0
je 0x1000d47c
call esi
mov ecx, dword [0x11dd9fac]
inc ecx
cmp ecx, eax
ja 0x1000d47c
mov byte [0x11dd9fa8], 1
call esi
mov dword [0x11dd9fac], eax
mov eax, 1
jmp 0x1000d47e
mov byte [0x11dd9fa8], 0
xor eax, eax
test eax, eax
je 0x1000d4a3
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd8f6c], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x100443c0], 2
jne 0x1000d527
push 2
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d4f9
cmp byte [0x11dd9fb0], 0
je 0x1000d4e4
cmp dword [0x11dd9fb4], 0
je 0x1000d500
call esi
mov ecx, dword [0x11dd9fb4]
inc ecx
cmp ecx, eax
ja 0x1000d500
mov byte [0x11dd9fb0], 1
call esi
mov dword [0x11dd9fb4], eax
mov eax, 1
jmp 0x1000d502
mov byte [0x11dd9fb0], 0
xor eax, eax
test eax, eax
je 0x1000d527
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd8f6c], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x100443c0], 3
jne 0x1000d5ab
push 0x11
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d57d
cmp byte [0x11dda028], 0
je 0x1000d568
cmp dword [0x11dda02c], 0
je 0x1000d584
call esi
mov ecx, dword [0x11dda02c]
inc ecx
cmp ecx, eax
ja 0x1000d584
mov byte [0x11dda028], 1
call esi
mov dword [0x11dda02c], eax
mov eax, 1
jmp 0x1000d586
mov byte [0x11dda028], 0
xor eax, eax
test eax, eax
je 0x1000d5ab
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd8f6c], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x100443c0], 4
jne 0x1000d62f
push 0x10
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d601
cmp byte [0x11dda020], 0
je 0x1000d5ec
cmp dword [0x11dda024], 0
je 0x1000d608
call esi
mov ecx, dword [0x11dda024]
inc ecx
cmp ecx, eax
ja 0x1000d608
mov byte [0x11dda020], 1
call esi
mov dword [0x11dda024], eax
mov eax, 1
jmp 0x1000d60a
mov byte [0x11dda020], 0
xor eax, eax
test eax, eax
je 0x1000d62f
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd8f6c], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x100443c0], 5
jne 0x1000d6b3
push 0x12
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d685
cmp byte [0x11dda030], 0
je 0x1000d670
cmp dword [0x11dda034], 0
je 0x1000d68c
call esi
mov ecx, dword [0x11dda034]
inc ecx
cmp ecx, eax
ja 0x1000d68c
mov byte [0x11dda030], 1
call esi
mov dword [0x11dda034], eax
mov eax, 1
jmp 0x1000d68e
mov byte [0x11dda030], 0
xor eax, eax
test eax, eax
je 0x1000d6b3
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd8f6c], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x100443c0], 6
jne 0x1000d737
push 0x14
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d709
cmp byte [0x11dda040], 0
je 0x1000d6f4
cmp dword [0x11dda044], 0
je 0x1000d710
call esi
mov ecx, dword [0x11dda044]
inc ecx
cmp ecx, eax
ja 0x1000d710
mov byte [0x11dda040], 1
call esi
mov dword [0x11dda044], eax
mov eax, 1
jmp 0x1000d712
mov byte [0x11dda040], 0
xor eax, eax
test eax, eax
je 0x1000d737
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd8f6c], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10022a15
mov esp, ebp
pop ebp
ret