Function at 0x140057640
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140086040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x48]
movups xmmword [0x140096230], xmm0
movups xmmword [0x140096240], xmm0
movups xmmword [0x140096250], xmm0
call fcn.1400447b0
cmp dword [0x140096238], 0x12
je 0x1400579b2
mov qword [rsp + 0x90], rbx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x98], rsi
xor esi, esi
mov qword [rsp + 0x80], rdi
movaps xmmword [rsp + 0x70], xmm6
movss xmm6, dword [0x140078a84]
movaps xmmword [rsp + 0x60], xmm7
movss xmm7, dword [0x140078bc8]
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x140096230]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400576fb
lea rcx, [0x140096230]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140096230]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x40]
call fcn.1400447b0
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rdi, qword [0x140095650]
sub rcx, rbx
mov rbx, qword [rsp + 0x40]
movaps xmm0, xmm6
cvtsi2ss xmm1, rcx
lea rcx, [rsp + 0x48]
divss xmm1, xmm7
divss xmm0, xmm1
movss dword [0x140096190], xmm0
movss dword [rdi + 0x18], xmm1
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x48]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe00], xmm0
movd xmm1, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0xe04], xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [rdi + 0xe08], al
mov rax, qword [0x140095650]
test rax, rax
je 0x140057792
mov rcx, qword [rax + 0x98]
jmp 0x140057795
mov rcx, rsi
cmp qword [rcx + 0x18], rsi
jne 0x1400577b6
test rax, rax
je 0x1400577b6
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x1400577b6
cmp qword [rcx], rsi
je 0x1400577b6
call fcn.14002ca70
call fcn.14002d620
call fcn.140007a70
cmp byte [0x140096221], sil
je 0x1400577ce
call fcn.140054b10
lea rcx, [0x1400963c0]
call fcn.140056430
call fcn.140053ff0
call fcn.1400097d0
mov rcx, qword [0x140095fc8]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140095fc8]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140095fc8]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140095fc8]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], 0xff000000
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140095fc8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1400578a5
call fcn.140009be0
mov rax, qword [0x140095650]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002c4b0
mov rcx, qword [0x140095fc8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140095fc8]
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 0x140057983
mov rcx, qword [0x140095fc8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140057983
mov rdi, qword [0x140095650]
test rdi, rdi
je 0x14005794a
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x14005794a
cmp qword [rdi], rsi
je 0x14005794a
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140057915
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rsi
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140057928
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rsi
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14005794a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140095650]
mov qword [rdi + 0x18], rsi
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rsi
mov rcx, qword [0x140095fc8]
lea rdx, [0x140096070]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140095650]
test rax, rax
je 0x140057983
mov rax, qword [rax + 0x98]
test rax, rax
je 0x140057983
cmp qword [rax], rsi
je 0x140057983
call fcn.14002ca70
cmp dword [0x140096238], 0x12
jne 0x1400576c0
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rax, qword [0x140096240]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14006ac20
add rsp, 0x88
ret