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 0x10031da
cmp byte [ebx + 0xfa], 0
jne 0x1001e7a
cmp byte [ebx + 0xfb], 0
jne 0x1025e99
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 0x1019223
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 0x1025ea4
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 0x1026017
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x10], 1
call ebx
cmp eax, dword [ebp - 0x14]
je 0x1025f1c
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 0x1025f1c
xor esi, esi
cmp dword [ebp - 4], esi
je 0x1025f10
push dword [ebp - 8]
jmp 0x1025f13
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
jmp 0x1025f6b
mov eax, dword [edi]
xor ecx, ecx
cmp dword [ebp - 4], ecx
je 0x1025f83
cmp eax, dword [ebp + 8]
je 0x1025fcc
mov eax, dword [esi + 0x418]
push 0xfa4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi], eax
je 0x1025f60
mov eax, dword [esi + 0x41c]
mov esi, dword [edi]
push 0xfa6
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, eax
jne 0x1025fff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
call fcn.010021b6
mov ecx, eax
call fcn.01002541
mov ecx, eax
call fcn.0100d4d6
jmp 0x102600f
cmp eax, dword [ebp + 8]
jne 0x1025fc7
push ecx
push ecx
push 0x147
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 0
je 0x1025fad
dec eax
jne 0x1025fc2
mov esi, dword [esi + 0x41c]
push 0xfa6
jmp 0x1025fb8
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 0x1025f63
cmp eax, dword [ebp - 8]
jne 0x1026001
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.010021b6
mov ecx, eax
call fcn.01002541
mov ecx, eax
call fcn.0100334a
jmp 0x102600f
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 0x1026074
cmp dword [ebp - 4], 0
mov eax, dword [edi]
je 0x102603f
cmp eax, dword [ebp + 8]
je 0x1026044
mov esi, dword [esi + 4]
push edi
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
jmp 0x1001e63
cmp eax, dword [ebp - 8]
jne 0x102602f
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.010021b6
mov ecx, eax
call fcn.01002541
mov ecx, eax
call fcn.0100334a
jmp 0x102609d
xor esi, esi
cmp dword [ebp - 4], esi
je 0x1026080
push dword [ebp - 8]
jmp 0x1026083
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
call fcn.010021b6
mov ecx, eax
call fcn.01002541
mov ecx, eax
call fcn.0100d4d6
xor eax, eax
inc eax
jmp 0x1001e63