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

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x140067040]
xor rax, rsp
mov qword [rbp + 0x10], rax
lea rcx, [rsp + 0x70]
call fcn.14004b980
mov ecx, dword [rbp - 0x78]
lea rax, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
movdqu xmmword [rbp - 0x10], xmm0
lea rax, [rsp + 0x70]
mov byte [rsp + 0x50], 1
mov qword [rbp - 0x18], rax
xorps xmm1, xmm1
mov eax, ecx
sar eax, 0x10
movzx eax, al
movdqu xmmword [rbp], xmm1
movss xmm1, dword [0x14005db64]
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
sar eax, 8
movzx eax, al
divss xmm0, xmm1
movss dword [rbp - 0x60], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
mov ecx, 0x10
divss xmm0, xmm1
movss dword [rbp - 0x5c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [rbp - 0x58], xmm0
call fcn.140053c20
lea rcx, [rbp - 0x20]
xor r15d, r15d
mov r9, rax
lea r8, [0x140006b00]
xor edx, edx
mov qword [rax], rcx
lea rcx, [0x140002740]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140002226
cmp dword [rsp + 0x68], r15d
je 0x14000221a
movaps xmm0, xmmword [rsp + 0x60]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000221a
mov qword [rsp + 0x140], rbx
mov ecx, 0x3e8
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x150], rdi
mov qword [rsp + 0x120], r14
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._FastFind__Starting_n
mov byte [rbp - 0x4b], 1
mov edi, r15d
mov ebx, r15d
call fcn.140002240
lea rcx, str..FastFind64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
jne 0x140001fe8
lea rdx, str.Could_not_load_the_dll
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002240
mov rcx, rax
lea rdx, [0x140002490]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14000203d
lea rdx, str.SnapShot
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GenericColorSearch
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rdi, rdi
jne 0x14000201c
lea rdx, str.Could_not_locate_SnapShot
jmp 0x140001fca
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test rax, rax
jne 0x140002031
lea rdx, str.Could_not_locate_GenericColorSearch
jmp 0x140001fd1
lea rdx, str._FastFind__Started_n
call fcn.140002240
xorps xmm0, xmm0
lea rcx, [rbp - 0x40]
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
call fcn.140006b30
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [rbp - 0x54]
cdq
sub eax, edx
sar eax, 1
mov r14d, eax
mov eax, dword [rsp + 0x7c]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
add ecx, esi
mov dword [rsp + 0x54], ecx
mov ecx, dword [rbp - 0x50]
sub ecx, eax
add ecx, r14d
mov dword [rsp + 0x58], ecx
cmp byte [rsp + 0x50], r15b
je 0x1400021cf
nop
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400021c4
nop
mov eax, dword [rsp + 0x7c]
test eax, eax
jns 0x1400020ca
inc eax
mov edx, dword [0x140067a64]
mov ecx, dword [0x140067a60]
sar eax, 1
mov dword [rsp + 0x20], 1
lea r9d, [rax + rdx]
sub edx, eax
lea r8d, [rax + rcx]
sub ecx, eax
call rdi
test eax, eax
jne 0x1400020fe
lea rdx, str.Screenshot_failed
jmp 0x1400021a5
mov eax, dword [rbp - 0x64]
lea r9, [rsp + 0x58]
mov ecx, dword [rbp - 0x68]
lea r8, [rsp + 0x54]
mov dword [rsp + 0x5c], eax
lea rdx, [rsp + 0x5c]
mov eax, dword [rbp - 0x74]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x20], eax
call rbx
test eax, eax
je 0x140002190
mov eax, dword [rbp - 0x80]
lea r8, [rbp - 0x34]
mov edx, dword [rbp - 0x38]
sub eax, esi
add eax, dword [rsp + 0x54]
mov r9d, 1
mov rcx, qword [rbp - 0x40]
mov word [rbp - 0x32], r15w
mov dword [rbp - 0x24], r15d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rsp + 0x78]
cvttss2si eax, xmm0
mov dword [rbp - 0x2c], eax
mov eax, dword [rbp - 0x7c]
sub eax, r14d
add eax, dword [rsp + 0x58]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [rsp + 0x78]
cvttss2si eax, xmm0
mov dword [rbp - 0x28], eax
call qword [sym.imp.interception.dll_interception_send]
jmp 0x1400021b1
mov eax, dword [rbp - 0x70]
lea rdx, str._nPixelsearch_failed
mov dword [rsp + 0x54], eax
mov eax, dword [rbp - 0x6c]
mov dword [rsp + 0x58], eax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002240
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1400020c0
cmp byte [rsp + 0x50], r15b
jne 0x1400020a0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x70]
call fcn.14004d180
mov r14, qword [rsp + 0x120]
xor eax, eax
mov rdi, qword [rsp + 0x150]
mov rsi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x140]
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140053c00
add rsp, 0x128
pop r15
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rsp + 0x68], r15d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3