Function at 0x140083dfc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
xor ebx, ebx
mov rsi, rdx
mov r12, rcx
mov dword [rbp - 0x61], ebx
xor edx, edx
mov dword [rbp - 0x75], ebx
lea rcx, [rbp - 0x39]
mov dword [rbp - 0x6d], ebx
lea r8d, [rbx + 0x58]
mov dword [rbp - 0x71], ebx
mov edi, ebx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov qword [rbp - 0x69], rax
test rax, rax
je 0x1400841c3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rax
mov r15d, dword [rax + 0xbc]
call qword [sym.imp.USER32.dll_GetKeyState]
lea rcx, [rbx + 0xb8]
mov edx, 2
mov r14d, dword [rcx]
movzx r13d, ax
mov eax, dword [rbx + 0xd0]
inc eax
shr r13, 8
mov dword [rbp + 0x7f], eax
lea rax, [rbx + 0xcc]
cmp r14d, dword [rax]
jne 0x14008400d
cmp rsi, 8
je 0x140083f36
cmp rsi, 0x2e
jne 0x140084054
cmp dword [rbx + 0x1e8], edx
jne 0x140083ecb
test byte [rbx], 8
je 0x140083edd
mov rcx, rbx
call fcn.140085814
mov edi, eax
test eax, eax
jne 0x1400841ac
cmp r14d, dword [rbx + 0xf4]
jge 0x140084054
lea r8d, [r14 + 1]
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x79]
mov rcx, rbx
lea rdx, [rbp - 0x59]
call fcn.140081f34
test r13b, r13b
je 0x140083f19
lea r8, [rbp - 0x59]
xor edx, edx
mov rcx, rbx
call fcn.140081458
mov esi, dword [rbp - 0x55]
lea r8, [rbp - 0x59]
inc esi
lea rdx, [rbx + 0xb8]
mov rcx, rbx
call fcn.140083a7c
jmp 0x140084057
cmp dword [rbx + 0x1e8], edx
jne 0x140083f43
test byte [rbx], 8
je 0x140083f55
mov rcx, rbx
call fcn.140085814
mov edi, eax
test eax, eax
jne 0x1400841ac
test r14d, r14d
je 0x140084054
or dword [rsp + 0x20], 0xffffffff
lea r8d, [r14 - 1]
lea r9, [rbp - 0x79]
mov rcx, rbx
lea rdx, [rbp - 0x59]
call fcn.140081f34
test r13b, r13b
je 0x140083f8b
xor r8d, r8d
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.140081458
mov rcx, qword [rbx + 0x108]
mov r15d, dword [rbp - 0x55]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
movsxd rcx, dword [rbp - 0x51]
imul rdx, rcx, 0x58
mov ecx, dword [rbp - 0x59]
cmp dword [rdx + rax + 0x2c], ecx
jne 0x140083ff3
movsxd rcx, dword [rbp - 0x79]
imul rdx, rcx, 0x58
mov dword [rbp - 0x71], 1
movups xmm0, xmmword [rdx + rax]
movups xmm1, xmmword [rdx + rax + 0x10]
movaps xmmword [rbp - 0x39], xmm0
movups xmm0, xmmword [rdx + rax + 0x20]
movaps xmmword [rbp - 0x29], xmm1
movups xmm1, xmmword [rdx + rax + 0x30]
movaps xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [rdx + rax + 0x40]
movaps xmmword [rbp - 9], xmm1
movsd xmm1, qword [rdx + rax + 0x50]
movaps xmmword [rbp + 7], xmm0
movsd qword [rbp + 0x17], xmm1
mov rcx, qword [rbx + 0x108]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea r8, [rbx + 0xcc]
lea rdx, [rbp - 0x59]
jmp 0x14008404c
cmp rsi, 8
je 0x140084019
cmp rsi, 0x2e
jne 0x140084046
cmp dword [rbx + 0x1e8], edx
jne 0x140084026
test byte [rbx], 8
je 0x140084046
mov rcx, rbx
call fcn.140085814
mov edi, eax
test eax, eax
jne 0x1400841ac
lea rax, [rbx + 0xcc]
lea rcx, [rbx + 0xb8]
mov r8, rax
mov rdx, rcx
mov rcx, rbx
call fcn.140083a7c
mov esi, dword [rbp + 0x7f]
mov r14d, dword [rbp + 0x77]
mov r13, qword [rbp - 0x69]
test r14b, 1
je 0x14008413f
lea eax, [r15 - 1]
xor ecx, ecx
test eax, eax
mov r15d, ecx
mov r9d, esi
mov rdx, r13
cmovns r15d, eax
lea rax, [rbp - 0x75]
mov r8d, r15d
mov qword [rsp + 0x20], rax
call fcn.14007f318
xor esi, esi
mov edi, eax
test eax, eax
jne 0x1400841b0
bt r14d, 8
jb 0x1400840b4
test byte [rbx], 6
je 0x1400840b4
mov rdx, rbx
mov rcx, r12
call fcn.14008020c
jmp 0x1400840b6
mov eax, esi
test eax, eax
je 0x1400840db
shr eax, 0x10
mov dword [rbp - 0x6d], 1
test ax, ax
jne 0x1400840d1
test dword [rbx], 0x100
je 0x1400840db
mov r15d, esi
mov esi, 0x7fff
jmp 0x1400840de
mov esi, dword [rbp - 0x75]
mov rdx, rbx
mov rcx, r12
call fcn.140082088
xor r8d, r8d
mov rdx, rbx
call fcn.1400813a0
xor eax, eax
cmp dword [rbp - 0x71], eax
je 0x140084142
movaps xmm0, xmmword [rbp - 0x39]
movaps xmm1, xmmword [rbp - 0x29]
or dword [rbx + 0xb4], 0xffffffff
movups xmmword [rbx + 0x5c], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movups xmmword [rbx + 0x6c], xmm1
movaps xmm1, xmmword [rbp - 9]
movups xmmword [rbx + 0x7c], xmm0
movaps xmm0, xmmword [rbp + 7]
movups xmmword [rbx + 0x8c], xmm1
movsd xmm1, qword [rbp + 0x17]
movups xmmword [rbx + 0x9c], xmm0
movsd qword [rbx + 0xac], xmm1
jmp 0x140084142
mov esi, dword [rbp - 0x61]
test r14b, 2
je 0x14008417f
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14008417f
mov eax, dword [rbp - 0x6d]
mov r9d, esi
mov r8d, r15d
mov dword [rsp + 0x20], eax
mov rdx, rbx
call fcn.140080db4
lea r9, [rbx + 0xb8]
xor r8d, r8d
mov rdx, rbx
mov rcx, r12
call fcn.140082128
xor esi, esi
cmp dword [rbx + 0xf4], esi
jne 0x1400841a6
mov rcx, r12
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x47d
call qword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x1400841b8
jmp 0x1400841b0
mov r13, qword [rbp - 0x69]
mov rcx, rbx
call fcn.140085c4c
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, edi
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret