Function at 0x140066290
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rdi
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400ed0c0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
mov dword [rsp + 0x30], 5
lea rcx, [rsp + 0x40]
mov r14, r8
lea rdx, [rsp + 0x30]
call fcn.14001b360
mov rcx, rax
call fcn.1400660e0
mov rcx, rdi
call fcn.140027f60
test al, al
je 0x14006675b
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 5
lea rcx, [rsp + 0x40]
call fcn.14001b360
mov rcx, rax
call fcn.1400660e0
mov rcx, rdi
call fcn.140028130
test al, al
jne 0x140066332
call fcn.140027990
lea rcx, [rdi + 0x10]
call fcn.1400287b0
mov rdx, qword [rdi + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x14006675b
mov rcx, qword [rdi + 8]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rdi
call fcn.1400281e0
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 5
lea rcx, [rsp + 0x40]
call fcn.14001b360
mov rcx, rax
call fcn.1400660e0
mov rcx, rdi
call fcn.140028150
test al, al
je 0x14006675b
mov qword [rsp + 0x1b8], rbx
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x188], r12
mov qword [rsp + 0x180], r15
movaps xmmword [rsp + 0x170], xmm6
movaps xmmword [rsp + 0x160], xmm7
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm9
call fcn.140030f40
lea rcx, [rbp - 0x70]
mov rbx, rax
call fcn.14004e0c0
mov byte [rbp - 0x64], 0
call fcn.140050580
movss xmm6, dword [0x1400dab20]
mov rcx, qword [rbx + 0x30]
movaps xmm2, xmm6
mov qword [rsp + 0x20], rax
call fcn.14004e7c0
mov r8d, dword [0x1400eddf0]
lea rax, [rbp - 0x70]
mov rcx, qword [rbx + 0x30]
lea rdx, [0x1400ede00]
xor r12d, r12d
movaps xmm3, xmm6
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.14004e930
xor r9d, r9d
mov qword [rdi + 0x50], rax
xor r8d, r8d
mov dword [rsp + 0x20], r12d
xor edx, edx
lea rcx, [rbp + 0x20]
call fcn.14001b420
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.140008080
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], r12d
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x48], r12
call fcn.140027bf0
mov rax, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov qword [rdi + 0x48], rax
call fcn.1400023a0
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], 5
lea rcx, [rsp + 0x40]
call fcn.14001b360
movss xmm6, dword [rsp + 0x5c]
xor bl, bl
movss xmm7, dword [rsp + 0x58]
mov esi, r12d
movss xmm8, dword [rsp + 0x54]
mov r15d, 1
movss xmm9, dword [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14006651e
nop dword [rax]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rsp + 0x68], 0x12
lea rcx, [rsp + 0x60]
movzx ebx, bl
cmove ebx, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400664e0
test bl, bl
jne 0x1400666e5
cmp byte [0x1400fe550], r12b
je 0x140066558
mov rcx, qword [0x1400fe518]
mov r8d, r15d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
cmp eax, 0x87a0001
jne 0x140066558
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400664c0
cmp dword [0x1400fe54c], r12d
mov byte [0x1400fe550], r12b
je 0x1400665b0
cmp dword [0x1400fe554], r12d
je 0x1400665b0
call fcn.140027a60
mov rcx, qword [0x1400fe518]
xor edx, edx
mov r9d, dword [0x1400fe554]
mov r8d, dword [0x1400fe54c]
mov dword [rsp + 0x28], r12d
mov rax, qword [rcx]
mov dword [rsp + 0x20], r12d
call qword [rax + 0x68]
mov dword [0x1400fe554], r12d
mov dword [0x1400fe54c], r12d
call fcn.140027a00
call fcn.140053ef0
call fcn.140054a60
call fcn.140031900
mov rcx, r14
call fcn.140064d60
call fcn.140032a10
mov rcx, qword [0x1400fe530]
lea r8, [0x1400fe528]
movaps xmm0, xmm6
movss dword [rbp + 0x2c], xmm6
mulss xmm0, xmm9
movaps xmm1, xmm8
xor r9d, r9d
mov edx, r15d
mulss xmm1, xmm6
movss dword [rbp + 0x20], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm6
movss dword [rbp + 0x24], xmm1
movss dword [rbp + 0x28], xmm0
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x1400fe530]
lea r8, [rbp + 0x20]
mov rdx, qword [0x1400fe528]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140030f50
mov rcx, rax
call fcn.140052c70
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r15b, al
je 0x140066656
cmp byte [rdi + 0x44], r12b
sete al
mov byte [rdi + 0x44], al
mov ecx, 0x23
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r15b, al
je 0x14006666f
call fcn.140063480
movzx ebx, r15b
inc esi
cmp esi, 0x20
jl 0x1400666ca
mov rcx, rdi
call fcn.1400281a0
lea rcx, [rsp + 0x38]
mov esi, r12d
call fcn.1400023a0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14001b6a0
movzx ecx, al
call fcn.14001af40
test al, al
je 0x1400666ca
mov rcx, rdi
call fcn.1400281e0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.1400671a0
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov rcx, qword [0x1400fe518]
xor r8d, r8d
mov edx, r15d
mov rax, qword [rcx]
call qword [rax + 0x40]
test bl, bl
je 0x1400664c0
call fcn.140053e70
call fcn.140054140
call fcn.14002fc10
call fcn.140027990
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_DestroyWindow]
lea rcx, [rdi + 0x10]
call fcn.1400287b0
mov rdx, qword [rdi + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_UnregisterClassW]
movaps xmm9, xmmword [rsp + 0x140]
movaps xmm8, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
movaps xmm6, xmmword [rsp + 0x170]
mov r15, qword [rsp + 0x180]
mov r12, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x1c8]
mov rbx, qword [rsp + 0x1b8]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14006ca90
add rsp, 0x190
pop r14
pop rdi
pop rbp
ret