Function at 0x140038700
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 [0x1400732a8]
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 0x140038fdb
movsxd rax, dword [rbx + 0xc0]
xor edx, edx
mov r8, qword [rbx + 0xc8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140011100
mov r15d, eax
cmp dword [rsi + 0x1ab0], eax
jne 0x1400387b4
mov dword [rsi + 0x1ab4], eax
cmp dword [rsi + 0x1af0], r15d
jne 0x1400387c4
mov byte [rsi + 0x1af4], 1
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x1400387ed
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1400387ed
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400387e4
cmp byte [rax], dl
je 0x1400387ed
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400387d0
movss xmm1, dword [rsi + 0x1920]
xorps xmm14, xmm14
cmp r12, rcx
jne 0x140038803
xorps xmm7, xmm7
jmp 0x140038856
movss xmm0, dword [0x14004f840]
lea rdx, [rsp + 0x40]
movss xmm3, dword [0x14004f828]
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.140030050
movss xmm0, dword [rsp + 0x40]
addss xmm0, dword [0x14004f640]
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.14001c410
mov rdx, qword [rdi]
lea rcx, [rsp + 0x40]
movaps xmm2, xmm0
call fcn.14001c480
movss xmm2, dword [rbx + 0xd0]
lea rcx, [rsp + 0x40]
movss xmm3, dword [rbx + 0xd4]
movaps xmm13, xmm7
movss xmm11, dword [rsp + 0x40]
movaps xmm12, xmm3
addss xmm12, dword [rsp + 0x44]
addss xmm13, dword [rsi + 0x15b4]
addss xmm11, xmm2
movss dword [rsp + 0x68], xmm2
movaps xmm15, xmm3
movss dword [rsp + 0x6c], xmm3
movaps xmm1, xmm6
addss xmm15, xmm14
movss dword [rsp + 0x74], xmm12
addss xmm13, xmm2
movaps xmm0, xmm11
movss dword [rsp + 0x70], xmm11
subss xmm0, xmm2
movaps xmm2, xmm12
subss xmm2, xmm3
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm2
call fcn.14001c050
xor r8d, r8d
lea rcx, [rsp + 0x68]
mov edx, r15d
call fcn.14001c190
test al, al
je 0x140038fdb
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.140013240
mov rdx, qword [0x1400732a8]
movzx r11d, al
mov rcx, qword [rdx + 0x1a68]
cmp byte [rdx + 0x1c2b], dil
je 0x140038a1f
cmp byte [rdx + 0x1c2a], dil
jne 0x140038a1f
mov r8d, dword [rdx + 0x1be0]
test r8d, r8d
je 0x140038996
cmp r8d, dword [rcx + 0x114]
jne 0x140038996
mov al, 1
jmp 0x140038998
xor al, al
test al, al
jne 0x140038ac6
xor al, al
test r11b, r11b
jne 0x140038b07
test al, al
jne 0x140038b07
cmp byte [rsi + 0x420], dil
je 0x140038b50
cmp dword [rsi + 0x1ab0], r15d
jne 0x140038b50
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
xor ebx, ebx
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x1400389f1
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 0x140038b52
test byte [rcx + 0x118], 1
je 0x1400389a0
mov r8, qword [rcx + 0x368]
cmp qword [rdx + 0x1a78], r8
jne 0x1400389a0
mov eax, dword [rdx + 0x1ab0]
test eax, eax
je 0x140038a64
cmp eax, dword [rcx + 0x114]
je 0x140038a64
cmp byte [rdx + 0x1abd], dil
jne 0x140038a64
cmp eax, dword [rcx + 0x4c]
jne 0x1400389a0
mov rax, qword [rdx + 0x1bd8]
test rax, rax
je 0x140038aa1
mov rax, qword [rax + 0x368]
test rax, rax
je 0x140038aa1
cmp byte [rax + 0x7f], dil
je 0x140038aa1
cmp rax, r8
je 0x140038aa1
mov r8d, dword [rax + 0xc]
bt r8d, 0x1b
jb 0x1400389a0
bt r8d, 0x1a
jb 0x1400389a0
test byte [rcx + 0x1b8], 4
jne 0x1400389a0
mov eax, dword [rcx + 0x4c]
cmp dword [rcx + 0x114], eax
jne 0x140038ac6
cmp byte [rcx + 0x80], dil
jne 0x1400389a0
mov dword [rdx + 0x1a9c], r15d
mov byte [rdx + 0x1aa0], dil
test r15d, r15d
je 0x140038ae9
cmp dword [rdx + 0x1aa4], r15d
je 0x140038ae9
mov qword [rdx + 0x1aa8], rdi
mov dword [rsi + 0x1ef0], 1
cmp byte [rsi + 0x420], dil
je 0x1400389a0
mov al, 1
jmp 0x1400389a2
cmp dword [rsi + 0x1ab0], r15d
je 0x140038b36
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.140013010
mov rcx, rbx
call fcn.14001b6b0
mov rdx, qword [0x1400732a8]
xor ebx, ebx
mov edi, dword [r13]
xor r14b, r14b
cmp dword [rsi + 0x1ab0], r15d
jne 0x140038d7d
mov r8d, ebx
lea r9, [rsi + 0x138]
cmp byte [r9], 0
je 0x140038c0b
mov ecx, r8d
test r8d, r8d
je 0x140038bb2
sub ecx, 1
je 0x140038bab
sub ecx, 1
je 0x140038ba4
sub ecx, 1
je 0x140038b9d
cmp ecx, 1
jne 0x140038bb7
mov edi, 6
jmp 0x140038bb7
mov edi, 5
jmp 0x140038bb7
mov edi, 4
jmp 0x140038bb7
mov edi, 2
jmp 0x140038bb7
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 0x140038bde
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 0x140038b70
test r14b, r14b
jne 0x140038d0b
cmp byte [rsi + 0x14a], r14b
je 0x140038c8b
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 0x140038c59
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 0x140038d0b
mov ebx, 8
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140038cff
cmp ebx, 0x2d
je 0x140038cff
mov rdx, qword [0x1400732a8]
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 0x140038cd2
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 0x140038c90
xor ebx, ebx
mov ecx, 0x1b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rdx, qword [0x1400732a8]
test ax, ax
je 0x140038d79
mov dword [r13], ebx
mov ecx, dword [rdx + 0x1ab0]
test ecx, ecx
setne al
mov byte [rdx + 0x1abc], al
test ecx, ecx
je 0x140038d4a
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 0x140038d7d
mov dword [r13], edi
movsd xmm0, qword [0x14004eda1]
lea rcx, [rsp + 0x58]
movzx eax, word [0x14004eda9]
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 [0x14004f6b8]
subss xmm7, dword [0x14004f6e0]
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.140011490
movss xmm0, dword [0x14004f694]
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.140011e00
movsxd rax, dword [r13]
movaps xmm9, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x130]
test eax, eax
je 0x140038e72
cmp dword [rsi + 0x1ab0], r15d
je 0x140038e7b
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 0x140038e62
jmp 0x140038e9c
cmp dword [rsi + 0x1ab0], r15d
jne 0x140038e9c
mov eax, dword [0x14004edb8]
movsd xmm0, qword [str.__Press_key__]
mov dword [rbp - 0x78], eax
movzx eax, word [0x14004edbc]
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 [0x14004f6c8]
addss xmm12, dword [0x14004f6b8]
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 0x140038f2e
movzx ecx, byte [rdi]
test cl, cl
je 0x140038f2e
lea rax, [rdi + 1]
cmp cl, 0x23
jne 0x140038f25
cmp byte [rax], cl
je 0x140038f2e
mov rdi, rax
cmp rax, 0xffffffffffffffff
jb 0x140038f11
lea rcx, [rbp - 0x80]
cmp edi, ecx
je 0x140038f93
mov rbx, qword [0x1400732a8]
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.140011a10
cmp byte [rbx + 0x2f98], 0
je 0x140038f93
mov r8, rdi
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400210f0
movss xmm0, dword [rsp + 0x48]
comiss xmm0, xmm14
jbe 0x140038fcd
movss xmm0, dword [rsp + 0x68]
mov r9b, 1
addss xmm0, dword [0x14004f72c]
addss xmm15, dword [rsi + 0x159c]
xor r8d, r8d
mov rdx, r12
unpcklps xmm0, xmm15
movq rcx, xmm0
call fcn.140011860
movzx eax, r14b
mov r14, qword [rsp + 0x1b0]
jmp 0x140038fdd
xor al, al
mov rcx, qword [rbp - 0x40]
xor rcx, rsp
call fcn.140046350
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