Function at 0x1400052e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f58]
mov eax, 0x2058
call fcn.14003ab80
sub rsp, rax
xor dil, dil
mov qword [rsp + 0x2050], rbx
mov sil, 1
movabs r14, 0x7fffffffffffffff
mov r15d, 0xff
movabs r12, 0x7ffffffffd050f7f
nop dword [rax + rax]
cmp dword [0x14007e0c0], 0
mov ecx, dword [0x14007eb34]
jne 0x14000534a
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x14000535e
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000535b
test dil, dil
sete dil
test dil, dil
je 0x1400057a4
cmp dil, sil
je 0x140005433
lea rcx, [rsp + 0x40]
mov r8d, 0x5dc
test dil, dil
je 0x1400053e1
lea r9, str.Sewing_started_
mov edx, 1
call fcn.140001620
mov rax, qword [0x14007e2a0]
cmp rax, qword [0x14007e2a8]
je 0x1400053c8
mov r8d, 0x2010
lea rdx, [rsp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x14007e2a0], 0x2010
mov ecx, 0x45
call fcn.1400046d0
jmp 0x14000542f
lea r8, [rsp + 0x40]
mov rdx, rax
call fcn.140007a30
mov ecx, 0x45
call fcn.1400046d0
jmp 0x14000542f
lea r9, str.Sewing_paused.
mov edx, 4
call fcn.140001620
mov rax, qword [0x14007e2a0]
cmp rax, qword [0x14007e2a8]
je 0x140005422
mov r8d, 0x2010
lea rdx, [rsp + 0x40]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [0x14007e2a0], 0x2010
jmp 0x14000542f
lea r8, [rsp + 0x40]
mov rdx, rax
call fcn.140007a30
movzx esi, dil
test dil, dil
je 0x140005742
mov ecx, 0x45
call fcn.1400046d0
mov edx, 0x3b0
mov dword [rsp + 0x20], 1
mov ecx, 0xfdfdfd
mov r9d, 1
mov r8d, 0x230
call fcn.140004c40
test al, al
je 0x1400054a0
mov edx, 0x3b7
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x243
call fcn.140004c40
test al, al
je 0x1400054a0
mov ecx, 0x11
xor edx, edx
call fcn.140004880
movsxd rbx, dword [0x14007e0bc]
lea rcx, [rbp + 0x1fa0]
call fcn.1400013e0
mov rax, qword [rbp + 0x1fa0]
mov qword [rbp + 0x1f90], rax
test rbx, rbx
je 0x1400054fb
js 0x1400054fb
imul r8, rbx, 0xf4240
mov rdx, r14
sub rdx, r8
cmp rax, rdx
je 0x1400054f4
mov ecx, 1
cmovl ecx, r15d
test cl, cl
jns 0x1400054f4
lea rcx, [r8 + rax]
mov qword [rbp + 0x1f90], rcx
jmp 0x1400054fb
mov qword [rbp + 0x1f90], r14
lea rcx, [rbp + 0x1f90]
call fcn.140007980
mov edx, 0x3bf
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x231
call fcn.140004c40
test al, al
je 0x140005561
mov edx, 0x3bf
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x23f
call fcn.140004c40
test al, al
je 0x140005561
mov ecx, 0x1e
xor edx, edx
call fcn.140004880
movsxd rbx, dword [0x14007e0b4]
lea rcx, [rbp + 0x1fa8]
call fcn.1400013e0
mov rax, qword [rbp + 0x1fa8]
mov qword [rbp + 0x1f90], rax
test rbx, rbx
je 0x1400055bc
js 0x1400055bc
imul r8, rbx, 0xf4240
mov rdx, r14
sub rdx, r8
cmp rax, rdx
je 0x1400055b5
mov ecx, 1
cmovl ecx, r15d
test cl, cl
jns 0x1400055b5
lea rcx, [r8 + rax]
mov qword [rbp + 0x1f90], rcx
jmp 0x1400055bc
mov qword [rbp + 0x1f90], r14
lea rcx, [rbp + 0x1f90]
call fcn.140007980
mov edx, 0x3bf
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x231
call fcn.140004c40
test al, al
je 0x140005649
mov edx, 0x3bf
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x23b
call fcn.140004c40
test al, al
je 0x140005649
mov edx, 0x3bf
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x245
call fcn.140004c40
test al, al
je 0x140005649
mov ecx, 0x1f
xor edx, edx
call fcn.140004880
movsxd rbx, dword [0x14007e0b8]
lea rcx, [rsp + 0x30]
call fcn.1400013e0
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f90], rax
test rbx, rbx
je 0x1400056a0
js 0x1400056a0
imul r8, rbx, 0xf4240
mov rdx, r14
sub rdx, r8
cmp rax, rdx
je 0x140005699
mov ecx, 1
cmovl ecx, r15d
test cl, cl
jns 0x140005699
lea rcx, [r8 + rax]
mov qword [rbp + 0x1f90], rcx
jmp 0x1400056a0
mov qword [rbp + 0x1f90], r14
lea rcx, [rbp + 0x1f90]
call fcn.140007980
mov edx, 0x3b6
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x230
call fcn.140004c40
test al, al
je 0x140005742
mov edx, 0x3b6
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x23f
call fcn.140004c40
test al, al
je 0x140005742
mov edx, 0x3ca
mov dword [rsp + 0x20], 2
mov ecx, 0xffffff
mov r9d, 2
mov r8d, 0x23a
call fcn.140004c40
test al, al
je 0x140005742
mov ecx, 0x20
xor edx, edx
call fcn.140004880
lea rcx, [rbp + 0x1f98]
call fcn.1400013e0
mov rax, qword [rbp + 0x1f98]
jmp 0x14000575c
lea rcx, [rbp + 0x1f98]
call fcn.1400013e0
mov rax, qword [rbp + 0x1f98]
mov qword [rbp + 0x1f90], rax
cmp rax, r12
je 0x14000578c
mov ecx, 1
cmovl ecx, r15d
test cl, cl
jns 0x14000578c
add rax, 0x2faf080
lea rcx, [rbp + 0x1f90]
mov qword [rbp + 0x1f90], rax
call fcn.140007980
jmp 0x140005330
lea rcx, [rbp + 0x1f90]
mov qword [rbp + 0x1f90], r14
call fcn.140007980
jmp 0x140005330
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2058
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret