Function at 0x140018c60
Capabilities:
Get thread local storage value
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r13, rdx
mov r14, rcx
xor r15d, r15d
cmp qword [rdx + 0x20], 0xd
jne 0x140018d49
lea ecx, [r15 + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140018d49
cmp byte [r14 + 0x35a], r15b
je 0x140019051
cmp byte [r14 + 0x35b], r15b
je 0x140018ce3
lea ecx, [r15 + 0x11]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140018cf7
cmp byte [r14 + 0x35b], r15b
jne 0x140019051
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140019051
mov rax, qword [r14 + 0x30]
test rax, rax
je 0x14001906f
mov word [rbp - 0x4d], r15w
mov dword [rbp - 0x39], r15d
mov qword [rbp - 0x61], r14
mov dword [rbp - 0x69], 0x2d
mov rax, qword [rax + 0x148]
mov qword [rbp - 0x55], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x59], eax
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov rax, qword [r14]
lea rdx, [rbp - 0x69]
mov rcx, r14
call qword [rax + 0x1a0]
jmp 0x14001906f
cmp byte [r14 + 0x360], r15b
je 0x140019051
cmp qword [r13 + 0x20], 0x56
jne 0x140019051
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140019051
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov edi, 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x30], r15w
lea rcx, [rsp + 0x30]
call fcn.14001b5b0
cmp qword [rsp + 0x40], 0
je 0x140019013
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov rsi, r15
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], rdi
mov word [rsp + 0x50], r15w
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], rdi
cmova rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
lea rcx, [rcx + rax*2]
cmp rbx, rcx
je 0x140018e4b
movzx r9d, word [rbx]
lea eax, [r9 - 0x30]
cmp ax, 9
ja 0x140018e45
cmp rsi, rdi
jae 0x140018e33
lea rax, [rsi + 1]
mov qword [rbp - 0x79], rax
lea rax, [rsp + 0x50]
cmp rdi, 7
cmova rax, qword [rsp + 0x50]
mov word [rax + rsi*2], r9w
mov word [rax + rsi*2 + 2], r15w
mov rsi, qword [rbp - 0x79]
mov rdi, qword [rbp - 0x71]
add rbx, 2
jmp 0x140018dd1
lea rcx, [rsp + 0x50]
call fcn.14001baf0
mov rsi, qword [rbp - 0x79]
mov rdi, qword [rbp - 0x71]
add rbx, 2
jmp 0x140018dd1
test rsi, rsi
jne 0x140018edd
cmp rdi, 7
jbe 0x140018e92
lea rdx, [rdi*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018e8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001909c
call fcn.140061530
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14001906f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018ed3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019096
call fcn.140061530
jmp 0x14001906f
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
mov r15, qword [rsp + 0x50]
test eax, eax
je 0x140018f5c
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x140018f56
lea r12, [rsi + rsi]
lea rdx, [r12 + 2]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140018f56
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
lea rdx, [rsp + 0x50]
cmp rdi, 7
cmova rdx, r15
mov r8, r12
mov rcx, rax
call fcn.140087290
xor eax, eax
mov word [r12 + rbx], ax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x69]
call fcn.140002800
nop
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_c124db31c040b8d78fe81dce1bae3fea___void___.0
mov qword [rbp - 0x29], rax
movups xmm1, xmmword [rbp - 0x69]
movups xmmword [rbp - 0x21], xmm1
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x11], xmm0
movdqa xmm1, xmmword [0x1400a4610]
movdqu xmmword [rbp - 0x59], xmm1
xor eax, eax
mov word [rbp - 0x69], ax
lea rax, [rbp - 0x29]
mov qword [rbp + 0xf], rax
call fcn.140012090
mov ecx, dword [rax]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
lea rdx, [rbp - 0x29]
call fcn.1400110f0
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140018fd5
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
cmp rdi, 7
jbe 0x140019010
lea rdx, [rdi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140019008
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001909c
mov rcx, r15
call fcn.140061530
xor r15d, r15d
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140019051
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001904c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019096
call fcn.140061530
mov rax, qword [r14]
mov qword [rsp + 0x20], r15
mov r9, qword [r13 + 0x28]
mov r8, qword [r13 + 0x20]
mov edx, 0x100
mov rcx, r14
call qword [rax + 0x3b8]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140061510
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
int3