Function at 0x1007aac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 0xd
call edi
bt ax, 8
mov esi, dword [sym.imp.USER32.dll_keybd_event]
jae 0x1007aaee
push ebx
push 2
push ebx
push 0xd
mov dword [0x10138dd4], 1
call esi
push 0x1b
call edi
mov ecx, 0x100
test cx, ax
je 0x1007ab10
push 0
push 2
push 0
push 0x1b
mov dword [0x10138dd4], 1
call esi
mov eax, 0x482b70
call eax
mov edi, 0x6d6c20
cmp byte [eax + 0x849c], bl
jne 0x1007ad5c
xor esi, esi
mov eax, 0x402bc0
nop
push esi
call eax
mov ecx, eax
mov eax, 0x96a4c0
call eax
cmp byte [eax + 0x30c], bl
je 0x1007ab70
inc esi
mov eax, 0x402bc0
cmp esi, 5
jl 0x1007ab30
mov eax, dword [0x10138dd8]
cmp eax, 0xffffff4c
jl 0x1007ab96
push 0
push 0
push 0x1b
call edi
mov eax, dword [0x10138dd8]
add esp, 0xc
sub eax, 0x14
jmp 0x1007ab91
mov eax, dword [0x10138dd8]
mov ebx, 1
test eax, eax
jns 0x1007ab96
push 0
push 0
push 0x1b
call edi
mov eax, dword [0x10138dd8]
add esp, 0xc
add eax, 0x14
mov dword [0x10138dd8], eax
push ecx
mov dword [esp], 0
add eax, 4
push 1
push 1
sub esp, 0x20
movd xmm0, eax
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3f5a0000
mov dword [esp + 0x18], 0x3f470000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42da0000
mov dword [esp + 8], 0x43470000
movss dword [esp + 4], xmm0
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e384]
mulss xmm0, dword [0x1012de1c]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1012df80]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x157ce
call eax
add esp, 0x30
cmp ebx, 1
jne 0x1007ad5c
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
push 0x19
push 0x46
push 0x50
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e384]
mulss xmm0, dword [0x1012de1c]
addss xmm0, dword [0x1012e240]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1007ad5c
cmp byte [0x8793386], 0
je 0x1007acb9
sub dword [0x10138dd8], 0xb4
push 0
push 0
push 0x19
mov dword [0x10138dd4], ebx
call edi
add esp, 0xc
mov ebx, 0x482b70
call ebx
lea esi, [eax + 0x8490]
call ebx
push esi
mov edx, 0x483b20
mov ecx, eax
call edx
movd xmm0, dword [0x10138dd8]
mov eax, 0x637c60
cvtdq2pd xmm0, xmm0
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x1012df40]
mov dword [esp + 0x1c], 0x3f480000
mov dword [esp + 0x18], 0x3f0c0000
mov dword [esp + 0x14], 0
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41c80000
mov dword [esp + 8], 0x428c0000
movss dword [esp + 4], xmm0
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e384]
mulss xmm0, dword [0x1012de1c]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1012df90]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x157cf
call eax
add esp, 0x30
mov eax, dword [0xe60b4c]
test eax, eax
je 0x1007adb9
cmp eax, 1
je 0x1007adb9
cmp eax, 2
je 0x1007adb9
cmp eax, 3
je 0x1007adb9
cmp eax, 4
je 0x1007adb9
cmp eax, 5
je 0x1007adb9
cmp dword [0x10138dbc], 0xffffff4c
jle 0x1007ad9c
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x10138dbc], 0x14
cmp dword [0x10138dd0], 0xa
jle 0x1007adf2
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x10138dd0], 0x14
jmp 0x1007adf2
cmp dword [0x10138dbc], 0xfffffff6
jge 0x1007add4
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x10138dbc], 0x14
cmp dword [0x10138dd0], 0xc1
jge 0x1007adf2
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x10138dd0], 0x14
cmp dword [0x10138ddc], 0xfffffed4
jle 0x1007ae10
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x10138ddc], 0x32
xor esi, esi
mov ebx, 0xe60b4c
cmp dword [ebx], esi
jne 0x1007aef7
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
push 0xd
push 0x46
push 0x56
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e384]
mulss xmm0, dword [0x1012de1c]
addss xmm0, xmm0
addss xmm0, dword [0x1012e340]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1007ae8a
mov dword [0xe61730], esi
mov dword [ebx], esi
cmp byte [0x8793386], 0
je 0x1007ae8a
push 0
push 0
push 0x19
call edi
add esp, 0xc
mov eax, 0x405b10
call eax
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
push 0xd
push 0x46
push 0x56
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e384]
mulss xmm0, dword [0x1012de1c]
addss xmm0, xmm0
addss xmm0, dword [0x1012e2fc]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1007aef7
mov dword [0xe61730], esi
mov dword [ebx], esi
cmp byte [0x8793386], 0
je 0x1007aef7
push 0
push 0
push 0x19
call edi
add esp, 0xc
xor cl, cl
mov eax, 0x4d6a60
call eax
inc esi
cmp esi, 5
jl 0x1007ae17
pop edi
pop esi
pop ebx
ret