Function at 0x1400376d0
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 [0x140317e98]
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 0x14003773c
mov rcx, qword [rbx + 0x88]
cmp rax, rcx
je 0x14003773c
cmp rdi, qword [rbx + 0x130]
je 0x14003773c
cmp byte [rbx + 0x124], 0
jne 0x14003773c
call qword [sym.imp.USER32.dll_SetFocus]
mov rbp, qword [rbx + 0x88]
mov rax, qword [rbx + 0x130]
cmp rdi, rax
je 0x14003798b
xor esi, esi
test rax, rax
je 0x1400378a1
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.140037330
test r14b, r14b
je 0x14003789a
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.1400daac4
mov r14, rax
test rax, rax
je 0x14003789a
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.14002d3b0
nop
lea rdx, [0x1402482d0]
mov rcx, rax
call fcn.14002d610
movzx ebx, al
lea rcx, [rsp + 0x80]
call fcn.140003d20
test bl, bl
je 0x140037850
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2e0]
jmp 0x14003798b
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xf0]
mov rbx, rax
mov ecx, 0x10
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 0x14003798b
mov qword [rbx + 0x130], rsi
test rdi, rdi
je 0x14003798b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x100]
cmp rax, rbx
jne 0x14003798b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x290]
test al, al
je 0x14003798b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2a8]
test al, al
je 0x14003798b
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.140037330
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x14003798b
call fcn.1400424e0
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.1400d7670
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret