Function at 0x48407a
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x4ae730
call fcn.00497e60
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00488e3e
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x4840a5
and dword [ebp - 0x20], eax
jmp 0x4840ab
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x4840b7
and dword [ebp - 0x24], ecx
jmp 0x4840bd
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 4]
cmp ebx, 0x100
mov dword [ebp - 0x18], ebx
jb 0x4840d6
cmp ebx, 0x108
jbe 0x4840ee
cmp ebx, 0x200
jb 0x484193
cmp ebx, 0x209
ja 0x484193
test eax, eax
mov esi, eax
je 0x484144
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x38], 0
jne 0x484121
push dword [esi + 0x1c]
call edi
push eax
call fcn.00488e3e
cmp eax, dword [ebp + 8]
je 0x484121
push dword [esi + 0x1c]
call edi
push eax
call fcn.00488e3e
mov esi, eax
test esi, esi
jne 0x4840fa
test esi, esi
je 0x484144
mov eax, dword [esi + 0x38]
test eax, eax
je 0x484144
mov eax, dword [eax + 0x54]
test eax, eax
je 0x484144
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x484218
cmp ebx, 0x101
je 0x48415c
cmp ebx, 0x100
je 0x48415c
cmp ebx, 0x102
jne 0x484193
test esi, esi
je 0x484193
mov esi, dword [esi + 0x38]
test esi, esi
je 0x484193
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x48417d
test byte [esi + 0x80], 1
jne 0x48418c
cmp ax, 0x1b
jne 0x484193
test byte [esi + 0x80], 2
je 0x484193
xor eax, eax
jmp 0x4842fa
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.00488e3e
mov edi, eax
mov eax, dword [ebp - 0x18]
xor esi, esi
push 2
sub eax, 0x100
mov dword [ebp - 0x1c], esi
pop ebx
je 0x484242
sub eax, ebx
je 0x4841e8
sub eax, 4
jne 0x48427c
cmp dword [ebp - 0x14], esi
jne 0x4841d8
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x48427c
mov esi, dword [ebp + 0xc]
cmp word [esi + 8], 0x20
je 0x48427c
jmp 0x4841eb
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
je 0x484218
push esi
push edi
call fcn.00483a99
cmp dword [ebp - 0x18], 0x102
jne 0x484204
test al, 0x84
jne 0x48427c
mov cx, word [esi + 8]
cmp cx, 9
jne 0x484212
test bl, al
jne 0x48427c
cmp cx, 0x20
jne 0x484220
push 1
pop eax
jmp 0x4842fa
push esi
push edi
push dword [ebp + 8]
call fcn.00483cf4
test eax, eax
je 0x48427c
mov eax, dword [eax + 0x38]
test eax, eax
je 0x48427c
push esi
mov ecx, eax
call fcn.0047f9c0
jmp 0x4843fb
push dword [ebp + 0xc]
push edi
call fcn.00483a99
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
cmp ecx, 0x1b
jg 0x484360
je 0x4843ab
cmp ecx, 3
je 0x4843ab
cmp ecx, 9
je 0x48430b
cmp ecx, 0xd
je 0x484384
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
mov edi, eax
test edi, edi
je 0x4842b3
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.00488e3e
cmp eax, dword [ebp - 0x14]
je 0x4842b3
call esi
push eax
call fcn.00488e3e
push eax
call fcn.00483d69
pop ecx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x4842f8
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.00488e3e
push eax
push dword [ebp - 0x14]
call fcn.00483dc6
pop ecx
pop ecx
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x4842f8
call ebx
push eax
call fcn.00488e3e
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.00483f8d
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
test al, 2
jne 0x48427c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
je 0x48432c
mov edi, dword [edi + 0x1c]
push eax
mov eax, dword [ebp + 8]
push edi
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.00488e3e
mov esi, eax
test esi, esi
je 0x4843fb
push esi
call fcn.00483ac7
push esi
push dword [ebp - 0x14]
call fcn.00483dc6
pop ecx
pop ecx
jmp 0x4843fb
cmp ecx, 0x25
jl 0x48427c
cmp ecx, 0x26
jle 0x484411
cmp ecx, 0x28
jle 0x484418
cmp ecx, 0x2b
jne 0x48427c
push dword [ebp - 0x14]
call fcn.00483edd
test al, 0x10
pop ecx
je 0x48439d
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0048b7c9
jmp 0x4843a5
push dword [ebp + 8]
call fcn.00483f60
test esi, esi
mov ebx, eax
jne 0x4843be
push ebx
push dword [ebp + 8]
call fcn.00483e39
mov esi, eax
test esi, esi
je 0x48427c
mov ecx, esi
call fcn.0048b89b
test eax, eax
jne 0x4843d5
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x48427c
cmp dword [esi + 0x38], 0
je 0x48427c
xor eax, eax
push eax
push eax
push eax
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], eax
call fcn.0048b8fe
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push 1
pop edi
jmp 0x4842b3
mov dword [ebp - 0x1c], 1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00483a99
test al, 1
jne 0x48427c
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x484435
mov eax, dword [eax + 0x1c]
push dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push eax
call fcn.00488e3e
test eax, eax
je 0x48427c
cmp dword [eax + 0x38], 0
je 0x48427c
push eax
call fcn.00483ac7
jmp 0x4843fb