Function at 0x140061da0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1400d3168]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r12, r9
mov rdi, r8
mov esi, edx
mov r13, rcx
call fcn.1400380c0
test rax, rax
je case.0x140062160.527
call fcn.140038580
mov r15, rax
call fcn.1400380c0
xor r14d, r14d
test rax, rax
je 0x140061dfc
call fcn.140038580
mov rbx, qword [rax + 0x90]
jmp 0x140061dff
mov rbx, r14
cmp esi, 0x200
ja 0x140062136
je 0x1400620b4
lea eax, [rsi - 7]
cmp eax, 0xfe
ja case.0x140062160.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x622f4]
mov ecx, dword [rdx + rax*4 + 0x622dc]
add rcx, rdx
jmp rcx
lea eax, [rsi - 0x100]
mov ebp, 0x100
test eax, 0xfffffffb
sete sil
cmp rdi, rbp
jae case.0x140062160.527
call fcn.140038580
mov ecx, 0x11
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x281
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.140026d00
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x282
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.140026d00
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x283
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.140026d00
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x284
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.140026d00
cmp rdi, 0xd
jne 0x140061efb
mov rax, r12
shr rax, 0x10
test bp, ax
mov eax, 0x10d
cmovne edi, eax
movsxd rcx, edi
call fcn.140061850
shr r12, 0x10
movzx ebx, r12b
test eax, eax
je 0x140061f20
mov r9d, ebx
mov r8d, edi
movzx edx, sil
mov ecx, eax
call fcn.14005fc10
cmp edi, 0x10
jne 0x140061f86
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x140061f51
mov r9d, ebx
mov r8d, 0xa0
movzx edx, sil
mov ecx, 0x210
call fcn.14005fc10
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x140062160.527
mov r9d, ebx
mov r8d, 0xa1
movzx edx, sil
mov ecx, 0x214
call fcn.14005fc10
jmp case.0x140062160.527
cmp edi, 0x11
jne 0x140061fec
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x140061fb7
mov r9d, ebx
mov r8d, 0xa2
movzx edx, sil
mov ecx, 0x20f
call fcn.14005fc10
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x140062160.527
mov r9d, ebx
mov r8d, 0xa3
movzx edx, sil
mov ecx, 0x213
call fcn.14005fc10
jmp case.0x140062160.527
cmp edi, 0x12
jne case.0x140062160.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x140062021
mov r9d, ebx
mov r8d, 0xa4
movzx edx, sil
mov ecx, 0x211
call fcn.14005fc10
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x140062160.527
mov r9d, ebx
mov r8d, 0xa5
movzx edx, sil
mov ecx, 0x215
call fcn.14005fc10
jmp case.0x140062160.527
cmp esi, 7
mov rcx, r15
sete dl
call fcn.1400269c0
jmp case.0x140062160.527
lea rax, [rdi - 1]
cmp rax, 0xfffe
ja case.0x140062160.527
movzx edx, di
mov rcx, r15
call fcn.140026af0
jmp case.0x140062160.527
cmp r12w, 1
jne case.0x140062160.527
call fcn.140061540
test al, al
je case.0x140062160.527
mov eax, 1
jmp 0x1400622bd
mov byte [rbx + 0x2e], 1
jmp case.0x140062160.527
mov qword [rbx + 8], r13
cmp byte [rbx + 0x10], r14b
jne 0x1400620e8
mov ebp, 2
mov dword [rsp + 0x20], 0x18
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], ebp
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x30], r14d
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov byte [rbx + 0x10], 1
movsx eax, r12w
shr r12, 0x10
test dword [r15], 0x400
movsx ecx, r12w
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], eax
je 0x14006211b
lea rdx, [rsp + 0x38]
mov rcx, r13
call qword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
movd xmm2, ecx
mov rcx, r15
movd xmm1, eax
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140026f20
jmp case.0x140062160.527
lea eax, [rsi - 0x201]
cmp eax, 0xa2
ja case.0x140062160.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x62410]
mov ecx, dword [rdx + rax*4 + 0x623f4]
add rcx, rdx
jmp rcx
cmp qword [rbx + 8], r13
jne 0x14006216c
mov qword [rbx + 8], r14
movss xmm1, dword [0x1400a3bac]
mov rcx, r15
movaps xmm2, xmm1
mov byte [rbx + 0x10], r14b
call fcn.140026f20
jmp case.0x140062160.527
cmp esi, 0x204
je 0x14006219b
mov r12d, r14d
cmp esi, 0x206
jne 0x1400621a1
mov r12d, 1
lea eax, [rsi - 0x207]
mov ebp, 2
test eax, 0xfffffffd
lea eax, [rsi - 0x20b]
cmove r12d, ebp
test eax, 0xfffffffd
jne 0x1400621d2
shr rdi, 0x10
cmp di, 1
setne r14b
lea r12d, [r14 + 3]
cmp dword [rbx + 0x14], 0
jne 0x1400621ec
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x1400621ec
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rbx + 0x14]
mov r8b, 1
bts eax, r12d
mov edx, r12d
mov rcx, r15
mov dword [rbx + 0x14], eax
call fcn.140026e80
jmp case.0x140062160.527
cmp esi, 0x205
mov ebp, r14d
sete bpl
cmp esi, 0x208
jne 0x140062225
mov ebp, 2
jmp 0x14006223f
cmp esi, 0x20c
jne 0x14006223f
shr rdi, 0x10
mov ebp, r14d
cmp di, 1
setne bpl
add ebp, 3
mov eax, dword [rbx + 0x14]
btr eax, ebp
mov dword [rbx + 0x14], eax
test eax, eax
jne 0x14006225d
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x14006225d
call qword [sym.imp.USER32.dll_ReleaseCapture]
xor r8d, r8d
mov edx, ebp
mov rcx, r15
call fcn.140026e80
jmp case.0x140062160.527
shr rdi, 0x10
xorps xmm1, xmm1
movsx eax, di
mov rcx, r15
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400b72c8]
call fcn.140027050
jmp case.0x140062160.527
shr rdi, 0x10
xorps xmm2, xmm2
movsx eax, di
mov rcx, r15
movd xmm1, eax
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x1400b72c8]
call fcn.140027050
jmp case.0x140062160.527
cmp edi, 7
jne case.0x140062160.527
mov byte [rbx + 0x2d], 1
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140095c20
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret