Function at 0x14003e070
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 0x14003e0a6
mov qword [rsp + 0x40], rbx
jmp 0x14003e0af
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.140016410
mov r14, rax
mov qword [rsp + 0x48], rax
mov r15d, 0x100
cmp r13d, r15d
jb 0x14003e0e2
cmp r13d, 0x109
jbe 0x14003e0f2
lea eax, [r13 - 0x200]
cmp eax, 9
ja 0x14003e1f1
cmp r14, rbx
je 0x14003e1f1
mov rdi, r14
cmp qword [rdi + 0xa0], rbx
jne 0x14003e138
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140016410
cmp rax, rsi
je 0x14003e138
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140016410
mov rdi, rax
cmp rax, rbx
jne 0x14003e0fe
cmp rdi, rbx
je 0x14003e170
mov rax, qword [rdi + 0xa0]
cmp rax, rbx
je 0x14003e170
cmp qword [rax + 0x90], rbx
je 0x14003e170
mov rcx, qword [rax + 0x90]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x28]
cmp eax, ebx
jne 0x14003e170
mov eax, 1
jmp 0x14003e68b
cmp r13d, 0x101
je 0x14003e187
cmp r13d, r15d
je 0x14003e187
cmp r13d, 0x102
jne 0x14003e1e2
cmp rdi, rbx
je 0x14003e1e2
mov rax, qword [rdi + 0xa0]
cmp rax, rbx
je 0x14003e1e2
mov ecx, SafeArrayGetDim
cmp word [r12 + 0x10], cx
jne 0x14003e1b3
lea edi, [rcx - 0xc]
test byte [rax + 0xcc], dil
jne 0x14003e1d3
jmp 0x14003e1b8
mov edi, 1
mov r15d, 0x1b
cmp word [r12 + 0x10], r15w
jne 0x14003e1da
lea r12d, [r15 - 0x19]
test byte [rax + 0xcc], r12b
je 0x14003e1fe
xor eax, eax
jmp 0x14003e68b
mov r12d, 2
jmp 0x14003e1fe
mov edi, 1
lea r15d, [rdi + 0x1a]
lea r12d, [rdi + 1]
jmp 0x14003e1fe
mov edi, 1
lea r15d, [rdi + 0x1a]
lea r12d, [rdi + 1]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax]
call fcn.140016410
mov qword [rsp + 0x38], rax
mov ecx, r13d
sub ecx, 0x100
je 0x14003e2e3
sub ecx, r12d
je 0x14003e263
cmp ecx, 4
jne 0x14003e5ab
cmp r14, rbx
jne 0x14003e24e
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cmp ax, bx
jge 0x14003e5e7
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0xc0]
cmp word [rdx + 0x10], 0x20
je 0x14003e5dd
jmp 0x14003e26b
mov rdx, qword [rsp + 0xc0]
mov rcx, rax
call fcn.14003d600
cmp r13d, 0x102
jne 0x14003e284
test al, 0x84
jne 0x14003e5d3
mov r13, qword [rsp + 0xc0]
mov edx, 9
cmp word [r13 + 0x10], dx
jne 0x14003e2a1
test r12b, al
jne 0x14003e5ef
cmp word [r13 + 0x10], 0x20
jne 0x14003e2b0
xor eax, eax
jmp 0x14003e68b
mov r8, r13
mov rdx, qword [rsp + 0x38]
mov rcx, rsi
call fcn.14003df2c
cmp rax, rbx
je 0x14003e5ef
mov rcx, qword [rax + 8]
cmp rcx, rbx
je 0x14003e5ef
mov rdx, r13
call fcn.140035230
jmp 0x14003e636
mov r13, qword [rsp + 0xc0]
mov rdx, r13
mov rcx, rax
call fcn.14003d600
movzx ecx, word [r13 + 0x10]
cmp ecx, 3
je 0x14003e532
mov edx, 9
cmp ecx, edx
je 0x14003e477
cmp ecx, 0xd
je 0x14003e437
cmp ecx, r15d
je 0x14003e532
cmp ecx, 0x24
jle 0x14003e5ef
cmp ecx, 0x26
jle 0x14003e344
cmp ecx, 0x28
jle 0x14003e349
cmp ecx, 0x2b
je 0x14003e437
jmp 0x14003e5ef
mov r15d, edi
jmp 0x14003e34c
mov r15d, ebx
mov rdx, r13
mov rcx, r14
call fcn.14003d600
test dil, al
jne 0x14003e5ef
cmp r15d, ebx
je 0x14003e374
xor edx, edx
mov rcx, rsi
call fcn.140010208
mov r12, rax
jmp 0x14003e381
xor edx, edx
mov rcx, rsi
call fcn.14001026c
mov r12, rax
cmp r12, rbx
je 0x14003e5ef
cmp dword [r12 + 0x10], ebx
je 0x14003e39c
mov rdx, r12
mov rcx, rsi
call fcn.14000fc8c
cmp qword [r12 + 8], rbx
je 0x14003e3b9
mov rcx, qword [r12 + 8]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 0x158]
jmp 0x14003e636
cmp qword [r12], rbx
je 0x14003e3cd
mov rcx, qword [r12]
call fcn.140016410
mov r13, rax
jmp 0x14003e3f3
cmp r14, rbx
jne 0x14003e3d7
mov rdx, rbx
jmp 0x14003e3db
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.140016410
mov r13, rax
cmp r13, rbx
je 0x14003e5c9
mov rax, qword [rsi + 0x98]
mov qword [rax + 0xd8], rbx
mov rcx, r13
call fcn.14003d6e8
cmp dword [r12 + 0x10], ebx
je 0x14003e636
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14003e636
test al, 4
jne 0x14003e5ef
mov rcx, r14
call fcn.14003d6a8
test al, 0x10
je 0x14003e467
mov r13, r14
mov rcx, r14
call fcn.14000f774
mov r12d, eax
cmp r14, rbx
jne 0x14003e545
jmp 0x14003e532
mov rcx, rsi
call fcn.14003dba4
mov r12d, eax
jmp 0x14003e532
test r12b, al
jne 0x14003e5ef
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.14000fae8
cmp rax, rbx
je 0x14003e5ef
cmp qword [rax + 8], rbx
je 0x14003e4c6
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 0x158]
jmp 0x14003e636
cmp qword [rax], rbx
je 0x14003e4d8
mov rcx, qword [rax]
call fcn.140016410
mov r12, rax
jmp 0x14003e503
mov rdx, qword [rsp + 0x38]
cmp rdx, rbx
jne 0x14003e4e7
mov rdx, rbx
jmp 0x14003e4eb
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.140016410
mov r12, rax
cmp r12, rbx
je 0x14003e636
mov rax, qword [rsi + 0x98]
mov qword [rax + 0xd8], rbx
mov rcx, r12
call fcn.14003d6e8
mov rdx, r12
mov rcx, r14
call fcn.14003d958
jmp 0x14003e636
mov edx, r12d
mov rcx, rsi
call fcn.14003da18
mov r13, rax
cmp rax, rbx
je 0x14003e5bf
mov rcx, r13
call fcn.14000f854
cmp eax, ebx
jne 0x14003e566
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
mov r13, qword [rsp + 0xc0]
jmp 0x14003e5ef
cmp qword [r13 + 0xa0], rbx
je 0x14003e5b5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
movzx r9d, bx
movzx r8d, di
mov edx, 0xfffffdd9
mov rcx, r13
call fcn.14000f8ec
nop
jmp 0x14003e636
mov r13, qword [rsp + 0xc0]
jmp 0x14003e5ef
mov r13, qword [rsp + 0xc0]
jmp 0x14003e5ef
mov r13, qword [rsp + 0xc0]
jmp 0x14003e5ef
mov r13, qword [rsp + 0xc0]
jmp 0x14003e5ef
mov r13, qword [rsp + 0xc0]
jmp 0x14003e5ef
mov r13, qword [rsp + 0xc0]
jmp 0x14003e5ef
mov r13, qword [rsp + 0xc0]
bt dword [rsi + 0x78], 0xc
jb 0x14003e634
mov rdx, r13
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
cmp eax, ebx
je 0x14003e636
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016410
cmp rax, r14
je 0x14003e636
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016410
mov rcx, rax
call fcn.14003d8b8
jmp 0x14003e636
mov edi, ebx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, ebx
je 0x14003e689
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016410
mov rdx, rax
mov rcx, r14
call fcn.14003d958
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, ebx
je 0x14003e689
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016410
mov r8, rax
mov rdx, r14
mov rcx, rsi
call fcn.14003dbe0
mov eax, edi
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret