Function at 0x10030f90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037021
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1006200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x134], 2
jne 0x10031622
mov eax, dword fs:[0x2c]
mov edx, dword [0x10062724]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x10331454]
cmp eax, dword [ecx + 4]
jle 0x10031060
push 0x10331454
call fcn.10032d27
add esp, 4
cmp dword [0x10331454], 0xffffffff
jne 0x10031060
mov dword [ebp - 4], 0
mov cl, 0x61
mov dword [ebp - 0x20], 0x3e0d0261
xor eax, eax
mov dword [ebp - 0x1c], 0x4050812
mov dword [ebp - 0x18], 0x4041112
mov word [ebp - 0x14], 5
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10031032
mov cl, byte [ebp - 0x20]
jmp 0x10031023
mov ecx, dword [0x100c9374]
lea edx, [ebp - 0x1f]
mov byte [ebp - 0x13], 0
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
push 0x10331454
mov dword [0x10331460], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10032cdd
add esp, 4
movss xmm0, dword [edi + 0xe0]
mov al, byte [0x102ca5d8]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [edi + 0xe4]
movss dword [ebp - 0x2c], xmm0
test al, al
je 0x1003108d
movss xmm0, dword [0x1005e420]
jmp 0x10031095
movss xmm0, dword [0x1005e5e4]
mov ecx, dword [esi + 0x24]
test al, al
mov edx, ecx
mov dword [ebp - 0x24], ecx
sete byte [0x102ca5d8]
movss dword [ebp - 0x30], xmm0
shr dword [ebp - 0x24], 9
mov eax, ecx
and byte [ebp - 0x24], 1
shr edx, 3
shr ecx, 0xa
and dl, 1
shr eax, 4
and cl, 1
test al, 1
je 0x100310f4
cmp byte [ebp - 0x24], 0
mov dword [0x102ca5e4], 0xc3340000
je 0x100310e4
mov dword [0x102ca5e4], 0xc3610000
jmp 0x1003113c
test cl, cl
je 0x1003113c
mov dword [0x102ca5e4], 0xc3070000
jmp 0x1003113c
cmp byte [ebp - 0x24], 0
je 0x10031114
mov dword [0x102ca5e4], 0x42b40000
test dl, dl
je 0x1003113c
mov dword [0x102ca5e4], 0x42340000
jmp 0x1003113c
test cl, cl
je 0x10031132
mov dword [0x102ca5e4], 0xc2b40000
test dl, dl
je 0x1003113c
mov dword [0x102ca5e4], 0xc2340000
jmp 0x1003113c
mov dword [0x102ca5e4], 0
push 0x56
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x1003135b
cmp byte [0x100e51de], 0
je 0x1003135b
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x34]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10002bc0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, qword [0x1005e4c8]
divsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x1005e540]
mulss xmm1, dword [0x1005e528]
movss dword [ebp - 0x30], xmm1
mov eax, dword [ebp - 0x30]
and eax, 0x7f800000
movss dword [ebp - 0x28], xmm1
cmp eax, 0x7f800000
je 0x100311d6
comiss xmm1, xmm0
ja 0x100311d6
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100311de
movss dword [ebp - 0x28], xmm0
jmp 0x100311de
movss dword [ebp - 0x28], xmm0
xorps xmm0, xmm0
movss xmm1, dword [0x102ca4f4]
addss xmm1, dword [ebp - 0x28]
comiss xmm1, dword [0x1005e574]
movaps xmm3, xmm1
movss dword [ebp - 0x30], xmm1
mulss xmm3, dword [0x1005e348]
movss dword [ebp - 0x24], xmm3
ja 0x10031216
movss xmm2, dword [0x1005e60c]
comiss xmm2, xmm1
jbe 0x10031261
comiss xmm0, xmm3
jbe 0x1003122b
movaps xmm0, xmm1
mulss xmm0, dword [0x1005e5d0]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x30]
xorps xmm2, xmm2
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
add esp, 4
comiss xmm2, xmm1
mulss xmm0, dword [0x1005e5a4]
jbe 0x1003125d
addss xmm1, xmm0
jmp 0x10031261
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
sub esp, 0xc
mov eax, esp
movss dword [0x102ca4f4], xmm1
movss xmm1, dword [ebp - 0x28]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + 4], xmm0
mov dword [eax + 8], 0
call fcn.10030bb0
movaps xmm1, xmm0
add esp, 0xc
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100312ba
mulss xmm1, xmm1
addss xmm1, dword [0x102ca4f4]
movss dword [0x102ca4f4], xmm1
jmp 0x100312c2
movss xmm1, dword [0x102ca4f4]
comiss xmm1, dword [0x1005e574]
movaps xmm2, xmm1
movss dword [ebp - 0x38], xmm1
mulss xmm2, dword [0x1005e348]
movss dword [ebp - 0x24], xmm2
ja 0x100312ed
movss xmm5, dword [0x1005e60c]
comiss xmm5, xmm1
jbe 0x10031338
comiss xmm0, xmm2
jbe 0x10031302
movaps xmm0, xmm1
mulss xmm0, dword [0x1005e5d0]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x38]
xorps xmm2, xmm2
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
add esp, 4
comiss xmm2, xmm1
mulss xmm0, dword [0x1005e5a4]
jbe 0x10031334
addss xmm1, xmm0
jmp 0x10031338
subss xmm1, xmm0
mov eax, dword [0x10331460]
movss dword [0x102bb92c], xmm1
movss xmm0, dword [eax + 0x28]
xorps xmm0, xmmword [0x1005e6b0]
movss dword [esi + 0x1c], xmm0
jmp 0x10031622
mov ecx, edi
call fcn.10002eb0
test byte [eax], 1
jne 0x10031622
movss xmm0, dword [esi + 0x18]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x1003137f
mov dword [esi + 0x18], 0
movss xmm0, dword [ebp - 0x2c]
movss xmm1, dword [ebp - 0x34]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10002bc0
movaps xmm1, xmm0
movss xmm0, dword [0x1005e504]
divss xmm0, xmm1
movss dword [ebp - 0x3c], xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [0x102bb92c]
movaps xmm3, xmm0
subss xmm1, dword [0x102ca4f8]
mulss xmm3, dword [0x1005e528]
comiss xmm1, dword [0x1005e574]
movaps xmm2, xmm1
movss dword [ebp - 0x38], xmm3
mulss xmm2, dword [0x1005e348]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm2
ja 0x10031403
movss xmm0, dword [0x1005e60c]
comiss xmm0, xmm1
ja 0x10031403
xorps xmm2, xmm2
jmp 0x10031456
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1003141b
movaps xmm0, xmm1
mulss xmm0, dword [0x1005e5d0]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x28]
xorps xmm2, xmm2
movss xmm3, dword [ebp - 0x38]
add esp, 4
comiss xmm2, xmm1
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [0x1005e5a4]
jbe 0x10031452
addss xmm1, xmm0
jmp 0x10031456
subss xmm1, xmm0
comiss xmm1, xmm2
mov edi, dword [0x10331460]
movss xmm0, dword [0x102bb92c]
movss dword [0x102ca4f8], xmm0
jbe 0x10031484
movss xmm0, dword [edi + 0x28]
xorps xmm0, xmmword [0x1005e6b0]
movss dword [esi + 0x1c], xmm0
jmp 0x1003148f
comiss xmm2, xmm1
jbe 0x1003148f
mov eax, dword [edi + 0x28]
mov dword [esi + 0x1c], eax
movaps xmm0, xmm1
call fcn.10006370
movaps xmm1, xmm0
movss xmm0, dword [0x102ca5e4]
comiss xmm3, xmm1
addss xmm0, dword [0x102bb92c]
movss dword [ebp - 0x28], xmm0
movss dword [0x102bb92c], xmm0
jae 0x100314c9
comiss xmm1, dword [0x1005e510]
jb 0x10031622
movss xmm0, dword [ebp - 0x34]
cvtps2pd xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
cvtps2pd xmm3, xmm0
xorps xmm0, xmm0
ucomisd xmm3, xmm0
lahf
test ah, 0x44
jp 0x100314f0
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10031514
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atan2
mulsd xmm0, qword [0x1005e4d8]
xorps xmm1, xmm1
xorps xmm2, xmm2
comisd xmm1, xmm0
jbe 0x10031514
addsd xmm0, qword [0x1005e4e8]
movss xmm4, dword [ebp - 0x28]
cvtsd2ss xmm0, xmm0
movaps xmm1, xmm4
subss xmm1, xmm0
movss dword [ebp - 0x2c], xmm0
comiss xmm1, dword [0x1005e574]
movaps xmm3, xmm1
movss dword [ebp - 0x34], xmm1
mulss xmm3, dword [0x1005e348]
movss dword [ebp - 0x24], xmm3
ja 0x10031554
movss xmm5, dword [0x1005e60c]
comiss xmm5, xmm1
jbe 0x100315a9
comiss xmm2, xmm3
jbe 0x10031569
movaps xmm0, xmm1
mulss xmm0, dword [0x1005e5d0]
movss dword [ebp - 0x24], xmm0
fld dword [ebp - 0x24]
push ecx
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
movss xmm1, dword [ebp - 0x34]
xorps xmm0, xmm0
movss xmm4, dword [ebp - 0x28]
add esp, 4
fstp dword [ebp - 0x24]
comiss xmm0, xmm1
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [0x1005e5a4]
jbe 0x100315a0
addss xmm1, xmm0
jmp 0x100315a4
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
movss xmm2, dword [0x1005e504]
comiss xmm2, xmm1
jae 0x100315db
comiss xmm2, dword [ebp - 0x3c]
jae 0x100315fe
addss xmm0, xmm2
movss dword [0x102bb92c], xmm0
movss xmm0, dword [edi + 0x28]
xorps xmm0, xmmword [0x1005e6b0]
movss dword [esi + 0x1c], xmm0
jmp 0x10031622
comiss xmm1, dword [0x1005e5f4]
jae 0x100315fe
comiss xmm2, dword [ebp - 0x3c]
jae 0x100315fe
subss xmm0, xmm2
movss dword [0x102bb92c], xmm0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x1c], eax
jmp 0x10031622
movss xmm1, dword [ebp - 0x30]
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm1
addss xmm0, xmm4
movss dword [0x102bb92c], xmm0
mulss xmm1, dword [edi + 0x28]
movss dword [esi + 0x1c], xmm1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100328be
mov esp, ebp
pop ebp
ret