Function at 0x100067fe
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10050040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x11c], ecx
test edi, edi
jne 0x10006839
push dword [0x100500bc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10006a40
xor ebx, ebx
inc ebx
cmp dword [0x100500a0], 0xffffffff
jne 0x10006892
cmp dword [0x100509a8], 0
je 0x10006a33
mov eax, dword [0x100500b8]
mov dword [0x10051510], eax
mov eax, dword [0x100c6a40]
test eax, eax
jne 0x10006870
mov edx, dword [ebp + 0x18]
push ecx
call fcn.10006124
jmp 0x10006883
cmp eax, ebx
jne 0x10006a33
mov edx, dword [ebp + 0x18]
push esi
push ecx
call fcn.10006454
pop ecx
mov dword [0x100500a0], eax
pop ecx
cmp eax, 0xffffffff
je 0x10006a33
cmp dword [0x100509a8], 0
je 0x10006a33
mov ecx, dword [0x100c6ab8]
mov eax, dword [ecx]
call dword [eax + 0xec]
mov esi, eax
mov ecx, esi
call fcn.10004ad9
test eax, eax
je 0x10006a40
mov ecx, dword [esi + 0x184]
mov eax, dword [0x100500a0]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.10004ad9
test eax, eax
je 0x10006a21
mov ecx, dword [esi + 0x10]
call fcn.10004ad9
test eax, eax
je 0x10006a21
mov eax, dword [0x100c6a34]
cmp eax, ebx
jne 0x1000691e
mov ecx, dword [0x100c6aac]
lea edx, [ebp - 0x118]
push ebx
push edx
push 8
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x114]
addss xmm0, dword [0x1004c698]
jmp 0x1000695c
cmp eax, 2
jne 0x1000692f
push ebx
lea edx, [ebp - 0x118]
push edx
push 6
jmp 0x10006986
cmp eax, 3
jne 0x10006966
mov ecx, dword [0x100c6aac]
lea edx, [ebp - 0x118]
push ebx
push edx
push 4
mov eax, dword [ecx]
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x114]
subss xmm0, dword [0x1004c698]
movss dword [ebp - 0x114], xmm0
jmp 0x10006994
cmp eax, 4
jne 0x10006977
push ebx
lea edx, [ebp - 0x118]
push edx
push 0x15
jmp 0x10006986
cmp eax, 5
jne 0x10006994
push ebx
lea edx, [ebp - 0x118]
push edx
push 0x24
mov ecx, dword [0x100c6aac]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ebx, dword [0x100c6c44]
lea ecx, [ebp - 0x128]
sub esp, 0xc
mov edi, esp
sub esp, 0xc
mov esi, dword [ebx + 0x13c]
add esi, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10005f8a
movss xmm0, dword [ebp - 0x124]
add esp, 0x18
cmp dword [ebp + 0xc], 0
mulss xmm0, dword [0x1004c5a8]
movss dword [ebx + 0x58], xmm0
movss xmm0, dword [ebp - 0x128]
mulss xmm0, dword [0x1004c5a8]
movss dword [ebx + 0x54], xmm0
je 0x10006a0f
mov esi, dword [sym.imp.USER32.dll_mouse_event]
xor edi, edi
push edi
push edi
push edi
push edi
push 2
call esi
push edi
push edi
push edi
push edi
push 4
call esi
xor eax, eax
inc eax
cmp dword [ebp - 0x11c], eax
jne 0x10006a40
mov dword [0x100509a8], eax
jmp 0x10006a39
cmp dword [ebp + 0x1c], 0
jne 0x10006a33
test edi, edi
jne 0x10006a33
and dword [0x100509a8], edi
jmp 0x10006a39
mov dword [0x100509a8], ebx
or dword [0x100500a0], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100411ba
leave
ret