Function at 0x14007c2a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14009e040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov ecx, dword [0x14009e2a4]
test ecx, ecx
je 0x14007c2f3
sub ecx, 1
je 0x14007c2db
cmp ecx, 1
jne 0x14007c311
mov byte [0x14009e2b0], cl
jmp 0x14007c311
mov ecx, dword [0x14009e2a0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x14009e2b0]
jmp 0x14007c311
mov ecx, dword [0x14009e2a0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14007c311
cmp byte [0x14009e2b0], 0
sete byte [0x14009e2b0]
cmp byte [0x14009f8b5], 0
je 0x14007c9bc
lea rdx, [rsp + 0x41]
mov qword [rsp + 0x210], rbx
xor ecx, ecx
mov dword [rsp + 0x40], 0x626f524e
mov dword [rsp + 0x44], 0x786f6c
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x14007c95f
cmp byte [0x14009e2b0], 0
je 0x14007c95f
mov edx, dword [0x14009fa80]
xor ebx, ebx
mov rax, qword [0x14009f8f8]
mov rcx, qword [0x14009fa78]
add rax, 0x100
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm7
movaps xmmword [rsp + 0x1d0], xmm8
movaps xmmword [rsp + 0x1c0], xmm9
movaps xmmword [rsp + 0x1b0], xmm10
movaps xmmword [rsp + 0x1a0], xmm11
movaps xmmword [rsp + 0x190], xmm12
movaps xmmword [rsp + 0x180], xmm13
mov qword [rbp + 8], rax
lea rax, [rbp - 0x58]
movaps xmmword [rsp + 0x170], xmm14
movaps xmmword [rsp + 0x160], xmm15
mov dword [rbp + 0x21], ebx
mov word [rbp + 0x25], bx
mov byte [rbp + 0x27], bl
mov dword [rbp], 0x12b2d92
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 8
mov dword [rbp + 4], edx
mov byte [rbp + 0x20], bl
test edx, edx
je 0x14007c447
test rcx, rcx
je 0x14007c447
mov qword [rsp + 0x38], rbx
lea rax, [rbp]
mov qword [rsp + 0x30], rbx
lea r8, [rbp]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, dword [0x14009fa80]
mov rcx, qword [0x14009fa78]
mov rax, qword [rbp - 0x58]
add rax, 0x298
mov dword [rbp - 7], ebx
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x18], rax
mov word [rbp - 3], bx
mov byte [rbp - 1], bl
mov dword [rbp - 0x28], 0x12b2d92
mov qword [rbp - 0x10], 8
mov dword [rbp - 0x24], edx
mov byte [rbp - 8], bl
test edx, edx
je 0x14007c4b5
test rcx, rcx
je 0x14007c4b5
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rbx
lea r8, [rbp - 0x28]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movdqa xmm0, xmmword [0x14008eb90]
lea rax, [rsp + 0x41]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x50], 0x74
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp - 0x38], rbx
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x30], rbx
inc r8
cmp byte [rax + r8], bl
jne 0x14007c4e5
lea rdx, [rsp + 0x41]
lea rcx, [rbp - 0x48]
call fcn.140008f90
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x60]
call fcn.14005bcc0
mov rdx, qword [rbp - 0x50]
add rdx, 0x158
mov dword [rbp - 7], ebx
mov word [rbp - 3], bx
mov byte [rbp - 1], bl
mov dword [rbp - 0x28], 0x12b2d92
call fcn.14005d200
add rax, 0x11c
mov qword [rbp - 0x10], 0x24
mov qword [rbp - 0x20], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 0x18], rax
mov eax, dword [0x14009fa80]
mov dword [rbp - 0x24], eax
mov byte [rbp - 8], bl
test eax, eax
je 0x14007c594
mov rcx, qword [0x14009fa78]
test rcx, rcx
je 0x14007c594
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rbx
lea r8, [rbp - 0x28]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm0, dword [rbp + 0x30]
xorps xmm6, xmm6
movss dword [rbp - 0x7c], xmm0
xorps xmm3, xmm3
movss xmm0, dword [rbp + 0x3c]
xorps xmm4, xmm4
movss dword [rbp - 0x70], xmm0
xorps xmm5, xmm5
movss xmm0, dword [rbp + 0x48]
mov ecx, 0x57
movss dword [rbp - 0x68], xmm0
xorps xmm11, xmm11
movss xmm0, dword [rbp + 0x28]
xorps xmm12, xmm12
movss dword [rbp - 0x60], xmm0
xorps xmm13, xmm13
movss xmm0, dword [rbp + 0x34]
xorps xmm9, xmm9
movss dword [rbp - 0x58], xmm0
xorps xmm7, xmm7
movss xmm0, dword [rbp + 0x40]
xorps xmm8, xmm8
movss dword [rsp + 0x40], xmm0
xorps xmm10, xmm10
xorps xmm0, xmm0
movss dword [rbp - 0x78], xmm6
movss dword [rsp + 0x68], xmm0
xorps xmm14, xmm14
movss dword [rbp - 0x74], xmm6
xorps xmm15, xmm15
movss dword [rbp - 0x6c], xmm6
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm6
movss dword [rbp - 0x80], xmm6
movss dword [rsp + 0x60], xmm6
movss dword [rsp + 0x6c], xmm3
movss dword [rsp + 0x70], xmm4
movss dword [rsp + 0x74], xmm5
movss dword [rsp + 0x64], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14007c6da
xorps xmm1, xmm1
xorps xmm0, xmm0
subss xmm0, dword [rbp - 0x7c]
subss xmm1, dword [rbp - 0x70]
xorps xmm2, xmm2
subss xmm2, dword [rbp - 0x68]
movss dword [rbp - 0x78], xmm0
movaps xmm11, xmm0
movss dword [rbp - 0x74], xmm1
movaps xmm12, xmm1
movss dword [rsp + 0x78], xmm0
movaps xmm9, xmm1
movss dword [rbp - 0x6c], xmm2
movaps xmm13, xmm2
movss dword [rsp + 0x7c], xmm1
movaps xmm7, xmm1
movss dword [rbp - 0x80], xmm2
movaps xmm8, xmm0
movss dword [rsp + 0x60], xmm0
movaps xmm10, xmm2
movss dword [rsp + 0x6c], xmm2
movaps xmm14, xmm0
movss dword [rsp + 0x70], xmm0
movaps xmm15, xmm1
movss dword [rsp + 0x74], xmm1
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x68], xmm2
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14007c760
movss xmm1, dword [rbp - 0x74]
addss xmm1, dword [rbp - 0x70]
movss xmm0, dword [rbp - 0x7c]
addss xmm0, dword [rbp - 0x78]
movss xmm2, dword [rbp - 0x6c]
addss xmm2, dword [rbp - 0x68]
movss dword [rsp + 0x7c], xmm1
movaps xmm12, xmm1
movss dword [rsp + 0x74], xmm1
movaps xmm9, xmm1
movss dword [rsp + 0x78], xmm0
movaps xmm11, xmm0
movss dword [rsp + 0x60], xmm0
movaps xmm7, xmm1
movss dword [rbp - 0x80], xmm2
movaps xmm13, xmm2
movss dword [rsp + 0x6c], xmm2
movaps xmm8, xmm0
movss dword [rsp + 0x70], xmm0
movaps xmm10, xmm2
movss dword [rsp + 0x64], xmm2
movaps xmm14, xmm0
movss dword [rsp + 0x68], xmm2
movaps xmm15, xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14007c7d9
movss xmm12, dword [rsp + 0x7c]
subss xmm12, dword [rbp - 0x58]
movss xmm11, dword [rsp + 0x78]
subss xmm11, dword [rbp - 0x60]
movss xmm13, dword [rbp - 0x80]
subss xmm13, dword [rsp + 0x40]
movss dword [rsp + 0x74], xmm12
movaps xmm9, xmm12
movaps xmm7, xmm12
movaps xmm15, xmm12
movss dword [rsp + 0x60], xmm11
movaps xmm8, xmm11
movss dword [rsp + 0x70], xmm11
movaps xmm14, xmm11
movss dword [rsp + 0x6c], xmm13
movaps xmm10, xmm13
movss dword [rsp + 0x64], xmm13
movss dword [rsp + 0x68], xmm13
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14007c837
movss xmm9, dword [rbp - 0x58]
movss xmm8, dword [rbp - 0x60]
addss xmm9, xmm12
movss xmm10, dword [rsp + 0x40]
addss xmm8, xmm11
addss xmm10, xmm13
movaps xmm7, xmm9
movaps xmm13, xmm9
movss dword [rsp + 0x60], xmm8
movaps xmm12, xmm8
movss dword [rsp + 0x64], xmm10
movaps xmm0, xmm10
movaps xmm14, xmm8
movaps xmm15, xmm9
movaps xmm11, xmm10
jmp 0x14007c852
movss xmm11, dword [rsp + 0x68]
movss xmm0, dword [rsp + 0x6c]
movss xmm12, dword [rsp + 0x70]
movss xmm13, dword [rsp + 0x74]
mulss xmm8, dword [rsp + 0x60]
mulss xmm7, xmm9
movaps xmm9, xmmword [rsp + 0x1c0]
mulss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x1b0]
addss xmm7, xmm8
movaps xmm8, xmmword [rsp + 0x1d0]
addss xmm7, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm7
ja 0x14007c898
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x14007c8a0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm7, xmmword [rsp + 0x1e0]
comiss xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x1f0]
jbe 0x14007c8d3
movss xmm11, dword [rsp + 0x64]
movaps xmm14, xmm12
movaps xmm15, xmm13
divss xmm14, xmm0
divss xmm15, xmm0
divss xmm11, xmm0
movss xmm3, dword [0x14009e1e4]
lea rdx, [rsp + 0x40]
movss xmm0, dword [0x14008e5b0]
lea rcx, [rbp - 0x50]
movaps xmm2, xmm3
movaps xmm1, xmm3
mulss xmm2, xmm14
mulss xmm1, xmm15
mulss xmm2, xmm0
mulss xmm3, xmm11
mulss xmm1, xmm0
mulss xmm3, xmm0
unpcklps xmm2, xmm1
movsd qword [rsp + 0x40], xmm2
movss dword [rsp + 0x48], xmm3
call fcn.14005c0a0
lea rcx, [rsp + 0x40]
call fcn.14006f400
mov rax, qword [rsp + 0x40]
movaps xmm15, xmmword [rsp + 0x160]
movaps xmm14, xmmword [rsp + 0x170]
movaps xmm13, xmmword [rsp + 0x180]
movaps xmm12, xmmword [rsp + 0x190]
movaps xmm11, xmmword [rsp + 0x1a0]
jmp 0x14007c973
lea rcx, [rsp + 0x40]
call fcn.14006f400
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x210]
movabs r8, 0x7fffffffff67697f
cmp rax, r8
je 0x14007c9a3
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14007c9a3
add rax, 0x989680
jmp 0x14007c9ad
movabs rax, 0x7fffffffffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.140071240
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140080100
add rsp, 0x200
pop rbp
ret