Function at 0x140001480
Capabilities:
Create thread
Enumerate process modules
Enumerate processes
Log keystrokes via polling
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x218], rax
xor r12d, r12d
lea rcx, str.DeadSignal_Trainer
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xorps xmm0, xmm0
mov qword [rsp + 0x48], 0x2b8
mov qword [rsp + 0x50], 0x2f8
mov qword [rsp + 0x58], 0xa0
mov qword [rsp + 0x60], 0x68
lea rdi, [rsp + 0x48]
lea rax, [rsp + 0x68]
mov qword [rbp + 0x1c0], rax
movdqu xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r12
mov ecx, 0x20
call fcn.140001fc0
mov rbx, rax
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], rax
lea rcx, [rax + 0x20]
mov qword [rbp + 0x1f0], rcx
mov r8d, 0x20
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 0x20]
mov qword [rbp + 0x1e8], rax
xorps xmm0, xmm0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0x20
mov qword [rsp + 0x40], 0x678
lea rdi, [rsp + 0x30]
lea rax, [rsp + 0x48]
mov qword [rbp + 0x1c0], rax
movdqu xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], r12
mov ecx, 0x18
call fcn.140001fc0
mov rbx, rax
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], rax
lea rcx, [rax + 0x18]
mov qword [rbp + 0x1d8], rcx
mov r8d, 0x18
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 0x18]
mov qword [rbp + 0x1d0], rax
mov byte [rbp + 0x1b0], r12b
xor r15b, r15b
mov edi, r12d
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001619
lea rdx, str.CreateToolhelp32Snapshot_failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cb0
lea rdx, [0x140001e90]
mov rcx, rax
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 0x1400016a4
mov dword [rsp + 0x70], 0x130
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140001674
lea rdx, str.DeadSignal_Win64_Shipping.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14000166e
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140001645
jmp 0x140001697
mov edi, dword [rsp + 0x78]
jmp 0x140001697
lea rdx, str.Process32First_failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cb0
lea rdx, [0x140001e90]
mov rcx, rax
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]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x1400016c5
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Game_process_not_found_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140001977
mov r8d, edi
xor edx, edx
mov ecx, 0x38
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x1400016fe
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_access_the_process_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140001977
mov rsi, r12
mov edx, edi
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001746
lea rdx, str.Module_snapshot_failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cb0
lea rdx, [0x140001e90]
mov rcx, rax
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]
lea rdx, str.Module_base_address_not_found_
jmp 0x140001958
mov dword [rsp + 0x70], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400017a1
lea rdx, str.DeadSignal_Win64_Shipping.exe
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14000179b
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x140001772
jmp 0x1400017c4
mov rsi, qword [rbp - 0x78]
jmp 0x1400017c4
lea rdx, str.Module32First_failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cb0
lea rdx, [0x140001e90]
mov rcx, rax
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]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
jne 0x1400017de
lea rdx, str.Module_base_address_not_found_
jmp 0x140001958
lea rbx, [rsi + 0x6da3c80]
mov qword [rbp + 0x1b8], rbx
mov edi, r12d
mov rax, qword [rbp + 0x1d0]
sub rax, qword [rbp + 0x1c8]
sar rax, 3
test rax, rax
je 0x140001864
nop word [rax + rax]
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp + 0x1b8]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140001875
mov eax, edi
mov rdx, qword [rbp + 0x1c8]
mov rbx, qword [rbp + 0x1b8]
add rbx, qword [rdx + rax*8]
mov qword [rbp + 0x1b8], rbx
inc edi
mov rcx, qword [rbp + 0x1d0]
sub rcx, rdx
sar rcx, 3
mov eax, edi
cmp rax, rcx
jb 0x140001810
test rbx, rbx
jne 0x1400018be
lea rdx, str.Failed_to_find_stamina_address_
jmp 0x140001958
lea rdx, str.ReadProcessMemory_failed_at_step
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cb0
mov edx, edi
mov rcx, rax
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140004470]
call fcn.140001cb0
lea rdx, [0x140001e90]
mov rcx, rax
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]
lea rdx, str.Failed_to_find_stamina_address_
jmp 0x140001958
lea rdi, [rsi + 0x69cb4d0]
mov qword [rbp + 0x1b8], rdi
mov esi, r12d
mov rax, qword [rbp + 0x1e8]
sub rax, qword [rbp + 0x1e0]
sar rax, 3
test rax, rax
je 0x140001948
nop word [rax + rax]
mov qword [rsp + 0x20], r12
mov r9d, 8
lea r8, [rbp + 0x1b8]
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400019c5
mov eax, esi
mov rdx, qword [rbp + 0x1e0]
mov rdi, qword [rbp + 0x1b8]
add rdi, qword [rdx + rax*8]
mov qword [rbp + 0x1b8], rdi
inc esi
mov rcx, qword [rbp + 0x1e8]
sub rcx, rdx
sar rcx, 3
mov eax, esi
cmp rax, rcx
jb 0x1400018f0
test rdi, rdi
jne 0x140001a9a
lea rdx, str.Failed_to_find_DosCoin_address_
mov r9d, 0x10
lea r8, str.Error
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
je 0x140001a1e
mov rax, qword [rbp + 0x1d8]
sub rax, rcx
sar rax, 3
lea rdx, [rax*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.ReadProcessMemory_failed_at_step
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001cb0
mov edx, esi
mov rcx, rax
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___unsigned_int____ptr64]
mov rcx, rax
lea rdx, [0x140004470]
call fcn.140001cb0
lea rdx, [0x140001e90]
mov rcx, rax
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 0x140001951
call fcn.140002004
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1c8], xmm0
mov qword [rbp + 0x1d8], r12
mov rcx, qword [rbp + 0x1e0]
test rcx, rcx
je 0x140001a65
mov rdx, qword [rbp + 0x1f0]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002004
mov eax, 1
mov rcx, qword [rbp + 0x218]
xor rcx, rsp
call fcn.140001fa0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
movzx ecx, byte [rbp + 0x1b0]
call fcn.1400011a0
mov ecx, 0x28
call fcn.140001fc0
lea rcx, [rbp + 0x1b0]
mov qword [rax], rcx
mov dword [rax + 8], 0x40800000
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], r14
lea rcx, [0x140001300]
mov qword [rax + 0x20], rcx
mov qword [rbp + 0x1b8], rax
lea rcx, [rbp + 0x210]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140001f10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x208], rax
test rax, rax
je 0x140001bc1
mov ecx, 0x18
call fcn.140001fc0
mov qword [rax], rdi
mov qword [rax + 8], r14
lea rcx, [0x1400013a0]
mov qword [rax + 0x10], rcx
mov qword [rbp + 0x1b8], rax
lea rcx, [rbp + 0x200]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x140001f50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x1f8], rax
test rax, rax
je 0x140001bae
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001b9e
test r15b, r15b
jne 0x140001ba1
cmp byte [rbp + 0x1b0], r15b
sete cl
mov byte [rbp + 0x1b0], cl
call fcn.1400011a0
mov r15b, 1
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001b64
xor r15b, r15b
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001b64
mov dword [rbp + 0x200], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x210], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3