Function at 0x1000e69a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x30
mov eax, 0x100202f3
call fcn.1001d1e5
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [eax], 0
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x1000e6c2
cmp eax, 0x109
jbe 0x1000e6d0
add eax, 0xfffffe00
cmp eax, 0xe
ja 0x1000e9f2
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, eax
mov eax, dword [sym.imp.USER32.dll_IsChild]
push ebx
push dword [esi + 0x4c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
call eax
test eax, eax
mov eax, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x14], eax
je 0x1000e713
push ebx
call eax
cmp eax, dword [esi + 0x4c]
je 0x1000e713
mov edi, dword [ebp - 0x14]
push ebx
call edi
mov ebx, eax
push ebx
call edi
cmp eax, dword [esi + 0x4c]
jne 0x1000e700
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
push edi
push 0
push 0x37f
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x1000e72f
xor eax, eax
inc eax
jmp 0x1000e9f4
push 0
push 0
push 0x87
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 4]
mov edx, eax
sub ecx, 0x100
je 0x1000e757
dec ecx
sub ecx, 1
jne 0x1000e7b6
test edx, edx
jmp 0x1000e7b0
movzx eax, word [edi + 8]
cmp eax, 0x26
ja 0x1000e86b
je 0x1000e786
cmp eax, 3
je 0x1000e9f2
cmp eax, 9
je 0x1000e833
cmp eax, 0x1b
je 0x1000e9f2
cmp eax, 0x25
jne 0x1000e7b6
test dl, 1
jne 0x1000e7b6
push 5
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindow]
cmp dword [edi + 8], 0x27
je 0x1000e7a2
cmp dword [edi + 8], 0x28
jne 0x1000e7ae
push 1
push eax
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
cmp eax, ebx
je 0x1000e9f2
cmp dword [edi + 4], 0x106
je 0x1000e7d5
cmp dword [edi + 4], 0x104
je 0x1000e7d5
cmp dword [edi + 4], 0x105
jne 0x1000e91b
mov eax, 0x90
lea ecx, [esi + 0x8c]
test esi, esi
lea edx, [ebp - 0x3c]
push edx
cmove ecx, eax
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
js 0x1000e91b
mov ax, word [ebp - 0x34]
test ax, ax
je 0x1000e917
xor ecx, ecx
movzx eax, ax
push 6
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc140u.dll_operator_2
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
jne 0x1000e885
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x8007000e
jmp 0x1000e727
test dl, 2
jne 0x1000e7b6
push 5
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindow]
push 0x10
mov dword [ebp - 0x1c], eax
pop eax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x1000e863
push 1
push dword [ebp - 0x1c]
jmp 0x1000e7a5
mov eax, dword [ebp - 0x1c]
jmp 0x1000e7ae
sub eax, 0x27
je 0x1000e786
sub eax, 1
je 0x1000e786
sub eax, 3
jmp 0x1000e7b0
movzx eax, word [ebp - 0x34]
push eax
push ecx
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_CopyAcceleratorTableW]
movzx ecx, word [edi + 8]
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x1c], ecx
test eax, eax
jle 0x1000e90c
xor eax, eax
cmp dword [edi + 4], 0x106
push 0x10
pop ecx
cmove eax, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
movzx eax, byte [ecx]
and eax, 0xfffffffc
cmp eax, dword [ebp - 0x28]
jne 0x1000e8f2
movzx eax, word [ecx + 2]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
movzx eax, di
mov edi, dword [ebp + 8]
add eax, 0xffffffe0
cmp dword [ebp - 0x20], eax
je 0x1000e8fd
mov edi, dword [ebp - 0x1c]
movzx eax, di
mov edi, dword [ebp + 8]
add eax, 0x20
cmp dword [ebp - 0x20], eax
je 0x1000e8fd
inc edx
add ecx, 6
cmp edx, dword [ebp - 0x2c]
jl 0x1000e8be
jmp 0x1000e90c
push edi
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov ebx, eax
mov dword [ebp + 0xc], eax
push dword [ebp - 0x24]
call sub.mfc140u.dll_operator
pop ecx
jmp 0x1000e92a
xor ebx, ebx
jmp 0x1000e927
push edi
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov ebx, eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
je 0x1000e9ee
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
push edi
push dword [esi + 0x4c]
call dword [ebp - 0x10]
xor ecx, ecx
test eax, eax
push edi
cmovne ecx, edi
mov dword [esi + 0x74], ecx
push dword [esi + 0x4c]
call dword [ebp - 0x10]
test eax, eax
je 0x1000e972
push edi
call dword [ebp - 0x14]
cmp eax, dword [esi + 0x4c]
je 0x1000e972
mov ebx, dword [ebp - 0x14]
push edi
call ebx
mov edi, eax
push edi
call ebx
cmp eax, dword [esi + 0x4c]
jne 0x1000e962
mov ebx, dword [ebp + 0xc]
push edi
push dword [esi + 0x4c]
call dword [ebp - 0x10]
test eax, eax
je 0x1000e9ee
push dword [ebp - 0x18]
push dword [esi + 0x4c]
call dword [ebp - 0x10]
test eax, eax
je 0x1000e9ee
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x1000e9ee
xor edi, edi
mov dword [ebp + 0xc], edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], edi
push ecx
push eax
call fcn.10010afd
mov esi, dword [ebp + 0xc]
test eax, eax
js 0x1000e9dd
mov dword [ebp + 8], edi
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x10025284
push esi
mov byte [ebp - 4], 1
call dword [eax]
test eax, eax
js 0x1000e9cc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
test eax, eax
je 0x1000e9dd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 3
test esi, esi
je 0x1000e9ee
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebx
jmp 0x1000e9f4
xor eax, eax
call fcn.1001d1b3
ret 8