Function at 0x100919d
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x10f58d9
call fcn.01003440
sub esp, 0x40
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::constructor_long_int_]
push 0x1009268
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::SetFunctionName_unsigned_short_int_const__]
mov eax, dword [0x11169c4]
cmp byte [eax + 0x19], 5
jae 0x105a655
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 8]
xor edx, edx
inc edx
cmp ecx, 0xffffff8f
mov dword [ebp - 0x10], edx
ja 0x1009361
je 0x105a9b3
mov edx, 0xffffff4d
cmp ecx, edx
je 0x105a951
cmp ecx, 0xffffff4f
je 0x105a8f8
mov ebx, 0xffffff50
cmp ecx, ebx
je 0x105a86e
cmp ecx, 0xffffff51
je 0x105a834
cmp ecx, 0xffffff65
je 0x105a680
cmp ecx, 0xffffff8d
je 0x105a671
and dword [ebp - 0x10], 0
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
mov eax, esi
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
cmp ecx, 0xffffff98
je 0x1010f11
cmp ecx, 0xffffff9b
je 0x105aa0b
cmp ecx, 0xfffffff4
jne 0x1010ef1
mov ecx, dword [esi + 0x178]
push edi
call fcn.010094dc
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x1009241
cmp ecx, 0xfffffffb
je 0x105a9d4
cmp ecx, 0xfffffffd
je 0x105a9c8
cmp ecx, 0xfffffffe
jne 0x100923d
jmp 0x105a9d7
mov esi, edx
jmp 0x1009244
push 0x10434e8
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0106f4dc
mov eax, dword [0x11169c4]
jmp 0x10091db
push edi
mov ecx, esi
call fcn.0108832e
mov esi, eax
jmp 0x1009244
mov di, word [edi + 0xc]
movzx eax, di
sub eax, 8
je 0x105a81b
dec eax
je 0x105a7f8
sub eax, 4
je 0x105a737
sub eax, 0x21
mov ecx, esi
je 0x105a6b2
push edi
call fcn.0100bb6b
jmp 0x105aa16
push 0x8003
call fcn.0108f119
test eax, eax
je 0x1009241
mov edi, dword [esi + 0xd8]
test edi, edi
je 0x1009241
lea ecx, [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ebx, eax
test ebx, ebx
je 0x1009241
mov eax, dword [esi + 0x178]
mov ecx, dword [eax + 0x4c]
call fcn.01044e9f
test eax, eax
je 0x1009241
cmp eax, 1
jne 0x105a714
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.010891ba
cmp eax, 0xffffffff
jne 0x105a721
jmp 0x1009241
jle 0x1009241
mov dword [ebp + 0xc], 0xfffffffb
push dword [ebp + 0xc]
mov eax, dword [edi]
push 0
push 0x9008
push ebx
push edi
call dword [eax + 0x78]
jmp 0x1009241
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
jge 0x105a9ca
push 0x8004
call fcn.0108f119
test eax, eax
je 0x1009241
mov eax, dword [esi + 0x270]
test eax, eax
jne 0x105a7b9
mov ecx, esi
call fcn.010105f9
mov eax, dword [esi + 0x178]
mov ecx, dword [eax + 0x4c]
call fcn.01044e9f
test eax, eax
push 0xfffffffffffffff6
pop edi
mov dword [ebp + 0xc], edi
je 0x1009241
cmp eax, 1
jne 0x105a79e
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.010891ba
mov ebx, dword [ebp + 0xc]
jmp 0x105a7a7
jle 0x1009241
push 0xfffffffffffffffb
pop ebx
cmp ebx, edi
je 0x1009241
cmp ebx, 0xfffffffe
jne 0x105a7c4
jmp 0x1009241
xor ebx, ebx
cmp eax, 2
sete bl
add ebx, 0xfffffffc
mov edi, dword [esi + 0xd8]
test edi, edi
je 0x1009241
add esi, 0x44
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test eax, eax
je 0x1009241
mov ecx, dword [edi]
push ebx
push 0
push 0x9012
push eax
push edi
call dword [ecx + 0x78]
jmp 0x1009241
mov ecx, esi
call fcn.010105f9
test eax, eax
je 0x1009241
push 1
push dword [esi + 0x174]
mov ecx, eax
call sub.MFC42u.dll_CFrameWnd::SetActiveView
jmp 0x1009241
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.01086149
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
jmp 0x1009241
call fcn.01009cb5
mov edi, eax
test edi, edi
je 0x105a866
push 0x8005
mov ecx, esi
call fcn.0108f119
test eax, eax
jne 0x105a858
cmp byte [esi + 0x1d4], 1
jne 0x105a866
mov byte [edi + 0x168], 1
xor esi, esi
jmp 0x1009244
xor esi, esi
inc esi
jmp 0x1009244
call fcn.01009cb5
test eax, eax
je 0x105a87e
mov byte [eax + 0x168], 0
mov eax, dword [edi + 0x10]
cmp dword [edi + 8], ebx
mov ebx, dword [edi + 0x20]
mov edi, dword [edi + 0x2c]
mov dword [ebp + 8], eax
lea eax, [esi + 0x1f8]
cmp dword [eax + 0x78], 0
mov eax, dword [eax]
sete cl
shr eax, 4
and cl, al
test cl, 1
je 0x105a8b9
lea ecx, [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x78]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push 0
jmp 0x105a8f5
push edi
call fcn.01046809
test eax, eax
je 0x1009241
cmp dword [eax + 0xc], 0x3951589
push dword [ebp + 0xc]
push ebx
jne 0x105a8e7
push 0
push 1
push dword [eax + 0x14]
mov ecx, esi
call fcn.0108f58b
jmp 0x1009241
mov eax, dword [eax + 0x14]
push eax
lea ecx, [esi + 0x44]
mov eax, dword [ecx]
push 0
call dword [eax + 0x78]
push eax
jmp 0x105a8db
mov eax, dword [esi + 0x178]
cmp eax, ebx
je 0x105a915
push dword [edi + 0x14]
mov ecx, dword [eax + 0x4c]
call fcn.0109e9a6
test al, al
jne 0x1009241
lea ebx, [esi + 0x44]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
test eax, eax
je 0x100923d
lea ecx, [esi + 0xd8]
call fcn.01030773
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [esi]
add edi, 0xc
push edi
mov ecx, ebx
mov dword [ebp + 0xc], eax
call dword [edx + 0x78]
push eax
mov eax, dword [ebp + 0xc]
push esi
call dword [eax + 0x1c]
jmp 0x1009241
cmp byte [eax + 0x19], 5
mov ebx, dword [edi + 0x14]
jb 0x105a96d
push ebx
push 0x10434e8
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0106f503
mov eax, dword [edi + 0xc]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x10]
test al, 0xc
mov dword [ebp - 0x1c], ebx
je 0x105a988
mov dword [ebp - 0x14], 1
test al, 0x20
je 0x105a990
or dword [ebp - 0x14], 2
lea ecx, [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x78]
push dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
push edx
push 0x900b
mov esi, dword [esi + 0xd8]
mov ecx, dword [esi]
push eax
push esi
jmp 0x105a7f0
lea ecx, [esi + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x78]
push dword [edi + 0x10]
push dword [edi + 0xc]
push 0x9002
jmp 0x105a9a4
mov ecx, esi
call fcn.0108a56d
jmp 0x1009241
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.0108f6db
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.mmcbase.DLL_public:_class_mmcerror::SC____thiscall_mmcerror::SC::operator_class_mmcerror::SC_const__]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call dword [sym.imp.mmcbase.DLL_public:_void___thiscall_mmcerror::SC::destructor_void_]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mmcbase.DLL_public:_bool___thiscall_mmcerror::SC::operator_bool_void_const]
jmp 0x1009241
push edi
mov ecx, esi
call fcn.0108f959
movzx eax, al
mov dword [ebp - 0x10], eax
jmp 0x1009241