Function at 0x14000d050
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, qword [0x1400528c8]
xor esi, esi
test rbx, rbx
je 0x14000d085
mov rax, qword [rbx + 0x98]
jmp 0x14000d088
mov rax, rsi
cmp qword [rax + 0x18], rsi
jne 0x14000d0b0
test rbx, rbx
je 0x14000d0b0
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14000d0b0
cmp qword [rax], rsi
je 0x14000d0b0
call fcn.140037a30
mov rbx, qword [0x1400528c8]
mov rcx, qword [0x1400529e8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x50]
lea rcx, [rsp + 0x60]
sub eax, dword [rsp + 0x48]
movd xmm1, eax
mov eax, dword [rsp + 0x54]
sub eax, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x60]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400529f0]
cvtsi2ss xmm0, qword [0x1400529f8]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [0x1400529f0], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rbx + 0xdac], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rbx + 0xdad], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1400528c8]
shr eax, 0xf
and al, 1
mov byte [rbx + 0xdaf], sil
mov byte [rbx + 0xdae], al
lea rdi, [rcx + 0xd94]
cmp byte [rcx + 0xd3], sil
je 0x14000d1bc
cvttss2si eax, dword [rdi]
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x58], eax
cvttss2si eax, dword [rcx + 0xd98]
mov rcx, qword [0x1400529e8]
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rdi], 0xff7fffff
mov dword [rdi + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400529e8]
jne 0x14000d218
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14000d218
mov rcx, qword [0x1400529e8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14000d218
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rdi], xmm0
movss dword [rdi + 4], xmm1
cmp byte [rbx + 0x70], sil
je 0x14000d225
mov eax, 0xffffffff
jmp 0x14000d232
mov rax, qword [0x1400528c8]
mov eax, dword [rax + 0x4248]
cmp dword [0x140052080], eax
je 0x14000d245
mov dword [0x140052080], eax
call fcn.140037cd0
call fcn.1400161e0
mov ecx, 0x77
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000d267
cmp byte [0x140052880], sil
sete byte [0x140052880]
movzx eax, byte [0x140052898]
cmp al, byte [0x140052883]
je 0x14000d2a9
test al, al
je 0x14000d287
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x11
jmp 0x14000d28f
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
mov rcx, qword [0x140052958]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
movzx eax, byte [0x140052898]
mov byte [0x140052883], al
cmp byte [0x140052880], sil
je 0x14000d2b7
call fcn.140002fe0
cmp byte [0x14005288b], sil
je 0x14000d2c9
mov rcx, qword [0x1400527c8]
jmp 0x14000d316
cmp byte [0x14005288c], sil
je 0x14000d2db
mov rcx, qword [0x1400527d0]
jmp 0x14000d316
cmp byte [0x14005288a], sil
je 0x14000d2ed
mov rcx, qword [0x1400527b0]
jmp 0x14000d316
cmp byte [0x140052889], sil
je 0x14000d2ff
mov rcx, qword [0x1400527a8]
jmp 0x14000d316
cmp byte [0x14005288d], sil
mov rcx, qword [0x1400527d8]
jne 0x14000d316
mov rcx, qword [0x1400527b8]
call fcn.14001e810
call fcn.14000aa60
call fcn.140018760
mov rcx, qword [0x140052960]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052960]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052960]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140052960]
mov r9d, 1
movss xmm0, dword [0x14004a7a0]
xor r8d, r8d
mov dword [rsp + 0x30], esi
xor edx, edx
movss dword [rsp + 0x28], xmm0
mov rax, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [rax + 0x158]
mov rcx, qword [0x140052960]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14000d3e6
call fcn.140018ae0
mov rax, qword [0x1400528c8]
mov rcx, qword [rax + 0x40b0]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.140037480
mov rcx, qword [0x140052960]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140052960]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14000d4c4
mov rcx, qword [0x140052960]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14000d4c4
mov rbx, qword [0x1400528c8]
test rbx, rbx
je 0x14000d48b
mov rbx, qword [rbx + 0x98]
test rbx, rbx
je 0x14000d48b
cmp qword [rbx], rsi
je 0x14000d48b
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d456
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000d469
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000d48b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400528c8]
mov qword [rbx + 0x18], rsi
mov rcx, qword [rax + 0x50]
mov qword [rcx + 8], rsi
mov rcx, qword [0x140052960]
lea rdx, [0x1400527f0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400528c8]
test rax, rax
je 0x14000d4c4
mov rax, qword [rax + 0x98]
test rax, rax
je 0x14000d4c4
cmp qword [rax], rsi
je 0x14000d4c4
call fcn.140037a30
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140042d20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret