Function at 0x140043df0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, ecx
mov ecx, SafeArrayGetLBound
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004401e
cmp byte [0x140118cf0], 1
jne 0x140043edc
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cb48]
cmp byte [0x14011c959], 1
jne 0x140043e83
cmp byte [0x14011c94c], 1
jne 0x140043e4c
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140043e54
movsd xmm1, qword [0x140118cc0]
cmp byte [0x14011c94f], 1
je 0x140043e79
cmp byte [0x14011c93a], 1
je 0x140043e79
cmp byte [0x14011c958], 1
jne 0x140043e8b
movsd xmm1, qword [0x1400ffa60]
jmp 0x140043e8b
movsd xmm1, qword [0x1400ffa40]
jmp 0x140043e8b
movsd xmm1, qword [0x140118cc8]
call fcn.140043d40
mulsd xmm0, qword [rax]
mulsd xmm0, xmm1
movss xmm1, dword [0x140118d00]
mulss xmm1, dword [0x1400ffa84]
cvtps2pd xmm2, xmm1
mulsd xmm2, qword [0x1400ffc60]
xorps xmm1, xmm1
cvtsi2sd xmm1, dword [0x140118d50]
mulsd xmm2, qword [0x1400ffa88]
divsd xmm1, qword [0x1400ffaf0]
mulsd xmm2, xmm1
divsd xmm0, xmm2
add rsp, 0x20
pop rbx
ret
cmp byte [0x14011c94e], 1
jne 0x140043f1e
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cbd0]
cmp byte [0x14011c959], 1
jne 0x140043e83
cmp byte [0x14011c94c], 1
jne 0x140043e4c
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140043e54
cmp byte [0x14011c93f], 1
jne 0x140043f64
mov rax, rbx
shl rax, 4
add rax, qword [0x14011ca68]
cmp byte [0x14011c959], 1
jne 0x140043e83
cmp byte [0x14011c94c], 1
jne 0x140043e4c
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140043e54
cmp byte [0x14011c95a], 1
jne 0x140043faa
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cab0]
cmp byte [0x14011c959], 1
jne 0x140043e83
cmp byte [0x14011c94c], 1
jne 0x140043e4c
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140043e54
cmp byte [0x14011c94c], 1
jne 0x1400441f7
movzx ecx, byte [0x14011c959]
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cb60]
cmp cl, 1
jne 0x140043e83
cmp byte [0x14011c94f], cl
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
je 0x140043e79
cmp byte [0x14011c93a], cl
je 0x140043e79
cmp byte [0x14011c958], cl
jne 0x140043e8b
cmp cl, cl
jne 0x140043e8b
movsd xmm1, qword [0x1400ffa60]
jmp 0x140043e8b
cmp byte [0x140118cf0], 1
jne 0x1400440b9
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cb48]
cmp byte [0x14011c959], 1
jne 0x140044094
cmp byte [0x14011c94c], 1
jne 0x14004405d
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140044065
movsd xmm1, qword [0x140118cc0]
cmp byte [0x14011c94f], 1
je 0x14004408a
cmp byte [0x14011c93a], 1
je 0x14004408a
cmp byte [0x14011c958], 1
jne 0x14004409c
movsd xmm1, qword [0x1400ffa60]
jmp 0x14004409c
movsd xmm1, qword [0x1400ffa40]
jmp 0x14004409c
movsd xmm1, qword [0x140118cc8]
call fcn.140043d40
mulsd xmm0, qword [rax]
movss xmm2, dword [0x140118d00]
cvtps2pd xmm2, xmm2
mulsd xmm0, xmm1
jmp 0x140043eab
cmp byte [0x14011c94e], 1
jne 0x1400440fb
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cbd0]
cmp byte [0x14011c959], 1
jne 0x140044094
cmp byte [0x14011c94c], 1
jne 0x14004405d
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140044065
cmp byte [0x14011c93f], 1
jne 0x140044141
mov rax, rbx
shl rax, 4
add rax, qword [0x14011ca68]
cmp byte [0x14011c959], 1
jne 0x140044094
cmp byte [0x14011c94c], 1
jne 0x14004405d
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140044065
cmp byte [0x14011c95a], 1
jne 0x140044187
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cab0]
cmp byte [0x14011c959], 1
jne 0x140044094
cmp byte [0x14011c94c], 1
jne 0x14004405d
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
jmp 0x140044065
cmp byte [0x14011c94c], 1
jne 0x1400441f7
movzx ecx, byte [0x14011c959]
mov rax, rbx
shl rax, 4
add rax, qword [0x14011cb60]
cmp cl, 1
jne 0x140044094
cmp byte [0x14011c94f], cl
movsd xmm1, qword [0x1400ffa50]
movsd qword [0x140118cc0], xmm1
je 0x14004408a
cmp byte [0x14011c93a], cl
je 0x14004408a
cmp byte [0x14011c958], cl
jne 0x14004409c
cmp cl, cl
jne 0x14004409c
movsd xmm1, qword [0x1400ffa60]
jmp 0x14004409c
xorps xmm0, xmm0
add rsp, 0x20
pop rbx
ret