Function at 0x140032e88
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov r15, r8
mov rsi, rdx
xor ebx, ebx
test rdx, rdx
jne 0x140032eb9
mov qword [rsp + 0x38], rbx
jmp 0x140032ec2
mov rax, qword [rdx + 0x40]
mov qword [rsp + 0x38], rax
mov r14d, dword [r8 + 8]
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x48], rax
mov rcx, rax
call fcn.140016d94
mov r13, rax
mov qword [rsp + 0x40], rax
mov r12d, 0x100
cmp r14d, r12d
jb 0x140032ef5
cmp r14d, 0x109
jbe 0x140032f05
lea eax, [r14 - 0x200]
cmp eax, 9
ja 0x140032fe3
test r13, r13
je 0x140032fe3
mov rdi, r13
cmp qword [rdi + 0xc8], rbx
jne 0x140032f4b
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140016d94
cmp rax, rsi
je 0x140032f4b
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call fcn.140016d94
mov rdi, rax
test rax, rax
jne 0x140032f11
test rdi, rdi
je 0x140032f83
mov rax, qword [rdi + 0xc8]
test rax, rax
je 0x140032f83
cmp qword [rax + 0x90], rbx
je 0x140032f83
mov rcx, qword [rax + 0x90]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x28]
test eax, eax
jne 0x140032f83
mov eax, 1
jmp 0x140033438
cmp r14d, 0x101
je 0x140032f9a
cmp r14d, r12d
je 0x140032f9a
cmp r14d, 0x102
jne 0x140032fe3
test rdi, rdi
je 0x140032fe3
mov rax, qword [rdi + 0xc8]
test rax, rax
je 0x140032fe3
mov ecx, InitCommonControls
lea edi, [rcx - 0xc]
cmp word [r15 + 0x10], cx
jne 0x140032fc3
test byte [rax + 0xcc], dil
jne 0x140032fdc
mov ecx, 0x1b
lea r12d, [rcx - 0x19]
cmp word [r15 + 0x10], cx
jne 0x140032fee
test byte [rax + 0xcc], r12b
je 0x140032fee
xor eax, eax
jmp 0x140033438
mov r12d, 2
lea edi, [r12 - 1]
mov rcx, qword [r15]
call fcn.140016d94
mov qword [rsp + 0x30], rax
mov edx, ebx
mov dword [rsp + 0xb0], ebx
mov ecx, r14d
sub ecx, 0x100
je 0x1400330d6
sub ecx, r12d
je 0x14003304a
cmp ecx, 4
jne 0x140033397
test r13, r13
jne 0x14003303e
lea ecx, [r13 + 0x12]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140033397
mov rax, qword [rsp + 0x30]
cmp word [r15 + 0x10], 0x20
je 0x140033397
test rax, rax
jne 0x140033053
mov ecx, ebx
jmp 0x140033071
mov r9, r15
mov r8, qword [r15 + 0x10]
mov edx, 0x87
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, rax
mov rax, qword [rsp + 0x30]
cmp r14d, 0x102
jne 0x140033083
test cl, 0x84
jne 0x140033397
mov r8d, 9
cmp word [r15 + 0x10], r8w
jne 0x140033099
test r12b, cl
jne 0x140033397
cmp word [r15 + 0x10], 0x20
je 0x140032fdc
mov r8, r15
mov rdx, rax
mov rcx, rsi
call fcn.140032d44
test rax, rax
je 0x140033397
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140033397
mov rdx, r15
call fcn.14002aa90
jmp 0x1400333e3
test rax, rax
jne 0x1400330df
mov eax, ebx
jmp 0x1400330f7
mov r9, r15
mov r8, qword [r15 + 0x10]
mov edx, 0x87
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, ebx
movzx ecx, word [r15 + 0x10]
cmp ecx, 3
je 0x14003332f
mov r8d, 9
cmp ecx, r8d
je 0x140033288
cmp ecx, 0xd
je 0x140033248
cmp ecx, 0x1b
je 0x14003332f
cmp ecx, 0x24
jle 0x140033397
cmp ecx, 0x26
jle 0x140033147
cmp ecx, 0x28
jle 0x140033150
cmp ecx, 0x2b
je 0x140033248
jmp 0x140033397
mov edx, edi
mov dword [rsp + 0xb0], edx
test r13, r13
jne 0x140033159
mov eax, ebx
jmp 0x140033176
mov r9, r15
mov r8, qword [r15 + 0x10]
mov edx, 0x87
mov rcx, qword [r13 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [rsp + 0xb0]
test dil, al
jne 0x140033397
mov rcx, rsi
test edx, edx
je 0x14003318f
xor edx, edx
call fcn.14001d75c
jmp 0x140033196
xor edx, edx
call fcn.14001d7c0
mov r12, rax
test rax, rax
je 0x140033397
cmp dword [rax + 0x10], ebx
je 0x1400331b2
mov rdx, rax
mov rcx, rsi
call fcn.14001d220
cmp qword [r12 + 8], rbx
je 0x1400331cf
mov rcx, qword [r12 + 8]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x158]
jmp 0x1400333e3
cmp qword [r12], rbx
je 0x1400331db
mov rcx, qword [r12]
jmp 0x1400331fc
test r13, r13
mov rdx, rbx
je 0x1400331e7
mov rdx, qword [r13 + 0x40]
mov r8d, dword [rsp + 0xb0]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_GetNextDlgGroupItem]
mov rcx, rax
call fcn.140016d94
mov r14, rax
test rax, rax
je 0x140033397
mov rax, qword [rsi + 0xc0]
mov qword [rax + 0xd8], rbx
mov rcx, r14
call fcn.1400324ec
cmp dword [r12 + 0x10], ebx
je 0x1400333e3
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [r14 + 0x40]
call qword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1400333e3
test al, 4
jne 0x140033397
mov rcx, r13
call fcn.1400324a8
test al, 0x10
je 0x140033278
mov r14, r13
mov rcx, r13
call fcn.14001cc94
mov r12d, eax
test r13, r13
jne 0x140033342
jmp 0x14003332f
mov rcx, rsi
call fcn.1400329c4
mov r12d, eax
jmp 0x14003332f
test r12b, al
jne 0x140033397
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
mov r12d, ebx
test ax, ax
sets r12b
mov r8d, r12d
xor edx, edx
mov rcx, rsi
call fcn.14001d078
test rax, rax
je 0x140033397
cmp qword [rax + 8], rbx
je 0x1400332cb
mov rcx, qword [rax + 8]
jmp 0x1400331be
cmp qword [rax], rbx
je 0x1400332d5
mov rcx, qword [rax]
jmp 0x1400332f8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
jne 0x1400332e4
mov rdx, rbx
jmp 0x1400332e8
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.140016d94
mov r12, rax
test rax, rax
je 0x1400333e3
mov rax, qword [rsi + 0xc0]
mov qword [rax + 0xd8], rbx
mov rcx, r12
call fcn.1400324ec
mov rdx, r12
mov rcx, r13
call fcn.140032778
jmp 0x1400333e3
mov edx, r12d
mov rcx, rsi
call fcn.140032838
mov r14, rax
test rax, rax
je 0x140033397
mov rcx, r14
call fcn.14001cd5c
test eax, eax
jne 0x140033358
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x140033397
cmp qword [r14 + 0xc8], rbx
je 0x140033397
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
movzx r9d, bx
movzx r8d, di
mov edx, 0xfffffdd9
mov rcx, r14
call fcn.14001cdac
nop
jmp 0x1400333e3
test dword [rsi + 0xa0], 0x1000
jne 0x1400333e1
mov rdx, r15
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.USER32.dll_IsDialogMessageA]
mov edi, eax
test eax, eax
je 0x1400333e3
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016d94
cmp rax, r13
je 0x1400333e3
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016d94
mov rcx, rax
call fcn.1400326d8
jmp 0x1400333e3
mov edi, ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140033436
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016d94
mov rdx, rax
mov rcx, r13
call fcn.140032778
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140033436
call qword [sym.imp.USER32.dll_GetFocus]
mov rcx, rax
call fcn.140016d94
mov r8, rax
mov rdx, r13
mov rcx, rsi
call fcn.140032a00
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret