Function at 0x14000ac10
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
sub rsp, 0x78
mov rax, qword [0x1400c70d0]
xor ebp, ebp
movaps xmmword [rsp + 0x60], xmm6
mov rdi, rcx
test rax, rax
je 0x14000ac36
mov rcx, qword [rax + 0xa0]
jmp 0x14000ac39
mov rcx, rbp
cmp qword [rcx + 0x18], rbp
jne 0x14000ac5a
test rax, rax
je 0x14000ac5a
mov rcx, qword [rax + 0xa0]
test rcx, rcx
je 0x14000ac5a
cmp qword [rcx], rbp
je 0x14000ac5a
call fcn.140039ba0
call fcn.14003a570
call fcn.140014760
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
cmp qword [0x1400c7728], rbp
je 0x14000ace4
cmp byte [0x1400700a5], bpl
je 0x14000ace4
cmp dword [0x14007009c], ebp
jne 0x14000acbe
lea rcx, [0x140070090]
call fcn.140001b10
test rax, rax
je 0x14000acbe
lea rcx, [0x140070090]
call fcn.140001b10
mov rdx, rax
lea rcx, [0x140070090]
call fcn.140002130
cmp dword [0x14007009c], 1
jne 0x14000ace4
lea rcx, [0x140070090]
call fcn.140001b10
test rax, rax
je 0x14000ace4
lea rcx, [0x140070090]
call fcn.140002800
mov qword [rsp + 0xa8], rbx
call fcn.140005ec0
cmp qword [0x1400c7728], rbp
je 0x14000ae57
mov rcx, rax
call fcn.140006380
mov rdx, qword [0x1400c7718]
test rdx, rdx
je 0x14000ae42
mov rcx, qword [0x1400c7780]
lea r8, [rsp + 0x98]
add rdx, 0x10
mov qword [rsp + 0x20], rbp
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rsp + 0x98]
lea r8, [rsp + 0xa0]
mov rcx, qword [0x1400c7780]
mov r9d, 8
mov qword [rsp + 0x20], rbp
lea rdx, [rbx + 0x180]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400c7780]
lea rdx, [rbx + 0x188]
mov r9d, 4
mov qword [rsp + 0x20], rbp
lea r8, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x90]
test eax, eax
jle 0x14000ae42
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rsi
mov esi, eax
nop
mov rcx, qword [0x1400c7780]
lea r8, [rsp + 0x90]
mov r9d, 8
mov qword [rsp + 0x20], rbp
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x14000ae2f
mov rcx, qword [0x1400c7780]
lea r8, [rsp + 0x40]
add rdx, 0x90
mov qword [rsp + 0x20], rbp
mov r9d, 0xc
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
call fcn.14005a140
movsd xmm0, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov eax, dword [rsp + 0x48]
lea rdx, [rsp + 0x98]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x58], eax
call fcn.14005a300
add rbx, 0x10
sub rsi, 1
jne 0x14000adb0
mov rsi, qword [rsp + 0x70]
cmp qword [0x1400c7728], rbp
je 0x14000ae57
lea rcx, [0x140070ad8]
call fcn.14000a2b0
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400c7700], eax
jle 0x14000ae9a
lea rcx, [0x1400c7700]
call fcn.14005a670
cmp dword [0x1400c7700], 0xffffffff
jne 0x14000ae9a
lea rcx, [0x1400c7700]
mov dword [0x1400c76f8], ebp
call fcn.14005a604
lea rcx, [0x1400c76f8]
call fcn.14000a9a0
cmp byte [0x1400700a8], bpl
movss xmm6, dword [0x140066cd4]
je 0x14000af7d
mov rax, qword [0x1400c70d0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax + 0x4898]
mov rcx, qword [rcx]
call fcn.140013d70
mov ecx, dword [rdi + 0xe8]
xorps xmm0, xmm0
movd xmm2, dword [0x140070090]
xorps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mov rbx, rax
cvtsi2ss xmm0, rcx
mov ecx, dword [rdi + 0xec]
cvtsi2ss xmm1, rcx
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [0x140066c98]
comiss xmm0, xmm2
movss dword [rsp + 0x94], xmm1
ja 0x14000af7d
subss xmm2, xmm0
mov dword [rsp + 0x28], 0x1ff
movss xmm0, dword [0x140066d58]
lea rdx, [rsp + 0x90]
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm0
mov rcx, rax
call fcn.1400325c0
mov r8d, dword [rbx + 0x78]
mov r9d, 0xffffffff
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
call fcn.140030b90
mov dword [rbx + 0x78], ebp
mov ecx, 0x2e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000af9c
cmp byte [rdi + 0x140], bpl
sete al
mov byte [rdi + 0x140], al
cmp byte [rdi + 0x140], bpl
je 0x14000afb5
mov rcx, rdi
call fcn.1400527e0
mov r8d, 0xa0
jmp 0x14000afbb
mov r8d, 0x800a0
mov rcx, qword [rdi + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
movzx eax, byte [rdi + 0x140]
mov rcx, qword [0x1400c70d0]
mov byte [rcx + 0x7c], al
movzx eax, byte [rdi + 0x140]
mov byte [rcx + 0xd9], al
call fcn.1400163e0
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [rdi + 8]
mov r9d, 1
mov dword [rsp + 0x30], ebp
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x60]
test eax, eax
js 0x14000b099
call fcn.1400167a0
mov rax, qword [0x1400c70d0]
mov rcx, qword [rax + 0x4898]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], bpl
cmove rcx, rbp
call fcn.1400395d0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rdi + 8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14000b16e
mov rcx, qword [rdi + 8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000b16e
mov rbx, qword [0x1400c70d0]
test rbx, rbx
je 0x14000b138
mov rbx, qword [rbx + 0xa0]
test rbx, rbx
je 0x14000b138
cmp qword [rbx], rbp
je 0x14000b138
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000b103
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rbp
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000b116
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000b138
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400c70d0]
mov qword [rbx + 0x18], rbp
mov rcx, qword [rax + 0x58]
mov qword [rcx + 8], rbp
mov rcx, qword [rdi + 8]
lea rdx, [rdi + 0xa0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400c70d0]
test rax, rax
je 0x14000b16e
mov rax, qword [rax + 0xa0]
test rax, rax
je 0x14000b16e
cmp qword [rax], rbp
je 0x14000b16e
call fcn.140039ba0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x78
pop rdi
pop rbp
ret