Function at 0x14003a220
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x250
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
mov rax, qword [0x140395680]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov byte [rsp + 0x41], r8b
mov rdi, rdx
mov qword [rsp + 0x70], rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov rcx, qword [0x1403957b0]
mov rax, qword [rcx + 0x3ed0]
mov byte [rax + 0xb0], 1
mov rbx, qword [rcx + 0x3ed0]
mov qword [rsp + 0x68], rbx
cmp byte [rbx + 0xb3], 0
jne 0x14003aace
mov r13, qword [0x1403957b0]
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call fcn.14000b250
mov r15d, eax
lea rcx, [rsp + 0x50]
call fcn.14000b090
movss xmm6, dword [rax]
subss xmm6, dword [r13 + 0x37e8]
lea rcx, [rsp + 0x50]
call fcn.14000b090
movss xmm8, dword [rbx + 0xfc]
movaps xmm10, xmm8
addss xmm10, dword [0x140053140]
movss xmm7, dword [rbx + 0xf8]
movaps xmm9, xmm7
addss xmm9, xmm6
movaps xmm11, xmm8
xorps xmm12, xmm12
addss xmm11, xmm12
movaps xmm6, xmm7
addss xmm6, xmm12
movss xmm13, dword [0x1400517e8]
movss dword [rsp + 0x20], xmm13
mov r9b, 1
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x70]
call fcn.140007270
movaps xmm1, xmm8
addss xmm1, dword [0x140053138]
movaps xmm0, xmm7
addss xmm0, dword [0x140057e2c]
movss dword [rbp + 0x60], xmm7
movss dword [rbp + 0x64], xmm8
movss dword [rbp + 0x68], xmm0
movss dword [rbp + 0x6c], xmm1
subss xmm1, xmm8
subss xmm0, xmm7
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
movss xmm1, dword [r13 + 0x3820]
lea rcx, [rsp + 0x60]
call fcn.14000d5d0
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp + 0x60]
call fcn.14000d240
test al, al
je 0x14003aace
mov eax, dword [str.None]
mov dword [rbp + 0x80], eax
movzx eax, byte [0x140052b0c]
mov byte [rbp + 0x84], al
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x85], xmm0
movups xmmword [rbp + 0x95], xmm0
movups xmmword [rbp + 0xa5], xmm0
mov qword [rbp + 0xb5], rax
mov word [rbp + 0xbd], ax
mov byte [rbp + 0xbf], al
xor r12b, r12b
mov r14d, dword [rdi]
movups xmmword [rbp + 0x40], xmm0
xor esi, esi
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
xor r8d, r8d
lea rdx, [0x140052424]
lea rcx, [rbp + 0x40]
call fcn.140037590
nop
movsxd rax, dword [rdi]
lea r9, str.None
mov r9, qword [r9 + rax*8]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [r9 + rdi], 0
jne 0x14003a450
mov rcx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14003a499
lea rax, [rcx + rdi]
mov qword [rbp + 0x50], rax
lea rbx, [rbp + 0x40]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x40]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14003a4b0
mov qword [rsp + 0x20], rdi
movzx r8d, byte [rsp + 0x40]
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.1400377d0
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0
je 0x14003a4d3
cmp dword [r13 + 0x3f30], r15d
je 0x14003a4dc
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova r8, qword [rbp + 0x40]
jmp 0x14003a4e3
cmp dword [r13 + 0x3f30], r15d
jne 0x14003a4f5
lea r8, [0x140052538]
mov edx, 0x40
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
movss dword [rsp + 0x20], xmm13
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x38]
call fcn.140007270
movss xmm7, dword [0x1400517dc]
subss xmm10, xmm7
movaps xmm0, xmm9
addss xmm0, xmm12
subss xmm9, dword [0x14005311c]
subss xmm9, dword [rbp + 0x38]
movss dword [rbp + 0x28], xmm9
movss dword [rbp + 0x2c], xmm11
movss dword [rbp + 0x30], xmm0
movss dword [rbp + 0x34], xmm10
mov edx, r15d
lea rcx, [rbp + 0x60]
call fcn.14000d3f0
mov byte [rsp + 0x40], al
mov edx, dword [0x140395cc0]
mov rcx, qword gs:[0x58]
mov eax, 4
mov rcx, qword [rcx + rdx*8]
mov ecx, dword [rax + rcx]
cmp dword [0x1403958b0], ecx
jg 0x14003ab28
mov rdi, qword [0x1403958a0]
mov rax, qword [rdi + 8]
mov rbx, rdi
cmp byte [rax + 0x19], 0
jne 0x14003a5b8
nop dword [rax]
cmp dword [rax + 0x1c], r15d
jae 0x14003a5ac
mov rax, qword [rax + 0x10]
jmp 0x14003a5b2
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003a5a0
cmp byte [rbx + 0x19], 0
jne 0x14003a5c4
cmp r15d, dword [rbx + 0x1c]
jae 0x14003a5c7
mov rbx, rdi
cmp rbx, rdi
jne 0x14003a717
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
xorps xmm0, xmm0
xorps xmm1, xmm1
xorps xmm2, xmm2
mov dword [rbp - 0x68], r15d
movups xmmword [rbp - 0x64], xmm0
movups xmmword [rbp - 0x54], xmm1
movups xmmword [rbp - 0x44], xmm2
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp - 0x34], xmm0
mov dword [rbp - 0x24], esi
mov r8, qword [rdi + 8]
mov edx, esi
mov r9, rdi
cmp byte [r8 + 0x19], sil
jne 0x14003a630
mov rax, r8
nop
mov r8, rax
cmp dword [rax + 0x1c], r15d
jae 0x14003a61f
mov rax, qword [rax + 0x10]
jmp 0x14003a625
mov r9, rax
mov rax, qword [rax]
mov edx, esi
setae dl
cmp byte [rax + 0x19], 0
je 0x14003a610
mov qword [rbp - 0x80], r8
mov dword [rbp - 0x78], edx
mov eax, dword [rbp - 0x74]
mov dword [rbp - 0x74], eax
cmp byte [r9 + 0x19], 0
jne 0x14003a64e
cmp r15d, dword [r9 + 0x1c]
jae 0x14003a6dc
movabs rax, 0x276276276276276
cmp qword [0x1403958a8], rax
je 0x14003ab22
lea rbx, [0x1403958a0]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, 0x68
call fcn.14004e6fc
nop
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rax + 0x1c], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rax + 0x2c], xmm1
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rax + 0x3c], xmm0
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rax + 0x4c], xmm1
movsd xmm0, qword [rbp - 0x28]
movsd qword [rax + 0x5c], xmm0
mov qword [rax], rdi
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rdi
mov word [rax + 0x18], 0
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14003d770
mov rdi, qword [0x1403958a0]
mov rax, qword [rdi + 8]
mov rbx, rdi
cmp byte [rax + 0x19], 0
jne 0x14003a708
nop dword [rax]
cmp dword [rax + 0x1c], r15d
jae 0x14003a6fc
mov rax, qword [rax + 0x10]
jmp 0x14003a702
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14003a6f0
cmp byte [rbx + 0x19], 0
jne 0x14003a714
cmp r15d, dword [rbx + 0x1c]
jae 0x14003a717
mov rbx, rdi
call fcn.14000b4c0
movss xmm0, dword [rax + 0x10]
mulss xmm0, dword [0x140053114]
lea rcx, [0x140395818]
lea rax, [0x140395828]
cmp dword [r13 + 0x3f30], r15d
cmove rax, rcx
movups xmm1, xmmword [rbx + 0x30]
movups xmm2, xmmword [rax]
subps xmm2, xmm1
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
addps xmm2, xmm1
movups xmmword [rbx + 0x30], xmm2
movss xmm2, dword [r13 + 0x18]
mulss xmm2, dword [0x140057e08]
movss xmm1, dword [rbp + 0x28]
subss xmm1, xmm6
subss xmm1, dword [rbx + 0x58]
mulss xmm1, xmm2
addss xmm1, dword [rbx + 0x58]
movss dword [rbx + 0x58], xmm1
movss xmm5, dword [r13 + 0x18]
mulss xmm5, dword [0x140053110]
movdqa xmm0, xmmword [0x140057f00]
lea rax, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmm4, xmmword [rax]
lea rcx, [rbx + 0x40]
movaps xmm3, xmm4
shufps xmm3, xmm4, 0xff
subss xmm3, dword [rcx + 0xc]
mulss xmm3, xmm5
addss xmm3, dword [rcx + 0xc]
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xaa
subss xmm2, dword [rcx + 8]
mulss xmm2, xmm5
addss xmm2, dword [rcx + 8]
movaps xmm1, xmm4
shufps xmm1, xmm4, 0x55
subss xmm1, dword [rcx + 4]
mulss xmm1, xmm5
addss xmm1, dword [rcx + 4]
subss xmm4, dword [rcx]
mulss xmm4, xmm5
addss xmm4, dword [rcx]
shufps xmm4, xmm4, 0xe1
movss xmm4, xmm1
shufps xmm4, xmm4, 0xc6
movss xmm4, xmm2
shufps xmm4, xmm4, 0x27
movss xmm4, xmm3
shufps xmm4, xmm4, 0x39
movups xmmword [rsp + 0x50], xmm4
movups xmmword [rcx], xmm4
mov rdi, qword [rsp + 0x68]
mov rdi, qword [rdi + 0x290]
call fcn.14000afa0
movss xmm1, dword [rbp + 0x34]
subss xmm1, xmm7
movss xmm0, dword [rbp + 0x30]
subss xmm0, xmm13
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
movss xmm2, dword [rbp + 0x2c]
movss xmm3, dword [0x14005310c]
subss xmm2, xmm3
movaps xmm0, xmm6
addss xmm0, dword [rbx + 0x58]
movss xmm7, dword [0x1400530fc]
subss xmm0, xmm7
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x30], xmm7
mov dword [rsp + 0x28], esi
movss dword [rsp + 0x20], xmm3
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14001eac0
cmp byte [rsp + 0x41], 0
je 0x14003a8f0
mov rax, qword [rsp + 0x68]
mov rdi, qword [rax + 0x290]
lea rcx, [rbx + 0x30]
call fcn.14000afa0
addss xmm11, xmm7
movaps xmm0, xmm6
addss xmm0, xmm12
movss dword [rsp + 0x50], xmm0
movss dword [rsp + 0x54], xmm11
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0x78]
mov r8d, eax
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14001fe90
lea rcx, [rbx + 0x30]
call fcn.14000afa0
mov edx, eax
xor ecx, ecx
call fcn.140012ed0
mov dword [rsp + 0x50], 0x3f000000
mov dword [rsp + 0x54], 0x3f000000
movss xmm1, dword [rbp + 0x2c]
subss xmm1, dword [0x140053118]
addss xmm6, dword [rbx + 0x58]
movss dword [rsp + 0x60], xmm6
movss dword [rsp + 0x64], xmm1
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140014630
mov ecx, 1
call fcn.1400128a0
cmp byte [rsp + 0x40], 0
je 0x14003a9c9
xor ecx, ecx
call fcn.14000c7d0
test al, al
je 0x14003a9c9
cmp dword [r13 + 0x3f30], r15d
je 0x14003a9b0
xor eax, eax
mov dword [r13 + 0xe04], eax
mov byte [r13 + 0xe08], al
lea rcx, [r13 + 0xb30]
xor edx, edx
mov r8d, 0x28c
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x70]
mov dword [rax], esi
mov rdx, qword [rsp + 0x68]
mov ecx, r15d
call fcn.1400166f0
mov rcx, qword [rsp + 0x68]
call fcn.14000ac30
jmp 0x14003a9e6
xor ecx, ecx
call fcn.14000c7d0
test al, al
je 0x14003a9e6
cmp dword [r13 + 0x3f30], r15d
jne 0x14003aa8a
call fcn.140007e20
cmp dword [r13 + 0x3f30], r15d
jne 0x14003aa8a
xor edx, edx
mov ecx, esi
call fcn.14000ccc0
test al, al
je 0x14003aa48
mov ecx, esi
test esi, esi
je 0x14003aa3a
sub ecx, 1
je 0x14003aa32
sub ecx, 1
je 0x14003aa2a
sub ecx, 1
je 0x14003aa22
cmp ecx, 1
jne 0x14003aa40
mov r14d, 6
jmp 0x14003aa40
mov r14d, 5
jmp 0x14003aa40
mov r14d, 4
jmp 0x14003aa40
mov r14d, 2
jmp 0x14003aa40
mov r14d, 1
mov r12b, 1
call fcn.140007e20
inc esi
cmp esi, 5
jl 0x14003a9f3
test r12b, r12b
jne 0x14003aa82
mov ebx, 8
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003aa78
mov r14d, ebx
mov r12b, 1
call fcn.140007e20
inc ebx
cmp ebx, 0xa5
jle 0x14003aa60
mov rax, qword [rsp + 0x70]
mov dword [rax], r14d
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14003aac8
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003aac3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e220
movzx eax, r12b
jmp 0x14003aad0
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14004e0c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14003d9f0
nop
lea rcx, [0x1403958b0]
call fcn.14004e684
cmp dword [0x1403958b0], 0xffffffff
jne 0x14003a585
mov ecx, 0x68
call fcn.14004e6fc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1403958a0], rax
lea rcx, [0x140050410]
call fcn.14004e960
nop
lea rcx, [0x1403958b0]
call fcn.14004e618
jmp 0x14003a585