Function at 0x140007ff0
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.14000b470
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 0x1400081ca
lea rdx, str.Trying_to_find_Darks_Souls_application_n
lea rcx, [0x14003f470]
call fcn.140001430
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140008075
lea rdx, str.Invalid_process_snapshot_finding_the_process_id_n
lea rcx, [0x14003f470]
call fcn.140001430
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rcx, rsi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140008154
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 0x140008140
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, [0x14003f470]
test rax, rax
jne 0x140008198
lea rdx, str.Cant_get_a_valid_process_handle:
call fcn.140001430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rcx, [0x14003f470]
cmp eax, 5
jne 0x14000811b
lea rdx, str.Try_launching_the_application_as_administrator_n
call fcn.140001430
jmp 0x14000813b
lea rdx, str.Error_code:
call fcn.140001430
mov edx, edi
mov rcx, rax
call fcn.140003d10
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 0x140008090
lea rdx, str.Cant_find_Dark_Souls_Remastered_process_n
lea rcx, [0x14003f470]
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 0x1400081b9
mov dword [r14], 1
lea rbx, [r14 + 0x10]
jmp 0x140008218
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 0x14000817c
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rbx, [r14 + 0x10]
jmp 0x140008218
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 0x140008218
lea rdx, str.Game_closed__going_back_to_search_for_it_n
lea rcx, [0x14003f470]
call fcn.140001430
lea rdx, str._________________Close_the_app_if_you_are_done___________________n
lea rcx, [0x14003f470]
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 0x1400083b0
lea rdx, str.Scanning_game_to_find_signature..._n
lea rcx, [0x14003f470]
call fcn.140001430
movups xmm0, xmmword [r14 + 8]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400070c0
nop
mov rax, qword [rsp + 0x78]
sub rax, qword [rsp + 0x70]
sar rax, 3
lea rcx, [0x14003f470]
cmp rax, 1
jbe 0x140008275
lea rdx, str.Multiple_signatures_found__cant_pin_down_correct_address_n
jmp 0x140008281
test rax, rax
jne 0x1400082ae
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, [0x14003f470]
call fcn.140001430
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rbx, qword [rsp + 0x70]
jmp 0x14000836a
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.14002b190
lea rcx, [r14 + 0x58]
mov r8d, 0xe000
lea rdx, [rbp - 0x60]
call fcn.14002aaf0
xor edx, edx
mov r8d, 0xe000
lea rcx, [rbp - 0x60]
call fcn.14002b190
lea rcx, [r14 + 0xe058]
mov r8d, 0xe000
lea rdx, [rbp - 0x60]
call fcn.14002aaf0
nop
test rbx, rbx
je 0x140008030
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400083a3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008682
mov rcx, rbx
call fcn.14000b358
jmp 0x140008030
cmp eax, 3
jne 0x140008431
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 0x14000840e
cmp qword [rsp + 0x30], 0xe000
sete al
test al, al
je 0x14000840e
mov dword [r14], 4
lea rdx, str.Initial_inventory_read_successful_n
lea rcx, [0x14003f470]
call fcn.140001430
jmp 0x140008030
lea rdx, str.Initial_inventory_read_failed__trying_again_n
lea rcx, [0x14003f470]
call fcn.140001430
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008030
cmp eax, 2
jne 0x1400084c3
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 0x1400084a0
cmp qword [rsp + 0x40], 4
jne 0x1400084a0
cmp dword [rsp + 0x30], 0xffffffff
sete al
test al, al
jne 0x1400084a0
lea rdx, str.Going_into_the_game_n
lea rcx, [0x14003f470]
call fcn.140001430
mov dword [r14], 3
jmp 0x140008030
lea rdx, str.Staring_at_the_main_menu_n
lea rcx, [0x14003f470]
call fcn.140001430
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008030
cmp eax, 4
jne 0x140008030
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 0x140008658
cmp qword [rsp + 0x40], 4
jne 0x140008658
cmp dword [rsp + 0x30], 0xffffffff
sete al
test al, al
jne 0x140008658
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 0x140008635
cmp qword [rsp + 0x40], 0xe000
sete al
test al, al
je 0x140008635
mov edi, r15d
lea rbx, [r14 + 0xe060]
nop
mov ecx, dword [rbx - 8]
cmp dword [rbx - 0xe008], ecx
jne 0x1400085bc
mov eax, dword [rbx - 4]
cmp dword [rbx - 0xe004], eax
jne 0x1400085bc
mov eax, dword [rbx]
cmp dword [rbx - 0xe000], eax
jne 0x1400085bc
mov eax, dword [rbx + 4]
cmp dword [rbx - 0xdffc], eax
jne 0x1400085bc
mov eax, dword [rbx + 8]
cmp dword [rbx - 0xdff8], eax
jne 0x1400085bc
mov eax, dword [rbx + 0xc]
cmp dword [rbx - 0xdff4], eax
jne 0x1400085bc
mov eax, dword [rbx + 0x10]
cmp dword [rbx - 0xdff0], eax
je 0x1400085fd
cmp dword [rbx - 0xdff8], 0
jne 0x1400085fd
cmp dword [rbx + 8], 0
je 0x1400085fd
cmp ecx, 0x10000000
jne 0x1400085da
mov ecx, 2
jmp 0x1400085f2
test ecx, ecx
jne 0x1400085e5
mov ecx, 1
jmp 0x1400085f2
cmp ecx, 0x20000000
jne 0x1400085fd
mov ecx, 3
movsxd r8, edi
mov rdx, r14
call fcn.140006d20
inc edi
add rbx, 0x1c
cmp edi, 0x800
jb 0x140008570
lea rcx, [r14 + 0x58]
mov r8d, 0xe000
lea rdx, [r14 + 0xe058]
call fcn.14002aaf0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008030
lea rdx, str.Inventory_update_failed__trying_again_n
lea rcx, [0x14003f470]
call fcn.140001430
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008030
lea rdx, str.Going_back_to_main_menu_n
lea rcx, [0x14003f470]
call fcn.140001430
mov dword [r14], 2
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008030
call fcn.140011188
int3