Function at 0x4602fe
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x20
mov eax, 0x5816e0
call fcn.0055eb5f
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jne 0x460318
mov dword [ebp - 0x24], edi
jmp 0x46031e
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x28], eax
call fcn.00423b53
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmp eax, 0x100
jb 0x46034c
cmp eax, 0x109
jbe 0x46035a
add eax, 0xfffffe00
cmp eax, 9
ja 0x460474
test esi, esi
je 0x460474
cmp dword [esi + 0x74], edi
jne 0x46038f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00423b53
cmp eax, ebx
je 0x46038f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00423b53
mov esi, eax
test esi, esi
jne 0x460362
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4603c4
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4603c4
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x4603c4
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x58d9e8]
call esi
test eax, eax
jne 0x4603c1
inc eax
jmp 0x460522
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, 0x101
je 0x4603dc
cmp eax, 0x100
je 0x4603dc
cmp eax, 0x102
jne 0x460417
test esi, esi
je 0x460417
mov edx, dword [esi + 0x74]
test edx, edx
je 0x460417
mov eax, dword [ebp + 0xc]
push 0xd
pop ecx
movzx esi, word [eax + 8]
cmp si, cx
jne 0x4603ff
test byte [edx + 0x84], 1
jne 0x460410
push 0x1b
pop ecx
cmp si, cx
jne 0x46041a
test byte [edx + 0x84], 2
je 0x46041a
xor eax, eax
jmp 0x460522
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
push dword [eax]
call fcn.00423b53
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
sub ecx, 0x100
je 0x46052a
dec ecx
sub ecx, 1
je 0x460479
sub ecx, 4
jne 0x460571
test esi, esi
jne 0x460462
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x460571
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
push 0x20
pop eax
cmp word [esi + 8], ax
je 0x460574
jmp 0x46047c
mov eax, dword [ebp + 0xc]
jmp 0x46041d
mov esi, dword [ebp + 0xc]
push esi
push edx
call fcn.00460d90
cmp dword [ebp - 0x18], 0x102
jne 0x460494
test al, 0x84
jne 0x460574
movzx ecx, word [esi + 8]
push 9
pop edx
cmp cx, dx
jne 0x4604a8
test al, 2
jne 0x460574
push 0x20
pop eax
cmp cx, ax
je 0x460410
push esi
push dword [ebp - 0x1c]
push ebx
call fcn.00460dc0
test eax, eax
je 0x460574
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x460574
push esi
call fcn.0045ec51
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 0x460520
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00423b53
push eax
push esi
call fcn.0046096f
pop ecx
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x460520
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00423b53
push eax
push esi
push ebx
call fcn.004609fc
mov eax, edi
call fcn.0055eabd
ret 8
push dword [ebp + 0xc]
push edx
call fcn.00460d90
mov edx, eax
mov eax, dword [ebp + 0xc]
push 0x1b
movzx ecx, word [eax + 8]
movzx esi, cx
mov dword [ebp - 0x18], ecx
pop ecx
cmp si, cx
ja 0x460653
je 0x4606b1
cmp esi, 3
je 0x4606b1
push 9
pop eax
cmp si, ax
je 0x4605c4
push 0xd
pop eax
cmp si, ax
je 0x46067c
mov esi, dword [ebp + 0xc]
test dword [ebx + 0x60], 0x1000
jne 0x4604da
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
test edi, edi
je 0x4604da
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00423b53
mov esi, dword [ebp - 0x14]
cmp eax, esi
je 0x4604dd
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00423b53
push eax
call fcn.004608f4
pop ecx
jmp 0x4604dd
test dl, 2
jne 0x460571
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
push ecx
mov dword [ebp - 0x18], ecx
mov ecx, ebx
push edi
call fcn.00457b03
mov ecx, eax
test ecx, ecx
je 0x460571
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x460612
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x58d9e8]
mov ecx, dword [ebp - 0x20]
call esi
jmp 0x4604d7
cmp dword [ecx], 0
je 0x460620
push dword [ecx]
call fcn.00423b53
jmp 0x46062d
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.004602da
mov esi, eax
test esi, esi
je 0x4604d7
mov eax, dword [ebx + 0x70]
push esi
mov dword [eax + 0x70], edi
call fcn.00460ada
push esi
push dword [ebp - 0x14]
call fcn.0046096f
pop ecx
pop ecx
jmp 0x4604d7
cmp esi, 0x25
jb 0x46081d
push 0x26
pop ecx
cmp cx, si
jae 0x460726
cmp esi, 0x28
jbe 0x460723
cmp word [ebp - 0x18], 0x2b
jne 0x46081d
test dl, 4
jne 0x460571
mov esi, dword [ebp - 0x14]
push esi
call fcn.00460290
pop ecx
test al, 0x10
je 0x4606a2
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.00457927
mov dword [ebp - 0x1c], eax
jmp 0x4606a8
push ebx
call fcn.00460fa5
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x4606c5
jmp 0x4606b4
push 2
pop eax
push eax
push ebx
call fcn.00460b0b
mov esi, eax
test esi, esi
je 0x460571
mov ecx, esi
call fcn.00457eb8
test eax, eax
jne 0x4606dc
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x460571
cmp dword [esi + 0x74], edi
je 0x460571
push edi
push edi
push edi
mov dword [ebp - 4], edi
xor edi, edi
inc edi
push edi
push 0xfffffdd9
push esi
call fcn.00457e02
add esp, 0x18
or dword [ebp - 4], 0xffffffff
jmp 0x4604da
cmp cx, si
sbb ecx, ecx
push eax
push dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x1c], ecx
call fcn.00460d90
test al, 1
jne 0x460571
push 0x26
pop eax
mov ecx, ebx
push edi
cmp si, ax
ja 0x46074f
call fcn.00457caa
jmp 0x460754
call fcn.00457ab3
mov esi, eax
test esi, esi
je 0x460571
cmp dword [esi + 8], edi
je 0x46076b
push esi
mov ecx, ebx
call fcn.00458102
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x460790
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x58d9e8]
mov ecx, dword [ebp - 0x20]
jmp 0x46060b
cmp dword [esi], 0
je 0x4607a3
push dword [esi]
call fcn.00423b53
mov ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x4607b5
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.004602b6
mov ecx, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x460571
mov eax, dword [ebx + 0x70]
push ecx
mov dword [eax + 0x70], edi
call fcn.00460ada
cmp dword [esi + 8], edi
je 0x4604d7
mov eax, dword [ebp - 0x18]
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 - 0x18]
inc edi
push edi
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
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 - 0x18]
call fcn.00460ada
jmp 0x4604da
mov esi, eax
jmp 0x460574