Function at 0x1001d93
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp byte [ebx + 0xf9], 0
push esi
mov dword [ebp - 0xc], ebx
jne 0x100861f
cmp byte [ebx + 0xfa], 0
jne 0x1001e7a
cmp byte [ebx + 0xfb], 0
jne 0x1025c29
xor eax, eax
pop esi
pop ebx
leave
ret 4
test esi, esi
je 0x1001dc9
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x100
je 0x100f8d6
xor eax, eax
pop edi
jmp 0x1001dcb
mov esi, dword [ebx + 0xe8]
jmp 0x1001e48
mov esi, dword [ebx + 0xe4]
jmp 0x1001e48
push 9
pop eax
cmp ax, word [edi + 8]
jne 0x1001e61
jmp 0x1025c34
mov esi, dword [ebx + 0xec]
jmp 0x1001e48
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
mov eax, dword [esi]
setl cl
mov dword [ebp - 4], ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push dword [edi]
cmp eax, 6
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
jne 0x1025da7
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x10], 1
call ebx
cmp eax, dword [ebp - 0x14]
je 0x1025cac
mov eax, dword [esi + 4]
push dword [edi]
mov dword [ebp - 0x14], eax
call ebx
push eax
call ebx
cmp eax, dword [ebp - 0x14]
je 0x1025cac
xor esi, esi
cmp dword [ebp - 4], esi
je 0x1025ca0
push dword [ebp - 8]
jmp 0x1025ca3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
jmp 0x1025cfb
mov eax, dword [edi]
xor ecx, ecx
cmp dword [ebp - 4], ecx
je 0x1025d13
cmp eax, dword [ebp + 8]
je 0x1025d5c
mov eax, dword [esi + 0x418]
push 0xfa4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi], eax
je 0x1025cf0
mov eax, dword [esi + 0x41c]
mov esi, dword [edi]
push 0xfa6
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, eax
jne 0x1025d8f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call fcn.0100228d
mov ecx, eax
call fcn.010022a7
mov ecx, eax
call fcn.01024e89
jmp 0x1025d9f
cmp eax, dword [ebp + 8]
jne 0x1025d57
push ecx
push ecx
push 0x147
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 0
je 0x1025d3d
dec eax
jne 0x1025d52
mov esi, dword [esi + 0x41c]
push 0xfa6
jmp 0x1025d48
mov esi, dword [esi + 0x418]
push 0xfa4
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
push dword [ebp - 4]
jmp 0x1025cf3
cmp eax, dword [ebp - 8]
jne 0x1025d91
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
push 0x96
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call fcn.0100228d
mov ecx, eax
call fcn.010022a7
mov ecx, eax
call fcn.010024df
jmp 0x1025d9f
mov eax, esi
push edi
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
jmp 0x1001e63
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebp - 0x14]
jne 0x1025e04
cmp dword [ebp - 4], 0
mov eax, dword [edi]
je 0x1025dcf
cmp eax, dword [ebp + 8]
je 0x1025dd4
mov esi, dword [esi + 4]
push edi
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
jmp 0x1001e63
cmp eax, dword [ebp - 8]
jne 0x1025dbf
mov ebx, dword [ebx + 0x130]
push 0x96
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call fcn.0100228d
mov ecx, eax
call fcn.010022a7
mov ecx, eax
call fcn.010024df
jmp 0x1025e2d
xor esi, esi
cmp dword [ebp - 4], esi
je 0x1025e10
push dword [ebp - 8]
jmp 0x1025e13
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.0100228d
mov ecx, eax
call fcn.010022a7
mov ecx, eax
call fcn.01024e89
xor eax, eax
inc eax
jmp 0x1001e63