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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [0x102c4dd4], 2
push ebx
push esi
push edi
je 0x1004d205
cmp byte [0x102776fd], 0
je 0x1004d205
mov eax, dword [0x118ee3c]
add eax, 0x3e8
push eax
mov eax, dword [0x118ee38]
add eax, 0x3e8
push eax
push 0
push 0
mov eax, 0x62fbbb
call eax
add esp, 0x10
mov eax, 0x630e06
call eax
mov eax, dword [0x104f9dc8]
xorps xmm0, xmm0
movss xmm1, dword [0x11b3794]
add eax, 0x140
movss xmm3, dword [0x100d183c]
movd xmm2, eax
xor eax, eax
comiss xmm3, xmm1
cvtdq2ps xmm2, xmm2
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mulss xmm2, xmm1
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x1004c513
movaps xmm3, xmm1
jmp 0x1004c51b
movss xmm3, dword [0x11b3798]
mulss xmm3, dword [0x100d1e74]
ucomiss xmm4, xmm0
subss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1004c535
movaps xmm5, xmm1
jmp 0x1004c53d
movss xmm5, dword [0x11b3798]
mulss xmm5, dword [0x100d1dd4]
ucomiss xmm4, xmm0
addss xmm5, xmm2
lahf
movss dword [ebp - 4], xmm5
test ah, 0x44
jnp 0x1004c55c
movaps xmm3, xmm1
jmp 0x1004c564
movss xmm3, dword [0x11b3798]
mulss xmm3, dword [0x100d1df4]
ucomiss xmm4, xmm0
divss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1004c582
movaps xmm2, xmm1
addss xmm2, xmm1
jmp 0x1004c58e
movss xmm2, dword [0x11b3798]
addss xmm2, xmm2
movaps xmm0, xmm5
mov eax, 0x631289
subss xmm0, xmm2
push ecx
mov dword [esp], 0
push 1
push 1
divss xmm0, xmm1
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], 0x43520000
movss dword [esp + 8], xmm3
mov dword [esp + 4], 0x42a00000
movss dword [esp], xmm0
push 0xf070
call eax
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
add esp, 0x30
comiss xmm0, xmm2
xorps xmm1, xmm1
movss dword [ebp - 0x18], xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004c629
movss dword [ebp - 0xc], xmm2
jmp 0x1004c636
movss xmm0, dword [0x11b3798]
movss dword [ebp - 0xc], xmm0
push 0x106b9c8c
push 0x1b
mov ecx, 0x101888b0
call fcn.1003ad30
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100d1df4]
push eax
push str._s__s
push 0
divss xmm0, dword [ebp - 0x18]
push 3
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 4]
divss xmm0, dword [ebp - 0x18]
push eax
push 0x5c
cvttss2si eax, xmm0
push eax
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
add esp, 0x28
comiss xmm0, xmm2
xorps xmm1, xmm1
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1004c6bb
movaps xmm0, xmm2
jmp 0x1004c6c3
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1dcc]
ucomiss xmm3, xmm1
addss xmm0, dword [ebp - 4]
lahf
divss xmm0, xmm2
movss dword [ebp - 0xc], xmm0
test ah, 0x44
jnp 0x1004c6e7
movaps xmm1, xmm2
jmp 0x1004c6ef
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1bbc]
mov ebx, 0x799756
push 9
cvttss2si edi, xmm0
divss xmm1, xmm2
cvttss2si esi, xmm1
movss dword [ebp - 8], xmm1
push esi
push 0x5e
push edi
call ebx
add esp, 0x10
test al, al
je 0x1004c7a0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004c7a0
movss xmm0, dword [ebp - 8]
mov eax, 0x631289
push ecx
mov dword [esp], 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], 0x42bc0000
movss dword [esp], xmm0
push 0xf072
call eax
mov byte [0x102776fd], 0
mov dword [0x11c4454], 0
jmp 0x1004c819
push 9
push esi
push 0x5e
push edi
call ebx
movss xmm0, dword [ebp - 8]
add esp, 0x10
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
test al, al
mov eax, 0x631289
mov dword [esp + 0x1c], 0x3e222378
mov dword [esp + 0x18], 0x3f29dda9
je 0x1004c7e2
mov dword [esp + 0x14], 0x3e28f5c3
jmp 0x1004c7ea
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], 0x42bc0000
movss dword [esp], xmm0
push 0xf072
call eax
movss xmm2, dword [0x11b3794]
xor eax, eax
movss xmm0, dword [0x100d183c]
add esp, 0x30
comiss xmm0, xmm2
xorps xmm1, xmm1
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1004c84c
movaps xmm0, xmm2
jmp 0x1004c854
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1dc4]
movss xmm4, dword [ebp - 4]
ucomiss xmm3, xmm1
addss xmm0, xmm4
lahf
divss xmm0, xmm2
cvttss2si ebx, xmm0
test ah, 0x44
jnp 0x1004c87b
movaps xmm0, xmm2
jmp 0x1004c883
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1bc4]
mov edi, dword [sym.imp.OPENGL32.dll_glColor4f]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
addss xmm0, xmm4
divss xmm0, xmm2
cvttss2si eax, xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [0x106b9c88]
dec eax
cmp dword [0x106b9c80], eax
jge 0x1004cab7
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1004c8c6
movaps xmm0, xmm2
jmp 0x1004c8ce
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1c08]
push 0x19
divss xmm0, xmm2
cvttss2si eax, xmm0
push eax
push 0xb6
push ebx
mov eax, 0x799756
call eax
add esp, 0x10
cmp al, 1
jne 0x1004ca13
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3d00346e
mov dword [esp + 4], 0x3f1c985f
mov dword [esp], 0x3f72f1aa
call edi
movss xmm0, dword [0x100d183c]
xor eax, eax
movss xmm2, dword [0x11b3794]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004c94d
movaps xmm0, xmm2
jmp 0x1004c955
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1be8]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
divss xmm0, xmm2
push 1
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, ebx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x43360000
movss dword [esp], xmm0
push 0x8323
call eax
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004cab7
call esi
sub eax, dword [0x106b9e14]
cmp eax, 0x3e8
jbe 0x1004cab7
mov eax, dword [0x106b9c80]
lea ecx, [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], 0xe6f305c1
mov edx, 5
mov dword [0x106b9c80], eax
mov byte [ebp - 0x28], al
call fcn.10098a10
call esi
mov dword [0x106b9e14], eax
jmp 0x1004cab7
movss xmm0, dword [0x100d183c]
xor eax, eax
movss xmm2, dword [0x11b3794]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004ca43
movaps xmm0, xmm2
jmp 0x1004ca4b
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1be8]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
divss xmm0, xmm2
push 1
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, ebx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x43360000
movss dword [esp], xmm0
push 0x8323
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 edi
cmp dword [0x106b9c80], 0
jle 0x1004cd11
movss xmm0, dword [0x100d183c]
xor eax, eax
movss xmm2, dword [0x11b3794]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004cb18
movaps xmm0, xmm2
jmp 0x1004cb20
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1c08]
mov ebx, dword [ebp - 0x18]
push 0x19
divss xmm0, xmm2
cvttss2si eax, xmm0
push eax
push 0xb4
push ebx
mov eax, 0x799756
call eax
add esp, 0x10
cmp al, 1
jne 0x1004cc6d
sub esp, 0x10
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3d00346e
mov dword [esp + 4], 0x3f1c985f
mov dword [esp], 0x3f72f1aa
call edi
movss xmm0, dword [0x100d183c]
xor eax, eax
movss xmm2, dword [0x11b3794]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004cba2
movaps xmm0, xmm2
jmp 0x1004cbaa
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1bdc]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
divss xmm0, xmm2
push 1
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, ebx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x43340000
movss dword [esp], xmm0
push 0x8324
call eax
add esp, 0x30
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004cd11
call esi
sub eax, dword [0x106b9e14]
cmp eax, 0x3e8
jbe 0x1004cd11
call fcn.1004c440
mov eax, dword [0x106b9c80]
lea ecx, [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], 0xe6f305c1
mov edx, 5
mov dword [0x106b9c80], eax
mov byte [ebp - 0x28], al
call fcn.10098a10
call esi
mov dword [0x106b9e14], eax
jmp 0x1004cd11
movss xmm0, dword [0x100d183c]
xor eax, eax
movss xmm2, dword [0x11b3794]
xorps xmm1, xmm1
comiss xmm0, xmm2
setae al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1004cc9d
movaps xmm0, xmm2
jmp 0x1004cca5
movss xmm0, dword [0x11b3798]
mulss xmm0, dword [0x100d1bdc]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
divss xmm0, xmm2
push 1
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, ebx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x43340000
movss dword [esp], xmm0
push 0x8324
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 edi
cmp dword [0x106b9c84], 1
jne 0x1004d09f
movss xmm0, dword [0x11b3794]
xor eax, eax
movss xmm3, dword [0x100d183c]
xorps xmm1, xmm1
comiss xmm3, xmm0
movss dword [ebp - 0x18], xmm0
setae al
movd xmm4, eax
cvtdq2ps xmm4, xmm4
ucomiss xmm4, xmm1
lahf
test ah, 0x44
jnp 0x1004cd77
movaps xmm2, xmm0
jmp 0x1004cd7f
movss xmm2, dword [0x11b3798]
mulss xmm2, dword [0x100d1c34]
movss xmm5, dword [ebp - 4]
ucomiss xmm4, xmm1
addss xmm2, xmm5
lahf
divss xmm2, xmm0
test ah, 0x44
jnp 0x1004cda2
movaps xmm3, xmm0
jmp 0x1004cdaa
movss xmm3, dword [0x11b3798]
mulss xmm3, dword [0x100d1c9c]
ucomiss xmm4, xmm1
addss xmm3, xmm5
lahf
divss xmm3, xmm0
movss dword [ebp - 8], xmm3
test ah, 0x44
jnp 0x1004cdcd
movaps xmm3, xmm0
jmp 0x1004cdd5
movss xmm3, dword [0x11b3798]
mulss xmm3, dword [0x100d1d58]
ucomiss xmm4, xmm1
addss xmm3, xmm5
lahf
divss xmm3, xmm0
movss dword [ebp - 0x14], xmm3
test ah, 0x44
jnp 0x1004cdf8
movaps xmm3, xmm0
jmp 0x1004ce00
movss xmm3, dword [0x11b3798]
mulss xmm3, dword [0x100d1c6c]
ucomiss xmm4, xmm1
divss xmm3, xmm0
lahf
test ah, 0x44
jp 0x1004ce1d
movss xmm0, dword [0x11b3798]
cvttss2si ebx, xmm3
push 0xb4
mov ecx, 0x101888b0
cvttss2si esi, xmm2
mov dword [ebp - 0x1c], ebx
movss dword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], esi
call fcn.1003ad30
push eax
push 0
push 1
push ebx
push 0x78
push esi
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
movss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [0x100d1c60]
push 0x106b9ca0
cvttss2si ecx, dword [ebp - 8]
push 0x100ceac0
push 0
push 1
divss xmm0, dword [ebp - 0x18]
cvttss2si eax, xmm0
push eax
push 0x78
push ecx
push 0xffffffffffffffff
push 0x10276e38
mov dword [ebp - 0x10], eax
call fcn.100712f0
cvttss2si eax, dword [ebp - 0x14]
add esp, 0x44
push 0x106b9cb4
push 0x100ceac0
push 0
push 1
push ebx
push 0x78
push eax
push 0xffffffffffffffff
push 0x10276e38
call fcn.100712f0
mov eax, dword [0x7f05cac]
add esp, 0x24
add eax, 0x38
mov dword [ebp - 0xc], 0
cmp dword [0x106b9cc8], 0
mov dword [ebp - 0x2c], eax
jle 0x1004d205
xor esi, esi
mov ebx, 0x106b9cd0
mov dword [ebp - 0x18], esi
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1004cf04
test dl, dl
je 0x1004cf00
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1004cf04
add eax, 2
add ecx, 2
test dl, dl
jne 0x1004cee4
xor eax, eax
jmp 0x1004cf09
sbb eax, eax
or eax, 1
movd xmm0, esi
test eax, eax
cvtdq2ps xmm0, xmm0
mov eax, 0xff19bdff
mov edi, 0xff8be100
cmovne edi, eax
mov ecx, 0x101888b0
mov eax, dword [ebp - 0xc]
inc eax
push eax
addss xmm0, dword [0x100d1d40]
push 0xd4
mov dword [ebp - 0xc], eax
movss dword [ebp - 0x24], xmm0
cvttss2si esi, xmm0
call fcn.1003ad30
push eax
push 0
push 1
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x20]
push edi
push 0x10276e38
call fcn.100712f0
cvttss2si eax, dword [ebp - 8]
add esp, 0x24
push ebx
push 0x100ceac0
push 0
push 1
push dword [ebp - 0x10]
push esi
push eax
push edi
push 0x10276e38
call fcn.100712f0
cvttss2si eax, dword [ebp - 0x14]
add esp, 0x24
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push str._llu
push 0
push 1
push dword [ebp - 0x10]
push esi
push eax
push edi
push 0x10276e38
call fcn.100712f0
movss xmm0, dword [0x100d183c]
mov eax, 0x11b3794
add esp, 0x28
xorps xmm1, xmm1
movss xmm2, dword [eax]
xor eax, eax
comiss xmm0, xmm2
setae al
movd xmm3, eax
cvtdq2ps xmm3, xmm3
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1004cfdb
movaps xmm0, xmm2
jmp 0x1004cfe3
movss xmm0, dword [0x11b3798]
movss xmm4, dword [0x100d1bc4]
ucomiss xmm3, xmm1
mulss xmm0, xmm4
lahf
addss xmm0, dword [ebp - 4]
divss xmm0, xmm2
test ah, 0x44
jnp 0x1004d006
movaps xmm1, xmm2
jmp 0x1004d00e
movss xmm1, dword [0x11b3798]
mulss xmm1, dword [0x100d1dcc]
mov eax, 0x631289
push ecx
mov dword [esp], 0
push 1
divss xmm1, xmm2
push 1
sub esp, 0x20
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0x3f428f5d
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x3f800000
movss dword [esp + 8], xmm1
movss xmm1, dword [ebp - 0x24]
addss xmm1, xmm4
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 0xf071
call eax
mov esi, dword [ebp - 0x18]
add esp, 0x30
mov eax, dword [ebp - 0xc]
add esi, 0xc
add ebx, 0x20
mov dword [ebp - 0x18], esi
cmp eax, dword [0x106b9cc8]
mov eax, dword [ebp - 0x2c]
jl 0x1004cee2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x106b9e10]
mov ecx, 0x101888b0
cmp eax, 1
jne 0x1004d0f1
push 0x100cea84
push 0x85
call fcn.1003ad30
push eax
push 0
push 1
push 0x34
push 0xb4
push 0x12d
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
mov dword [0x106b9e10], 2
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x1004d139
push 0x100cea88
push 0x85
call fcn.1003ad30
push eax
push 0
push 1
push 0x34
push 0xb4
push 0x12d
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
mov dword [0x106b9e10], 3
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x1004d181
push str.....
push 0x85
call fcn.1003ad30
push eax
push 0
push 1
push 0x34
push 0xb4
push 0x12d
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
mov dword [0x106b9e10], 4
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x1004d1c9
push str......
push 0x85
call fcn.1003ad30
push eax
push 0
push 1
push 0x34
push 0xb4
push 0x12d
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
mov dword [0x106b9e10], 0
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100cea9c
push 0x85
call fcn.1003ad30
push eax
push 0
push 1
push 0x34
push 0xb4
push 0x12d
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
mov dword [0x106b9e10], 1
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret