Function at 0x140045f30
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 - 0xd8]
sub rsp, 0x1a0
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 [0x140086040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [0x140086cf0]
mov r13, rbx
mov rax, qword [rbx + 0x4008]
mov byte [rax + 0xc0], 1
mov r12, qword [rbx + 0x4008]
cmp byte [r12 + 0xc3], 0
jne 0x140046a7e
movsxd r8, dword [r12 + 0x100]
mov rax, qword [r12 + 0x108]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.140013660
mov r15d, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x4054], eax
jne 0x140046008
mov r8, r14
mov edx, 0xb
mov ecx, eax
call fcn.14002bfd0
mov rbx, qword [0x140086cf0]
mov rcx, r14
cmp r14, 0xffffffffffffffff
jae 0x14004602e
movzx edx, byte [rcx]
test dl, dl
je 0x14004602e
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140046025
cmp byte [rax], dl
je 0x14004602e
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140046011
movss xmm0, dword [rbx + 0x3d40]
movss xmm13, dword [0x14007a4e8]
xorps xmm11, xmm11
cmp r14, rcx
jne 0x14004604d
xorps xmm1, xmm1
jmp 0x140046099
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r14
movss dword [rsp + 0x20], xmm13
movss xmm3, dword [0x14007a4c4]
movaps xmm2, xmm0
lea rdx, [rsp + 0x58]
mov rcx, qword [rbx + 0x3d38]
call fcn.14003dbd0
movss xmm0, dword [rsp + 0x58]
addss xmm0, dword [0x140079fcc]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm0, dword [rsp + 0x5c]
movss xmm6, dword [r12 + 0x110]
movss xmm7, dword [r12 + 0x114]
movss xmm8, dword [r13 + 0x3930]
movss xmm2, dword [r13 + 0x392c]
movaps xmm3, xmm8
addss xmm3, xmm8
addss xmm3, xmm0
addss xmm2, xmm2
addss xmm2, xmm1
mov rdx, qword [rdi]
lea rcx, [rsp + 0x58]
call fcn.140023de0
movss xmm2, dword [rsp + 0x5c]
addss xmm2, xmm7
movss xmm0, dword [rsp + 0x58]
addss xmm0, xmm6
movss dword [rbp - 0x68], xmm6
movss dword [rbp - 0x64], xmm7
movss dword [rbp - 0x60], xmm0
movss dword [rbp - 0x5c], xmm2
movaps xmm1, xmm8
lea rcx, [rsp + 0x58]
call fcn.1400238e0
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
lea rcx, [rbp - 0x68]
call fcn.140023a50
test al, al
je 0x140046a7e
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov edx, r15d
lea rcx, [rbp - 0x68]
call fcn.140047d60
mov byte [rsp + 0x51], al
movzx eax, byte [rsp + 0x50]
cmp byte [rsp + 0x60], 0
je 0x14004616a
test al, al
je 0x14004616a
mov ecx, 0x17
jmp 0x140046175
xor ecx, ecx
test al, al
setne cl
add rcx, 0x15
mov rax, qword [0x140086cf0]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39d4]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38f0]
movss dword [rbp - 0x7c], xmm0
lea rcx, [rsp + 0x78]
call fcn.140013c10
mov ebx, eax
mov r8d, 1
mov edx, r15d
lea rcx, [rbp - 0x68]
call fcn.1400153d0
movss xmm0, dword [r13 + 0x3934]
movss dword [rsp + 0x20], xmm0
mov r9b, 1
mov r8d, ebx
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
call fcn.1400150c0
mov rbx, qword [r12 + 0x2a8]
movaps xmm0, xmmword [0x14007a6a0]
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x78]
call fcn.140013c10
mov edi, eax
movss xmm9, dword [rbp - 0x5c]
movss xmm6, dword [rbp - 0x60]
movss xmm10, dword [rbp - 0x64]
movss xmm7, dword [rbp - 0x68]
movss xmm8, dword [0x140079f94]
movss xmm2, dword [0x140079f90]
test eax, 0xff000000
je 0x1400462fc
movaps xmm1, xmm9
movaps xmm0, xmm6
mov dword [rsp + 0x20], 1
xorps xmm3, xmm3
mov rcx, rbx
test byte [rbx + 0x30], 1
je 0x140046289
subss xmm1, xmm8
subss xmm0, xmm8
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
movaps xmm2, xmm10
addss xmm2, xmm8
movaps xmm0, xmm7
addss xmm0, xmm8
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm2
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x68]
jmp 0x1400462c4
subss xmm1, xmm2
subss xmm0, xmm2
movss dword [rsp + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
movaps xmm2, xmm10
addss xmm2, xmm8
movaps xmm0, xmm7
addss xmm0, xmm8
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm2
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
call fcn.140038910
movss xmm0, dword [0x140079fd4]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140036b20
mov dword [rbx + 0x78], 0
cmp byte [rsp + 0x51], 0
je 0x140046311
mov rax, qword [0x140086cf0]
mov dword [rax + 0x4070], r15d
cmp dword [r13 + 0x4070], r15d
jne 0x14004637f
mov ebx, 8
mov edi, ebx
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
inc edi
cmp edi, 0xa5
jle 0x140046321
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edi, edi
test ax, ax
je 0x140046354
mov dword [rsi], edi
mov rax, qword [0x140086cf0]
mov dword [rax + 0x4070], edi
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140046375
cmp ebx, 0x1b
je 0x140046375
mov dword [rsi], ebx
mov rax, qword [0x140086cf0]
mov dword [rax + 0x4070], edi
inc ebx
cmp ebx, 0xa5
jle 0x140046354
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xor edi, edi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
lea r8d, [rdi + 7]
lea rdx, str.___None
lea rcx, [rbp - 0x58]
call fcn.14000ea90
nop
movsxd rax, dword [rsi]
lea rsi, [rdi - 1]
test eax, eax
je 0x14004641a
cmp dword [r13 + 0x4070], r15d
je 0x140046423
lea r9, str.___unknown
mov r9, qword [r9 + rax*8]
mov rdi, rsi
nop word [rax + rax]
inc rdi
cmp byte [r9 + rdi], 0
jne 0x1400463d0
mov rax, qword [rbp - 0x40]
cmp rdi, rax
ja 0x14004640a
lea rbx, [rbp - 0x58]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x58]
mov qword [rbp - 0x48], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
xor edi, edi
jmp 0x140046472
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.14005c850
xor edi, edi
jmp 0x140046472
cmp dword [r13 + 0x4070], r15d
jne 0x14004647f
mov rax, qword [rbp - 0x40]
cmp rax, 0xd
jb 0x14004645d
lea rbx, [rbp - 0x58]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x58]
mov qword [rbp - 0x48], 0xd
mov r8d, 0xd
lea rdx, str._Press_a_Key_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x140046472
lea r9, str._Press_a_Key_
mov edx, 0xd
lea rcx, [rbp - 0x58]
call fcn.14005c850
cmp dword [r13 + 0x4070], r15d
je 0x140046552
lea r8, [rbp - 0x58]
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140058ba0
mov rbx, rax
lea rax, [rbp - 0x58]
cmp rax, rbx
je 0x140046501
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400464d3
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400464ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140046534
call fcn.14006c27c
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140046540
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004653b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004653b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c27c
movdqa xmm0, xmmword [0x14007a550]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea r8, [rbp - 0x58]
mov r10, qword [rbp - 0x58]
mov r11, qword [rbp - 0x40]
cmp r11, 0xf
cmova r8, r10
mov r9, qword [0x140086cf0]
mov rcx, r8
cmp r8, rsi
jae 0x140046591
movzx edx, byte [rcx]
test dl, dl
je 0x140046591
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140046589
cmp byte [rax], dl
je 0x140046591
mov rcx, rax
cmp rax, rsi
jb 0x140046575
movss xmm2, dword [r9 + 0x3d40]
cmp r8, rcx
jne 0x1400465af
mov dword [rsp + 0x58], 0
movss dword [rsp + 0x5c], xmm2
jmp 0x14004660c
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r8
movss dword [rsp + 0x20], xmm13
movss xmm3, dword [0x14007a4c4]
lea rdx, [rsp + 0x68]
mov rcx, qword [r9 + 0x3d38]
call fcn.14003dbd0
movss xmm0, dword [rsp + 0x68]
addss xmm0, dword [0x140079fcc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x58], xmm0
movss xmm1, dword [rsp + 0x6c]
movss dword [rsp + 0x5c], xmm1
mov r11, qword [rbp - 0x40]
mov r10, qword [rbp - 0x58]
lea r8, [rbp - 0x58]
cmp r11, 0xf
cmova r8, r10
movss xmm1, dword [r13 + 0x3930]
subss xmm9, xmm1
movss xmm0, dword [r13 + 0x392c]
subss xmm6, xmm0
movss dword [rsp + 0x68], xmm6
movss dword [rsp + 0x6c], xmm9
addss xmm10, xmm1
addss xmm7, xmm0
movss dword [rsp + 0x78], xmm7
movss dword [rsp + 0x7c], xmm10
lea rax, [r13 + 0x3990]
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.140014e30
mov rbx, qword [0x140086cf0]
movss xmm12, dword [rbx + 0xe48]
movss xmm10, dword [rbx + 0xe4c]
addss xmm12, dword [0x14007a2ec]
addss xmm10, dword [0x14007a2ec]
mov byte [rbp - 0x30], 0x50
movups xmm1, xmmword [0x140078199]
movups xmmword [rbp - 0x2f], xmm1
movsd xmm0, qword [0x1400781a9]
movsd qword [rbp - 0x1f], xmm0
mov eax, dword [0x1400781b1]
mov dword [rbp - 0x17], eax
movzx eax, word [0x1400781b5]
mov word [rbp - 0x13], ax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
mov byte [rbp + 0xf], al
lea rax, [rbp - 0x30]
lea rcx, [rbp - 0x30]
cmp rcx, rsi
jae 0x140046719
nop
movzx edx, byte [rax]
test dl, dl
je 0x140046719
cmp dl, 0x23
jne 0x140046711
cmp byte [rax + 1], dl
je 0x140046719
inc rax
cmp rax, rsi
jb 0x140046700
movss xmm6, dword [rbx + 0x3d40]
lea rcx, [rbp - 0x30]
cmp rcx, rax
jne 0x140046730
movaps xmm7, xmm11
jmp 0x140046780
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
movss dword [rsp + 0x20], xmm13
movss xmm3, dword [0x14007a4c4]
movaps xmm2, xmm6
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 0x3d38]
call fcn.14003dbd0
movss xmm0, dword [rsp + 0x68]
addss xmm0, dword [0x140079fcc]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm6, dword [rsp + 0x6c]
mov rax, qword [rbx + 0x4b10]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140017c50
cmp byte [rsp + 0x50], 0
je 0x140046958
mov rax, qword [0x140086cf0]
mov rax, qword [rax + 0x4b10]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140017c50
mov rbx, rax
movaps xmm0, xmmword [0x14007a6b0]
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x78]
call fcn.140013c10
movaps xmm9, xmm10
addss xmm9, xmm6
addss xmm9, dword [0x14007a2c0]
movaps xmm6, xmm12
addss xmm6, xmm7
addss xmm6, dword [0x14007a2d8]
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm9
movaps xmm7, xmm12
addss xmm7, dword [0x14007a2c0]
movss dword [rsp + 0x68], xmm7
movss dword [rsp + 0x6c], xmm10
mov dword [rsp + 0x28], edi
movss dword [rsp + 0x20], xmm11
mov r9d, eax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.1400390a0
movaps xmm0, xmmword [0x14007a740]
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x78]
call fcn.140013c10
mov r8d, eax
movaps xmm0, xmm10
addss xmm0, dword [0x14007a080]
addss xmm12, dword [0x14007a2d0]
movss dword [rsp + 0x78], xmm12
movss dword [rsp + 0x7c], xmm0
test eax, 0xff000000
je 0x1400468f8
lea rax, [rbp - 0x30]
nop
inc rsi
cmp byte [rax + rsi], 0
jne 0x140046890
lea rcx, [rbp - 0x30]
add rcx, rsi
lea rax, [rbp - 0x30]
cmp rax, rcx
je 0x1400468f8
mov rax, qword [rbx + 0x38]
movups xmm0, xmmword [rbx + 0x88]
movups xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm11
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r8d
lea r9, [rsp + 0x78]
movss xmm2, dword [rax + 0x10]
mov rdx, rbx
mov rcx, qword [rax + 8]
call fcn.14003ddf0
movaps xmm0, xmmword [0x14007a6a0]
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x78]
call fcn.140013c10
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm9
movss dword [rsp + 0x68], xmm7
movss dword [rsp + 0x6c], xmm10
movss xmm6, dword [0x140079fd4]
movss dword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], edi
movss dword [rsp + 0x20], xmm11
mov r9d, eax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140038f90
jmp 0x140046960
movss xmm6, dword [0x140079fd4]
cmp dword [r13 + 0x4070], r15d
jne 0x140046a39
mov rbx, qword [r12 + 0x2a8]
movaps xmm0, xmmword [0x14007a680]
movups xmmword [rsp + 0x78], xmm0
lea rcx, [rsp + 0x78]
call fcn.140013c10
mov edi, eax
test eax, 0xff000000
je 0x140046a39
movss xmm1, dword [rbp - 0x5c]
movss xmm0, dword [rbp - 0x60]
movss xmm2, dword [rbp - 0x64]
mov dword [rsp + 0x20], 1
movaps xmm3, xmm11
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
mov rcx, rbx
addss xmm2, xmm8
movss dword [rsp + 0x6c], xmm2
test byte [rbx + 0x30], 1
je 0x1400469dd
subss xmm1, xmm8
subss xmm0, xmm8
jmp 0x1400469ed
subss xmm1, dword [0x140079f90]
subss xmm0, dword [0x140079f90]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rbp - 0x68]
addss xmm0, xmm8
movss dword [rsp + 0x7c], xmm1
movss dword [rsp + 0x68], xmm0
call fcn.140038910
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], 1
mov r9d, edi
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.140036b20
mov dword [rbx + 0x78], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x140046a77
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046a72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046a72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006c27c
movzx eax, byte [rsp + 0x51]
jmp 0x140046a80
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14006bfe0
lea r11, [rsp + 0x1a0]
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