Function at 0x1400395c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rbp - 0x40], rax
mov rsi, qword [0x140073048]
mov rdi, r8
mov r13, rdx
mov r12, rcx
mov rax, qword [rsi + 0x1a68]
mov byte [rax + 0x80], 1
mov rbx, qword [rsi + 0x1a68]
cmp byte [rbx + 0x83], 0
jne 0x140039e9b
movsxd rax, dword [rbx + 0xc0]
xor edx, edx
mov r8, qword [rbx + 0xc8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140011720
mov r15d, eax
cmp dword [rsi + 0x1ab0], eax
jne 0x140039674
mov dword [rsi + 0x1ab4], eax
cmp dword [rsi + 0x1af0], r15d
jne 0x140039684
mov byte [rsi + 0x1af4], 1
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x1400396ad
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1400396ad
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400396a4
cmp byte [rax], dl
je 0x1400396ad
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140039690
movss xmm1, dword [rsi + 0x1920]
xorps xmm14, xmm14
cmp r12, rcx
jne 0x1400396c3
xorps xmm7, xmm7
jmp 0x140039716
movss xmm0, dword [0x1400506a8]
lea rdx, [rsp + 0x40]
movss xmm3, dword [0x140050690]
movaps xmm2, xmm1
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsi + 0x1918]
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm0
call fcn.140030ee0
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x1400504b0]
movss xmm1, dword [rsp + 0x44]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm6, dword [rsi + 0x159c]
movaps xmm3, xmm6
movss dword [rsp + 0x48], xmm7
addss xmm3, xmm6
addss xmm3, xmm1
call fcn.14001cc30
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.14001cca0
movss xmm2, dword [rbx + 0xd0]
lea rcx, [rsp + 0x40]
movss xmm3, dword [rbx + 0xd4]
movaps xmm13, xmm7
movss xmm11, dword [rsp + 0x40]
movaps xmm15, xmm3
movss xmm12, dword [rsp + 0x44]
addss xmm11, xmm2
addss xmm13, dword [rsi + 0x15b4]
addss xmm12, xmm3
movss dword [rsp + 0x68], xmm2
movaps xmm1, xmm6
movss dword [rsp + 0x6c], xmm3
addss xmm15, xmm14
movaps xmm0, xmm11
movss dword [rsp + 0x70], xmm11
subss xmm0, xmm2
addss xmm13, xmm2
movss dword [rsp + 0x74], xmm12
movaps xmm2, xmm12
subss xmm2, xmm3
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm2
call fcn.14001c850
xor r8d, r8d
lea rcx, [rsp + 0x68]
mov edx, r15d
call fcn.14001c9a0
test al, al
je 0x140039e9b
xor edi, edi
mov qword [rsp + 0x1b0], r14
cmp dword [rsi + 0x1ab0], r15d
mov edx, edi
movaps xmmword [rsp + 0x130], xmm8
mov rcx, rbx
sete dl
movaps xmmword [rsp + 0x120], xmm9
call fcn.140013890
mov rdx, qword [0x140073048]
movzx r11d, al
mov rcx, qword [rdx + 0x1a68]
cmp byte [rdx + 0x1c2b], dil
je 0x1400398e0
cmp byte [rdx + 0x1c2a], dil
jne 0x1400398e0
mov r8d, dword [rdx + 0x1be0]
test r8d, r8d
je 0x140039857
cmp r8d, dword [rcx + 0x114]
jne 0x140039857
mov al, 1
jmp 0x140039859
xor al, al
test al, al
jne 0x140039987
xor al, al
test r11b, r11b
jne 0x1400399c8
test al, al
jne 0x1400399c8
cmp byte [rsi + 0x420], dil
je 0x140039a11
cmp dword [rsi + 0x1ab0], r15d
jne 0x140039a11
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
xor ebx, ebx
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x1400398b2
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], bx
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], dil
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], dil
mov qword [rdx + 0x1ac4], rdi
mov qword [rdx + 0x1ad0], rbx
jmp 0x140039a13
test byte [rcx + 0x118], 1
je 0x140039861
mov r8, qword [rcx + 0x368]
cmp qword [rdx + 0x1a78], r8
jne 0x140039861
mov eax, dword [rdx + 0x1ab0]
test eax, eax
je 0x140039925
cmp eax, dword [rcx + 0x114]
je 0x140039925
cmp byte [rdx + 0x1abd], dil
jne 0x140039925
cmp eax, dword [rcx + 0x4c]
jne 0x140039861
mov rax, qword [rdx + 0x1bd8]
test rax, rax
je 0x140039962
mov rax, qword [rax + 0x368]
test rax, rax
je 0x140039962
cmp byte [rax + 0x7f], dil
je 0x140039962
cmp rax, r8
je 0x140039962
mov r8d, dword [rax + 0xc]
bt r8d, 0x1b
jb 0x140039861
bt r8d, 0x1a
jb 0x140039861
test byte [rcx + 0x1b8], 4
jne 0x140039861
mov eax, dword [rcx + 0x4c]
cmp dword [rcx + 0x114], eax
jne 0x140039987
cmp byte [rcx + 0x80], dil
jne 0x140039861
mov dword [rdx + 0x1a9c], r15d
mov byte [rdx + 0x1aa0], dil
test r15d, r15d
je 0x1400399aa
cmp dword [rdx + 0x1aa4], r15d
je 0x1400399aa
mov qword [rdx + 0x1aa8], rdi
mov dword [rsi + 0x1ef0], 1
cmp byte [rsi + 0x420], dil
je 0x140039861
mov al, 1
jmp 0x140039863
cmp dword [rsi + 0x1ab0], r15d
je 0x1400399f7
xor eax, eax
lea rcx, [rsi + 0x14c]
mov dword [rsi + 0x138], eax
xor edx, edx
mov r8d, 0x200
mov byte [rsi + 0x13c], al
call sub.VCRUNTIME140.dll_memset
mov dword [r13], edi
mov rdx, rbx
mov ecx, r15d
call fcn.140013660
mov rcx, rbx
call fcn.14001bee0
mov rdx, qword [0x140073048]
xor ebx, ebx
mov edi, dword [r13]
xor r14b, r14b
cmp dword [rsi + 0x1ab0], r15d
jne 0x140039c3d
mov r8d, ebx
lea r9, [rsi + 0x138]
cmp byte [r9], 0
je 0x140039aca
mov ecx, r8d
test r8d, r8d
je 0x140039a71
sub ecx, 1
je 0x140039a6a
sub ecx, 1
je 0x140039a63
sub ecx, 1
je 0x140039a5c
cmp ecx, 1
jne 0x140039a76
lea edi, [rcx + 5]
jmp 0x140039a76
mov edi, 5
jmp 0x140039a76
mov edi, 4
jmp 0x140039a76
mov edi, 2
jmp 0x140039a76
mov edi, 1
mov ecx, dword [rdx + 0x1ab0]
mov r14b, 1
test ecx, ecx
setne al
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140039a9d
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], 0
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rbx
inc r8d
inc r9
cmp r8d, 5
jl 0x140039a31
test r14b, r14b
jne 0x140039bcb
cmp byte [rsi + 0x14a], r14b
je 0x140039b4a
mov ecx, dword [rdx + 0x1ab0]
mov edi, 0xa4
test ecx, ecx
mov r14b, 1
setne al
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140039b18
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], 0
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rbx
jmp 0x140039bcb
mov ebx, 8
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140039bbf
cmp ebx, 0x2d
je 0x140039bbf
mov rdx, qword [0x140073048]
mov edi, ebx
mov r14b, 1
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
mov byte [rdx + 0x1abc], al
xor eax, eax
test ecx, ecx
je 0x140039b92
mov dword [rdx + 0x1ab8], eax
mov word [rdx + 0x1abe], ax
mov dword [rdx + 0x1ab0], eax
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rax
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rax
inc ebx
cmp ebx, 0xa5
jle 0x140039b50
xor ebx, ebx
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rdx, qword [0x140073048]
test ax, ax
je 0x140039c39
mov dword [r13], ebx
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140039c0a
mov dword [rdx + 0x1ab8], ebx
mov word [rdx + 0x1abe], 0
mov dword [rdx + 0x1ab0], ebx
mov byte [rdx + 0x1abd], 0
mov qword [rdx + 0x1ae0], rbx
mov byte [rdx + 0x1ac0], 0
mov qword [rdx + 0x1ac4], 0
mov qword [rdx + 0x1ad0], rbx
jmp 0x140039c3d
mov dword [r13], edi
movsd xmm0, qword [0x14004fd59]
lea rcx, [rsp + 0x58]
movzx eax, word [0x14004fd61]
movaps xmm9, xmm11
movsd qword [rbp - 0x7f], xmm0
addss xmm9, xmm14
xorps xmm0, xmm0
mov word [rbp - 0x77], ax
movups xmmword [rbp - 0x75], xmm0
xor eax, eax
mov byte [rbp - 0x80], 0x5b
movups xmmword [rbp - 0x65], xmm0
mov dword [rbp - 0x45], eax
movups xmmword [rbp - 0x55], xmm0
mov byte [rbp - 0x41], al
movaps xmm8, xmm12
movaps xmm7, xmm13
movups xmm0, xmmword [rdx + 0x1688]
addss xmm8, dword [0x140050528]
subss xmm7, dword [0x140050550]
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
movaps xmm6, xmm15
mulss xmm0, dword [rdx + 0x1560]
subss xmm6, xmm14
movss dword [rsp + 0x64], xmm0
call fcn.140011ab0
movss xmm0, dword [0x140050504]
mov r8d, eax
unpcklps xmm9, xmm8
mov r9b, 1
unpcklps xmm7, xmm6
movq rdx, xmm9
movq rcx, xmm7
movss dword [rsp + 0x20], xmm0
call fcn.140012490
movsxd rax, dword [r13]
movaps xmm9, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
test eax, eax
je 0x140039d32
cmp dword [rsi + 0x1ab0], r15d
je 0x140039d3b
lea rcx, str.unknown
mov rcx, qword [rcx + rax*8]
lea rdx, [rbp - 0x80]
sub rdx, rcx
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140039d22
jmp 0x140039d5c
cmp dword [rsi + 0x1ab0], r15d
jne 0x140039d5c
mov eax, dword [0x14004fd70]
movsd xmm0, qword [str.__Press_key__]
mov dword [rbp - 0x78], eax
movzx eax, word [0x14004fd74]
mov word [rbp - 0x74], ax
movsd qword [rbp - 0x80], xmm0
movss xmm0, dword [rsi + 0x1598]
lea rax, [rbp - 0x80]
movss xmm1, dword [rsi + 0x159c]
subss xmm11, xmm0
mov qword [rsp + 0x4c], 0
addss xmm13, xmm0
subss xmm12, xmm1
movaps xmm0, xmm15
addss xmm0, xmm1
lea rdi, [rbp - 0x80]
addss xmm11, xmm14
subss xmm13, dword [0x140050538]
addss xmm12, dword [0x140050528]
addss xmm0, xmm14
movss dword [rsp + 0x58], xmm11
movss dword [rsp + 0x40], xmm13
movss dword [rsp + 0x5c], xmm12
movss dword [rsp + 0x44], xmm0
cmp rax, 0xffffffffffffffff
jae 0x140039dee
movzx ecx, byte [rdi]
test cl, cl
je 0x140039dee
lea rax, [rdi + 1]
cmp cl, 0x23
jne 0x140039de5
cmp byte [rax], cl
je 0x140039dee
mov rdi, rax
cmp rax, 0xffffffffffffffff
jb 0x140039dd1
lea rcx, [rbp - 0x80]
cmp edi, ecx
je 0x140039e53
mov rbx, qword [0x140073048]
lea rax, [rsp + 0x4c]
xor edx, edx
lea r9, [rbp - 0x80]
mov qword [rsp + 0x38], rdx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rcx, qword [rbx + 0x1a68]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov rcx, qword [rcx + 0x2b0]
call fcn.140012030
cmp byte [rbx + 0x2f98], 0
je 0x140039e53
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140021ae0
movss xmm0, dword [rsp + 0x48]
comiss xmm0, xmm14
jbe 0x140039e8d
movss xmm0, dword [rsp + 0x68]
mov r9b, 1
addss xmm0, dword [0x14005059c]
addss xmm15, dword [rsi + 0x159c]
xor r8d, r8d
mov rdx, r12
unpcklps xmm0, xmm15
movq rcx, xmm0
call fcn.140011e80
movzx eax, r14b
mov r14, qword [rsp + 0x1b0]
jmp 0x140039e9d
xor al, al
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.140046f50
lea r11, [rsp + 0x160]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm11, xmmword [r11 - 0x50]
movaps xmm12, xmmword [r11 - 0x60]
movaps xmm13, xmmword [r11 - 0x70]
movaps xmm14, xmmword [r11 - 0x80]
movaps xmm15, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret