Function at 0x140001350
Capabilities:
Log keystrokes via polling
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rcx, str.calc.exe
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
lea rcx, str.BloodStrike
call fcn.140001030
nop dword [rax]
nop word [rax + rax]
lea rdx, str.BloodStrike.exe
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov ecx, 0x1f4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1400013c0
xorps xmm0, xmm0
lea rdx, [rsp + 0x80]
mov rcx, rbx
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x88]
nop dword [rax]
test ecx, ecx
je 0x140001418
test eax, eax
jne 0x140001456
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140003408]
call fcn.140001030
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rsp + 0x88]
test ecx, ecx
jne 0x140001456
mov eax, dword [rsp + 0x8c]
test eax, eax
je 0x140001410
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [rsp + 0x88]
lea rcx, [0x14000340c]
mov esi, dword [rsp + 0x8c]
call fcn.140001030
mov r8d, esi
lea rcx, str.Screen_size__dx_d_n
mov edx, edi
call fcn.140001030
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov r13d, eax
mov eax, esi
cdq
mov r14d, r13d
sub eax, edx
sar eax, 1
mov r15d, eax
mov dword [rsp + 0x58], eax
mov eax, edi
mov edi, r15d
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, eax
sub r14d, eax
mov eax, esi
mov dword [rsp + 0x70], r14d
cdq
and edx, 3
lea ebp, [rcx + r13]
add eax, edx
lea esi, [rcx + r15]
sar eax, 2
sub edi, eax
mov dword [rsp + 0x78], ebp
mov r8d, edi
mov dword [rsp + 0x74], edi
mov r9d, ebp
mov dword [rsp + 0x7c], esi
mov edx, r14d
mov dword [rsp + 0x20], esi
lea rcx, str.Scan_area__d__d__d__d_n
call fcn.140001030
sub ebp, r14d
lea rcx, str.Scan_area_size__d__d_n
sub esi, edi
mov edx, ebp
mov r8d, esi
call fcn.140001030
imul esi, ebp
lea eax, [rsi + rsi*2]
movsxd rcx, eax
call fcn.140001770
mov qword [0x140005718], rax
mov r14d, r13d
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x5c], eax
mov eax, 0x51eb851f
imul r13d
mov eax, 0x51eb851f
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
imul r15d
lea r12d, [rcx + r13]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
sub r14d, ecx
lea eax, [rdx + rdx*2]
movaps xmm6, xmmword [rsp + 0x70]
mov ebp, r15d
sub ebp, eax
add r15d, eax
mov eax, dword [rsp + 0x58]
lea ecx, [rax + 0x32]
add eax, 0xffffffce
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x60], ecx
nop dword [rax + rax]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000169e
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x14000169e
lea rax, [rsp + 0x5c]
movdqa xmmword [rsp + 0x70], xmm6
lea r9, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x54]
mov rcx, rbx
lea rdx, [rsp + 0x50]
call fcn.140001090
test eax, eax
je 0x14000169e
mov edi, dword [rsp + 0x50]
mov r9d, edi
mov esi, dword [rsp + 0x54]
sub r9d, r13d
mov eax, esi
mov ecx, r9d
sub eax, dword [rsp + 0x58]
imul ecx, r9d
mov edx, eax
imul edx, eax
add edx, ecx
cmp edx, 0x2710
jg 0x140001635
cdq
mov qword [rsp + 0x20], 0
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, r9d
cdq
xor r9d, r9d
sub eax, edx
sar eax, 1
lea ecx, [r9 + 1]
lea edx, [rax - 1]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x14000169e
cmp edi, r14d
jl 0x14000169e
cmp edi, r12d
jg 0x14000169e
cmp esi, ebp
jl 0x14000169e
cmp esi, r15d
jg 0x14000169e
mov eax, dword [rsp + 0x5c]
cmp eax, dword [0x140005078]
je 0x140001674
cmp eax, dword [0x14000507c]
je 0x140001674
cmp eax, dword [0x140005080]
jne 0x14000169e
cmp byte [0x140005710], 0
jne 0x1400016a7
xor edx, edx
mov byte [0x140005710], 1
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
cmp byte [0x140005710], 0
je 0x1400016e5
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x140005720]
cmp eax, 0x32
jb 0x1400016e5
xor edx, edx
mov byte [0x140005710], 0
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [0x140005720], eax
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rsp + 0x64]
lea r9d, [r13 + 0x32]
mov rdi, rax
lea edx, [r13 - 0x32]
xor eax, eax
mov rcx, rdi
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_Arc]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001590