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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x102a2c9d], 0
push ebx
push esi
push edi
je 0x10052ccf
mov eax, dword [0x10887184]
test eax, eax
jle 0x10051881
add eax, 0xffffffff
mov dword [0x10887184], eax
jne 0x10051881
mov byte [0x102a2c9d], 0
mov dword [0xe8cb3c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x41
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x100518af
mov byte [0x102a2c9d], 0
mov dword [0xe8cb3c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm2, dword [0x100f1590]
xor eax, eax
mov dword [0xe8cb3c], 1
xorps xmm0, xmm0
movss xmm1, dword [0xe7c3d4]
comiss xmm2, xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x100518e9
movaps xmm3, xmm1
jmp 0x100518f1
movss xmm3, dword [0xe7c3d8]
mov eax, dword [0x107e7b70]
mulss xmm3, dword [0x100f2054]
add eax, 0x140
ucomiss xmm4, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
lahf
mulss xmm2, xmm1
subss xmm2, xmm3
test ah, 0x44
jp 0x10051923
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1cac]
sub esp, 0x10
mov ebx, dword [sym.imp.OPENGL32.dll_glColor4f]
addss xmm1, xmm2
mov dword [esp + 0xc], 0x3f666666
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
movss dword [ebp - 4], xmm1
call ebx
movss xmm0, dword [0x100f1590]
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 0x1005198e
movaps xmm3, xmm2
jmp 0x10051996
movss xmm3, dword [0xe7c3d8]
mulss xmm3, dword [0x100f1f8c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100519b0
movaps xmm1, xmm2
addss xmm1, xmm2
jmp 0x100519bc
movss xmm1, dword [0xe7c3d8]
addss xmm1, xmm1
movss xmm0, dword [ebp - 4]
mov eax, 0x637c60
subss xmm0, xmm1
divss xmm3, xmm2
push 0
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x437a0000
divss xmm0, xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x42200000
movss dword [esp], xmm0
push 0xf070
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 xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
xorps xmm1, xmm1
comiss xmm0, xmm2
movss dword [ebp - 8], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10051a78
movss dword [ebp - 0xc], xmm2
jmp 0x10051a85
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0x106
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100f1f8c]
push eax
push 3
divss xmm0, dword [ebp - 8]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [ebp - 8]
push eax
push 0x37
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
add esp, 0x1c
comiss xmm0, xmm2
xorps xmm0, xmm0
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10051b01
movaps xmm1, xmm2
jmp 0x10051b09
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1f4c]
ucomiss xmm3, xmm0
addss xmm1, dword [ebp - 4]
lahf
divss xmm1, xmm2
movss dword [ebp - 0xc], xmm1
test ah, 0x44
jnp 0x10051b2d
movaps xmm0, xmm2
jmp 0x10051b35
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1ca8]
mov ebx, 0x790b10
push 9
cvttss2si edi, xmm1
divss xmm0, xmm2
cvttss2si esi, xmm0
movss dword [ebp - 8], xmm0
push esi
push 0x36
push edi
call ebx
add esp, 0x10
test al, al
je 0x10051bd5
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10051bd5
movss xmm0, dword [ebp - 8]
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], 0x41100000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0xc]
mov dword [esp + 4], 0x42580000
movss dword [esp], xmm0
push 0xf072
call eax
mov dword [0x10887184], 5
jmp 0x10051c48
push 9
push esi
push 0x36
push edi
call ebx
movss xmm0, dword [ebp - 8]
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 0x10051c11
mov dword [esp + 0x14], 0x3e28f5c3
jmp 0x10051c19
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41100000
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0xc]
mov dword [esp + 4], 0x42580000
movss dword [esp], xmm0
push 0xf072
call eax
movss xmm3, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
add esp, 0x30
comiss xmm0, xmm3
xorps xmm1, xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x10051c7b
movaps xmm2, xmm3
jmp 0x10051c83
movss xmm2, dword [0xe7c3d8]
mulss xmm2, dword [0x100f1f3c]
movss xmm0, dword [ebp - 4]
ucomiss xmm4, xmm1
addss xmm2, xmm0
lahf
divss xmm2, xmm3
cvttss2si esi, xmm2
test ah, 0x44
jnp 0x10051caa
movaps xmm2, xmm3
jmp 0x10051cb2
movss xmm2, dword [0xe7c3d8]
mulss xmm2, dword [0x100f1cac]
mov eax, dword [0x1088715c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
addss xmm2, xmm0
divss xmm2, xmm3
cvttss2si edi, xmm2
cmp dword [0x10887164], eax
jge 0x10051ee3
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x10051cec
movaps xmm0, xmm3
jmp 0x10051cf4
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1d00]
push 0x19
divss xmm0, xmm3
cvttss2si eax, xmm0
push eax
push 0x90
push esi
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x10051e45
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 [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10051d77
movaps xmm0, xmm2
jmp 0x10051d7f
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1cdc]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm2
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], 0x41c80000
movss dword [esp + 8], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x43100000
movss dword [esp], xmm0
push 0x7903
call eax
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10051ee3
call ebx
sub eax, dword [0x10887168]
cmp eax, 0xc8
jbe 0x10051ee3
mov eax, dword [0x10887164]
lea ecx, [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], 0xdbf306c1
mov edx, 6
mov dword [0x10887164], eax
mov byte [ebp - 0x10], al
mov byte [ebp - 0xf], 0
call fcn.100b5210
call ebx
mov dword [0x10887168], eax
mov dword [0x10887158], 0
jmp 0x10051ee3
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10051e75
movaps xmm0, xmm2
jmp 0x10051e7d
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1cdc]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm2
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], 0x41c80000
movss dword [esp + 8], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x43100000
movss dword [esp], xmm0
push 0x7903
call eax
add esp, 0x30
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call esi
cmp dword [0x10887164], 0
jle 0x1005213d
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10051f4a
movaps xmm0, xmm2
jmp 0x10051f52
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1d00]
push 0x19
divss xmm0, xmm2
cvttss2si eax, xmm0
push eax
push 0x8e
push edi
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x1005209f
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3d00346e
mov dword [esp + 4], 0x3f1c985f
mov dword [esp], 0x3f72f1aa
call esi
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10051fd1
movaps xmm0, xmm2
jmp 0x10051fd9
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1ccc]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm2
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], 0x41c80000
movss dword [esp + 8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x430e0000
movss dword [esp], xmm0
push 0x7904
call eax
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1005213d
call ebx
sub eax, dword [0x10887168]
cmp eax, 0xc8
jbe 0x1005213d
mov eax, dword [0x10887164]
lea ecx, [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], 0xdbf306c1
mov edx, 6
mov dword [0x10887164], eax
mov byte [ebp - 0x10], al
mov byte [ebp - 0xf], 0
call fcn.100b5210
call ebx
mov dword [0x10887168], eax
mov dword [0x10887158], 0
jmp 0x1005213d
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100520cf
movaps xmm0, xmm2
jmp 0x100520d7
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1ccc]
mov eax, 0x637c60
push 0
push 1
push 1
divss xmm0, xmm2
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], 0x41c80000
movss dword [esp + 8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x430e0000
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 esi
cmp dword [0x10887158], 1
jne 0x10052b82
cmp dword [0x10887170], 0
jle 0x10052ccf
movss xmm1, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
comiss xmm0, xmm1
xorps xmm0, xmm0
movss dword [ebp - 0x14], xmm1
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x100521b0
movaps xmm2, xmm1
jmp 0x100521b8
movss xmm2, dword [0xe7c3d8]
mov eax, dword [0x107e7b70]
mulss xmm2, dword [0x100f2054]
add eax, 0x140
ucomiss xmm4, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
lahf
mulss xmm3, xmm1
subss xmm3, xmm2
movss dword [ebp - 8], xmm3
test ah, 0x44
jp 0x100521ef
movss xmm1, dword [0xe7c3d8]
push 1
mov eax, 0x635fd0
movss dword [ebp - 0xc], xmm1
call eax
movss xmm0, dword [ebp - 0xc]
xor edx, edx
mulss xmm0, dword [0x100f1e54]
mov ecx, dword [0x10887170]
movss xmm3, dword [0x100f1d4c]
add ecx, 0xfffffdf1
movss xmm2, dword [0x100f1ce8]
addss xmm0, dword [ebp - 8]
movss xmm1, dword [0x100f1ec8]
push 0
push 0
divss xmm0, dword [ebp - 0x14]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.10071e10
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
push ecx
mov dword [esp], 0x3f800000
call esi
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
comiss xmm0, xmm2
xorps xmm0, xmm0
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1005229f
movaps xmm1, xmm2
jmp 0x100522a7
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1e18]
ucomiss xmm3, xmm0
divss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x100522c1
movaps xmm0, xmm2
jmp 0x100522c9
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1da4]
push 0x14
cvttss2si eax, xmm1
addss xmm0, dword [ebp - 4]
push eax
push 0xde
divss xmm0, xmm2
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
mov edi, dword [sym.imp.OPENGL32.dll_glColor3f]
add esp, 0x10
cmp al, 1
jne 0x100523c4
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call edi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100523c4
call ebx
sub eax, dword [0x10887168]
cmp eax, 0x1f4
jbe 0x100523c4
mov eax, dword [0xe61e18]
cmp eax, 0x12
jl 0x10052357
cmp eax, 0x17
jle 0x100523a1
cmp eax, 0x35
je 0x100523a1
cmp dword [0x10887174], 0
mov al, byte [0x10887164]
mov dword [ebp - 0x13], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x14], 0xdcf306c1
mov byte [ebp - 0x10], al
jg 0x10052390
cmp dword [0x10887178], 0
jg 0x10052390
cmp dword [0x1088717c], 0
mov byte [ebp - 0xf], 0
jle 0x10052394
mov byte [ebp - 0xf], 1
mov edx, 6
lea ecx, [ebp - 0x14]
call fcn.100b5210
call ebx
sub esp, 0xc
mov dword [0x10887168], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call edi
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
comiss xmm0, xmm2
xorps xmm0, xmm0
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x100523f4
movaps xmm1, xmm2
jmp 0x100523fc
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1da4]
ucomiss xmm3, xmm0
addss xmm1, dword [ebp - 4]
lahf
test ah, 0x44
jnp 0x10052417
movaps xmm3, xmm2
jmp 0x1005241f
movss xmm3, dword [0xe7c3d8]
mulss xmm3, dword [0x100f1e18]
mov eax, 0x637c60
push 0
divss xmm1, xmm2
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f4ccccd
mov dword [esp + 0x18], 0x3f266666
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
divss xmm3, xmm2
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x435e0000
movss dword [esp], xmm1
push 0x7b4b
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 esi
mov eax, dword [0x10887174]
test eax, eax
jg 0x100525d1
cmp dword [0x10887178], 0
jg 0x100525d1
cmp dword [0x1088717c], 0
jg 0x100525d1
movss xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
xorps xmm1, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x14], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10052501
movss dword [ebp - 0xc], xmm2
jmp 0x1005250e
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0x107
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100f1f8c]
push eax
push 3
divss xmm0, dword [ebp - 0x14]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [ebp - 0x14]
push eax
push 0xc5
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
movss xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
add esp, 0x1c
comiss xmm0, xmm2
xorps xmm1, xmm1
movss dword [ebp - 0x14], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10052594
movss dword [ebp - 8], xmm2
jmp 0x100525a1
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 8], xmm0
push 0x109
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [0x100f1f8c]
movss xmm1, dword [ebp - 4]
divss xmm1, dword [ebp - 0x14]
divss xmm0, dword [ebp - 0x14]
jmp 0x100528c7
movss xmm2, dword [0xe7c3d4]
test eax, eax
movss xmm0, dword [ebp - 4]
mov esi, 0x78
divss xmm0, xmm2
mov ecx, 0x6e
cmovg esi, ecx
xor eax, eax
xorps xmm1, xmm1
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x100f1590]
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10052625
movss dword [ebp - 0xc], xmm2
jmp 0x10052632
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0xa
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100f1f8c]
push eax
push 3
push 0
divss xmm0, dword [ebp - 0x14]
push 0xff19bdff
push dword [0xe8c58c]
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [ebp - 8]
push 0xb1
push eax
push 0x102a22b0
call fcn.1006cb00
mov ecx, dword [0x10887174]
add esp, 0x24
test ecx, ecx
jle 0x1005271b
movss xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
xorps xmm1, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x14], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100526c2
movss dword [ebp - 0xc], xmm2
jmp 0x100526cf
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push ecx
push 0xb
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100f1f8c]
push eax
push 3
divss xmm0, dword [ebp - 0x14]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [ebp - 0x14]
push eax
lea eax, [esi + 0x4d]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006ca30
add esp, 0x20
add esi, 0xa
mov ecx, dword [0x10887178]
test ecx, ecx
jle 0x100527b9
movss xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
xorps xmm1, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x14], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10052760
movss dword [ebp - 0xc], xmm2
jmp 0x1005276d
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push ecx
push 0xc
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100f1f8c]
push eax
push 3
divss xmm0, dword [ebp - 0x14]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [ebp - 0x14]
push eax
lea eax, [esi + 0x4d]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006ca30
add esp, 0x20
add esi, 0xa
mov ecx, dword [0x1088717c]
test ecx, ecx
jle 0x10052854
movss xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
xorps xmm1, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x14], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100527fe
movss dword [ebp - 0xc], xmm2
jmp 0x1005280b
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push ecx
push 0xd
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100f1f8c]
push eax
push 3
divss xmm0, dword [ebp - 0x14]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [ebp - 0x14]
push eax
lea eax, [esi + 0x4d]
push eax
cvttss2si eax, xmm0
push eax
push 0xffffffffffffffff
push 0x102a22b0
call fcn.1006ca30
add esp, 0x20
movss xmm0, dword [0xe7c3d4]
xor eax, eax
movss xmm2, dword [0x100f1590]
xorps xmm1, xmm1
comiss xmm2, xmm0
movss dword [ebp - 8], xmm0
movss dword [ebp - 0x14], xmm0
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10052896
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 8], xmm0
push 0x108
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [0x100f1f8c]
mov esi, dword [sym.imp.OPENGL32.dll_glColor4f]
movss xmm1, dword [ebp - 4]
divss xmm1, dword [ebp - 0x14]
divss xmm0, dword [ebp - 0x14]
push eax
push 3
push 0
cvttss2si eax, xmm0
push 0xff19bdff
push dword [0xe8c58c]
push eax
cvttss2si eax, xmm1
push 0xe4
push eax
push 0x102a22b0
call fcn.1006cb00
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
add esp, 0x24
comiss xmm0, xmm2
xorps xmm0, xmm0
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10052923
movaps xmm1, xmm2
jmp 0x1005292b
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1e18]
ucomiss xmm3, xmm0
divss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10052945
movaps xmm0, xmm2
jmp 0x1005294d
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1da4]
push 0x14
cvttss2si eax, xmm1
addss xmm0, dword [ebp - 4]
push eax
push 0xf7
divss xmm0, xmm2
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
cmp al, 1
jne 0x10052a01
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
call edi
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10052a01
call ebx
sub eax, dword [0x10887168]
cmp eax, 0x1f4
jbe 0x10052a01
mov dword [ebp - 0x13], 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x12], 0xddf3
mov edx, 6
mov word [ebp - 0x14], 0x6c1
mov byte [ebp - 0xf], 0
call fcn.100b5210
call ebx
sub esp, 0xc
mov dword [0x10887168], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x3f800000
call edi
movss xmm0, dword [0x100f1590]
xor eax, eax
movss xmm2, dword [0xe7c3d4]
comiss xmm0, xmm2
xorps xmm0, xmm0
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10052a31
movaps xmm1, xmm2
jmp 0x10052a39
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1e18]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10052a4f
movaps xmm0, xmm2
jmp 0x10052a57
movss xmm0, dword [0xe7c3d8]
mulss xmm0, dword [0x100f1da4]
mov eax, 0x637c60
push 0
divss xmm1, xmm2
push 1
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f4ccccd
mov dword [esp + 0x18], 0x3f266666
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41a00000
addss xmm0, dword [ebp - 4]
movss dword [esp + 8], xmm1
mov dword [esp + 4], 0x43770000
divss xmm0, xmm2
movss dword [esp], xmm0
push 0x7b4b
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 esi
movss xmm2, dword [0xe7c3d4]
xor eax, eax
movss xmm0, dword [0x100f1590]
xorps xmm1, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x14], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10052b17
movss dword [ebp - 0xc], xmm2
jmp 0x10052b24
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0x10a
mov ecx, 0x101b3888
call fcn.10042340
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100f1f8c]
push eax
push 3
push 0
divss xmm0, dword [ebp - 0x14]
push 0xff19bdff
push dword [0xe8c58c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [ebp - 0x14]
push eax
push 0xfd
cvttss2si eax, xmm0
push eax
push 0x102a22b0
call fcn.1006cb00
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10887160]
mov ecx, 0x101b3888
cmp eax, 1
jne 0x10052bcf
push 0x100ee204
push 0x85
call fcn.10042340
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
mov dword [0x10887160], 2
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10052c12
push 0x100ee208
push 0x85
call fcn.10042340
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
mov dword [0x10887160], 3
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10052c55
push str.....
push 0x85
call fcn.10042340
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
mov dword [0x10887160], 4
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10052c98
push str......
push 0x85
call fcn.10042340
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
mov dword [0x10887160], 0
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100ee21c
push 0x85
call fcn.10042340
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006ca30
mov dword [0x10887160], 1
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret