Function at 0x14002dcb0
Capabilities:
Get graphical window text
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x4c8
mov rax, qword [0x140075028]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov dword [rsp + 0x74], 0
movzx eax, word [rsp + 0x4f0]
mov word [rsp + 0x2c], ax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14002dd0e
mov dword [rsp + 0x70], 1
jmp 0x14002dd16
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0xb0], eax
cmp dword [rsp + 0xb0], 0
je 0x14002e276
movzx eax, word [rsp + 0x2c]
cmp eax, 0x43
jne 0x14002e276
mov dword [rsp + 0x74], 1
mov rcx, qword [rsp + 0x4e8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002e276
lea rax, str.____________________________r_n
mov qword [rsp + 0x80], rax
mov ecx, 0x4000
call fcn.14003f364
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xb8]
movzx eax, word [rax]
mov word [rsp + 0x28], ax
mov rax, qword [rsp + 0x88]
movzx ecx, word [rsp + 0x28]
mov word [rax], cx
mov rax, qword [rsp + 0xb8]
add rax, 2
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x88]
add rax, 2
mov qword [rsp + 0x88], rax
cmp word [rsp + 0x28], 0
jne 0x14002ddb6
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x90], 0xffffffffffffffff
inc qword [rsp + 0x90]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x90]
cmp word [rax + rcx*2], 0
jne 0x14002de1f
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
lea rax, [rax + rcx*2]
mov r8d, 0x3e8
mov rdx, rax
mov rcx, qword [rsp + 0x4e8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
sub qword [rsp + 0x30], 2
add qword [rsp + 0x30], 2
mov rax, qword [rsp + 0x30]
cmp word [rax], 0
jne 0x14002de86
mov rax, qword [rsp + 0x30]
lea rcx, [0x140068d5c]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
sub qword [rsp + 0x38], 2
add qword [rsp + 0x38], 2
mov rax, qword [rsp + 0x38]
cmp word [rax], 0
jne 0x14002dec0
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14002dee0
mov edx, 0x3e9
mov rcx, qword [rsp + 0x4e8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002e00b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x98], 0xffffffffffffffff
inc qword [rsp + 0x98]
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x98]
cmp word [rax + rcx*2], 0
jne 0x14002df3a
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xc0]
lea rax, [rax + rcx*2]
mov r8d, 0xfa0
mov rdx, rax
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x40], rax
sub qword [rsp + 0x40], 2
add qword [rsp + 0x40], 2
mov rax, qword [rsp + 0x40]
cmp word [rax], 0
jne 0x14002dfa1
mov rax, qword [rsp + 0x40]
lea rcx, [0x140068d5c]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x48], rax
sub qword [rsp + 0x48], 2
add qword [rsp + 0x48], 2
mov rax, qword [rsp + 0x48]
cmp word [rax], 0
jne 0x14002dfdb
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14002dffb
mov edx, 5
mov rcx, qword [rsp + 0x4e8]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14002e1a1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14002e187
mov r8d, 0x102
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, str.Button
lea rcx, [rsp + 0x2a0]
call fcn.140044b14
test eax, eax
jne 0x14002e187
mov r8d, 0xc7
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xa0], 0xffffffffffffffff
inc qword [rsp + 0xa0]
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xa0]
cmp word [rax + rcx*2], 0
jne 0x14002e0a9
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
test eax, eax
je 0x14002e13a
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x26
je 0x14002e12a
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x78]
movzx edx, word [rdx]
mov word [rax + rcx*2], dx
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x78]
add rax, 2
mov qword [rsp + 0x78], rax
jmp 0x14002e0e5
xor eax, eax
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0xa8]
mov word [rcx + rdx*2], ax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
sub qword [rsp + 0x50], 2
add qword [rsp + 0x50], 2
mov rax, qword [rsp + 0x50]
cmp word [rax], 0
jne 0x14002e15d
mov rax, qword [rsp + 0x50]
lea rcx, [0x14006abe0]
mov rdi, rax
mov rsi, rcx
mov ecx, 8
rep movsb byte [rdi], byte [rsi]
mov edx, 2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetWindow]
mov qword [rsp + 0x58], rax
jmp 0x14002e023
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x60], rax
sub qword [rsp + 0x60], 2
add qword [rsp + 0x60], 2
mov rax, qword [rsp + 0x60]
cmp word [rax], 0
jne 0x14002e1b1
mov rax, qword [rsp + 0x60]
lea rcx, [0x140068d5c]
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x68], rax
sub qword [rsp + 0x68], 2
add qword [rsp + 0x68], 2
mov rax, qword [rsp + 0x68]
cmp word [rax], 0
jne 0x14002e1eb
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x80]
xor edx, edx
movzx edi, word [rcx + rdx*2]
mov word [rax + rdx*2], di
inc rdx
test di, di
jne 0x14002e20b
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x4e0]
call fcn.14002da70
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.14003f320
cmp qword [rsp + 0xd0], 0
jne 0x14002e260
mov qword [rsp + 0xf8], 0
jmp 0x14002e276
mov qword [rsp + 0x20], 0x8123
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14003f5f0
add rsp, 0x4c8
pop rdi
pop rsi
ret