Function at 0x10069ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10155700]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
call fcn.1004b8c0
test eax, eax
je case.0x10069d9e.527
call fcn.1004baa0
mov ebx, eax
call fcn.1004b8c0
test eax, eax
je 0x10069b16
call fcn.1004baa0
mov esi, dword [eax + 0xbc]
jmp 0x10069b18
xor esi, esi
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x200
ja 0x10069d86
je 0x10069d3d
lea eax, [ecx - 7]
cmp eax, 0xfe
ja case.0x10069d9e.527
movzx eax, byte [eax + 0x10069f5c]
jmp dword [eax*4 + 0x10069f48]
cmp ecx, 0x100
je 0x10069b5d
cmp ecx, 0x104
je 0x10069b5d
xor al, al
jmp 0x10069b5f
mov al, 1
cmp edi, 0x100
jae 0x10069b6e
mov byte [edi + ebx + 0xf8], al
cmp edi, 0x11
jne 0x10069bde
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call esi
shr eax, 0xf
and al, 1
push 0xa3
mov byte [ebx + 0x19a], al
call esi
shr eax, 0xf
and al, 1
cmp byte [ebx + 0x19a], 0
mov byte [ebx + 0x19b], al
jne 0x10069bc3
test al, al
jne 0x10069bc3
pop edi
mov byte [ebx + 0xf4], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
mov byte [ebx + 0xf4], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
cmp edi, 0x10
jne 0x10069c4e
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call esi
shr eax, 0xf
and al, 1
push 0xa1
mov byte [ebx + 0x198], al
call esi
shr eax, 0xf
and al, 1
cmp byte [ebx + 0x198], 0
mov byte [ebx + 0x199], al
jne 0x10069c33
test al, al
jne 0x10069c33
pop edi
mov byte [ebx + 0xf5], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
mov byte [ebx + 0xf5], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
cmp edi, 0x12
jne case.0x10069d9e.527
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call esi
shr eax, 0xf
and al, 1
push 0xa5
mov byte [ebx + 0x19c], al
call esi
shr eax, 0xf
and al, 1
cmp byte [ebx + 0x19c], 0
mov byte [ebx + 0x19d], al
jne 0x10069ca7
test al, al
jne 0x10069ca7
pop edi
mov byte [ebx + 0xf6], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
mov byte [ebx + 0xf6], al
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
cmp ecx, 7
mov ecx, ebx
sete al
movzx eax, al
push eax
call fcn.10046110
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
lea eax, [edi - 1]
cmp eax, 0xfffe
ja case.0x10069d9e.527
push edi
mov ecx, ebx
call fcn.10046130
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0x14], 1
jne case.0x10069d9e.527
call fcn.10069990
test al, al
je case.0x10069d9e.527
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
cmp byte [esi + 8], 0
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
jne case.0x10069d9e.527
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_TrackMouseEvent]
pop edi
mov byte [esi + 8], 1
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x201]
cmp eax, 0xa2
ja case.0x10069d9e.527
movzx eax, byte [eax + 0x1006a078]
jmp dword [eax*4 + 0x1006a05c]
mov ecx, dword [ebp - 0x18]
cmp dword [esi + 4], ecx
jne 0x10069db4
mov dword [esi + 4], 0
pop edi
mov byte [esi + 8], 0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
cmp ecx, 0x204
je 0x10069ddd
xor esi, esi
cmp ecx, 0x206
jne 0x10069de2
mov esi, 1
cmp ecx, 0x207
je 0x10069df2
cmp ecx, 0x209
jne 0x10069df7
mov esi, 2
cmp ecx, 0x20b
je 0x10069e07
cmp ecx, 0x20d
jne 0x10069e16
mov esi, edi
shr esi, 0x10
dec esi
neg esi
sbb esi, esi
neg esi
add esi, 3
call fcn.1004cbb0
test al, al
jne 0x10069e33
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x10069e33
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
mov byte [esi + ebx + 0xe4], 1
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp ecx, 0x205
sete al
cmp ecx, 0x208
jne 0x10069e68
mov eax, 2
jmp 0x10069e7f
cmp ecx, 0x20c
jne 0x10069e7f
mov eax, edi
shr eax, 0x10
dec eax
neg eax
sbb eax, eax
neg eax
add eax, 3
mov byte [eax + ebx + 0xe4], 0
call fcn.1004cbb0
test al, al
jne case.0x10069d9e.527
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x18]
jne case.0x10069d9e.527
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
shr edi, 0x10
movsx eax, di
pop edi
pop esi
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101138b8]
addss xmm0, dword [ebx + 0xec]
movss dword [ebx + 0xec], xmm0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
shr edi, 0x10
movsx eax, di
pop edi
pop esi
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x101138b8]
addss xmm0, dword [ebx + 0xf0]
movss dword [ebx + 0xf0], xmm0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18d1
mov esp, ebp
pop ebp
ret
cmp edi, 7
jne case.0x10069d9e.527
mov byte [esi + 0x25], 1
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b18d1
mov esp, ebp
pop ebp
ret