Function at 0x14003c870
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1400580c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
movss xmm6, dword [0x140047750]
xorps xmm0, xmm0
movups xmmword [0x140058520], xmm0
xor edi, edi
movups xmmword [0x140058530], xmm0
movups xmmword [0x140058540], xmm0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [0x140058518]
lea rcx, [0x140058520]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003c900
lea rcx, [0x140058520]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140058520]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdx, qword [0x140058518]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rbx, rax
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140058510]
cmp rbx, rcx
jne 0x14003c976
mov edx, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140058518]
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 [0x140058510]
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 [0x140058510]
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.14000a860
mov rcx, qword [0x140058510]
mov rbx, rax
mov qword [rax + 0xc8], rcx
lea rcx, [rsp + 0x58]
mov dword [rax + 0x10], 0x3c888889
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 + 0xdf4], xmm0
mov ecx, dword [rsp + 0x5c]
sub ecx, dword [rsp + 0x44]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xdf8], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003ca32
mov byte [rbx + 0xdfc], 1
mov eax, dword [rbx + 0xdf8]
mov dword [rbx + 0x36e0], eax
mov byte [rbx + 0x3730], 1
jmp 0x14003ca39
mov byte [rbx + 0xdfc], dil
mov eax, dword [0x140058720]
mov ecx, dword [rsp + 0x54]
mov edx, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jne 0x14003ca69
cmp edx, dword [0x140058728]
jne 0x14003ca69
mov eax, dword [0x140058724]
cmp dword [rsp + 0x4c], eax
jne 0x14003ca69
cmp ecx, dword [0x14005872c]
je 0x14003cacd
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 [0x140058604], edx
mov dword [0x140058600], ecx
mov dword [0x1400584d0], edx
xor edx, edx
mov dword [0x1400584d4], ecx
mov rcx, qword [0x140058518]
movups xmmword [0x140058720], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400584c8]
lea rdx, [0x1400584d0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.14002a2b0
call fcn.14002afd0
call fcn.140010070
call fcn.14003d870
call fcn.140042a10
call fcn.140009190
mov rcx, qword [0x1400584c8]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400584c8]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400584c8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400584c8]
mov r9d, 1
mov dword [rsp + 0x30], edi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], edi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400584c8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003cb92
call fcn.140011de0
call fcn.14000a4e0
mov rcx, rax
call fcn.14002a310
mov rcx, qword [0x1400584c8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400584c8]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003cbeb
mov rcx, qword [0x1400584c8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003cbeb
call fcn.14002a220
mov rcx, qword [0x1400584c8]
lea rdx, [0x1400584d0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140029f60
cmp dword [0x140058528], 0x12
jne 0x14003c8c0
call fcn.14002ad60
call fcn.14002b2f0
xor ecx, ecx
call fcn.140008a90
mov rcx, qword [0x1400584c8]
test rcx, rcx
je 0x14003cc2b
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400584c8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400584c0]
test rcx, rcx
je 0x14003cc3d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140058518]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140058530]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400443e0
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
ret