Function at 0x14023c13c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, r9d
mov r13d, r8d
mov r15, rdx
mov r14, rcx
xor edx, edx
call fcn.14023ee08
xor esi, esi
mov dword [r14 + 0xf8], esi
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x20]
call qword [case.0x14006b68f.0]
lea r12d, [rsi + 2]
cmp eax, r12d
je 0x14023c58d
lea eax, [rbx - 3]
test eax, 0xfffffffd
je 0x14023c58d
mov rdx, r15
mov rcx, r14
call fcn.14023ff14
test eax, eax
je 0x14023c30f
mov eax, esi
cmp ebx, 4
sete al
cmp dword [r14 + 0x1f8], esi
je 0x14023c1d4
mov eax, esi
cmp ebx, 4
setne al
test eax, eax
je 0x14023c1f8
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x30]
call qword [case.0x14006b68f.0]
mov rdx, rax
mov rcx, r14
call fcn.14023ce8c
jmp 0x14023c66e
cmp dword [r14 + 0x144], esi
jne 0x14023c66e
mov edi, 1
cmp r15, qword [r14 + 0x168]
jne 0x14023c22e
mov rcx, qword [r14 + 0x170]
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [case.0x14006b68f.0]
test eax, eax
mov r13d, edi
jne 0x14023c231
mov r13d, esi
mov rcx, qword [r14 + 0x168]
test rcx, rcx
je 0x14023c250
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [case.0x14006b68f.0]
mov qword [rbp - 0x30], rax
jmp 0x14023c254
mov qword [rbp - 0x30], rsi
or r12d, 0xffffffff
test r13d, r13d
je 0x14023c275
test ebx, ebx
jne 0x14023c2fc
lea rcx, [r14 + 0x28]
xor edx, edx
call fcn.1400071b0
jmp 0x14023c2fc
mov eax, ebx
neg eax
sbb r9d, r9d
and r9d, 8
add r9d, 2
mov eax, dword [rbp + 0x68]
neg eax
sbb ecx, ecx
and ecx, 4
or r9d, ecx
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x20], eax
mov r8d, r12d
mov rdx, r15
mov rcx, r14
call fcn.14023a848
test eax, eax
js 0x14023c66e
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x30]
call qword [case.0x14006b68f.0]
mov rdx, rax
mov r9d, edi
xor r8d, r8d
lea rcx, [r14 + 0x28]
call fcn.14007d0b0
mov rax, qword [rbp - 0x30]
test rax, rax
je 0x14023c2eb
mov r9d, edi
xor r8d, r8d
mov rdx, rax
lea rcx, [r14 + 0x28]
call fcn.14007d0b0
mov r8d, 0xfffffffe
mov rdx, r15
mov rcx, r14
call fcn.1400484b4
test r13d, r13d
je 0x14023c66e
test ebx, ebx
je 0x14023c66e
jmp 0x14023c35b
lea eax, [rbx - 1]
mov edi, 1
cmp eax, edi
ja 0x14023c3a7
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x170]
call qword [case.0x14006b68f.0]
cmp eax, edi
je 0x14023c3a7
mov rcx, qword [r14 + 0x170]
mov rax, qword [rcx]
mov rax, qword [rax + 0x68]
call qword [case.0x14006b68f.0]
test eax, eax
je 0x14023c37f
cmp r15, qword [r14 + 0x168]
jne 0x14023c37f
or r12d, 0xffffffff
mov rcx, qword [r14 + 0x170]
mov rax, qword [rcx]
cmp ebx, edi
cmovne edi, r12d
mov edx, edi
mov rax, qword [rax + 0x90]
call qword [case.0x14006b68f.0]
jmp 0x14023c66e
mov eax, dword [rbp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, 0xa
mov r8d, dword [r14 + 0x120]
mov rdx, qword [r14 + 0x118]
mov rcx, r14
call fcn.14023a848
jmp 0x14023c66e
cmp dword [rbp + 0x60], esi
je 0x14023c3b2
mov dword [rbp - 0x28], r12d
jmp 0x14023c3c1
mov eax, dword [rbp + 0x68]
neg eax
sbb ecx, ecx
and ecx, r12d
add ecx, edi
mov dword [rbp - 0x28], ecx
mov r12, rsi
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x30]
call qword [case.0x14006b68f.0]
test rax, rax
je 0x14023c402
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x30]
call qword [case.0x14006b68f.0]
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x98]
mov rcx, rdx
call qword [case.0x14006b68f.0]
mov r12, rax
mov qword [rbp - 0x30], rsi
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140032750
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14020ba84
mov rcx, r12
mov rbx, qword [rbp - 0x30]
test rbx, rbx
cmovne rcx, rbx
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0x20], 2
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x20]
call fcn.140229458
mov rax, qword [r15]
mov edx, r13d
mov rcx, r15
mov rax, qword [rax + 0x178]
call qword [case.0x14006b68f.0]
mov r15, rax
test rax, rax
je 0x14023c570
lea rcx, [r14 + 0x30]
xor r8d, r8d
mov rdx, rax
call fcn.14000f560
mov rdx, r12
lea rcx, [0x14031b758]
call fcn.140005040
lea rcx, [0x14038b1f8]
call fcn.14010cb60
test al, al
je 0x14023c533
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 0x60]
call qword [case.0x14006b68f.0]
mov edx, 0xa920
mov rcx, rax
call qword [0x1403ad630]
nop dword [rax + rax]
mov r12, rax
test rax, rax
je 0x14023c533
mov rcx, qword [r15]
mov rax, qword [rcx + 0x60]
mov rcx, r15
call qword [case.0x14006b68f.0]
mov rcx, rax
call fcn.14010cd74
mov rcx, qword [r15]
mov rax, qword [rcx + 0x60]
mov rcx, r15
call qword [case.0x14006b68f.0]
mov edx, 0xa921
mov rcx, rax
call qword [0x1403ad630]
nop dword [rax + rax]
test rax, rax
je 0x14023c533
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rsi
mov rcx, qword [r14 + 0x60]
mov rax, qword [rcx]
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x18]
mov rdx, r12
mov rax, qword [rax + 0x18]
call qword [case.0x14006b68f.0]
test eax, eax
cmovns r15, qword [rbp - 0x20]
mov r12, qword [r14 + 0x60]
mov rax, qword [r12]
mov r13, qword [rax + 0x30]
cmp dword [r14 + 0x144], esi
jne 0x14023c55d
mov rdx, qword [r14 + 0xe0]
mov rcx, r15
call fcn.140046ca8
test eax, eax
je 0x14023c55d
mov edi, esi
mov r8d, edi
mov rdx, r15
mov rcx, r12
mov rax, r13
call qword [case.0x14006b68f.0]
nop
test rbx, rbx
je 0x14023c66e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14023c66e
cmp dword [r14 + 0x144], esi
jne 0x14023c66e
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov rax, qword [r15]
lea r8, [rbp - 0x18]
xor edx, edx
mov rcx, r15
mov rax, qword [rax + 0x70]
call qword [case.0x14006b68f.0]
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 0x14]
mov dword [rbp - 0x2c], eax
lea rdx, [rbp - 0x30]
mov rcx, qword [r14 + 8]
call qword [0x1403ad768]
nop dword [rax + rax]
cmp ebx, 5
jne 0x14023c5e1
lea esi, [rbx - 2]
jmp 0x14023c62b
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
mov ebx, 0xffff8000
test bx, ax
je 0x14023c628
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
test bx, ax
jne 0x14023c628
mov ecx, DAD_DragEnterEx2
call qword [sym.imp.USER32.dll_GetKeyState]
nop dword [rax + rax]
test bx, ax
je 0x14023c62b
mov esi, r12d
mov rdi, qword [r14 + 0x60]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rdx, qword [r15]
mov rcx, r15
mov rax, qword [rdx + 0x30]
call qword [case.0x14006b68f.0]
mov r9d, esi
lea r8, [rbp - 0x30]
mov rdx, rax
mov rcx, rdi
mov rax, rbx
call qword [case.0x14006b68f.0]
lea rcx, [r14 + 0x38]
mov r8d, 4
mov rdx, r15
call fcn.140036920
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a15a0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret