Function at 0x140066ca0
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
mov rax, qword [0x1400ac040]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r12d, r12d
xor r14b, r14b
xor eax, eax
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], eax
mov eax, 1
xchg byte [0x1400ac0e0], al
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x50], rcx
lea rax, [rbp - 0x20]
mov qword [rbp - 0x48], rax
mov ecx, 0x10
call fcn.140084850
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rax], xmm0
mov qword [rbp - 0x10], rax
lea rcx, [rbp]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140067280]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 8], rax
test rax, rax
je 0x1400671a9
movzx eax, byte [0x1400af855]
test al, al
jne 0x140067173
movabs r13, 0x7ffffffffff0bdbf
movdqa xmm9, xmmword [0x14009c710]
movss xmm11, dword [0x14009b9c8]
movzx edi, byte [rsp + 0x38]
movsd xmm10, qword [rbp - 0x28]
mov r15, qword [rbp - 0x38]
movups xmm8, xmmword [rbp - 0x38]
movsd xmm7, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x38]
movups xmm6, xmmword [rbp - 0x38]
nop dword [rax]
movzx eax, byte [0x1400ac0e1]
test al, al
je 0x140067159
nop
lea rcx, [0x1400ac0f0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14006719d
cmp dword [0x1400ac13c], 0x7fffffff
je 0x140067187
lea rcx, [rbp - 0x40]
call fcn.140002400
mov rcx, qword [rax]
mov qword [0x1400af870], rcx
lea rcx, [0x1400ac0f0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1400af897], 0
je 0x14006714a
cmp byte [0x1400af886], 0
je 0x1400670f8
mov ecx, dword [0x1400ae7ac]
test ecx, ecx
je 0x140066e53
sub ecx, 1
je 0x140066e3b
cmp ecx, 1
jne 0x140066e71
mov byte [0x1400ae7b8], cl
jmp 0x140066e71
mov ecx, dword [0x1400ae7a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x1400ae7b8]
jmp 0x140066e71
mov ecx, dword [0x1400ae7a8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140066e71
cmp byte [0x1400ae7b8], 0
sete byte [0x1400ae7b8]
cmp byte [0x1400af89a], 0
je 0x140066ed0
mov dword [rsp + 0x30], 0x626f527d
mov dword [rsp + 0x34], 0x786f6c
lea rdx, [rsp + 0x31]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x14006714a
mov eax, dword [0x1400af890]
test eax, eax
jne 0x140066eba
mov ecx, 1
jmp 0x140066eca
cmp eax, 1
je 0x140066ec8
cmp byte [0x1400af89a], 1
jne 0x140066ed0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400ae7b8], 0
je 0x14006709a
test r14b, r14b
jne 0x140066f44
test dil, dil
je 0x140066f18
test r15, r15
je 0x140066f18
cmp qword [0x1400af8c8], 0
je 0x140066f18
movups xmm6, xmm8
movaps xmm7, xmm10
movups xmm1, xmmword [0x1400af8c8]
movups xmmword [rbp - 0x38], xmm1
movsd xmm0, qword [0x1400af8d8]
movsd qword [rbp - 0x28], xmm0
jmp 0x140066f3f
mov r14b, 1
lea rcx, [rbp + 8]
call fcn.140069810
movups xmm0, xmmword [rbp + 8]
movups xmmword [rbp - 0x38], xmm0
movsd xmm1, qword [rbp + 0x18]
movsd qword [rbp - 0x28], xmm1
movups xmm6, xmmword [rbp + 0x20]
movsd xmm7, qword [rbp + 0x30]
movq rsi, xmm6
test rsi, rsi
je 0x14006709a
xor edi, edi
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x70], edi
lea rcx, [rsi + 0x150]
call fcn.14006b4c0
test rax, rax
jne 0x140066f71
movsd xmm0, qword [rbp - 0x78]
mov dword [rbp - 0x60], edi
jmp 0x140066fa6
xor ecx, ecx
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], ecx
lea rcx, [rax + 0x140]
mov r8d, 0xc
lea rdx, [rsp + 0x78]
call fcn.140067630
movsd xmm0, qword [rsp + 0x78]
movsd qword [rbp - 0x78], xmm0
mov eax, dword [rbp - 0x80]
mov dword [rbp - 0x70], eax
mov dword [rbp - 0x60], eax
movsd qword [rbp - 0x68], xmm0
movss xmm0, dword [rbp - 0x64]
comiss xmm0, xmm11
jbe 0x14006709a
cmp byte [0x1400af857], dil
je 0x140067042
lea rcx, [rsi + 0x150]
call fcn.14006b4c0
test rax, rax
jne 0x140066fdf
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x140067013
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], ecx
lea rcx, [rax + 0x14c]
mov r8d, 0xc
lea rdx, [rsp + 0x68]
call fcn.140067630
movss xmm2, dword [rsp + 0x68]
movss xmm1, dword [rsp + 0x6c]
movss xmm0, dword [rsp + 0x70]
andps xmm2, xmm9
movss xmm3, dword [0x1400ac16c]
comiss xmm2, xmm3
ja 0x14006703a
andps xmm1, xmm9
comiss xmm1, xmm3
ja 0x14006703a
andps xmm0, xmm9
comiss xmm0, xmm3
ja 0x14006703a
xor al, al
jmp 0x14006703c
mov al, 1
mov byte [0x1400af89d], al
test r14b, r14b
je 0x140067070
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x48], eax
movaps xmmword [rsp + 0x40], xmm6
movsd qword [rsp + 0x50], xmm7
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x40]
call fcn.140065a90
movups xmm8, xmm6
movaps xmm10, xmm7
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [0x1400af8c8], xmm1
movsd xmm0, qword [rbp - 0x28]
movsd qword [0x1400af8d8], xmm0
mov dil, 1
movq r15, xmm6
jmp 0x1400670f8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
movups xmmword [0x1400af8c8], xmm0
mov qword [rsp + 0x50], rax
movsd xmm0, qword [rsp + 0x50]
movsd qword [0x1400af8d8], xmm0
mov qword [rsp + 0x50], rax
movsd xmm0, qword [rsp + 0x50]
xorps xmm1, xmm1
xorps xmm6, xmm6
xor dil, dil
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x40], xmm1
movq rsi, xmm6
xor r14b, r14b
movsd xmm7, qword [rsp + 0x50]
movups xmmword [rsp + 0x40], xmm6
movsd qword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x38], xmm1
cmp byte [0x1400af89a], 0
jne 0x14006714a
lea rcx, [rbp - 0x10]
call fcn.140002400
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x60], rax
cmp rax, r13
je 0x140067131
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x140067131
add rax, 0xf4240
jmp 0x14006713b
movabs rax, 0x7fffffffffffffff
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.1400033e0
movzx eax, byte [0x1400ac0e1]
test al, al
jne 0x140066dc0
mov eax, 1
xchg byte [0x1400ac0e1], al
movzx ecx, byte [0x1400af855]
test cl, cl
je 0x140066db0
xchg byte [0x1400ac0e0], r12b
cmp dword [rbp], 0
je 0x1400671b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x1400ac13c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140084830
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret