Function at 0x18003a4c4
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov rdi, qword [0x1802ce340]
xor r13d, r13d
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
movaps xmmword [rax - 0x58], xmm7
mov r14, rdx
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [rdi + 0x3ec8]
mov byte [rax + 0xb8], 1
mov rsi, qword [rdi + 0x3ec8]
mov qword [rbp - 0x61], rsi
cmp byte [rsi + 0xbb], r13b
jne 0x18003aeaf
lea rdx, str.Bind
mov rcx, rsi
call fcn.18005de28
movss xmm6, dword [0x180184240]
lea rdx, str.Bind
mov r9b, 1
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
mov dword [rbp - 0x69], eax
lea rcx, [rbp + 0x7f]
mov r12d, eax
call fcn.180060c94
call fcn.18006843c
mov rdx, qword [rbx]
lea rcx, [rbp + 0x67]
movss xmm3, dword [rbp + 0x83]
movaps xmm2, xmm0
call fcn.1800684ac
movss xmm1, dword [rsi + 0x104]
lea rcx, [rbp + 0x67]
movss xmm3, dword [rsi + 0x100]
movaps xmm2, xmm1
movss xmm8, dword [rbp + 0x6b]
movaps xmm4, xmm3
movss xmm7, dword [rbp + 0x67]
addss xmm2, xmm8
movss xmm9, dword [0x180184028]
addss xmm4, xmm7
movss xmm10, dword [rbp + 0x7f]
subss xmm1, xmm9
movaps xmm0, xmm10
addss xmm0, dword [rdi + 0x3848]
subss xmm2, xmm9
movss dword [rbp - 0x39], xmm4
movss dword [rbp - 0x4d], xmm1
addss xmm0, xmm3
movss dword [rbp - 0x35], xmm2
movss dword [rbp - 0x51], xmm0
movaps xmm0, xmm4
unpcklps xmm0, xmm2
movsd qword [rbp - 0x49], xmm0
movss xmm1, dword [rsi + 0x100]
movss xmm0, dword [rsi + 0x104]
subss xmm4, xmm1
subss xmm2, xmm0
movss dword [rbp - 0x41], xmm1
movaps xmm1, xmm6
movss dword [rbp - 0x3d], xmm0
movss dword [rbp + 0x67], xmm4
movss dword [rbp + 0x6b], xmm2
call fcn.180067fe0
xor r9d, r9d
lea rcx, [rbp - 0x41]
xor r8d, r8d
mov edx, r12d
call fcn.18006814c
test al, al
je 0x18003aeaf
mov edx, r12d
lea rcx, [rbp - 0x51]
call fcn.18005e354
mov byte [rbp + 0x67], al
mov r15b, al
test al, al
je 0x18003a6f0
mov rcx, qword [0x1802ce340]
mov dword [rcx + 0x3f14], r12d
mov byte [rcx + 0x3f1c], r13b
test r12d, r12d
je 0x18003a696
cmp dword [rcx + 0x3f18], r12d
je 0x18003a696
mov qword [rcx + 0x3f20], r13
mov dword [rdi + 0x4a48], 1
cmp byte [rdi + 0x3748], r13b
je 0x18003a6f0
mov byte [rbp + 0x7f], 1
cmp dword [rdi + 0x3f28], r12d
je 0x18003a6db
xor eax, eax
lea rcx, [rdi + 0xb30]
mov dword [rdi + 0xe10], eax
xor edx, edx
mov r8d, 0x28c
mov byte [rdi + 0xe14], al
call sub.VCRUNTIME140.dll_memset
mov dword [r14], r13d
mov rdx, rsi
mov ecx, r12d
call fcn.18005e010
mov rcx, rsi
call fcn.1800656b0
jmp 0x18003a70f
mov byte [rbp + 0x7f], r13b
cmp byte [rdi + 0x3748], r13b
je 0x18003a70f
cmp dword [rdi + 0x3f28], r12d
jne 0x18003a70f
xor edx, edx
xor ecx, ecx
call fcn.18005e010
mov edx, 6
mov ebx, dword [r14]
cmp dword [rdi + 0x3f28], r12d
jne 0x18003a82b
xor edx, edx
lea r15, [rdi + 0xe10]
mov esi, edx
lea r14d, [rdx + 5]
lea r12d, [rdx + 6]
cmp byte [r15], dl
jne 0x18003a75a
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x18003a75a
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
test ax, ax
je 0x18003a7a9
mov ecx, esi
test esi, esi
je 0x18003a776
sub ecx, 1
je 0x18003a76f
cmp ecx, 1
jne 0x18003a77b
lea ebx, [rcx + 3]
jmp 0x18003a77b
mov ebx, 2
jmp 0x18003a77b
mov ebx, 1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, r14d
cmovne ebx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov r13b, 1
cmovne ebx, r14d
xor edx, edx
xor ecx, ecx
call fcn.18005e010
xor edx, edx
inc esi
inc r15
cmp esi, r12d
jle 0x18003a737
mov r14, qword [rbp + 0x6f]
mov r12d, dword [rbp - 0x69]
test r13b, r13b
jne 0x18003a7ee
mov esi, 8
lea r15, [rdi + 0xb38]
cmp byte [r15], dl
je 0x18003a7e1
xor edx, edx
xor ecx, ecx
mov ebx, esi
mov r13b, 1
call fcn.18005e010
xor edx, edx
inc esi
inc r15
cmp esi, 0xa5
jle 0x18003a7cc
mov rax, qword [0x1802ce340]
mov ecx, dword [rax + 0x938]
test ecx, ecx
js 0x18003a81b
xor r8d, r8d
xor edx, edx
call fcn.1800665a8
xor edx, edx
test al, al
je 0x18003a81b
xor ecx, ecx
mov dword [r14], edx
call fcn.18005e010
jmp 0x18003a81e
mov dword [r14], ebx
mov r15b, byte [rbp + 0x67]
mov edx, 6
mov rsi, qword [rbp - 0x61]
mov ecx, dword [r14]
lea rax, str.None
xor r14d, r14d
test ecx, ecx
je 0x18003ad1e
cmp dword [rdi + 0x3f28], r12d
je 0x18003ad1e
cmp ecx, 0x50
jg 0x18003aad8
je 0x18003aacc
cmp ecx, 0x2d
jg 0x18003a9aa
je 0x18003a99e
cmp ecx, 0x12
jg 0x18003a912
je 0x18003a906
sub ecx, 1
je 0x18003a8fa
sub ecx, 1
je 0x18003a8ee
sub ecx, 2
je 0x18003a8e2
sub ecx, 1
je 0x18003a8d6
sub ecx, 1
je 0x18003a8ca
sub ecx, 3
je 0x18003a8be
sub ecx, 7
je 0x18003a8b2
cmp ecx, 1
jne 0x18003acdf
lea rbx, str.control
jmp 0x18003ad30
lea rbx, str.shift
jmp 0x18003ad30
lea rbx, [0x1801807fc]
jmp 0x18003ad30
lea rbx, str.mouse_5
jmp 0x18003ad30
lea rbx, str.mouse_4
jmp 0x18003ad30
lea rbx, str.mouse_3
jmp 0x18003ad30
lea rbx, str.mouse_2
jmp 0x18003ad30
lea rbx, str.mouse_1
jmp 0x18003ad30
lea rbx, [0x1801807f8]
jmp 0x18003ad30
sub ecx, 0x21
je 0x18003a992
sub ecx, 1
je 0x18003a986
sub ecx, 1
je 0x18003a97a
sub ecx, 1
je 0x18003a96e
sub ecx, 1
je 0x18003a962
sub ecx, 1
je 0x18003a956
sub ecx, 1
je 0x18003a94a
cmp ecx, 1
jne 0x18003acdf
lea rbx, str.down_arrow
jmp 0x18003ad30
lea rbx, str.right_arrow
jmp 0x18003ad30
lea rbx, str.up_arrow
jmp 0x18003ad30
lea rbx, str.left_arrow
jmp 0x18003ad30
lea rbx, str.home
jmp 0x18003ad30
lea rbx, [0x18017d8fc]
jmp 0x18003ad30
lea rbx, str.page_down
jmp 0x18003ad30
lea rbx, str.page_up
jmp 0x18003ad30
lea rbx, str.insert
jmp 0x18003ad30
cmp ecx, 0x48
jg 0x18003aa51
je 0x18003aa45
sub ecx, 0x2e
je 0x18003aa39
sub ecx, 0x13
je 0x18003aa2d
sub ecx, 1
je 0x18003aa21
sub ecx, 1
je 0x18003aa15
sub ecx, 1
je 0x18003aa09
sub ecx, 1
je 0x18003a9fd
sub ecx, 1
je 0x18003a9f1
cmp ecx, 1
jne 0x18003acdf
lea rbx, [0x1801808ac]
jmp 0x18003ad30
lea rbx, [0x1801808a8]
jmp 0x18003ad30
lea rbx, [0x1801808a4]
jmp 0x18003ad30
lea rbx, [0x1801808a0]
jmp 0x18003ad30
lea rbx, [0x18018089c]
jmp 0x18003ad30
lea rbx, [0x180180898]
jmp 0x18003ad30
lea rbx, str.abcdefghijklmnopqrstuwxyz
jmp 0x18003ad30
lea rbx, str.delete
jmp 0x18003ad30
lea rbx, [0x1801808b0]
jmp 0x18003ad30
sub ecx, 0x49
je 0x18003aac0
sub ecx, 1
je 0x18003aab4
sub ecx, 1
je 0x18003aaa8
sub ecx, 1
je 0x18003aa9c
sub ecx, 1
je 0x18003aa90
sub ecx, 1
je 0x18003aa84
cmp ecx, 1
jne 0x18003acdf
lea rbx, [0x1801808cc]
jmp 0x18003ad30
lea rbx, [0x1801808c8]
jmp 0x18003ad30
lea rbx, [0x1801808c4]
jmp 0x18003ad30
lea rbx, [0x1801808c0]
jmp 0x18003ad30
lea rbx, [0x1801808bc]
jmp 0x18003ad30
lea rbx, [0x1801808b8]
jmp 0x18003ad30
lea rbx, [0x1801808b4]
jmp 0x18003ad30
lea rbx, [0x1801808d0]
jmp 0x18003ad30
cmp ecx, 0x66
jg 0x18003ac14
je 0x18003ac08
cmp ecx, 0x59
jg 0x18003ab8e
je 0x18003ab82
sub ecx, 0x51
je 0x18003ab76
sub ecx, 1
je 0x18003ab6a
sub ecx, 1
je 0x18003ab5e
sub ecx, 1
je 0x18003ab52
sub ecx, 1
je 0x18003ab46
sub ecx, 1
je 0x18003ab3a
sub ecx, 1
je 0x18003ab2e
cmp ecx, 1
jne 0x18003acdf
lea rbx, [0x1801808ec]
jmp 0x18003ad30
lea rbx, [0x1801808e8]
jmp 0x18003ad30
lea rbx, [0x18017d98c]
jmp 0x18003ad30
lea rbx, [0x1801808e4]
jmp 0x18003ad30
lea rbx, [0x1801808e0]
jmp 0x18003ad30
lea rbx, [0x1801808dc]
jmp 0x18003ad30
lea rbx, [0x1801808d8]
jmp 0x18003ad30
lea rbx, [0x1801808d4]
jmp 0x18003ad30
lea rbx, [0x1801808f0]
jmp 0x18003ad30
sub ecx, 0x5a
je 0x18003abfc
sub ecx, edx
je 0x18003abf0
sub ecx, 1
je 0x18003abe4
sub ecx, 1
je 0x18003abd8
sub ecx, 1
je 0x18003abcc
sub ecx, 1
je 0x18003abc0
cmp ecx, 1
jne 0x18003acdf
lea rbx, str.numpad_5
jmp 0x18003ad30
lea rbx, str.numpad_4
jmp 0x18003ad30
lea rbx, str.numpad_3
jmp 0x18003ad30
lea rbx, str.numpad_2
jmp 0x18003ad30
lea rbx, str.numpad_1
jmp 0x18003ad30
lea rbx, [0x1801808f8]
jmp 0x18003ad30
lea rbx, [0x1801808f4]
jmp 0x18003ad30
lea rbx, str.numpad_6
jmp 0x18003ad30
cmp ecx, 0x75
jg 0x18003acb8
je 0x18003acaf
sub ecx, 0x67
je 0x18003aca3
sub ecx, 1
je 0x18003ac97
sub ecx, 1
je 0x18003ac8b
sub ecx, 7
je 0x18003ac7f
sub ecx, 1
je 0x18003ac73
sub ecx, 1
je 0x18003ac67
sub ecx, 1
je 0x18003ac5b
cmp ecx, 1
jne 0x18003acdf
lea rbx, [0x1801809a4]
jmp 0x18003ad30
lea rbx, [0x1801809a0]
jmp 0x18003ad30
lea rbx, [0x18018099c]
jmp 0x18003ad30
lea rbx, [0x180180998]
jmp 0x18003ad30
lea rbx, [0x180180994]
jmp 0x18003ad30
lea rbx, str.numpad_9
jmp 0x18003ad30
lea rbx, str.numpad_8
jmp 0x18003ad30
lea rbx, str.numpad_7
jmp 0x18003ad30
lea rbx, [0x1801809a8]
jmp 0x18003ad30
sub ecx, 0x76
je 0x18003ad15
sub ecx, 1
je 0x18003ad0c
sub ecx, 1
je 0x18003ad03
sub ecx, 1
je 0x18003acfa
sub ecx, 1
je 0x18003acf1
sub ecx, 1
je 0x18003ace8
cmp ecx, 0x25
je 0x18003a8b2
lea rbx, str.unknown
jmp 0x18003ad30
lea rbx, [0x1801809c0]
jmp 0x18003ad30
lea rbx, [0x1801809bc]
jmp 0x18003ad30
lea rbx, [0x1801809b8]
jmp 0x18003ad30
lea rbx, [0x1801809b4]
jmp 0x18003ad30
lea rbx, [0x1801809b0]
jmp 0x18003ad30
lea rbx, [0x1801809ac]
jmp 0x18003ad30
cmp dword [rdi + 0x3f28], r12d
lea rbx, str.Press
cmovne rbx, rax
xor r9d, r9d
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rbp + 0x67]
mov rdx, rbx
call fcn.180060c94
cmp byte [rbp + 0x7f], r14b
je 0x18003ad5a
test r15b, r15b
je 0x18003ad5a
mov ecx, 0x24c
jmp 0x18003ad69
movzx ecx, r15b
shl rcx, 4
add rcx, 0x22c
mov rax, qword [0x1802ce340]
mov r8d, 1
mov edx, r12d
movdqu xmm0, xmmword [rax + rcx + 0x37f4]
lea rcx, [rbp - 0x51]
movups xmmword [rbp - 0x61], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x55], xmm0
call fcn.18005d0b4
lea rcx, [rbp - 0x61]
call fcn.18005c1d4
mov rdx, qword [rbp - 0x49]
mov r8d, eax
mov rcx, qword [rbp - 0x51]
xor r9d, r9d
movss dword [rsp + 0x20], xmm9
call fcn.18005cde8
movss xmm0, dword [rdi + 0x37f4]
lea rcx, [rbp - 0x61]
mulss xmm0, dword [0x180183f18]
mov dword [rbp - 0x61], 0x3f800000
movss xmm6, dword [0x180183fe4]
mov dword [rbp - 0x5d], 0x3f800000
movss dword [rbp - 0x55], xmm0
mov dword [rbp - 0x59], 0x3f800000
call fcn.18005c1d4
mov rcx, qword [rsi + 0x298]
lea rdx, [rbp - 0x51]
movss dword [rsp + 0x30], xmm6
lea r8, [rbp - 0x49]
mov r9d, eax
mov dword [rsp + 0x28], r14d
movss dword [rsp + 0x20], xmm9
call fcn.180072f00
movss xmm0, dword [rbp - 0x51]
lea rcx, [rbp - 0x61]
movss xmm1, dword [rbp - 0x4d]
addss xmm7, xmm0
mov qword [rsp + 0x30], rcx
addss xmm8, xmm1
lea rax, [rdi + 0x388c]
movss dword [rbp - 0x61], xmm0
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x49]
xor r9d, r9d
movss dword [rbp - 0x5d], xmm1
mov r8, rbx
movss dword [rbp - 0x59], xmm7
lea rcx, [rbp - 0x51]
movss dword [rbp - 0x55], xmm8
mov qword [rsp + 0x20], r14
call fcn.18005cd44
comiss xmm10, dword [0x180183e9c]
jbe 0x18003aeaa
movss xmm1, dword [rbp - 0x4d]
lea rdx, str.Bind
movss xmm0, dword [rbp - 0x41]
mov r9b, 1
unpcklps xmm0, xmm1
xor r8d, r8d
movq rcx, xmm0
call fcn.18005c980
mov al, r13b
jmp 0x18003aeb1
xor al, al
lea r11, [rsp + 0xd0]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret