Function at 0x1400477a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140084178]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x140084760], xmm0
movups xmmword [0x140084770], xmm0
movups xmmword [0x140084780], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x1400846a8]
lea rcx, [0x140084760]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140047820
lea rcx, [0x140084760]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140084760]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140084668]
cmp rax, rcx
jne 0x14004786d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400846a8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140084668]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
lea rdx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140084668]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x4c], eax
call fcn.140009f90
mov rcx, qword [0x140084668]
mov rbx, rax
mov qword [rax + 0x118], rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x58]
sub ecx, dword [rsp + 0x40]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x120], xmm0
mov ecx, dword [rsp + 0x5c]
sub ecx, dword [rsp + 0x44]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x124], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140047922
mov byte [rbx + 0x128], 1
mov eax, dword [rbx + 0x124]
mov dword [rbx + 0x3c4], eax
mov byte [rbx + 0x418], 1
jmp 0x140047929
mov byte [rbx + 0x128], dil
mov eax, dword [0x140084ae0]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140047959
cmp edx, dword [0x140084ae8]
jne 0x140047959
mov eax, dword [0x140084ae4]
cmp dword [rsp + 0x4c], eax
jne 0x140047959
cmp ecx, dword [0x140084aec]
je 0x1400479bd
movups xmm0, xmmword [rsp + 0x48]
mov r9d, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x14008465c], edx
mov dword [0x140084678], ecx
mov dword [0x140084720], edx
xor edx, edx
mov dword [0x140084724], ecx
mov rcx, qword [0x1400846a8]
movups xmmword [0x140084ae0], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140084710]
lea rdx, [0x140084720]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140047af0
cmp dword [0x140084768], 0x12
jne 0x1400477e0
call fcn.14002b490
call fcn.14002b900
xor ecx, ecx
call fcn.1400080d0
mov rcx, qword [0x140084710]
test rcx, rcx
je 0x140047a02
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140084710]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140084708]
test rcx, rcx
je 0x140047a14
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400846a8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x1400846c8]
mov rcx, qword [0x1400846f0]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004bfd0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret