Function at 0x4223f9
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x45660c
call fcn.00424318
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.004390cd
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x422424
and dword [ebp - 0x20], eax
jmp 0x42242a
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x422436
and dword [ebp - 0x24], ecx
jmp 0x42243c
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 0x422455
cmp ebx, 0x108
jbe 0x42246d
cmp ebx, 0x200
jb 0x422512
cmp ebx, 0x209
ja 0x422512
test eax, eax
mov esi, eax
je 0x4224c3
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x38], 0
jne 0x4224a0
push dword [esi + 0x1c]
call edi
push eax
call fcn.004390cd
cmp eax, dword [ebp + 8]
je 0x4224a0
push dword [esi + 0x1c]
call edi
push eax
call fcn.004390cd
mov esi, eax
test esi, esi
jne 0x422479
test esi, esi
je 0x4224c3
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4224c3
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4224c3
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x422597
cmp ebx, 0x101
je 0x4224db
cmp ebx, 0x100
je 0x4224db
cmp ebx, 0x102
jne 0x422512
test esi, esi
je 0x422512
mov esi, dword [esi + 0x38]
test esi, esi
je 0x422512
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x4224fc
test byte [esi + 0x80], 1
jne 0x42250b
cmp ax, 0x1b
jne 0x422512
test byte [esi + 0x80], 2
je 0x422512
xor eax, eax
jmp 0x422679
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.004390cd
mov edi, eax
mov eax, dword [ebp - 0x18]
xor esi, esi
push 2
sub eax, 0x100
mov dword [ebp - 0x1c], esi
pop ebx
je 0x4225c1
sub eax, ebx
je 0x422567
sub eax, 4
jne 0x4225fb
cmp dword [ebp - 0x14], esi
jne 0x422557
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4225fb
mov esi, dword [ebp + 0xc]
cmp word [esi + 8], 0x20
je 0x4225fb
jmp 0x42256a
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
je 0x422597
push esi
push edi
call fcn.00421e18
cmp dword [ebp - 0x18], 0x102
jne 0x422583
test al, 0x84
jne 0x4225fb
mov cx, word [esi + 8]
cmp cx, 9
jne 0x422591
test bl, al
jne 0x4225fb
cmp cx, 0x20
jne 0x42259f
push 1
pop eax
jmp 0x422679
push esi
push edi
push dword [ebp + 8]
call fcn.00422073
test eax, eax
je 0x4225fb
mov eax, dword [eax + 0x38]
test eax, eax
je 0x4225fb
push esi
mov ecx, eax
call fcn.0041dfbe
jmp 0x42277a
push dword [ebp + 0xc]
push edi
call fcn.00421e18
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
cmp ecx, 0x1b
jg 0x4226df
je 0x42272a
cmp ecx, 3
je 0x42272a
cmp ecx, 9
je 0x42268a
cmp ecx, 0xd
je 0x422703
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 0x422632
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.004390cd
cmp eax, dword [ebp - 0x14]
je 0x422632
call esi
push eax
call fcn.004390cd
push eax
call fcn.004220e8
pop ecx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x422677
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.004390cd
push eax
push dword [ebp - 0x14]
call fcn.00422145
pop ecx
pop ecx
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x422677
call ebx
push eax
call fcn.004390cd
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0042230c
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 0x4225fb
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
je 0x4226ab
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.004390cd
mov esi, eax
test esi, esi
je 0x42277a
push esi
call fcn.00421e46
push esi
push dword [ebp - 0x14]
call fcn.00422145
pop ecx
pop ecx
jmp 0x42277a
cmp ecx, 0x25
jl 0x4225fb
cmp ecx, 0x26
jle 0x422790
cmp ecx, 0x28
jle 0x422797
cmp ecx, 0x2b
jne 0x4225fb
push dword [ebp - 0x14]
call fcn.0042225c
test al, 0x10
pop ecx
je 0x42271c
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0043c039
jmp 0x422724
push dword [ebp + 8]
call fcn.004222df
test esi, esi
mov ebx, eax
jne 0x42273d
push ebx
push dword [ebp + 8]
call fcn.004221b8
mov esi, eax
test esi, esi
je 0x4225fb
mov ecx, esi
call fcn.0043c134
test eax, eax
jne 0x422754
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x4225fb
cmp dword [esi + 0x38], 0
je 0x4225fb
xor eax, eax
push eax
push eax
push eax
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], eax
call fcn.0043c197
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push 1
pop edi
jmp 0x422632
mov dword [ebp - 0x1c], 1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.00421e18
test al, 1
jne 0x4225fb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4227b4
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.004390cd
test eax, eax
je 0x4225fb
cmp dword [eax + 0x38], 0
je 0x4225fb
push eax
call fcn.00421e46
jmp 0x42277a