Function at 0x18003165c
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 [0x1801b5b38]
xor r13d, r13d
movaps xmmword [rax - 0x48], xmm6
mov rbx, r8
movaps xmmword [rax - 0x58], xmm7
mov r15, rdx
movaps xmmword [rax - 0x68], xmm8
mov rsi, rcx
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
mov rax, qword [rdi + 0x3ec8]
mov byte [rax + 0xb8], 1
mov r14, qword [rdi + 0x3ec8]
mov qword [rbp - 0x51], r14
cmp byte [r14 + 0xbb], r13b
jne 0x180032046
mov rdx, rcx
mov rcx, r14
call fcn.18003e944
movss xmm6, dword [0x18016326c]
lea rcx, [rbp - 0x61]
mov r9b, 1
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
mov dword [rbp - 0x65], eax
mov rdx, rsi
mov r12d, eax
call fcn.180041860
call fcn.1800490d0
movss xmm3, dword [rbp - 0x5d]
lea rcx, [rbp + 0x7f]
mov rdx, qword [rbx]
movaps xmm2, xmm0
call fcn.180049140
movss xmm1, dword [r14 + 0x104]
lea rcx, [rbp + 0x7f]
movss xmm3, dword [r14 + 0x100]
movaps xmm2, xmm1
movss xmm10, dword [rbp - 0x61]
movaps xmm4, xmm3
movss xmm8, dword [rbp + 0x83]
movaps xmm0, xmm10
addss xmm0, dword [rdi + 0x3848]
movss xmm7, dword [rbp + 0x7f]
addss xmm2, xmm8
movss xmm9, dword [0x180163018]
addss xmm4, xmm7
subss xmm1, xmm9
addss xmm0, xmm3
subss xmm2, xmm9
movss dword [rbp - 0x59], xmm4
movss dword [rbp - 0x3d], xmm1
movss dword [rbp - 0x41], xmm0
movaps xmm0, xmm4
unpcklps xmm0, xmm2
movsd qword [rbp - 0x39], xmm0
movss xmm1, dword [r14 + 0x100]
movss xmm0, dword [r14 + 0x104]
subss xmm4, xmm1
movss dword [rbp - 0x55], xmm2
subss xmm2, xmm0
movss dword [rbp - 0x61], xmm1
movaps xmm1, xmm6
movss dword [rbp - 0x5d], xmm0
movss dword [rbp + 0x7f], xmm4
movss dword [rbp + 0x83], xmm2
call fcn.180048c7c
xor r9d, r9d
lea rcx, [rbp - 0x61]
xor r8d, r8d
mov edx, r12d
call fcn.180048de0
test al, al
je 0x180032046
mov edx, r12d
lea rcx, [rbp - 0x41]
call fcn.18003ee70
mov byte [rbp + 0x7f], al
mov sil, al
test al, al
je 0x18003188a
mov rcx, qword [0x1801b5b38]
mov dword [rcx + 0x3f14], r12d
mov byte [rcx + 0x3f1c], r13b
test r12d, r12d
je 0x180031830
cmp dword [rcx + 0x3f18], r12d
je 0x180031830
mov qword [rcx + 0x3f20], r13
mov dword [rdi + 0x4a50], 1
cmp byte [rdi + 0x3748], r13b
je 0x18003188a
mov byte [rbp - 0x69], 1
cmp dword [rdi + 0x3f28], r12d
je 0x180031875
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 [r15], r13d
mov rdx, r14
mov ecx, r12d
call fcn.18003eb2c
mov rcx, r14
call fcn.1800463f8
jmp 0x1800318a9
mov byte [rbp - 0x69], r13b
cmp byte [rdi + 0x3748], r13b
je 0x1800318a9
cmp dword [rdi + 0x3f28], r12d
jne 0x1800318a9
xor edx, edx
xor ecx, ecx
call fcn.18003eb2c
mov ecx, 6
mov ebx, dword [r15]
cmp dword [rdi + 0x3f28], r12d
jne 0x1800319c7
xor edx, edx
lea r14, [rdi + 0xe10]
mov esi, edx
lea r15d, [rcx - 1]
mov r12d, ecx
cmp byte [r14], dl
jne 0x1800318f3
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800318f3
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor edx, edx
test ax, ax
je 0x180031942
mov ecx, esi
test esi, esi
je 0x18003190f
sub ecx, 1
je 0x180031908
cmp ecx, 1
jne 0x180031914
lea ebx, [rcx + 3]
jmp 0x180031914
mov ebx, 2
jmp 0x180031914
mov ebx, 1
mov ecx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov ecx, r15d
cmovne ebx, r12d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
mov r13b, 1
cmovne ebx, r15d
xor edx, edx
xor ecx, ecx
call fcn.18003eb2c
xor edx, edx
inc esi
inc r14
cmp esi, r12d
jle 0x1800318d0
mov r15, qword [rbp + 0x6f]
mov r12d, dword [rbp - 0x65]
test r13b, r13b
jne 0x180031987
mov esi, 8
lea r14, [rdi + 0xb38]
cmp byte [r14], dl
je 0x18003197a
xor edx, edx
xor ecx, ecx
mov ebx, esi
mov r13b, 1
call fcn.18003eb2c
xor edx, edx
inc esi
inc r14
cmp esi, 0xa5
jle 0x180031965
mov rax, qword [0x1801b5b38]
mov ecx, dword [rax + 0x938]
test ecx, ecx
js 0x1800319b7
xor r8d, r8d
xor edx, edx
call fcn.180047264
xor edx, edx
test al, al
je 0x1800319b7
xor ecx, ecx
mov dword [r15], edx
call fcn.18003eb2c
mov ebx, dword [r15]
jmp 0x1800319ba
mov dword [r15], ebx
mov r14, qword [rbp - 0x51]
mov ecx, 6
mov sil, byte [rbp + 0x7f]
xor r15d, r15d
lea rax, str.None
test ebx, ebx
je 0x180031eb7
cmp dword [rdi + 0x3f28], r12d
je 0x180031eb7
cmp ebx, 0x50
jg 0x180031c71
je 0x180031c65
cmp ebx, 0x2d
jg 0x180031b43
je 0x180031b37
cmp ebx, 0x12
jg 0x180031aab
je 0x180031a9f
sub ebx, 1
je 0x180031a93
sub ebx, 1
je 0x180031a87
sub ebx, 2
je 0x180031a7b
sub ebx, 1
je 0x180031a6f
sub ebx, 1
je 0x180031a63
sub ebx, 3
je 0x180031a57
sub ebx, 7
je 0x180031a4b
cmp ebx, 1
jne 0x180031e78
lea rbx, str.control
jmp 0x180031ec9
lea rbx, str.shift
jmp 0x180031ec9
lea rbx, [0x18015fa3c]
jmp 0x180031ec9
lea rbx, str.mouse_5
jmp 0x180031ec9
lea rbx, str.mouse_4
jmp 0x180031ec9
lea rbx, str.mouse_3
jmp 0x180031ec9
lea rbx, str.mouse_2
jmp 0x180031ec9
lea rbx, str.mouse_1
jmp 0x180031ec9
lea rbx, [0x18015fa38]
jmp 0x180031ec9
sub ebx, 0x21
je 0x180031b2b
sub ebx, 1
je 0x180031b1f
sub ebx, 1
je 0x180031b13
sub ebx, 1
je 0x180031b07
sub ebx, 1
je 0x180031afb
sub ebx, 1
je 0x180031aef
sub ebx, 1
je 0x180031ae3
cmp ebx, 1
jne 0x180031e78
lea rbx, str.down_arrow
jmp 0x180031ec9
lea rbx, str.right_arrow
jmp 0x180031ec9
lea rbx, str.up_arrow
jmp 0x180031ec9
lea rbx, str.left_arrow
jmp 0x180031ec9
lea rbx, str.home
jmp 0x180031ec9
lea rbx, [0x18015fa7c]
jmp 0x180031ec9
lea rbx, str.page_down
jmp 0x180031ec9
lea rbx, str.page_up
jmp 0x180031ec9
lea rbx, str.insert
jmp 0x180031ec9
cmp ebx, 0x48
jg 0x180031bea
je 0x180031bde
sub ebx, 0x2e
je 0x180031bd2
sub ebx, 0x13
je 0x180031bc6
sub ebx, 1
je 0x180031bba
sub ebx, 1
je 0x180031bae
sub ebx, 1
je 0x180031ba2
sub ebx, 1
je 0x180031b96
sub ebx, 1
je 0x180031b8a
cmp ebx, 1
jne 0x180031e78
lea rbx, [0x18015faec]
jmp 0x180031ec9
lea rbx, [0x18015fae8]
jmp 0x180031ec9
lea rbx, [0x18015fae4]
jmp 0x180031ec9
lea rbx, [0x18015fae0]
jmp 0x180031ec9
lea rbx, [0x18015fadc]
jmp 0x180031ec9
lea rbx, [0x18015fad8]
jmp 0x180031ec9
lea rbx, str.abcdefghijklmnopqrstuvwxyz
jmp 0x180031ec9
lea rbx, str.delete
jmp 0x180031ec9
lea rbx, [0x18015faf0]
jmp 0x180031ec9
sub ebx, 0x49
je 0x180031c59
sub ebx, 1
je 0x180031c4d
sub ebx, 1
je 0x180031c41
sub ebx, 1
je 0x180031c35
sub ebx, 1
je 0x180031c29
sub ebx, 1
je 0x180031c1d
cmp ebx, 1
jne 0x180031e78
lea rbx, [0x18015fb0c]
jmp 0x180031ec9
lea rbx, [0x18015fb08]
jmp 0x180031ec9
lea rbx, [0x18015fb04]
jmp 0x180031ec9
lea rbx, [0x18015fb00]
jmp 0x180031ec9
lea rbx, [0x18015fafc]
jmp 0x180031ec9
lea rbx, [0x18015faf8]
jmp 0x180031ec9
lea rbx, [0x18015faf4]
jmp 0x180031ec9
lea rbx, [0x18015fb10]
jmp 0x180031ec9
cmp ebx, 0x66
jg 0x180031dad
je 0x180031da1
cmp ebx, 0x59
jg 0x180031d27
je 0x180031d1b
sub ebx, 0x51
je 0x180031d0f
sub ebx, 1
je 0x180031d03
sub ebx, 1
je 0x180031cf7
sub ebx, 1
je 0x180031ceb
sub ebx, 1
je 0x180031cdf
sub ebx, 1
je 0x180031cd3
sub ebx, 1
je 0x180031cc7
cmp ebx, 1
jne 0x180031e78
lea rbx, [0x18015fb30]
jmp 0x180031ec9
lea rbx, [0x18015fb2c]
jmp 0x180031ec9
lea rbx, [0x18015fb28]
jmp 0x180031ec9
lea rbx, [0x18015fb24]
jmp 0x180031ec9
lea rbx, [0x18015fb20]
jmp 0x180031ec9
lea rbx, [0x18015fb1c]
jmp 0x180031ec9
lea rbx, [0x18015fb18]
jmp 0x180031ec9
lea rbx, [0x18015fb14]
jmp 0x180031ec9
lea rbx, [0x18015fb34]
jmp 0x180031ec9
sub ebx, 0x5a
je 0x180031d95
sub ebx, ecx
je 0x180031d89
sub ebx, 1
je 0x180031d7d
sub ebx, 1
je 0x180031d71
sub ebx, 1
je 0x180031d65
sub ebx, 1
je 0x180031d59
cmp ebx, 1
jne 0x180031e78
lea rbx, str.numpad_5
jmp 0x180031ec9
lea rbx, str.numpad_4
jmp 0x180031ec9
lea rbx, str.numpad_3
jmp 0x180031ec9
lea rbx, str.numpad_2
jmp 0x180031ec9
lea rbx, str.numpad_1
jmp 0x180031ec9
lea rbx, str.numpad_0
jmp 0x180031ec9
lea rbx, [0x18015fb38]
jmp 0x180031ec9
lea rbx, str.numpad_6
jmp 0x180031ec9
cmp ebx, 0x75
jg 0x180031e51
je 0x180031e48
sub ebx, 0x67
je 0x180031e3c
sub ebx, 1
je 0x180031e30
sub ebx, 1
je 0x180031e24
sub ebx, 7
je 0x180031e18
sub ebx, 1
je 0x180031e0c
sub ebx, 1
je 0x180031e00
sub ebx, 1
je 0x180031df4
cmp ebx, 1
jne 0x180031e78
lea rbx, [0x18015fbec]
jmp 0x180031ec9
lea rbx, [0x18015fbe8]
jmp 0x180031ec9
lea rbx, [0x18015fbe4]
jmp 0x180031ec9
lea rbx, [0x18015fbe0]
jmp 0x180031ec9
lea rbx, [0x18015fbdc]
jmp 0x180031ec9
lea rbx, str.numpad_9
jmp 0x180031ec9
lea rbx, str.numpad_8
jmp 0x180031ec9
lea rbx, str.numpad_7
jmp 0x180031ec9
lea rbx, [0x18015fbf0]
jmp 0x180031ec9
sub ebx, 0x76
je 0x180031eae
sub ebx, 1
je 0x180031ea5
sub ebx, 1
je 0x180031e9c
sub ebx, 1
je 0x180031e93
sub ebx, 1
je 0x180031e8a
sub ebx, 1
je 0x180031e81
cmp ebx, 0x25
je 0x180031a4b
lea rbx, str.unknown
jmp 0x180031ec9
lea rbx, [0x18015fc08]
jmp 0x180031ec9
lea rbx, [0x18015fc04]
jmp 0x180031ec9
lea rbx, [0x18015fc00]
jmp 0x180031ec9
lea rbx, [0x18015fbfc]
jmp 0x180031ec9
lea rbx, [0x18015fbf8]
jmp 0x180031ec9
lea rbx, [0x18015fbf4]
jmp 0x180031ec9
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 + 0x7f]
mov rdx, rbx
call fcn.180041860
cmp byte [rbp - 0x69], r15b
je 0x180031ef3
test sil, sil
je 0x180031ef3
mov ecx, 0x17
jmp 0x180031f00
neg sil
sbb rcx, rcx
neg rcx
add rcx, 0x15
mov rax, qword [0x1801b5b38]
add rcx, rcx
mov r8d, 1
mov edx, r12d
movdqu xmm0, xmmword [rax + rcx*8 + 0x38d0]
lea rcx, [rbp - 0x41]
movups xmmword [rbp - 0x51], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x45], xmm0
call fcn.18003dbfc
lea rcx, [rbp - 0x51]
call fcn.18003cd00
mov rdx, qword [rbp - 0x39]
mov r8d, eax
mov rcx, qword [rbp - 0x41]
xor r9d, r9d
movss dword [rsp + 0x20], xmm9
call fcn.18003d930
movss xmm0, dword [rdi + 0x37f4]
lea rcx, [rbp - 0x51]
mulss xmm0, dword [0x180162b0c]
mov dword [rbp - 0x51], 0x3f800000
movss xmm6, dword [0x180162ce4]
mov dword [rbp - 0x4d], 0x3f800000
movss dword [rbp - 0x45], xmm0
mov dword [rbp - 0x49], 0x3f800000
call fcn.18003cd00
mov rcx, qword [r14 + 0x298]
lea rdx, [rbp - 0x41]
movss dword [rsp + 0x30], xmm6
lea r8, [rbp - 0x39]
mov r9d, eax
mov dword [rsp + 0x28], r15d
movss dword [rsp + 0x20], xmm9
call fcn.18005385c
movss xmm0, dword [rbp - 0x41]
lea rcx, [rbp - 0x51]
movss xmm1, dword [rbp - 0x3d]
addss xmm7, xmm0
mov qword [rsp + 0x30], rcx
addss xmm8, xmm1
lea rax, [rdi + 0x388c]
movss dword [rbp - 0x51], xmm0
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x39]
xor r9d, r9d
movss dword [rbp - 0x4d], xmm1
mov r8, rbx
movss dword [rbp - 0x49], xmm7
lea rcx, [rbp - 0x41]
movss dword [rbp - 0x45], xmm8
mov qword [rsp + 0x20], r15
call fcn.18003d870
comiss xmm10, dword [0x180162a4c]
jbe 0x180032041
movss xmm1, dword [rbp - 0x3d]
mov r9b, 1
movss xmm0, dword [rbp - 0x61]
xor r8d, r8d
mov rdx, qword [rbp + 0x67]
unpcklps xmm0, xmm1
movq rcx, xmm0
call fcn.18003d490
mov al, r13b
jmp 0x180032048
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