Function at 0x140047780
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400841c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x1400847f0], xmm0
movups xmmword [0x140084800], xmm0
movups xmmword [0x140084810], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x140084738]
lea rcx, [0x1400847f0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140047800
lea rcx, [0x1400847f0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400847f0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400846f8]
cmp rax, rcx
jne 0x14004784d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140084738]
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 [0x1400846f8]
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 [0x1400846f8]
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.140009fb0
mov rcx, qword [0x1400846f8]
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 0x140047902
mov byte [rbx + 0x128], 1
mov eax, dword [rbx + 0x124]
mov dword [rbx + 0x3c4], eax
mov byte [rbx + 0x418], 1
jmp 0x140047909
mov byte [rbx + 0x128], dil
mov eax, dword [0x140084b50]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x140047939
cmp edx, dword [0x140084b58]
jne 0x140047939
mov eax, dword [0x140084b54]
cmp dword [rsp + 0x4c], eax
jne 0x140047939
cmp ecx, dword [0x140084b5c]
je 0x14004799d
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 [0x1400846ec], edx
mov dword [0x140084708], ecx
mov dword [0x1400847b0], edx
xor edx, edx
mov dword [0x1400847b4], ecx
mov rcx, qword [0x140084738]
movups xmmword [0x140084b50], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400847a0]
lea rdx, [0x1400847b0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140047ad0
cmp dword [0x1400847f8], 0x12
jne 0x1400477c0
call fcn.14002b3e0
call fcn.14002b850
xor ecx, ecx
call fcn.1400080e0
mov rcx, qword [0x1400847a0]
test rcx, rcx
je 0x1400479e2
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400847a0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140084798]
test rcx, rcx
je 0x1400479f4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140084738]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x140084758]
mov rcx, qword [0x140084780]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004bf80
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret