Function at 0x1400a53d8
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov r12, r8
mov rsi, rdx
xor ebx, ebx
cmp rdx, rbx
jne 0x1400a540e
mov qword [rsp + 0x40], rbx
jmp 0x1400a5417
mov rax, qword [rdx + 0x40]
mov qword [rsp + 0x40], rax
mov r13d, dword [r8 + 8]
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x50], rax
mov rcx, rax
call fcn.14007c95c
mov r14, rax
mov qword [rsp + 0x48], rax
mov r15d, 0x100
cmp r13d, r15d
jb 0x1400a544a
cmp r13d, 0x109
jbe 0x1400a545a
lea eax, [r13 - 0x200]
cmp eax, 9
ja 0x1400a5559
cmp r14, rbx
je 0x1400a5559
mov rdi, r14
cmp qword [rdi + 0xa0], rbx
jne 0x1400a54a0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14007c95c
cmp rax, rsi
je 0x1400a54a0
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.14007c95c
mov rdi, rax
cmp rax, rbx
jne 0x1400a5466
cmp rdi, rbx
je 0x1400a54d8
mov rax, qword [rdi + 0xa0]
cmp rax, rbx
je 0x1400a54d8
cmp qword [rax + 0x90], rbx
je 0x1400a54d8
mov rcx, qword [rax + 0x90]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x28]
cmp eax, ebx
jne 0x1400a54d8
mov eax, 1
jmp 0x1400a59f3
cmp r13d, 0x101
je 0x1400a54ef
cmp r13d, r15d
je 0x1400a54ef
cmp r13d, 0x102
jne 0x1400a554a
cmp rdi, rbx
je 0x1400a554a
mov rax, qword [rdi + 0xa0]
cmp rax, rbx
je 0x1400a554a
mov ecx, reloc.WS2_32.dll_listen
cmp word [r12 + 0x10], cx
jne 0x1400a551b
lea edi, [rcx - 0xc]
test byte [rax + 0xcc], dil
jne 0x1400a553b
jmp 0x1400a5520
mov edi, 1
mov r15d, 0x1b
cmp word [r12 + 0x10], r15w
jne 0x1400a5542
lea r12d, [r15 - 0x19]
test byte [rax + 0xcc], r12b
je 0x1400a5566
xor eax, eax
jmp 0x1400a59f3
mov r12d, 2
jmp 0x1400a5566
mov edi, 1
lea r15d, [rdi + 0x1a]
lea r12d, [rdi + 1]
jmp 0x1400a5566
mov edi, 1
lea r15d, [rdi + 0x1a]
lea r12d, [rdi + 1]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.14007c95c
mov qword [rsp + 0x38], rax
mov ecx, r13d
sub ecx, 0x100
je 0x1400a564b
sub ecx, r12d
je 0x1400a55cb
cmp ecx, 4
jne 0x1400a5913
cmp r14, rbx
jne 0x1400a55b6
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, bx
jge 0x1400a594f
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0xc0]
cmp word [rdx + 0x10], 0x20
je 0x1400a5945
jmp 0x1400a55d3
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.1400a4968
cmp r13d, 0x102
jne 0x1400a55ec
test al, 0x84
jne 0x1400a593b
mov r13, qword [rsp + 0xc0]
mov edx, 9
cmp word [r13 + 0x10], dx
jne 0x1400a5609
test r12b, al
jne 0x1400a5957
cmp word [r13 + 0x10], 0x20
jne 0x1400a5618
xor eax, eax
jmp 0x1400a59f3
mov r8, r13
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.1400a5294
cmp rax, rbx
je 0x1400a5957
mov rcx, qword [rax + 8]
cmp rcx, rbx
je 0x1400a5957
mov rdx, r13
call fcn.14009a5ec
jmp 0x1400a599e
mov r13, qword [rsp + 0xc0]
mov rdx, r13
mov rcx, rax
call fcn.1400a4968
movzx ecx, word [r13 + 0x10]
cmp ecx, 3
je 0x1400a589a
mov edx, 9
cmp ecx, edx
je 0x1400a57df
cmp ecx, 0xd
je 0x1400a579f
cmp ecx, r15d
je 0x1400a589a
cmp ecx, 0x24
jle 0x1400a5957
cmp ecx, 0x26
jle 0x1400a56ac
cmp ecx, 0x28
jle 0x1400a56b1
cmp ecx, 0x2b
je 0x1400a579f
jmp 0x1400a5957
mov r15d, edi
jmp 0x1400a56b4
mov r15d, ebx
mov rdx, r13
mov rcx, r14
call fcn.1400a4968
test dil, al
jne 0x1400a5957
cmp r15d, ebx
je 0x1400a56dc
xor edx, edx
mov rcx, rsi
call fcn.140078ebc
mov r12, rax
jmp 0x1400a56e9
xor edx, edx
mov rcx, rsi
call fcn.140078f20
mov r12, rax
cmp r12, rbx
je 0x1400a5957
cmp dword [r12 + 0x10], ebx
je 0x1400a5704
mov rdx, r12
mov rcx, rsi
call fcn.140078940
cmp qword [r12 + 8], rbx
je 0x1400a5721
mov rcx, qword [r12 + 8]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 0x158]
jmp 0x1400a599e
cmp qword [r12], rbx
je 0x1400a5735
mov rcx, qword [r12]
call fcn.14007c95c
mov r13, rax
jmp 0x1400a575b
cmp r14, rbx
jne 0x1400a573f
mov rdx, rbx
jmp 0x1400a5743
mov rdx, qword [r14 + 0x40]
mov r8d, r15d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov rcx, rax
call fcn.14007c95c
mov r13, rax
cmp r13, rbx
je 0x1400a5931
mov rax, qword [rsi + 0x98]
mov qword [rax + 0xd8], rbx
mov rcx, r13
call fcn.1400a4a50
cmp dword [r12 + 0x10], ebx
je 0x1400a599e
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400a599e
test al, 4
jne 0x1400a5957
mov rcx, r14
call fcn.1400a4a10
test al, 0x10
je 0x1400a57cf
mov r13, r14
mov rcx, r14
call fcn.140078400
mov r12d, eax
cmp r14, rbx
jne 0x1400a58ad
jmp 0x1400a589a
mov rcx, rsi
call fcn.1400a4f0c
mov r12d, eax
jmp 0x1400a589a
test r12b, al
jne 0x1400a5957
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12d, ebx
cmp ax, bx
setl r12b
mov r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.14007879c
cmp rax, rbx
je 0x1400a5957
cmp qword [rax + 8], rbx
je 0x1400a582e
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 0x158]
jmp 0x1400a599e
cmp qword [rax], rbx
je 0x1400a5840
mov rcx, qword [rax]
call fcn.14007c95c
mov r12, rax
jmp 0x1400a586b
mov rdx, qword [rsp + 0x38]
cmp rdx, rbx
jne 0x1400a584f
mov rdx, rbx
jmp 0x1400a5853
mov rdx, qword [rdx + 0x40]
mov r8d, r12d
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov rcx, rax
call fcn.14007c95c
mov r12, rax
cmp r12, rbx
je 0x1400a599e
mov rax, qword [rsi + 0x98]
mov qword [rax + 0xd8], rbx
mov rcx, r12
call fcn.1400a4a50
mov rdx, r12
mov rcx, r14
call fcn.1400a4cc0
jmp 0x1400a599e
mov edx, r12d
mov rcx, rsi
call fcn.1400a4d80
mov r13, rax
cmp rax, rbx
je 0x1400a5927
mov rcx, r13
call fcn.1400784a8
cmp eax, ebx
jne 0x1400a58ce
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
mov r13, qword [rsp + 0xc0]
jmp 0x1400a5957
cmp qword [r13 + 0xa0], rbx
je 0x1400a591d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
movzx r9d, bx
movzx r8d, di
mov edx, 0xfffffdd9
mov rcx, r13
call fcn.140078540
nop
jmp 0x1400a599e
mov r13, qword [rsp + 0xc0]
jmp 0x1400a5957
mov r13, qword [rsp + 0xc0]
jmp 0x1400a5957
mov r13, qword [rsp + 0xc0]
jmp 0x1400a5957
mov r13, qword [rsp + 0xc0]
jmp 0x1400a5957
mov r13, qword [rsp + 0xc0]
jmp 0x1400a5957
mov r13, qword [rsp + 0xc0]
jmp 0x1400a5957
mov r13, qword [rsp + 0xc0]
bt dword [rsi + 0x78], 0xc
jb 0x1400a599c
mov rdx, r13
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
cmp eax, ebx
je 0x1400a599e
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14007c95c
cmp rax, r14
je 0x1400a599e
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14007c95c
mov rcx, rax
call fcn.1400a4c20
jmp 0x1400a599e
mov edi, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, ebx
je 0x1400a59f1
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14007c95c
mov rdx, rax
mov rcx, r14
call fcn.1400a4cc0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, ebx
je 0x1400a59f1
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.14007c95c
mov r8, rax
mov rdx, r14
mov rcx, rsi
call fcn.1400a4f48
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret