Function at 0x1000d750
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 [0x10044878]
test eax, eax
jne 0x1000d786
mov dword [0x10044328], 7
jmp 0x1000d795
cmp eax, 1
jne 0x1000d795
mov dword [0x10044328], 5
cmp dword [0x100441d0], 0
je 0x1000dc35
mov eax, dword [0x10044948]
cmp dword [eax], 0
jbe 0x1000dc35
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 0x1000dc35
call fcn.10009850
mov dword [0x10044870], eax
cmp eax, 0xffffffff
je 0x1000dc35
push dword [0x10044328]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.100096b0
add esp, 4
test al, al
je 0x1000dc35
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 0x1000dc35
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 [0x1002b1a0]
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 0x1000dc35
cvttss2si ecx, xmm6
cvttss2si eax, xmm3
cmp eax, ecx
je 0x1000dc35
cmp dword [0x100443e4], 0
jne 0x1000d917
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 [0x100443e4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1000d9a1
push 1
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d973
cmp byte [0x11dd9fa8], 0
je 0x1000d95e
cmp dword [0x11dd9fac], 0
je 0x1000d97a
call esi
mov ecx, dword [0x11dd9fac]
inc ecx
cmp ecx, eax
ja 0x1000d97a
mov byte [0x11dd9fa8], 1
call esi
mov dword [0x11dd9fac], eax
mov eax, 1
jmp 0x1000d97c
mov byte [0x11dd9fa8], 0
xor eax, eax
test eax, eax
je 0x1000d9a1
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 [0x100443e4], 2
jne 0x1000da25
push 2
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000d9f7
cmp byte [0x11dd9fb0], 0
je 0x1000d9e2
cmp dword [0x11dd9fb4], 0
je 0x1000d9fe
call esi
mov ecx, dword [0x11dd9fb4]
inc ecx
cmp ecx, eax
ja 0x1000d9fe
mov byte [0x11dd9fb0], 1
call esi
mov dword [0x11dd9fb4], eax
mov eax, 1
jmp 0x1000da00
mov byte [0x11dd9fb0], 0
xor eax, eax
test eax, eax
je 0x1000da25
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 [0x100443e4], 3
jne 0x1000daa9
push 0x11
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000da7b
cmp byte [0x11dda028], 0
je 0x1000da66
cmp dword [0x11dda02c], 0
je 0x1000da82
call esi
mov ecx, dword [0x11dda02c]
inc ecx
cmp ecx, eax
ja 0x1000da82
mov byte [0x11dda028], 1
call esi
mov dword [0x11dda02c], eax
mov eax, 1
jmp 0x1000da84
mov byte [0x11dda028], 0
xor eax, eax
test eax, eax
je 0x1000daa9
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 [0x100443e4], 4
jne 0x1000db2d
push 0x10
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000daff
cmp byte [0x11dda020], 0
je 0x1000daea
cmp dword [0x11dda024], 0
je 0x1000db06
call esi
mov ecx, dword [0x11dda024]
inc ecx
cmp ecx, eax
ja 0x1000db06
mov byte [0x11dda020], 1
call esi
mov dword [0x11dda024], eax
mov eax, 1
jmp 0x1000db08
mov byte [0x11dda020], 0
xor eax, eax
test eax, eax
je 0x1000db2d
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 [0x100443e4], 5
jne 0x1000dbb1
push 0x12
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000db83
cmp byte [0x11dda030], 0
je 0x1000db6e
cmp dword [0x11dda034], 0
je 0x1000db8a
call esi
mov ecx, dword [0x11dda034]
inc ecx
cmp ecx, eax
ja 0x1000db8a
mov byte [0x11dda030], 1
call esi
mov dword [0x11dda034], eax
mov eax, 1
jmp 0x1000db8c
mov byte [0x11dda030], 0
xor eax, eax
test eax, eax
je 0x1000dbb1
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 [0x100443e4], 6
jne 0x1000dc35
push 0x14
mov dword [0x100449c4], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000dc07
cmp byte [0x11dda040], 0
je 0x1000dbf2
cmp dword [0x11dda044], 0
je 0x1000dc0e
call esi
mov ecx, dword [0x11dda044]
inc ecx
cmp ecx, eax
ja 0x1000dc0e
mov byte [0x11dda040], 1
call esi
mov dword [0x11dda044], eax
mov eax, 1
jmp 0x1000dc10
mov byte [0x11dda040], 0
xor eax, eax
test eax, eax
je 0x1000dc35
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