Function at 0x1008625
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 + 0x29], 0
push esi
mov dword [ebp - 0xc], ebx
je 0x100863f
mov esi, dword [ebx + 0x14]
jmp 0x1008653
cmp byte [ebx + 0x2a], 0
je 0x100864a
mov esi, dword [ebx + 0x18]
jmp 0x1008653
cmp byte [ebx + 0x2b], 0
je 0x1008657
mov esi, dword [ebx + 0x1c]
test esi, esi
jne 0x100865e
xor eax, eax
jmp 0x100885f
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0x100
jne 0x100885c
push 9
pop eax
cmp ax, word [edi + 8]
jne 0x100885c
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 + 0x24]
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 0x10087db
mov ebx, dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x10], 1
call ebx
cmp eax, dword [ebp - 0x14]
je 0x10086e7
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 0x10086e7
cmp dword [ebp - 4], 0
je 0x100872b
push dword [ebp - 8]
jmp 0x100872e
mov eax, dword [edi]
xor ecx, ecx
cmp dword [ebp - 4], ecx
je 0x100874c
cmp eax, dword [ebp + 8]
je 0x1008795
mov eax, dword [esi + 0x418]
push 0xfa4
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [edi], eax
je 0x100872b
mov eax, dword [esi + 0x41c]
mov esi, dword [edi]
push 0xfa6
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, eax
jne 0x10087c3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.01029bec
mov ecx, eax
call fcn.01029a61
mov ecx, eax
call fcn.0101126d
jmp 0x10087d3
cmp eax, dword [ebp + 8]
jne 0x1008790
push ecx
push ecx
push 0x147
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 0
je 0x1008776
dec eax
jne 0x100878b
mov esi, dword [esi + 0x41c]
push 0xfa6
jmp 0x1008781
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 0x100872e
cmp eax, dword [ebp - 8]
jne 0x10087c5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x60]
push 0x96
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.01029bec
mov ecx, eax
call fcn.01029a61
mov ecx, eax
call fcn.01011295
jmp 0x10087d3
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 0x100885e
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebp - 0x14]
jne 0x1008830
cmp dword [ebp - 4], 0
mov eax, dword [edi]
je 0x1008800
cmp eax, dword [ebp + 8]
je 0x1008805
mov esi, dword [esi + 4]
push edi
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
jmp 0x100885e
cmp eax, dword [ebp - 8]
jne 0x10087f3
mov ebx, dword [ebx + 0x60]
push 0x96
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.01029bec
mov ecx, eax
call fcn.01029a61
mov ecx, eax
call fcn.01011295
jmp 0x1008857
cmp dword [ebp - 4], 0
je 0x100883b
push dword [ebp - 8]
jmp 0x100883e
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.01029bec
mov ecx, eax
call fcn.01029a61
mov ecx, eax
call fcn.0101126d
xor eax, eax
inc eax
jmp 0x100885e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4