Function at 0x14003b970
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov ecx, 0xa1
movaps xmmword [rsp + 0x160], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14003b9a7
cmp byte [0x1400809ba], 0
sete byte [0x1400809ba]
cmp byte [0x1400821f5], 0
movss xmm6, dword [0x14004a09c]
mov qword [rsp + 0x180], rbx
jne 0x14003bc31
mov rbx, qword [0x1400821e0]
lea rdx, [rbp - 0x30]
xorps xmm2, xmm2
mov qword [rsp + 0x188], rsi
movups xmmword [rsp + 0x50], xmm2
xor eax, eax
mov qword [rsp + 0x190], r14
mov rcx, qword [rbx + 0xa8]
lea rsi, [0x140049858]
movups xmmword [rbp - 0x70], xmm2
mov qword [rbp - 0x40], rax
lea rax, [0x1400530c0]
movups xmmword [rsp + 0x40], xmm2
mov byte [rsp + 0x4c], 1
mov r14d, 0xffff
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x80], xmm2
mov dword [rsp + 0x58], 3
movaps xmmword [rbp], xmm2
mov dword [rsp + 0x5c], 1
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x7c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [rbp - 0x40]
mov dword [rbp - 0x70], 0x3f800000
mov word [rbp - 0x6c], r14w
movaps xmm1, xmmword [rbp - 0x70]
movsd qword [rbp + 0x50], xmm0
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0x25e60
mov dword [rbp - 0x1c], 0x41900000
mov qword [rbp + 8], rsi
call fcn.140021d20
mov rcx, qword [rbx + 0xa8]
lea rdi, [0x1400809c0]
xorps xmm2, xmm2
lea rdx, [rbp - 0x30]
movups xmmword [rsp + 0x50], xmm2
xor eax, eax
mov dword [rsp + 0x58], 3
movups xmmword [rbp - 0x70], xmm2
mov qword [rbp - 0x40], rax
movups xmmword [rsp + 0x40], xmm2
mov byte [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x80], xmm2
mov dword [rsp + 0x5c], 1
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp], xmm2
mov dword [rbp - 0x7c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [rbp - 0x40]
mov dword [rbp - 0x70], 0x3f800000
mov word [rbp - 0x6c], r14w
movaps xmm1, xmmword [rbp - 0x70]
movsd qword [rbp + 0x50], xmm0
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], 0xe5c
mov dword [rbp - 0x1c], 0x41d80000
mov qword [rbp + 8], rsi
call fcn.140021d20
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x40], xmm2
movups xmmword [rsp + 0x50], xmm2
movups xmmword [rbp - 0x80], xmm2
movups xmmword [rbp - 0x70], xmm2
mov rcx, qword [rbx + 0xa8]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x40], rax
movaps xmmword [rbp], xmm2
mov byte [rsp + 0x4c], 1
movaps xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x58], 3
mov dword [rsp + 0x5c], 1
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x7c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [rbp - 0x40]
mov dword [rbp - 0x70], 0x3f800000
mov word [rbp - 0x6c], r14w
movaps xmm1, xmmword [rbp - 0x70]
movsd qword [rbp + 0x50], xmm0
movaps xmmword [rbp - 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm2
movaps xmmword [rbp + 0x40], xmm2
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x28], 0xe5c
mov dword [rbp - 0x1c], 0x420c0000
mov qword [rbp + 8], rsi
call fcn.140021d20
mov rax, qword [0x1400821e0]
mov r14, qword [rsp + 0x190]
mov rsi, qword [rsp + 0x188]
mov byte [0x1400824e8], 0
or dword [rax + 0x1d28], 2
mov dword [rax + 0x1d48], 0x439b0000
mov dword [rax + 0x1d4c], 0x442a0000
mov dword [rax + 0x1d30], 1
mov byte [0x1400821f5], 1
jmp 0x14003bc38
mov rax, qword [0x1400821e0]
xor edi, edi
test rax, rax
je 0x14003bc48
mov rcx, qword [rax + 0xf0]
jmp 0x14003bc4b
mov rcx, rdi
cmp qword [rcx + 0x18], rdi
jne 0x14003bc6c
test rax, rax
je 0x14003bc6c
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x14003bc6c
cmp qword [rcx], rdi
je 0x14003bc6c
call fcn.140026b00
call fcn.140027180
call fcn.140006b40
mov rax, qword [0x1400821e0]
movzx ecx, byte [0x1400809ba]
mov byte [rax + 0xc8], cl
call fcn.140039ff0
cmp byte [0x140081afc], dil
jne 0x14003bc9d
call fcn.14003a3e0
mov ecx, dword [0x140082338]
mov eax, 0xa0a0a0a1
inc ecx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x33
sub ecx, eax
cmp byte [0x1400809ba], dil
mov dword [0x140082338], ecx
je 0x14003bd72
mov rax, qword [0x1400821e0]
mov ecx, 1
mov dword [rax + 0x130], edi
mov byte [rax + 0x134], dil
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003bd22
mov rcx, qword [0x1400821e0]
cmp byte [rcx + 0x130], dil
je 0x14003bd1b
movss xmm0, dword [rcx + 0x38]
mulss xmm0, xmm0
comiss xmm0, dword [rcx + 0x4a0]
setbe al
test al, al
jne 0x14003bd22
mov byte [rcx + 0x130], 1
call fcn.140036690
cmp byte [0x1400824d0], dil
jne 0x14003bdae
mov rcx, qword [0x140082250]
mov edx, 0xffffffec
mov r8d, 0x80
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140082250]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x140082250]
call qword [sym.imp.USER32.dll_SetFocus]
mov byte [0x1400824d0], 1
mov byte [0x1400824d1], dil
jmp 0x14003bdae
cmp byte [0x1400824d1], dil
jne 0x14003bdae
mov rcx, qword [0x140082250]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140082250]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov byte [0x1400824d1], 1
mov byte [0x1400824d0], dil
call fcn.140008db0
mov rcx, qword [0x140081828]
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 [0x140081828]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm6, xmmword [rsp + 0x160]
test eax, eax
js 0x14003be2e
call fcn.140009180
mov rax, qword [0x1400821e0]
mov rcx, qword [rax + 0x1e20]
mov rcx, qword [rcx]
add rcx, 0x40
cmp byte [rcx], dil
cmove rcx, rdi
call fcn.140026540
mov rcx, qword [0x140081828]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140081828]
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 0x14003bf0f
mov rcx, qword [0x140081828]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003bf0f
mov rbx, qword [0x1400821e0]
test rbx, rbx
je 0x14003bed6
mov rbx, qword [rbx + 0xf0]
test rbx, rbx
je 0x14003bed6
cmp qword [rbx], rdi
je 0x14003bed6
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003be9e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 8], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14003beb1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14003bed6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1400821e0]
mov qword [rbx + 0x18], rdi
mov rcx, qword [rax + 0xa8]
mov qword [rcx + 8], rdi
mov rcx, qword [0x140081828]
lea rdx, [0x140081830]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x1400821e0]
test rax, rax
je 0x14003bf0f
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x14003bf0f
cmp qword [rax], rdi
je 0x14003bf0f
call fcn.140026b00
mov rbx, qword [rsp + 0x180]
mov rdi, qword [rsp + 0x198]
add rsp, 0x170
pop rbp
ret