Function at 0x140099ad0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x120
mov rax, qword [0x140129718]
xor rax, rsp
mov qword [rsp + 0x110], rax
movzx r15d, r9b
movzx r14d, r8b
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetFocus]
mov rbp, rax
test r14b, r14b
je 0x140099b3c
mov rcx, qword [rbx + 0x88]
cmp rax, rcx
je 0x140099b3c
cmp rdi, qword [rbx + 0x130]
je 0x140099b3c
cmp byte [rbx + 0x124], 0
jne 0x140099b3c
call qword [sym.imp.USER32.dll_SetFocus]
mov rbp, qword [rbx + 0x88]
mov rax, qword [rbx + 0x130]
cmp rdi, rax
je 0x140099d8b
xor esi, esi
test rax, rax
je 0x140099ca1
mov qword [rsp + 0x40], 0x14
mov qword [rsp + 0x50], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5c], xmm0
mov qword [rsp + 0x6c], rsi
mov dword [rsp + 0x74], esi
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x58], eax
mov rcx, qword [rbx + 0x130]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x360]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.killfocus
mov rdx, qword [rbx + 0x130]
mov rcx, rbx
call fcn.140099730
test r14b, r14b
je 0x140099c9a
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rdi
call fcn.1400dddda
mov r14, rax
test rax, rax
je 0x140099c9a
mov qword [rbx + 0x130], rdi
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xd8]
mov rdx, rax
lea r8d, [rsi - 1]
lea rcx, [rsp + 0x80]
call fcn.14008f290
nop
lea rdx, [0x1400f38f8]
mov rcx, rax
call fcn.14008f530
movzx ebx, al
lea rcx, [rsp + 0x80]
call fcn.140064db0
test bl, bl
je 0x140099c50
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2e0]
jmp 0x140099d8b
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xf0]
mov rbx, rax
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 1
test ax, ax
cmovns rsi, rcx
mov r8, rsi
or r8, 2
test r15b, r15b
cmove r8, rsi
xor r9d, r9d
mov edx, 0x8004
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140099d8b
mov qword [rbx + 0x130], rsi
test rdi, rdi
je 0x140099d8b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x100]
cmp rax, rbx
jne 0x140099d8b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x290]
test al, al
je 0x140099d8b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2a8]
test al, al
je 0x140099d8b
mov byte [rbx + 0x1ae], sil
mov qword [rbx + 0x130], rdi
mov qword [rsp + 0x40], 0x15
mov qword [rsp + 0x50], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5c], xmm0
mov qword [rsp + 0x6c], rsi
mov dword [rsp + 0x74], esi
mov qword [rsp + 0x48], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x58], eax
mov rcx, qword [rbx + 0x130]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x360]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, str.setfocus
mov rdx, qword [rbx + 0x130]
mov rcx, rbx
call fcn.140099730
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x140099d8b
call fcn.1400b2050
neg eax
mov r9d, eax
mov r8d, 0xfffffffc
mov rdx, rbp
mov ecx, 0x8005
call qword [sym.imp.USER32.dll_NotifyWinEvent]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400dc960
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret