Function at 0x140072880
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 [0x14036a3c8]
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 0x1400728ec
mov rcx, qword [rbx + 0x88]
cmp rax, rcx
je 0x1400728ec
cmp rdi, qword [rbx + 0x130]
je 0x1400728ec
cmp byte [rbx + 0x124], 0
jne 0x1400728ec
call qword [sym.imp.USER32.dll_SetFocus]
mov rbp, qword [rbx + 0x88]
mov rax, qword [rbx + 0x130]
cmp rdi, rax
je 0x140072b3b
xor esi, esi
test rax, rax
je 0x140072a51
mov qword [rsp + 0x40], reloc.WS2_32.dll_sendto
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.1400724e0
test r14b, r14b
je 0x140072a4a
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.140244284
mov r14, rax
test rax, rax
je 0x140072a4a
mov qword [rbx + 0x130], rdi
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.WLDAP32.dll_Ordinal_216]
mov rdx, rax
lea r8d, [rsi - 1]
lea rcx, [rsp + 0x80]
call fcn.1400684d0
nop
lea rdx, [0x14028cec0]
mov rcx, rax
call fcn.140068770
movzx ebx, al
lea rcx, [rsp + 0x80]
call fcn.140003e80
test bl, bl
je 0x140072a00
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2e0]
jmp 0x140072b3b
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0xf0]
mov rbx, rax
mov ecx, reloc.WS2_32.dll_recv
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 0x140072b3b
mov qword [rbx + 0x130], rsi
test rdi, rdi
je 0x140072b3b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x100]
cmp rax, rbx
jne 0x140072b3b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x290]
test al, al
je 0x140072b3b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2a8]
test al, al
je 0x140072b3b
mov byte [rbx + 0x1ae], sil
mov qword [rbx + 0x130], rdi
mov qword [rsp + 0x40], reloc.WS2_32.dll_setsockopt
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.1400724e0
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x140072b3b
call fcn.14007ba40
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.140240e30
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret