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 0x1025e91
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 0x101921f
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 0x1025e9c
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 0x102600f
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x10], 1
call ebx
cmp eax, dword [ebp - 0x14]
je 0x1025f14
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 0x1025f14
xor esi, esi
cmp dword [ebp - 4], esi
je 0x1025f08
push dword [ebp - 8]
jmp 0x1025f0b
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
push esi
jmp 0x1025f63
mov eax, dword [edi]
xor ecx, ecx
cmp dword [ebp - 4], ecx
je 0x1025f7b
cmp eax, dword [ebp + 8]
je 0x1025fc4
mov eax, dword [esi + 0x418]
push 0xfa4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi], eax
je 0x1025f58
mov eax, dword [esi + 0x41c]
mov esi, dword [edi]
push 0xfa6
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, eax
jne 0x1025ff7
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 0x1026007
cmp eax, dword [ebp + 8]
jne 0x1025fbf
push ecx
push ecx
push 0x147
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 0
je 0x1025fa5
dec eax
jne 0x1025fba
mov esi, dword [esi + 0x41c]
push 0xfa6
jmp 0x1025fb0
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 0x1025f5b
cmp eax, dword [ebp - 8]
jne 0x1025ff9
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.01003349
jmp 0x1026007
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 0x102606c
cmp dword [ebp - 4], 0
mov eax, dword [edi]
je 0x1026037
cmp eax, dword [ebp + 8]
je 0x102603c
mov esi, dword [esi + 4]
push edi
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
jmp 0x1001e63
cmp eax, dword [ebp - 8]
jne 0x1026027
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.01003349
jmp 0x1026095
xor esi, esi
cmp dword [ebp - 4], esi
je 0x1026078
push dword [ebp - 8]
jmp 0x102607b
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