Function at 0x42a7dd
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x617628
call fcn.0042d268
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.005ed840
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x42a808
and dword [ebp - 0x20], eax
jmp 0x42a80e
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x42a81a
and dword [ebp - 0x24], ecx
jmp 0x42a820
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 0x42a839
cmp ebx, 0x108
jbe 0x42a851
cmp ebx, 0x200
jb 0x42a8f6
cmp ebx, 0x209
ja 0x42a8f6
test eax, eax
mov esi, eax
je 0x42a8a7
mov edi, dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi + 0x38], 0
jne 0x42a884
push dword [esi + 0x1c]
call edi
push eax
call fcn.005ed840
cmp eax, dword [ebp + 8]
je 0x42a884
push dword [esi + 0x1c]
call edi
push eax
call fcn.005ed840
mov esi, eax
test esi, esi
jne 0x42a85d
test esi, esi
je 0x42a8a7
mov eax, dword [esi + 0x38]
test eax, eax
je 0x42a8a7
mov eax, dword [eax + 0x54]
test eax, eax
je 0x42a8a7
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x42a97b
cmp ebx, 0x101
je 0x42a8bf
cmp ebx, 0x100
je 0x42a8bf
cmp ebx, 0x102
jne 0x42a8f6
test esi, esi
je 0x42a8f6
mov esi, dword [esi + 0x38]
test esi, esi
je 0x42a8f6
mov eax, dword [ebp + 0xc]
mov ax, word [eax + 8]
cmp ax, 0xd
jne 0x42a8e0
test byte [esi + 0x80], 1
jne 0x42a8ef
cmp ax, 0x1b
jne 0x42a8f6
test byte [esi + 0x80], 2
je 0x42a8f6
xor eax, eax
jmp 0x42aa5d
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.005ed840
mov edi, eax
mov eax, dword [ebp - 0x18]
xor esi, esi
push 2
sub eax, 0x100
mov dword [ebp - 0x1c], esi
pop ebx
je 0x42a9a5
sub eax, ebx
je 0x42a94b
sub eax, 4
jne 0x42a9df
cmp dword [ebp - 0x14], esi
jne 0x42a93b
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x42a9df
mov esi, dword [ebp + 0xc]
cmp word [esi + 8], 0x20
je 0x42a9df
jmp 0x42a94e
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebp + 8]
je 0x42a97b
push esi
push edi
call fcn.0042a1fc
cmp dword [ebp - 0x18], 0x102
jne 0x42a967
test al, 0x84
jne 0x42a9df
mov cx, word [esi + 8]
cmp cx, 9
jne 0x42a975
test bl, al
jne 0x42a9df
cmp cx, 0x20
jne 0x42a983
push 1
pop eax
jmp 0x42aa5d
push esi
push edi
push dword [ebp + 8]
call fcn.0042a457
test eax, eax
je 0x42a9df
mov eax, dword [eax + 0x38]
test eax, eax
je 0x42a9df
push esi
mov ecx, eax
call fcn.004262e3
jmp 0x42ab5e
push dword [ebp + 0xc]
push edi
call fcn.0042a1fc
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
cmp ecx, 0x1b
jg 0x42aac3
je 0x42ab0e
cmp ecx, 3
je 0x42ab0e
cmp ecx, 9
je 0x42aa6e
cmp ecx, 0xd
je 0x42aae7
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
test edi, edi
je 0x42aa16
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call fcn.005ed840
cmp eax, dword [ebp - 0x14]
je 0x42aa16
call esi
push eax
call fcn.005ed840
push eax
call fcn.0042a4cc
pop ecx
push dword [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x42aa5b
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
call ebx
push eax
call fcn.005ed840
push eax
push dword [ebp - 0x14]
call fcn.0042a529
pop ecx
pop ecx
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x42aa5b
call ebx
push eax
call fcn.005ed840
push eax
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.0042a6f0
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 0x42a9df
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
test edi, edi
mov eax, ecx
je 0x42aa8f
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.005ed840
mov esi, eax
test esi, esi
je 0x42ab5e
push esi
call fcn.0042a22a
push esi
push dword [ebp - 0x14]
call fcn.0042a529
pop ecx
pop ecx
jmp 0x42ab5e
cmp ecx, 0x25
jl 0x42a9df
cmp ecx, 0x26
jle 0x42ab74
cmp ecx, 0x28
jle 0x42ab7b
cmp ecx, 0x2b
jne 0x42a9df
push dword [ebp - 0x14]
call fcn.0042a640
test al, 0x10
pop ecx
je 0x42ab00
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.005f0cc3
jmp 0x42ab08
push dword [ebp + 8]
call fcn.0042a6c3
test esi, esi
mov ebx, eax
jne 0x42ab21
push ebx
push dword [ebp + 8]
call fcn.0042a59c
mov esi, eax
test esi, esi
je 0x42a9df
mov ecx, esi
call fcn.005f0dbe
test eax, eax
jne 0x42ab38
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x42a9df
cmp dword [esi + 0x38], 0
je 0x42a9df
xor eax, eax
push eax
push eax
push eax
push 1
push 0xfffffdd9
push esi
mov dword [ebp - 4], eax
call fcn.005f0e21
add esp, 0x18
or dword [ebp - 4], 0xffffffff
push 1
pop edi
jmp 0x42aa16
mov dword [ebp - 0x1c], 1
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call fcn.0042a1fc
test al, 1
jne 0x42a9df
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42ab98
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.005ed840
test eax, eax
je 0x42a9df
cmp dword [eax + 0x38], 0
je 0x42a9df
push eax
call fcn.0042a22a
jmp 0x42ab5e