Function at 0x1000e6d5
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x30
mov eax, 0x10020143
call fcn.1001d02b
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 0x1000e6fd
cmp eax, 0x109
jbe 0x1000e70b
add eax, 0xfffffe00
cmp eax, 0xe
ja 0x1000ea2d
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 0x1000e74e
push ebx
call eax
cmp eax, dword [esi + 0x4c]
je 0x1000e74e
mov edi, dword [ebp - 0x14]
push ebx
call edi
mov ebx, eax
push ebx
call edi
cmp eax, dword [esi + 0x4c]
jne 0x1000e73b
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 0x1000e76a
xor eax, eax
inc eax
jmp 0x1000ea2f
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 0x1000e792
dec ecx
sub ecx, 1
jne 0x1000e7f1
test edx, edx
jmp 0x1000e7eb
movzx eax, word [edi + 8]
cmp eax, 0x26
ja 0x1000e8a6
je 0x1000e7c1
cmp eax, 3
je 0x1000ea2d
cmp eax, 9
je 0x1000e86e
cmp eax, 0x1b
je 0x1000ea2d
cmp eax, 0x25
jne 0x1000e7f1
test dl, 1
jne 0x1000e7f1
push 5
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindow]
cmp dword [edi + 8], 0x27
je 0x1000e7dd
cmp dword [edi + 8], 0x28
jne 0x1000e7e9
push 1
push eax
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
cmp eax, ebx
je 0x1000ea2d
cmp dword [edi + 4], 0x106
je 0x1000e810
cmp dword [edi + 4], 0x104
je 0x1000e810
cmp dword [edi + 4], 0x105
jne 0x1000e956
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 0x1000e956
mov ax, word [ebp - 0x34]
test ax, ax
je 0x1000e952
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 0x1000e8c0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x8007000e
jmp 0x1000e762
test dl, 2
jne 0x1000e7f1
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 0x1000e89e
push 1
push dword [ebp - 0x1c]
jmp 0x1000e7e0
mov eax, dword [ebp - 0x1c]
jmp 0x1000e7e9
sub eax, 0x27
je 0x1000e7c1
sub eax, 1
je 0x1000e7c1
sub eax, 3
jmp 0x1000e7eb
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 0x1000e947
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 0x1000e92d
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 0x1000e938
mov edi, dword [ebp - 0x1c]
movzx eax, di
mov edi, dword [ebp + 8]
add eax, 0x20
cmp dword [ebp - 0x20], eax
je 0x1000e938
inc edx
add ecx, 6
cmp edx, dword [ebp - 0x2c]
jl 0x1000e8f9
jmp 0x1000e947
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 0x1000e965
xor ebx, ebx
jmp 0x1000e962
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 0x1000ea29
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 0x1000e9ad
push edi
call dword [ebp - 0x14]
cmp eax, dword [esi + 0x4c]
je 0x1000e9ad
mov ebx, dword [ebp - 0x14]
push edi
call ebx
mov edi, eax
push edi
call ebx
cmp eax, dword [esi + 0x4c]
jne 0x1000e99d
mov ebx, dword [ebp + 0xc]
push edi
push dword [esi + 0x4c]
call dword [ebp - 0x10]
test eax, eax
je 0x1000ea29
push dword [ebp - 0x18]
push dword [esi + 0x4c]
call dword [ebp - 0x10]
test eax, eax
je 0x1000ea29
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x1000ea29
xor edi, edi
mov dword [ebp + 0xc], edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], edi
push ecx
push eax
call fcn.10010b10
mov esi, dword [ebp + 0xc]
test eax, eax
js 0x1000ea18
mov dword [ebp + 8], edi
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1002429c
push esi
mov byte [ebp - 4], 1
call dword [eax]
test eax, eax
js 0x1000ea07
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 0x1000ea18
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 3
test esi, esi
je 0x1000ea29
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebx
jmp 0x1000ea2f
xor eax, eax
call fcn.1001cff9
ret 8