Function at 0x140007a70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xdfb0]
mov eax, 0xe0b0
call fcn.14000ad60
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rbp + 0xdfa0], rax
mov r14, rcx
xor r15d, r15d
cmp dword [r14], 0
jne 0x140007c46
lea rdx, str.Trying_to_find_Darks_Souls_application_n
lea rcx, [0x14003f460]
call fcn.140001430
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140007af3
lea rdx, str.Invalid_process_snapshot_finding_the_process_id_n
lea rcx, [0x14003f460]
call fcn.140001430
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140007bd0
nop
mov dword [rsp + 0x28], 0xffffffff
lea rax, [rbp - 0x34]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, str.DarkSoulsRemastered.exe
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x140007bbc
mov r8d, dword [rbp - 0x58]
mov dword [rsp + 0x60], r8d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea rcx, [0x14003f460]
test rax, rax
jne 0x140007c14
lea rdx, str.Cant_get_a_valid_process_handle:
call fcn.140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [0x14003f460]
cmp eax, 5
jne 0x140007b97
lea rdx, str.Try_launching_the_application_as_administrator_n
call fcn.140001430
jmp 0x140007bb7
lea rdx, str.Error_code:
call fcn.140001430
mov edx, edi
mov rcx, rax
call fcn.1400038f0
mov rcx, rax
mov dl, 0xa
call fcn.140001150
mov qword [rsp + 0x68], rbx
lea rdx, [rbp - 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140007b10
lea rdx, str.Cant_find_Dark_Souls_Remastered_process_n
lea rcx, [0x14003f460]
call fcn.140001430
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [r14 + 8], xmm0
cmp qword [r14 + 0x10], 0
je 0x140007c35
mov dword [r14], 1
lea rbx, [r14 + 0x10]
jmp 0x140007c94
mov qword [rsp + 0x68], rbx
lea rdx, str.Found_Dark_Souls_Remastered_process_n
call fcn.140001430
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movaps xmm0, xmmword [rsp + 0x60]
jmp 0x140007bf8
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [r14 + 0x10]
jmp 0x140007c94
lea rbx, [r14 + 0x10]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x50], 0x103
je 0x140007c94
lea rdx, str.Game_closed__going_back_to_search_for_it_n
lea rcx, [0x14003f460]
call fcn.140001430
lea rdx, str._________________Close_the_app_if_you_are_done___________________n
lea rcx, [0x14003f460]
call fcn.140001430
mov dword [r14], r15d
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [r14]
cmp eax, 1
jne 0x140007e2c
lea rdx, str.Scanning_game_to_find_signature..._n
lea rcx, [0x14003f460]
call fcn.140001430
movups xmm0, xmmword [r14 + 8]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140006b80
nop
mov rax, qword [rsp + 0x78]
sub rax, qword [rsp + 0x70]
sar rax, 3
lea rcx, [0x14003f460]
cmp rax, 1
jbe 0x140007cf1
lea rdx, str.Multiple_signatures_found__cant_pin_down_correct_address_n
jmp 0x140007cfd
test rax, rax
jne 0x140007d2a
lea rdx, str.No_signatures_found__cant_pin_down_correct_address_n
call fcn.140001430
lea rdx, str.Try_restarting_the_game_or_wait_for_another_scan_n
lea rcx, [0x14003f460]
call fcn.140001430
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x70]
jmp 0x140007de6
lea rdx, str.Unique_signature_found__Setting_everything_up_n
call fcn.140001430
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rbx]
lea rax, [rcx + 0x10]
mov qword [r14 + 0x18], rax
lea rax, [rcx - 0x32c]
mov qword [r14 + 0x20], rax
lea rax, [rcx - 0x34c]
mov qword [r14 + 0x30], rax
lea rax, [rcx - 0x3ac]
mov qword [r14 + 0x28], rax
lea rax, [rcx - 0x3cc]
mov qword [r14 + 0x38], rax
lea rax, [rcx - 0x398]
mov qword [r14 + 0x48], rax
lea rax, [rcx - 0x318]
mov qword [r14 + 0x40], rax
lea rax, [rcx - 0x660]
mov qword [r14 + 0x50], rax
mov dword [r14], 2
xor edx, edx
mov r8d, 0xe000
lea rcx, [rbp - 0x60]
call fcn.14002b9f0
lea rcx, [r14 + 0x58]
mov r8d, 0xe000
lea rdx, [rbp - 0x60]
call fcn.14002b350
xor edx, edx
mov r8d, 0xe000
lea rcx, [rbp - 0x60]
call fcn.14002b9f0
lea rcx, [r14 + 0xe058]
mov r8d, 0xe000
lea rdx, [rbp - 0x60]
call fcn.14002b350
nop
test rbx, rbx
je 0x140007ab0
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x140007e1f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008102
mov rcx, rbx
call fcn.14000ac4c
jmp 0x140007ab0
cmp eax, 3
jne 0x140007ead
mov qword [rsp + 0x30], r15
lea r8, [r14 + 0x58]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xe000
mov rdx, qword [r14 + 0x18]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140007e8a
cmp qword [rsp + 0x30], 0xe000
sete al
test al, al
je 0x140007e8a
mov dword [r14], 4
lea rdx, str.Initial_scan_successful_n
lea rcx, [0x14003f460]
call fcn.140001430
jmp 0x140007ab0
lea rdx, str.Initial_scan_failed__trying_again_n
lea rcx, [0x14003f460]
call fcn.140001430
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ab0
cmp eax, 2
jne 0x140007f3f
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x30]
mov rdx, qword [r14 + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140007f1c
cmp qword [rsp + 0x40], 4
jne 0x140007f1c
cmp dword [rsp + 0x30], 0xffffffff
sete al
test al, al
jne 0x140007f1c
lea rdx, str.Going_into_the_game_n
lea rcx, [0x14003f460]
call fcn.140001430
mov dword [r14], 3
jmp 0x140007ab0
lea rdx, str.Staring_at_the_main_menu_n
lea rcx, [0x14003f460]
call fcn.140001430
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ab0
cmp eax, 4
jne 0x140007ab0
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x30]
mov rdx, qword [r14 + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400080d8
cmp qword [rsp + 0x40], 4
jne 0x1400080d8
cmp dword [rsp + 0x30], 0xffffffff
sete al
test al, al
jne 0x1400080d8
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xe000
lea r8, [r14 + 0xe058]
mov rdx, qword [r14 + 0x18]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400080b5
cmp qword [rsp + 0x40], 0xe000
sete al
test al, al
je 0x1400080b5
mov edi, r15d
lea rbx, [r14 + 0xe060]
nop word [rax + rax]
mov ecx, dword [rbx - 8]
cmp dword [rbx - 0xe008], ecx
jne 0x14000803c
mov eax, dword [rbx - 4]
cmp dword [rbx - 0xe004], eax
jne 0x14000803c
mov eax, dword [rbx]
cmp dword [rbx - 0xe000], eax
jne 0x14000803c
mov eax, dword [rbx + 4]
cmp dword [rbx - 0xdffc], eax
jne 0x14000803c
mov eax, dword [rbx + 8]
cmp dword [rbx - 0xdff8], eax
jne 0x14000803c
mov eax, dword [rbx + 0xc]
cmp dword [rbx - 0xdff4], eax
jne 0x14000803c
mov eax, dword [rbx + 0x10]
cmp dword [rbx - 0xdff0], eax
je 0x14000807d
cmp dword [rbx - 0xdff8], 0
jne 0x14000807d
cmp dword [rbx + 8], 0
je 0x14000807d
cmp ecx, 0x10000000
jne 0x14000805a
mov ecx, 2
jmp 0x140008072
test ecx, ecx
jne 0x140008065
mov ecx, 1
jmp 0x140008072
cmp ecx, 0x20000000
jne 0x14000807d
mov ecx, 3
movsxd r8, edi
mov rdx, r14
call fcn.140006910
inc edi
add rbx, 0x1c
cmp edi, 0x800
jb 0x140007ff0
lea rcx, [r14 + 0x58]
mov r8d, 0xe000
lea rdx, [r14 + 0xe058]
call fcn.14002b350
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ab0
lea rdx, str.Inventory_update_failed__trying_again_n
lea rcx, [0x14003f460]
call fcn.140001430
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ab0
lea rdx, str.Going_back_to_main_menu_n
lea rcx, [0x14003f460]
call fcn.140001430
mov dword [r14], 2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007ab0
call fcn.140011930
int3