Function at 0x180016260
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbp
push rbx
lea rbp, [rax - 0x218]
sub rsp, 0x308
movzx ebx, byte [rbp + 0x238]
mov qword [rax + 8], rsi
mov esi, r9d
mov qword [rax + 0x10], rdi
mov edi, r9d
mov qword [rax + 0x18], r12
mov qword [rax - 0x18], r13
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x38], xmm6
imul r14d, r9d, 0x1e0
movaps xmmword [rax - 0x48], xmm7
xor eax, eax
mov qword [rbp - 0x78], rax
mov byte [rsp + 0x78], al
mov qword [rsp + 0x60], rax
mov eax, 0xf
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x4c], r14d
cmp r9d, r14d
ja 0x18001659b
movsd xmm6, qword [0x1800becb0]
movsd xmm7, qword [0x1800bec70]
mov r13d, dword [rbp + 0x238]
movzx r12d, byte [rbp + 0x238]
mov r15d, dword [rbp + 0x238]
nop word [rax + rax]
mov eax, esi
sub eax, 0x1d
je 0x18001640c
sub eax, 0x7d
je 0x1800163cd
sub eax, 0xa63
je 0x18001635e
sub eax, 0xae0
je 0x180016342
cmp eax, 0x247d
je 0x180016596
jmp 0x180016579
xor r9d, r9d
mov dword [rsp + 0x20], 0xf4
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.18002bdc0
jmp 0x180016579
movsd xmm0, qword [0x1800db758]
lea r9, [rsp + 0x30]
mulsd xmm0, xmm6
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x20], 0x1b
lea rcx, [0x1800db6f8]
addsd xmm0, xmm7
cvttsd2si rax, xmm0
mov dword [rsp + 0x30], eax
call fcn.180025e30
mov r9d, 0x8e
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call fcn.180016f50
test al, al
jne 0x180016579
mov r8d, 0x104
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
jmp 0x180016596
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0xc7
xor ecx, ecx
call fcn.1800118b0
test al, al
je 0x180016594
cmp dword [rsp + 0x38], 2
jae 0x180016590
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 0x5e]
call fcn.18006d690
cmp eax, 3
setae bl
jmp 0x180016579
mov rax, qword [rbp + 0x240]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
mov ecx, 0xea
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
call fcn.180044920
test al, al
jne 0x180016568
mov r14d, 0xa3
nop dword [rax]
cmp r14d, 0xa3
je 0x18001653a
cmp r14d, 0x67c9
je 0x180016532
cmp r14d, 0xceef
je 0x18001651a
cmp r14d, 0x13615
je 0x180016482
cmp r14d, 0x19d3b
je 0x180016596
jmp 0x180016545
mov eax, dword [rsp + 0x44]
mov edx, r13d
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
test rax, rax
movzx r12d, r12b
mov rsi, rax
mov eax, 0
cmove r12d, eax
test r12b, r12b
je 0x180016545
mov edi, 0x4a
cmp edi, 0x4a
je 0x180016507
cmp edi, 0x2b5c
je 0x1800164f4
cmp edi, 0x566e
jne 0x18001650a
lea r8, [rbp - 0x68]
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageInfo]
mov rcx, rsi
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
xor eax, eax
jmp 0x18001650a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x48], rax
movups xmmword [rbp - 0x58], xmm0
jmp 0x18001650a
mov r15d, eax
add edi, 0x2b12
cmp edi, 0x8136
jbe 0x1800164c2
jmp 0x180016545
xor eax, eax
mov dword [rsp + 0x3c], 0x11
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 1
jmp 0x180016545
mov r13d, 0x10
jmp 0x180016545
mov r12b, 1
mov dword [rsp + 0x48], 0x10
add r14d, 0x6726
cmp r14d, 0x203be
jbe 0x180016440
mov edi, dword [rbp + 0x238]
mov esi, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x4c]
mov edx, 0x1b
lea rcx, [0x1800db6d0]
call fcn.180016a20
lea eax, [rdi + rdi*2]
shl eax, 5
add esi, eax
mov dword [rsp + 0x30], esi
cmp esi, r14d
jbe 0x180016310
jmp 0x180016596
mov bl, 1
jmp 0x180016596
xor bl, bl
mov rax, qword [rsp + 0x68]
movaps xmm7, xmmword [rsp + 0x2d0]
movaps xmm6, xmmword [rsp + 0x2e0]
mov r15, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2f8]
mov r13, qword [rsp + 0x300]
mov r12, qword [rsp + 0x330]
mov rdi, qword [rsp + 0x328]
mov rsi, qword [rsp + 0x320]
cmp rax, 0x10
jb 0x180016610
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001660b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016669
call fcn.1800875a8
mov rdx, qword [rbp - 0x70]
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], al
cmp rdx, 0x10
jb 0x18001665c
mov rcx, qword [rsp + 0x78]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016657
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016669
call fcn.1800875a8
movzx eax, bl
add rsp, 0x308
pop rbx
pop rbp
ret
call fcn.18008b9f4
int3