Function at 0x10097480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c6238
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0xbc]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
test edx, edx
jne 0x100974de
mov ecx, dword [0x11c]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [ecx + 0x30]
je 0x10097672
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x11c]
mov edx, dword [eax + 0x2c]
cmp edx, dword [eax + 0x30]
je 0x100974fa
cmp byte [edx + 4], 0
je 0x100974fa
mov edi, dword [ecx + 0xc4]
jmp 0x10097500
mov edi, dword [ecx + 0xc8]
test edi, edi
je 0x10097672
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x18]
mov esi, dword [esi + 0xc]
push ecx
mov ecx, edi
sub esi, dword [eax + 4]
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [eax]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
add eax, ecx
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
lea eax, [edx + esi]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x18]
call eax
lea ecx, [ebp - 0x58]
mov edx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100973c0
add esp, 4
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
cmp byte [eax + 0x81], 0
jne 0x1009758f
mov eax, dword [eax + 0x88]
test eax, eax
jne 0x10097577
jmp 0x1009762b
test eax, eax
je 0x1009762b
mov eax, dword [eax + 0xb8]
mov esi, dword [eax]
test esi, esi
je 0x1009762b
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x18]
call sym.2345MiniUI.dll_public:_static_int___cdecl_RC::RCMiniUIDPIUtils::ScaleToDPI_int_
push dword [ebp - 0x14]
mov esi, eax
call sym.2345MiniUI.dll_public:_static_int___cdecl_RC::RCMiniUIDPIUtils::ScaleToDPI_int_
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
call sym.2345MiniUI.dll_public:_static_void___cdecl_RC::RCMiniUIView::ConvertPointFromWindow_class_RC::RCMiniUIView_const___class_WTL::CPoint__
add esp, 0x10
lea ecx, [ebp - 0x28]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.1008a8e0
test eax, eax
je 0x1009762b
mov esi, 1
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, 2
cmovne esi, eax
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10097648
mov eax, dword [ecx]
push dword [ebp - 0x38]
call dword [eax + 0x24]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x30]
mov eax, dword [edi]
push ecx
push esi
mov ecx, edi
call dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x10097672
mov eax, dword [ecx]
call dword [eax + 0x28]
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.102af895
mov esp, ebp
pop ebp
ret 0xc