Function at 0x46d6c7
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x20
mov eax, 0x590d34
call fcn.0056cc09
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jne 0x46d6e1
mov dword [ebp - 0x20], edi
jmp 0x46d6e7
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x28], eax
call fcn.004302a1
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
cmp eax, 0x100
jb 0x46d715
cmp eax, 0x109
jbe 0x46d723
add eax, 0xfffffe00
cmp eax, 9
ja 0x46d7f0
test esi, esi
je 0x46d7f0
mov eax, esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 0x74], edi
jne 0x46d765
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
cmp eax, ebx
mov eax, dword [ebp - 0x18]
je 0x46d761
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004302a1
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x46d730
test eax, eax
je 0x46d796
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x46d796
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x46d796
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x59da0c]
call esi
test eax, eax
jne 0x46d790
inc eax
jmp 0x46d8f1
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x101
je 0x46d7b1
cmp ecx, 0x100
je 0x46d7b1
cmp ecx, 0x102
jne 0x46d7f0
test eax, eax
je 0x46d7f0
mov edx, dword [eax + 0x74]
test edx, edx
je 0x46d7f0
mov eax, dword [ebp + 0xc]
push 0xd
movzx ecx, word [eax + 8]
mov dword [ebp - 0x18], ecx
pop ecx
cmp word [ebp - 0x18], cx
jne 0x46d7de
test byte [edx + 0x84], 1
jne 0x46d87e
jmp 0x46d7f3
push 0x1b
pop ecx
cmp word [ebp - 0x18], cx
jne 0x46d7f3
test byte [edx + 0x84], 2
jmp 0x46d7d6
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.004302a1
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov dword [ebp - 0x18], edx
sub ecx, 0x100
je 0x46d8f9
dec ecx
sub ecx, 1
je 0x46d847
sub ecx, 4
jne 0x46d940
test esi, esi
jne 0x46d835
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x46d940
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
push 0x20
pop eax
cmp word [esi + 8], ax
je 0x46d943
jmp 0x46d84a
mov esi, dword [ebp + 0xc]
push esi
push edx
call fcn.0046e163
cmp dword [ebp - 0x1c], 0x102
jne 0x46d862
test al, 0x84
jne 0x46d943
movzx ecx, word [esi + 8]
push 9
pop edx
cmp cx, dx
jne 0x46d876
test al, 2
jne 0x46d943
push 0x20
pop eax
cmp cx, ax
jne 0x46d882
xor eax, eax
jmp 0x46d8f1
mov eax, dword [ebp - 0x18]
push esi
push eax
push ebx
call fcn.0046e193
test eax, eax
je 0x46d943
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46d943
push esi
call fcn.0046c063
xor edi, edi
inc edi
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d8ef
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004302a1
push eax
push esi
call fcn.0046dd44
pop ecx
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46d8ef
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004302a1
push eax
push esi
push ebx
call fcn.0046ddd1
mov eax, edi
call fcn.0056cb67
ret 8
push dword [ebp + 0xc]
push edx
call fcn.0046e163
mov edx, eax
mov eax, dword [ebp + 0xc]
push 0x1b
movzx ecx, word [eax + 8]
movzx esi, cx
mov dword [ebp - 0x24], ecx
pop ecx
cmp si, cx
ja 0x46da2e
je 0x46da83
cmp esi, 3
je 0x46da83
push 9
pop eax
cmp si, ax
je 0x46d993
push 0xd
pop eax
cmp si, ax
je 0x46da57
mov esi, dword [ebp + 0xc]
test dword [ebx + 0x60], 0x1000
jne 0x46d8a9
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
test edi, edi
je 0x46d8a9
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004302a1
mov esi, dword [ebp - 0x14]
cmp eax, esi
je 0x46d8ac
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004302a1
push eax
call fcn.0046dcc9
pop ecx
jmp 0x46d8ac
test dl, 2
jne 0x46d940
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
push ecx
mov dword [ebp - 0x24], ecx
mov ecx, ebx
push edi
call fcn.00464e12
mov ecx, eax
test ecx, ecx
je 0x46d940
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x46d9e1
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x59da0c]
mov ecx, dword [ebp - 0x1c]
call esi
jmp 0x46d8a6
mov eax, dword [ecx]
test eax, eax
jne 0x46da02
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x46d9f2
mov eax, edi
jmp 0x46d9f5
mov eax, dword [eax + 0x20]
push dword [ebp - 0x24]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.004302a1
mov esi, eax
test esi, esi
je 0x46d8a6
mov ecx, dword [ebx + 0x70]
push esi
mov dword [ecx + 0x70], edi
call fcn.0046deaf
push esi
push dword [ebp - 0x14]
call fcn.0046dd44
pop ecx
pop ecx
jmp 0x46d8a6
cmp esi, 0x25
jb 0x46dbed
push 0x26
pop ecx
cmp cx, si
jae 0x46daf1
cmp esi, 0x28
jbe 0x46daee
cmp word [ebp - 0x24], 0x2b
jne 0x46dbed
test dl, 4
jne 0x46d940
mov esi, dword [ebp - 0x14]
push esi
call fcn.0046d6a1
pop ecx
test al, 0x10
je 0x46da7b
mov ecx, esi
call fcn.00464c36
test esi, esi
jne 0x46da97
jmp 0x46da86
push ebx
call fcn.0046e381
jmp 0x46da86
push 2
pop eax
push eax
push ebx
call fcn.0046dee0
mov esi, eax
test esi, esi
je 0x46d940
mov ecx, esi
call fcn.004651c7
test eax, eax
jne 0x46daae
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x46d940
cmp dword [esi + 0x74], edi
je 0x46d940
push edi
push edi
push edi
mov dword [ebp - 4], edi
xor edi, edi
inc edi
push edi
push 0xfffffdd9
push esi
call fcn.00465111
add esp, 0x18
jmp 0x46dae5
or dword [ebp - 4], 0xffffffff
jmp 0x46d8a9
cmp cx, si
sbb ecx, ecx
push eax
push dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x1c], ecx
call fcn.0046e163
test al, 1
jne 0x46d940
push 0x26
pop eax
mov ecx, ebx
push edi
cmp si, ax
ja 0x46db1a
call fcn.00464fb9
jmp 0x46db1f
call fcn.00464dc2
mov esi, eax
test esi, esi
je 0x46d940
cmp dword [esi + 8], edi
je 0x46db36
push esi
mov ecx, ebx
call fcn.00465411
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x46db5b
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x59da0c]
mov ecx, dword [ebp - 0x24]
jmp 0x46d9da
mov eax, dword [esi]
test eax, eax
jne 0x46db7c
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x46db6c
mov eax, edi
jmp 0x46db6f
mov eax, dword [eax + 0x20]
push dword [ebp - 0x1c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push eax
call fcn.004302a1
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x46d940
mov ecx, dword [ebx + 0x70]
push eax
mov dword [ecx + 0x70], edi
call fcn.0046deaf
cmp dword [esi + 8], edi
je 0x46d8a6
mov eax, dword [ebp - 0x1c]
push 0xfffffffffffffff4
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push edi
xor edi, edi
mov esi, eax
mov eax, dword [ebp - 0x1c]
inc edi
push edi
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x20]
movzx eax, si
push eax
push 0x111
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x1c]
call fcn.0046deaf
jmp 0x46d8a9
mov esi, eax
jmp 0x46d943