Function at 0x18009d280
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x9d8
mov rax, qword [0x180352040]
xor rax, rsp
mov qword [rsp + 0x9c0], rax
call fcn.180050100
test al, al
je 0x18009d531
mov ecx, dword [0x180357114]
test ecx, ecx
je 0x18009d3da
cmp ecx, 1
jne 0x18009d531
lea rcx, [rsp + 0x4a0]
call fcn.18009ca40
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
mov eax, r8d
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rax, 1
jne 0x18009d2e0
movups xmm0, xmmword [rcx]
mov rax, qword [rcx + 0x60]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm1
mov qword [rdx + 0x60], rax
mov eax, dword [rcx + 0x68]
mov rcx, qword [0x180353180]
mov dword [rdx + 0x68], eax
add rcx, 0x39f8
lea rdx, [rsp + 0x30]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x18009d382
jmp 0x18009d4f5
lea rcx, [rsp + 0x4a0]
call fcn.18009ce00
mov r8d, 8
lea rdx, [rsp + 0x30]
mov rcx, rax
mov eax, r8d
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rax, 1
jne 0x18009d400
movups xmm0, xmmword [rcx]
mov rax, qword [rcx + 0x60]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm1
mov qword [rdx + 0x60], rax
mov eax, dword [rcx + 0x68]
mov rcx, qword [0x180353180]
mov dword [rdx + 0x68], eax
add rcx, 0x39f8
lea rdx, [rsp + 0x30]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub r8, 1
jne 0x18009d4a2
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x60]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm1
mov qword [rcx + 0x60], rax
mov eax, dword [rdx + 0x68]
mov dword [rcx + 0x68], eax
lea rdx, [rsp + 0x910]
mov qword [rsp + 0x910], 0
lea rcx, str.destruct
call fcn.18004c0a0
test al, al
je 0x18009d578
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x77
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov r8d, 2
mov cl, 0x77
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, str.press_f8_to_self_destruct.
call fcn.18004b7a0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18009d59b
mov byte [0x18035337c], 1
lea rdx, [0x18035337c]
lea rcx, str.Clock
call fcn.18004d7f0
cmp byte [0x18035337c], 0
je 0x18009d688
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
lea rdx, [rsp + 0x910]
mov qword [rsp + 0x910], rax
lea rcx, [rsp + 0x918]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
lea r9, [rsp + 0x918]
mov edx, 0x80
lea r8, str._Y__m__d__H:_M:_S
lea rcx, [rsp + 0x940]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
mov rax, qword [0x180353180]
lea rcx, str.Clock
xor edx, edx
mov r8d, 0x107
or dword [rax + 0x4b40], 3
mov dword [rax + 0x4b54], 0x41200000
mov qword [rax + 0x4b58], 0x41200000
mov dword [rax + 0x4b60], edx
mov dword [rax + 0x4b44], 1
mov byte [rax + 0x4b80], 1
mov dword [rax + 0x4b64], 0x43160000
mov dword [rax + 0x4b68], 0x42480000
mov dword [rax + 0x4b48], 1
call fcn.180015f10
lea rdx, [rsp + 0x940]
lea rcx, [0x1802e9504]
call fcn.18004b7a0
call fcn.180018dd0
mov rcx, qword [rsp + 0x9c0]
xor rcx, rsp
call fcn.1800ae1c0
add rsp, 0x9d8
ret