Function at 0x10051820
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 0x10052caf
mov eax, dword [0x10887184]
test eax, eax
jle 0x10051861
add eax, 0xffffffff
mov dword [0x10887184], eax
jne 0x10051861
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 0x1005188f
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 0x100518c9
movaps xmm3, xmm1
jmp 0x100518d1
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 0x10051903
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 0x1005196e
movaps xmm3, xmm2
jmp 0x10051976
movss xmm3, dword [0xe7c3d8]
mulss xmm3, dword [0x100f1f8c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10051990
movaps xmm1, xmm2
addss xmm1, xmm2
jmp 0x1005199c
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 0x10051a58
movss dword [ebp - 0xc], xmm2
jmp 0x10051a65
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0x106
mov ecx, 0x101b3888
call fcn.10042330
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.1006c9b0
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 0x10051ae1
movaps xmm1, xmm2
jmp 0x10051ae9
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 0x10051b0d
movaps xmm0, xmm2
jmp 0x10051b15
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 0x10051bb5
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10051bb5
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 0x10051c28
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 0x10051bf1
mov dword [esp + 0x14], 0x3e28f5c3
jmp 0x10051bf9
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 0x10051c5b
movaps xmm2, xmm3
jmp 0x10051c63
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 0x10051c8a
movaps xmm2, xmm3
jmp 0x10051c92
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 0x10051ec3
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x10051ccc
movaps xmm0, xmm3
jmp 0x10051cd4
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 0x10051e25
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 0x10051d57
movaps xmm0, xmm2
jmp 0x10051d5f
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 0x10051ec3
call ebx
sub eax, dword [0x10887168]
cmp eax, 0xc8
jbe 0x10051ec3
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.100b5120
call ebx
mov dword [0x10887168], eax
mov dword [0x10887158], 0
jmp 0x10051ec3
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 0x10051e55
movaps xmm0, xmm2
jmp 0x10051e5d
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 0x1005211d
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 0x10051f2a
movaps xmm0, xmm2
jmp 0x10051f32
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 0x1005207f
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 0x10051fb1
movaps xmm0, xmm2
jmp 0x10051fb9
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 0x1005211d
call ebx
sub eax, dword [0x10887168]
cmp eax, 0xc8
jbe 0x1005211d
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.100b5120
call ebx
mov dword [0x10887168], eax
mov dword [0x10887158], 0
jmp 0x1005211d
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 0x100520af
movaps xmm0, xmm2
jmp 0x100520b7
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 0x10052b62
cmp dword [0x10887170], 0
jle 0x10052caf
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 0x10052190
movaps xmm2, xmm1
jmp 0x10052198
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 0x100521cf
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.10071da0
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 0x1005227f
movaps xmm1, xmm2
jmp 0x10052287
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1e18]
ucomiss xmm3, xmm0
divss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x100522a1
movaps xmm0, xmm2
jmp 0x100522a9
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 0x100523a4
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 0x100523a4
call ebx
sub eax, dword [0x10887168]
cmp eax, 0x1f4
jbe 0x100523a4
mov eax, dword [0xe61e18]
cmp eax, 0x12
jl 0x10052337
cmp eax, 0x17
jle 0x10052381
cmp eax, 0x35
je 0x10052381
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 0x10052370
cmp dword [0x10887178], 0
jg 0x10052370
cmp dword [0x1088717c], 0
mov byte [ebp - 0xf], 0
jle 0x10052374
mov byte [ebp - 0xf], 1
mov edx, 6
lea ecx, [ebp - 0x14]
call fcn.100b5120
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 0x100523d4
movaps xmm1, xmm2
jmp 0x100523dc
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1da4]
ucomiss xmm3, xmm0
addss xmm1, dword [ebp - 4]
lahf
test ah, 0x44
jnp 0x100523f7
movaps xmm3, xmm2
jmp 0x100523ff
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 0x100525b1
cmp dword [0x10887178], 0
jg 0x100525b1
cmp dword [0x1088717c], 0
jg 0x100525b1
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 0x100524e1
movss dword [ebp - 0xc], xmm2
jmp 0x100524ee
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0x107
mov ecx, 0x101b3888
call fcn.10042330
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.1006c9b0
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 0x10052574
movss dword [ebp - 8], xmm2
jmp 0x10052581
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 8], xmm0
push 0x109
mov ecx, 0x101b3888
call fcn.10042330
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 0x100528a7
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 0x10052605
movss dword [ebp - 0xc], xmm2
jmp 0x10052612
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0xa
mov ecx, 0x101b3888
call fcn.10042330
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.1006ca80
mov ecx, dword [0x10887174]
add esp, 0x24
test ecx, ecx
jle 0x100526fb
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 0x100526a2
movss dword [ebp - 0xc], xmm2
jmp 0x100526af
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push ecx
push 0xb
mov ecx, 0x101b3888
call fcn.10042330
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.1006c9b0
add esp, 0x20
add esi, 0xa
mov ecx, dword [0x10887178]
test ecx, ecx
jle 0x10052799
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 0x10052740
movss dword [ebp - 0xc], xmm2
jmp 0x1005274d
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push ecx
push 0xc
mov ecx, 0x101b3888
call fcn.10042330
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.1006c9b0
add esp, 0x20
add esi, 0xa
mov ecx, dword [0x1088717c]
test ecx, ecx
jle 0x10052834
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 0x100527de
movss dword [ebp - 0xc], xmm2
jmp 0x100527eb
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push ecx
push 0xd
mov ecx, 0x101b3888
call fcn.10042330
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.1006c9b0
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 0x10052876
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 8], xmm0
push 0x108
mov ecx, 0x101b3888
call fcn.10042330
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.1006ca80
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 0x10052903
movaps xmm1, xmm2
jmp 0x1005290b
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1e18]
ucomiss xmm3, xmm0
divss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10052925
movaps xmm0, xmm2
jmp 0x1005292d
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 0x100529e1
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 0x100529e1
call ebx
sub eax, dword [0x10887168]
cmp eax, 0x1f4
jbe 0x100529e1
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.100b5120
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 0x10052a11
movaps xmm1, xmm2
jmp 0x10052a19
movss xmm1, dword [0xe7c3d8]
mulss xmm1, dword [0x100f1e18]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10052a2f
movaps xmm0, xmm2
jmp 0x10052a37
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 0x10052af7
movss dword [ebp - 0xc], xmm2
jmp 0x10052b04
movss xmm0, dword [0xe7c3d8]
movss dword [ebp - 0xc], xmm0
push 0x10a
mov ecx, 0x101b3888
call fcn.10042330
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.1006ca80
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 0x10052baf
push 0x100ee204
push 0x85
call fcn.10042330
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
mov dword [0x10887160], 2
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x10052bf2
push 0x100ee208
push 0x85
call fcn.10042330
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
mov dword [0x10887160], 3
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10052c35
push str.....
push 0x85
call fcn.10042330
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
mov dword [0x10887160], 4
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x10052c78
push str......
push 0x85
call fcn.10042330
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
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.10042330
push eax
push 1
push 0x34
push 0x8e
push 0x6a
push 0xff19bdff
push 0x102a22b0
call fcn.1006c9b0
mov dword [0x10887160], 1
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret