Function at 0x14003aa90
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x14004e940]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r15d, r15d
mov ecx, 1
call fcn.14003ec3c
mov qword [rbp + 0x27], rax
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140033450]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x14003b08e
cmp dword [rbp + 0x1f], r15d
je 0x14003b083
movaps xmm0, xmmword [rbp + 0x17]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14003b083
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x17], xmm0
xorps xmm1, xmm1
movups xmmword [0x14004eff0], xmm1
movups xmmword [0x14004f000], xmm1
movups xmmword [0x14004f010], xmm1
movss xmm6, dword [0x1400419f4]
nop dword [rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x14004efe8]
lea rcx, [0x14004eff0]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14003ab90
lea rcx, [0x14004eff0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x14004eff0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x14004efe0]
cmp rax, rcx
jne 0x14003abdf
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x14004efe8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14004efe0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 7], r15
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 7]
mov rcx, qword [0x14004efe0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 7]
mov dword [rbp + 0x17], eax
mov eax, dword [rbp + 0xb]
mov dword [rbp + 0x1b], eax
call fcn.14000a660
mov rbx, rax
mov rcx, qword [0x14004efe0]
mov qword [rax + 0x100], rcx
mov dword [rax + 0x10], 0x3c888889
lea rcx, [rbp + 0x27]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rbp + 0x27]
sub ecx, dword [rbp + 7]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x110], xmm0
mov ecx, dword [rbp + 0x2b]
sub ecx, dword [rbp + 0xb]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x114], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003ac8e
mov byte [rbx + 0x118], 1
mov byte [rbx + 0x428], 1
mov eax, dword [rbx + 0x114]
mov dword [rbx + 0x3d4], eax
jmp 0x14003ac95
mov byte [rbx + 0x118], 0
mov ecx, dword [rbp + 0x23]
mov edx, dword [rbp + 0x1f]
mov eax, dword [0x14004f140]
cmp dword [rbp + 0x17], eax
jne 0x14003acc1
cmp edx, dword [0x14004f148]
jne 0x14003acc1
mov eax, dword [0x14004f144]
cmp dword [rbp + 0x1b], eax
jne 0x14003acc1
cmp ecx, dword [0x14004f14c]
je 0x14003ad22
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [0x14004f140], xmm0
mov dword [0x14004f078], edx
mov dword [0x14004f074], ecx
mov dword [0x14004efa0], edx
mov dword [0x14004efa4], ecx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp + 0xb]
mov r8d, dword [rbp + 7]
xor edx, edx
mov rcx, qword [0x14004efe8]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
lea rdx, [0x14004efa0]
call qword [rax + 0x80]
call fcn.140024220
call fcn.140024e40
call fcn.14000ffc0
call fcn.1400346b0
mov ecx, dword [0x14004e908]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003ad8e
cmp byte [0x14004f11e], 0
je 0x14003ad8e
mov eax, dword [0x14004f07c]
test eax, eax
jne 0x14003ad6a
mov ecx, 0x6e
call fcn.14003c730
mov eax, dword [0x14004f07c]
cmp eax, 1
jne 0x14003ad7f
mov ecx, 0x43
call fcn.14003c730
mov eax, dword [0x14004f07c]
cmp eax, 2
jne 0x14003ad8e
mov ecx, 0x25
call fcn.14003c730
mov ecx, dword [0x14004e90c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003aedc
cmp byte [0x14004f120], 0
je 0x14003aedc
mov r14, qword [0x14004ef20]
mov r8, qword [0x14004ef38]
lea rdx, [rbp - 0x19]
mov rcx, qword [0x14004ef68]
call fcn.14003a310
mov rbx, rax
mov rax, qword [rax + 0x10]
mov rsi, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14003ade2
mov rsi, qword [rbx]
cmp rax, 7
jb 0x14003ae93
lea rdi, [rsi + rax]
lea r8, [rdi - 6]
sub r8, rsi
mov edx, 0x53
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14003ae93
nop dword [rax]
cmp dword [rax], 0x746f6853
jne 0x14003ae26
cmp word [rax + 4], 0x7567
jne 0x14003ae26
cmp byte [rax + 6], 0x6e
je 0x14003ae44
inc rax
lea r8, [rdi - 6]
sub r8, rax
mov edx, 0x53
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14003ae10
jmp 0x14003ae93
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x14003ae93
mov rcx, qword [0x14004e238]
add rcx, r14
call fcn.140033d50
test rax, rax
je 0x14003ae93
mov qword [rsp + 0x20], r15
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, r9d
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], r15
mov r9d, 4
xor r8d, r8d
xor edx, edx
mov ecx, r9d
call qword [sym.imp.USER32.dll_mouse_event]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14003aecd
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14003aec8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003b07c
mov rcx, r8
call fcn.14003e4b4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
call fcn.14003b4b0
call fcn.140008b70
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r15d
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], r15d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14003af8f
call fcn.140011470
call fcn.14000a4a0
mov rcx, rax
call fcn.1400243a0
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14003afe8
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14003afe8
call fcn.140024190
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
lea rdx, [0x14004efa0]
call qword [rax + 0x80]
call fcn.140023fe0
cmp dword [0x14004eff8], 0x12
jne 0x14003ab50
call fcn.140024ca0
call fcn.140025010
xor ecx, ecx
call fcn.1400081f0
mov rcx, qword [0x14004ef90]
test rcx, rcx
je 0x14003b028
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004ef90]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14004ef88]
test rcx, rcx
je 0x14003b03a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x14004efe8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x14004f000]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003e8f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x1f], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3