Function at 0x1002ad60
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100ef018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1085b0bc], 0
push ebx
push esi
push edi
je 0x1002bedf
xor eax, eax
cmp dword [0x1085af74], 0xffffffff
setne al
cmp dword [0x1085afb0], 0xffffffff
lea ecx, [eax + 1]
cmove ecx, eax
cmp dword [0x1085afec], 0xffffffff
lea eax, [ecx + 1]
cmove eax, ecx
cmp dword [0x1085b028], 0xffffffff
lea ecx, [eax + 1]
cmove ecx, eax
cmp dword [0x1085b064], 0xffffffff
lea eax, [ecx + 1]
cmove eax, ecx
test eax, eax
jne 0x1002ade4
mov dword [0x1085b0bc], eax
mov dword [0x1085b0c0], eax
mov dword [0x1085b0c8], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1085b0c8]
mov eax, ecx
shl eax, 4
sub eax, ecx
cmp dword [eax*4 + 0x1085af74], 0xffffffff
jne 0x1002ae26
lea eax, [ecx - 1]
mov dword [0x1085b0c8], eax
test eax, eax
jns 0x1002bedf
mov dword [0x1085b0c8], 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b7755
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1085b0c4]
test eax, eax
jle 0x1002ae53
add eax, 0xffffffff
mov dword [0x1085b0c4], eax
jne 0x1002ae53
mov dword [0x1085b0bc], 0
mov dword [0xe8cb3c], 0
mov ecx, dword [0x1085b0c8]
movss xmm3, dword [0x100e7504]
mov eax, ecx
shl eax, 4
sub eax, ecx
movss dword [0x1085b0cc], xmm3
mov eax, dword [eax*4 + 0x1085afa0]
cmp eax, 3
jle 0x1002ae9d
add eax, 0xfffffffd
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x100e7060]
addsd xmm0, qword [0x100e71d0]
cvtpd2ps xmm3, xmm0
movss dword [0x1085b0cc], xmm3
cmp dword [0x1085af70], 0
xorps xmm6, xmm6
movss dword [ebp - 0x30], xmm6
je 0x1002afd9
mov edx, dword [0x879340c]
cmp edx, 0x280
je 0x1002af6f
sub edx, dword [0x1085b0b4]
test edx, edx
jle 0x1002af6f
movss xmm2, dword [0xe7c3d4]
xor ecx, ecx
movss xmm4, dword [0x100e6e30]
comiss xmm4, xmm2
setae cl
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x1002aeff
movaps xmm1, xmm2
jmp 0x1002af07
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100e75c0]
movss xmm5, dword [0x100e7860]
movd xmm7, edx
movaps xmm0, xmm5
divss xmm1, xmm2
cvtdq2ps xmm7, xmm7
subss xmm0, xmm1
comiss xmm7, xmm0
jbe 0x1002af65
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x1002af43
movaps xmm0, xmm2
jmp 0x1002af4b
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e75c0]
divss xmm0, xmm2
subss xmm5, xmm0
movss dword [0x1085b0ac], xmm5
jmp 0x1002af81
movss dword [0x1085b0ac], xmm7
jmp 0x1002af81
movss xmm4, dword [0x100e6e30]
mov dword [0x1085b0ac], 0
mov eax, dword [0x8793410]
cmp eax, 0x1e0
je 0x1002afc7
sub eax, dword [0x1085b0b8]
cmp eax, 4
jle 0x1002afc7
movss xmm1, dword [0x100e77e4]
movd xmm0, eax
subss xmm1, xmm3
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002afba
movss dword [0x1085b0b0], xmm1
jmp 0x1002afe9
movaps xmm1, xmm0
movss dword [0x1085b0b0], xmm1
jmp 0x1002afe9
movss xmm1, dword [0x100e7378]
movss dword [0x1085b0b0], xmm1
jmp 0x1002afe9
movss xmm1, dword [0x1085b0b0]
movss xmm4, dword [0x100e6e30]
cmp dword [0x102bb4bc], 0
mov ecx, 0x790b10
jne 0x1002b0bc
movss xmm5, dword [0xe7c3d4]
xor eax, eax
comiss xmm4, xmm5
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x1002b020
movaps xmm2, xmm5
jmp 0x1002b028
movss xmm2, dword [0xe7c3d8]
mulss xmm2, dword [0x100e75d0]
movaps xmm0, xmm5
mulss xmm0, dword [0x1085b0ac]
divss xmm2, xmm5
divss xmm0, xmm5
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm0
push eax
call ecx
add esp, 0x10
cmp al, 1
jne 0x1002b0bc
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1002b0bc
cmp dword [0x1085af70], 0
jne 0x1002b0b0
movd xmm0, dword [0x879340c]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x1085b0ac]
cvttss2si eax, xmm0
mov dword [0x1085b0b4], eax
movd xmm0, dword [0x8793410]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x1085b0b0]
cvttss2si eax, xmm0
mov dword [0x1085b0b8], eax
mov dword [0x1085af70], 1
jmp 0x1002b0c6
mov dword [0x1085af70], 0
movss xmm0, dword [0x1085b0ac]
sub esp, 0x10
mulss xmm0, dword [0xe7c3d4]
mov ebx, dword [sym.imp.OPENGL32.dll_glColor4f]
mov dword [esp + 0xc], 0x3f666666
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
movss dword [ebp - 0x28], xmm0
mov dword [esp], 0x3f800000
call ebx
movss xmm0, dword [0x100e6e30]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
comiss xmm0, xmm2
xorps xmm0, xmm0
setae al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1002b135
movaps xmm3, xmm2
jmp 0x1002b13d
movss xmm3, dword [0xe7c3d8]
mulss xmm3, dword [0x100e75d0]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1002b157
movaps xmm1, xmm2
addss xmm1, xmm2
jmp 0x1002b163
movss xmm1, dword [0xe7c3d8]
addss xmm1, xmm1
movss xmm0, dword [0x1085b0cc]
mov eax, 0x637c60
divss xmm3, xmm2
push 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f7851ec
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x1085b0b0]
movss dword [esp + 8], xmm3
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
subss xmm0, xmm1
divss xmm0, xmm2
movss dword [esp], xmm0
push 0xf078
call eax
add esp, 0x20
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call ebx
movss xmm0, dword [0x100e6e30]
xor eax, eax
movss xmm1, dword [0xe7c3d4]
xorps xmm2, xmm2
comiss xmm0, xmm1
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1002b224
movaps xmm0, xmm1
jmp 0x1002b22c
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e75d0]
mov ecx, dword [0x1085b0c8]
shl ecx, 4
sub ecx, dword [0x1085b0c8]
divss xmm0, xmm1
lea eax, [ecx*4 + 0x1085af78]
push eax
push 3
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x28]
divss xmm0, xmm1
push eax
cvttss2si eax, dword [0x1085b0b0]
add eax, 7
push eax
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10297260
call fcn.1006a050
movss xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100e6e30]
add esp, 0x1c
comiss xmm0, xmm2
xorps xmm3, xmm3
setae al
movd xmm5, eax
cvtdq2ps xmm5, xmm5
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jnp 0x1002b2b2
movaps xmm1, xmm2
jmp 0x1002b2ba
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100e7598]
movss xmm0, dword [0x1085b0b0]
cvtps2pd xmm0, xmm0
addss xmm1, dword [ebp - 0x28]
addsd xmm0, qword [0x100e7018]
ucomiss xmm5, xmm3
divss xmm1, xmm2
cvtpd2ps xmm4, xmm0
lahf
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x3c], xmm4
test ah, 0x44
jnp 0x1002b2fa
movaps xmm0, xmm2
jmp 0x1002b302
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73b0]
mov eax, 0x790b10
push 7
cvttss2si edi, xmm4
divss xmm0, xmm2
cvttss2si ebx, xmm1
cvttss2si esi, xmm0
movss dword [ebp - 0x2c], xmm0
push esi
push edi
push ebx
call eax
add esp, 0x10
test al, al
je 0x1002b3aa
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1002b3aa
movss xmm0, dword [ebp - 0x2c]
mov eax, 0x637c60
push 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3e222378
mov dword [esp + 0x18], 0x3f29dda9
mov dword [esp + 0x14], 0x3ea8f5c3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x40e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push 0xf072
call eax
mov dword [0x1085b0c4], 5
jmp 0x1002b424
push 7
push esi
push edi
push ebx
mov eax, 0x790b10
call eax
movss xmm0, dword [ebp - 0x2c]
add esp, 0x10
push 0
push 1
push 1
sub esp, 0x20
test al, al
mov eax, 0x637c60
mov dword [esp + 0x1c], 0x3e222378
mov dword [esp + 0x18], 0x3f29dda9
je 0x1002b3ea
mov dword [esp + 0x14], 0x3e28f5c3
jmp 0x1002b3f2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x40e00000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp], xmm0
push 0xf072
call eax
movss xmm1, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100e6e30]
add esp, 0x30
comiss xmm0, xmm1
xorps xmm2, xmm2
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1002b457
movaps xmm0, xmm1
jmp 0x1002b45f
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e7580]
movss xmm4, dword [ebp - 0x28]
ucomiss xmm3, xmm2
addss xmm0, xmm4
lahf
divss xmm0, xmm1
cvttss2si ebx, xmm0
test ah, 0x44
jnp 0x1002b486
movaps xmm0, xmm1
jmp 0x1002b48e
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73a8]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
addss xmm0, xmm4
divss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x1085b0b0]
addss xmm0, dword [0x100e73e4]
mov dword [ebp - 0x34], eax
xor eax, eax
cmp dword [0x1085af74], 0xffffffff
setne al
cmp dword [0x1085afb0], 0xffffffff
cvttss2si edi, xmm0
lea ecx, [eax + 1]
cmove ecx, eax
cmp dword [0x1085afec], 0xffffffff
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], edi
cmove eax, ecx
cmp dword [0x1085b028], 0xffffffff
lea ecx, [eax + 1]
cmove ecx, eax
cmp dword [0x1085b064], 0xffffffff
lea eax, [ecx + 1]
cmove eax, ecx
dec eax
cmp dword [0x1085b0c8], eax
jge 0x1002b6fa
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1002b51d
movaps xmm0, xmm1
jmp 0x1002b525
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73d0]
add edi, 2
push 0xf
divss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push edi
push ebx
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1002b653
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3d00346e
mov dword [esp + 4], 0x3f1c985f
mov dword [esp], 0x3f72f1aa
call dword [sym.imp.OPENGL32.dll_glColor4f]
movss xmm0, dword [0x100e6e30]
xor eax, eax
movss xmm1, dword [0xe7c3d4]
comiss xmm0, xmm1
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x100e6c50]
lahf
test ah, 0x44
jnp 0x1002b5a8
movaps xmm0, xmm1
jmp 0x1002b5b0
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73d0]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f19999a
mov dword [esp + 0x18], 0x3f3ae148
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
movss dword [esp + 8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7903
call eax
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1002b6f7
call esi
sub eax, dword [0x1085af68]
cmp eax, 0xc8
jbe 0x1002b6f7
inc dword [0x1085b0c8]
call esi
mov dword [0x1085af68], eax
jmp 0x1002b6f7
movss xmm0, dword [0x100e6e30]
xor eax, eax
movss xmm1, dword [0xe7c3d4]
comiss xmm0, xmm1
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x100e6c50]
lahf
test ah, 0x44
jnp 0x1002b684
movaps xmm0, xmm1
jmp 0x1002b68c
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73d0]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f19999a
mov dword [esp + 0x18], 0x3f3ae148
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
movss dword [esp + 8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7903
call eax
add esp, 0x30
mov edi, dword [ebp - 0x2c]
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
cmp dword [0x1085b0c8], 0
jle 0x1002b93a
movss xmm0, dword [0x100e6e30]
xor eax, eax
movss xmm1, dword [0xe7c3d4]
comiss xmm0, xmm1
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x100e6c50]
lahf
test ah, 0x44
jnp 0x1002b760
movaps xmm0, xmm1
jmp 0x1002b768
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73c4]
mov ebx, dword [ebp - 0x34]
push 0xf
divss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push edi
push ebx
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1002b896
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3d00346e
mov dword [esp + 4], 0x3f1c985f
mov dword [esp], 0x3f72f1aa
call dword [sym.imp.OPENGL32.dll_glColor4f]
movss xmm0, dword [0x100e6e30]
xor eax, eax
movss xmm1, dword [0xe7c3d4]
comiss xmm0, xmm1
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x100e6c50]
lahf
test ah, 0x44
jnp 0x1002b7eb
movaps xmm0, xmm1
jmp 0x1002b7f3
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73c4]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f19999a
mov dword [esp + 0x18], 0x3f19999a
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
movss dword [esp + 8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7904
call eax
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1002b93a
call esi
sub eax, dword [0x1085af68]
cmp eax, 0xc8
jbe 0x1002b93a
dec dword [0x1085b0c8]
call esi
mov dword [0x1085af68], eax
jmp 0x1002b93a
movss xmm0, dword [0x100e6e30]
xor eax, eax
movss xmm1, dword [0xe7c3d4]
comiss xmm0, xmm1
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x100e6c50]
lahf
test ah, 0x44
jnp 0x1002b8c7
movaps xmm0, xmm1
jmp 0x1002b8cf
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100e73c4]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f19999a
mov dword [esp + 0x18], 0x3f19999a
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41700000
movss dword [esp + 8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x7904
call eax
add esp, 0x30
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [sym.imp.OPENGL32.dll_glColor4f]
mov ecx, dword [0x1085b0c8]
mov eax, 0x91a2b3c5
shl ecx, 4
mov edi, 0x3c
sub ecx, dword [0x1085b0c8]
mov ebx, dword [ecx*4 + 0x1085af98]
imul ebx
mov eax, 0x88888889
add edx, ebx
sar edx, 0xb
mov esi, edx
shr esi, 0x1f
add esi, edx
imul ebx
add edx, ebx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov dword [ebp - 0x34], edx
shl eax, 2
sub ebx, eax
lea eax, [ebp - 0x24]
push ebx
push edx
push esi
push str.__02d:_02d:_02d_
push eax
call edi
add esp, 0x14
cmp esi, 0x17
jle 0x1002ba00
mov eax, 0x2aaaaaab
mov ecx, 0x101a8848
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push 0x84
call fcn.1003fea0
push eax
lea eax, [ebp - 0x24]
push eax
call edi
add esp, 0xc
jmp 0x1002ba13
push ebx
push dword [ebp - 0x34]
lea eax, [ebp - 0x24]
push esi
push str.__02d:_02d:_02d_
push eax
call edi
add esp, 0x14
mov ecx, dword [0x1085b0c8]
xor eax, eax
movss xmm3, dword [0xe7c3d4]
movss xmm0, dword [0x100e6e30]
shl ecx, 4
sub ecx, dword [0x1085b0c8]
cmp dword [ecx*4 + 0x1085af98], 0xb4
jge 0x1002ba74
comiss xmm0, xmm3
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, dword [0x100e6c50]
lahf
test ah, 0x44
jnp 0x1002ba65
movaps xmm1, xmm3
mov ecx, 0xff2d5fe1
jmp 0x1002ba9d
movss xmm1, dword [0xe7c3d8]
mov ecx, 0xff2d5fe1
jmp 0x1002ba9d
comiss xmm0, xmm3
xorps xmm2, xmm2
movaps xmm1, xmm3
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x1002ba98
movss xmm1, dword [0xe7c3d8]
mov ecx, 0xff8be100
mulss xmm1, dword [0x100e75d0]
lea eax, [ebp - 0x24]
push eax
movss xmm2, dword [ebp - 0x28]
movss xmm0, dword [0x1085b0b0]
divss xmm1, xmm3
push 3
divss xmm2, xmm3
cvtps2pd xmm0, xmm0
cvttss2si eax, xmm1
addsd xmm0, qword [0x100e70b0]
push eax
cvttsd2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
push ecx
push 0x10297260
call fcn.1006a050
mov ecx, dword [0x1085b0c8]
add esp, 0x1c
mov eax, ecx
shl eax, 4
sub eax, ecx
mov esi, dword [eax*4 + 0x1085afa4]
cmp esi, dword [eax*4 + 0x1085afa8]
je 0x1002bedf
xorps xmm0, xmm0
nop dword [eax]
cmp dword [esi + 0xc], 0
jle 0x1002bc55
mov edi, dword [esi]
mov eax, ecx
shl eax, 4
sub eax, ecx
cmp edi, dword [eax*4 + 0x1085af9c]
jne 0x1002bb85
cmp dword [0x102bc1a0], 1
jne 0x1002bb59
mov ebx, dword [0x101d8ee4]
xor ecx, ecx
inc ebx
test ebx, ebx
jle 0x1002bb59
mov edx, 0x101da408
movzx eax, word [edx]
cmp edi, eax
je 0x1002bb72
inc ecx
add edx, 0xbc
cmp ecx, ebx
jl 0x1002bb47
push edi
mov eax, 0x590dd0
call eax
movss xmm0, dword [ebp - 0x30]
add esp, 4
mov ecx, eax
mov edx, 0xff19bdff
jmp 0x1002bbcd
imul ecx, ecx, 0xbc
mov edx, 0xff19bdff
add ecx, 0x101da40b
jmp 0x1002bbcd
cmp dword [0x102bc1a0], 1
jne 0x1002bbb6
mov ebx, dword [0x101d8ee4]
xor ecx, ecx
inc ebx
test ebx, ebx
jle 0x1002bbb6
mov edx, 0x101da408
movzx eax, word [edx]
cmp edi, eax
je 0x1002bc44
inc ecx
add edx, 0xbc
cmp ecx, ebx
jl 0x1002bba0
push edi
mov eax, 0x590dd0
call eax
movss xmm0, dword [ebp - 0x30]
add esp, 4
mov ecx, eax
mov edx, 0xdcd3d3d3
movss xmm4, dword [0x1085b0b0]
xorps xmm2, xmm2
movss xmm5, dword [ebp - 0x28]
mov eax, 0xe7c3d4
cvtps2pd xmm4, xmm4
movss xmm3, dword [eax]
addsd xmm4, qword [0x100e7110]
cvtss2sd xmm2, xmm0
movss xmm0, dword [0x100e75d0]
divss xmm5, xmm3
movsd qword [ebp - 0x38], xmm2
addsd xmm4, xmm2
call fcn.100b56a0
divss xmm0, xmm3
mov eax, dword [esi + 0xc]
push eax
push ecx
push str.___s_s____d_s_
push 1
cvttss2si eax, xmm0
push eax
cvttsd2si eax, xmm4
push eax
cvttss2si eax, xmm5
add eax, 0xa
push eax
push edx
push 0x10297260
call fcn.1006a050
add esp, 0x24
jmp 0x1002beac
imul ecx, ecx, 0xbc
add ecx, 0x101da40b
jmp 0x1002bbc8
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jl 0x1002bd1d
cmp dword [0x102bc1a0], 1
mov ebx, dword [esi]
jne 0x1002bc96
mov edi, dword [0x101d8ee4]
xor ecx, ecx
inc edi
test edi, edi
jle 0x1002bc96
mov edx, 0x101da408
nop
movzx eax, word [edx]
cmp ebx, eax
je 0x1002bd0f
inc ecx
add edx, 0xbc
cmp ecx, edi
jl 0x1002bc80
push ebx
mov eax, 0x590dd0
call eax
add esp, 4
mov ecx, eax
movss xmm0, dword [0x100e75d0]
call fcn.100b56a0
mov eax, 0xe7c3d4
movss xmm2, dword [ebp - 0x30]
push dword [esi + 8]
cvtps2pd xmm2, xmm2
movss xmm1, dword [eax]
divss xmm0, xmm1
push dword [esi + 4]
cvttss2si eax, xmm0
push ecx
push str.___s_s____d__d_
push 1
movss xmm0, dword [0x1085b0b0]
cvtps2pd xmm0, xmm0
push eax
addsd xmm0, qword [0x100e7110]
addsd xmm0, xmm2
cvttsd2si eax, xmm0
movss xmm0, dword [ebp - 0x28]
divss xmm0, xmm1
push eax
cvttss2si eax, xmm0
add eax, 0xa
push eax
push 0xff8be100
jmp 0x1002be9a
imul ecx, ecx, 0xbc
add ecx, 0x101da40b
jmp 0x1002bca3
mov edi, dword [esi]
mov eax, ecx
shl eax, 4
sub eax, ecx
cmp edi, dword [eax*4 + 0x1085af9c]
jne 0x1002bded
cmp dword [0x102bc1a0], 1
jne 0x1002bd66
mov ebx, dword [0x101d8ee4]
xor ecx, ecx
inc ebx
test ebx, ebx
jle 0x1002bd66
mov edx, 0x101da408
nop
movzx eax, word [edx]
cmp edi, eax
je 0x1002bddf
inc ecx
add edx, 0xbc
cmp ecx, ebx
jl 0x1002bd50
push edi
mov eax, 0x590dd0
call eax
add esp, 4
mov ecx, eax
movss xmm0, dword [0x100e75d0]
call fcn.100b56a0
mov eax, 0xe7c3d4
movss xmm2, dword [ebp - 0x30]
push dword [esi + 8]
cvtps2pd xmm2, xmm2
movss xmm1, dword [eax]
divss xmm0, xmm1
push dword [esi + 4]
cvttss2si eax, xmm0
push ecx
push str.___s_s____d__d_
push 1
movss xmm0, dword [0x1085b0b0]
cvtps2pd xmm0, xmm0
push eax
addsd xmm0, qword [0x100e7110]
addsd xmm0, xmm2
cvttsd2si eax, xmm0
movss xmm0, dword [ebp - 0x28]
divss xmm0, xmm1
push eax
cvttss2si eax, xmm0
add eax, 0xa
push eax
push 0xff19bdff
jmp 0x1002be9a
imul ecx, ecx, 0xbc
add ecx, 0x101da40b
jmp 0x1002bd73
cmp dword [0x102bc1a0], 1
jne 0x1002be26
mov ebx, dword [0x101d8ee4]
xor ecx, ecx
inc ebx
test ebx, ebx
jle 0x1002be26
mov edx, 0x101da408
nop dword [eax + eax]
movzx eax, word [edx]
cmp edi, eax
je 0x1002bef0
inc ecx
add edx, 0xbc
cmp ecx, ebx
jl 0x1002be10
push edi
mov eax, 0x590dd0
call eax
add esp, 4
mov ecx, eax
movss xmm0, dword [0x100e75d0]
call fcn.100b56a0
mov eax, 0xe7c3d4
movss xmm2, dword [ebp - 0x30]
push dword [esi + 8]
cvtps2pd xmm2, xmm2
movss xmm1, dword [eax]
divss xmm0, xmm1
push dword [esi + 4]
cvttss2si eax, xmm0
push ecx
push str.___s_s____d__d_
push 1
movss xmm0, dword [0x1085b0b0]
cvtps2pd xmm0, xmm0
push eax
addsd xmm0, qword [0x100e7110]
addsd xmm0, xmm2
cvttsd2si eax, xmm0
movss xmm0, dword [ebp - 0x28]
divss xmm0, xmm1
push eax
cvttss2si eax, xmm0
add eax, 0xa
push eax
push 0xdcd3d3d3
push 0x10297260
movsd qword [ebp - 0x38], xmm2
call fcn.1006a050
add esp, 0x28
movsd xmm0, qword [ebp - 0x38]
add esi, 0x10
addsd xmm0, qword [0x100e7060]
mov ecx, dword [0x1085b0c8]
mov eax, ecx
shl eax, 4
sub eax, ecx
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
cmp esi, dword [eax*4 + 0x1085afa8]
jne 0x1002bb10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b7755
mov esp, ebp
pop ebp
ret
imul ecx, ecx, 0xbc
add ecx, 0x101da40b
jmp 0x1002be33