Function at 0x140075890
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 [0x14036e3c8]
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 0x1400758fc
mov rcx, qword [rbx + 0x88]
cmp rax, rcx
je 0x1400758fc
cmp rdi, qword [rbx + 0x130]
je 0x1400758fc
cmp byte [rbx + 0x124], 0
jne 0x1400758fc
call qword [sym.imp.USER32.dll_SetFocus]
mov rbp, qword [rbx + 0x88]
mov rax, qword [rbx + 0x130]
cmp rdi, rax
je 0x140075b4b
xor esi, esi
test rax, rax
je 0x140075a61
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 + 0x370]
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.1400754f0
test r14b, r14b
je 0x140075a5a
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.140246a14
mov r14, rax
test rax, rax
je 0x140075a5a
mov qword [rbx + 0x130], rdi
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0xe8]
mov rdx, rax
lea r8d, [rsi - 1]
lea rcx, [rsp + 0x80]
call fcn.14006b490
nop
lea rdx, [0x140290280]
mov rcx, rax
call fcn.14006b730
movzx ebx, al
lea rcx, [rsp + 0x80]
call fcn.140003ea0
test bl, bl
je 0x140075a10
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2f0]
jmp 0x140075b4b
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x100]
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 0x140075b4b
mov qword [rbx + 0x130], rsi
test rdi, rdi
je 0x140075b4b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x110]
cmp rax, rbx
jne 0x140075b4b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2a0]
test al, al
je 0x140075b4b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x2b8]
test al, al
je 0x140075b4b
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 + 0x370]
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.1400754f0
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x140075b4b
call fcn.14007ed90
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.1402435c0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret