Function at 0x10006d14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10050040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x114], ecx
test edi, edi
jne 0x10006d4f
push dword [0x100500bc]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10006fa7
call fcn.10004b53
test eax, eax
je 0x10006f96
or ebx, 0xffffffff
cmp dword [0x100500ac], ebx
jne 0x10006d92
cmp dword [0x100509ac], 0
je 0x10006fa7
mov eax, dword [0x100500b8]
push esi
mov dword [0x10051408], eax
call fcn.10006b1d
mov dword [0x100500ac], eax
pop ecx
cmp eax, ebx
je 0x10006fa7
cmp dword [0x100509ac], 0
je 0x10006fa7
mov ecx, dword [0x100c68a4]
mov eax, dword [ecx]
call dword [eax + 0xec]
and dword [ebp - 0x120], 0
mov esi, eax
and dword [ebp - 0x11c], 0
mov ecx, esi
and dword [ebp - 0x118], 0
call fcn.10004aca
test eax, eax
je 0x10006fa7
mov ecx, dword [esi + 0x184]
mov eax, dword [0x100500ac]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.10004aca
test eax, eax
je 0x10006f6c
mov eax, dword [0x100c6828]
xor edx, edx
inc edx
cmp eax, edx
jne 0x10006e29
mov ecx, dword [0x100c6898]
push edx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ecx]
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x10c]
addss xmm0, dword [0x1004c688]
jmp 0x10006ed7
cmp eax, 2
jne 0x10006e3a
push edx
lea edx, [ebp - 0x110]
push edx
push 7
jmp 0x10006e9a
cmp eax, 3
jne 0x10006e4b
push edx
lea edx, [ebp - 0x110]
push edx
push 6
jmp 0x10006e9a
cmp eax, 4
jne 0x10006e7a
mov ecx, dword [0x100c6898]
push edx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ecx]
push 4
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x10c]
subss xmm0, dword [0x1004c688]
jmp 0x10006ed7
cmp eax, 5
jne 0x10006e8b
push edx
lea edx, [ebp - 0x110]
push edx
push 0x22
jmp 0x10006e9a
cmp eax, 6
jne 0x10006eaa
push edx
lea edx, [ebp - 0x110]
push edx
push 0x15
mov ecx, dword [0x100c6898]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x40]
jmp 0x10006edf
cmp eax, 7
jne 0x10006edf
mov ecx, dword [0x100c6898]
push edx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ecx]
push 8
push dword [esi + 0x10]
call dword [eax + 0x40]
movss xmm0, dword [ebp - 0x10c]
addss xmm0, dword [0x100500b4]
movss dword [ebp - 0x10c], xmm0
mov ebx, dword [0x100c68dc]
lea ecx, [ebp - 0x120]
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 - 0x110]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10005f7b
movss xmm0, dword [ebp - 0x11c]
add esp, 0x18
cmp dword [ebp + 0xc], 0
mulss xmm0, dword [0x1004c598]
movss dword [ebx + 0x58], xmm0
movss xmm0, dword [ebp - 0x120]
mulss xmm0, dword [0x1004c598]
movss dword [ebx + 0x54], xmm0
je 0x10006f5a
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 - 0x114], eax
jne 0x10006fa7
mov dword [0x100509ac], eax
jmp 0x10006fa0
cmp dword [ebp + 0x14], 0
jne 0x10006f84
test edi, edi
jne 0x10006f84
and dword [0x100509ac], edi
mov dword [0x100500ac], ebx
jmp 0x10006fa7
mov dword [0x100500ac], ebx
mov dword [0x100509ac], 1
jmp 0x10006fa7
mov dword [0x100509ac], 1
or dword [0x100500ac], 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100415f4
leave
ret