Function at 0x140001f70
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], rcx
xor r14d, r14d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov ebx, r14d
cmp rax, 0xffffffffffffffff
je 0x14000282d
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0x54]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002048
lea rdx, [rbp + 0x7c]
lea rcx, str.perception_app.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140002009
mov ebx, dword [rbp + 0x58]
jmp 0x140002048
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140002048
nop word [rax + rax]
lea rdx, [rbp + 0x7c]
lea rcx, str.perception_app.exe
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
cmove ebx, dword [rbp + 0x58]
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140002020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14000282d
mov edx, ebx
lea rcx, str.__gamebar_pid_______i_n
call fcn.140001f10
mov r8d, ebx
lea rdx, [rbp + 8]
call fcn.140002fb0
nop
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 7
cmova rdx, qword [rbp + 8]
mov rax, qword [rbp + 0x18]
lea rsi, [rdx + rax*2]
lea rdi, [rbp + 8]
cmova rdi, qword [rbp + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movabs rcx, 0x8000000000000000
mov edx, 0x16
movabs r9, 0x7fffffffffffffff
mov qword [rbp - 0x28], r14
cmp rdi, rsi
jne 0x1400020d1
mov r15, r14
mov esi, 0xf
mov qword [rbp - 0x20], rsi
mov byte [rbp - 0x38], r15b
jmp 0x1400021e3
sub rsi, rdi
sar rsi, 1
mov qword [rbp - 0x20], 0xf
cmp rsi, r9
ja 0x14000287d
mov ebx, 0xf
cmp rsi, rbx
jbe 0x14000218b
mov rbx, rsi
or rbx, 0xf
cmp rbx, r9
jbe 0x14000213d
mov rbx, r9
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140034070
mov rcx, rax
test rax, rax
je 0x1400027d5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
movabs r9, 0x7fffffffffffffff
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x20], rbx
jmp 0x14000218f
cmp rbx, rdx
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002160
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000286b
jmp 0x140002109
test rcx, rcx
je 0x14000217e
call fcn.140034070
movabs r9, 0x7fffffffffffffff
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x20], rbx
jmp 0x14000218f
mov rax, r14
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x20], rbx
jmp 0x14000218f
mov rax, qword [rbp - 0x38]
lea r8, [rbp - 0x38]
cmp rbx, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x1400021c3
nop word [rax + rax]
movzx eax, byte [rdi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rdi, [rdi + 2]
sub rdx, 1
jne 0x1400021b0
mov qword [rbp - 0x28], rsi
mov byte [r8 + rsi], 0
mov rsi, qword [rbp - 0x20]
mov r15, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
mov edx, 0x16
mov rax, r9
sub rax, r15
cmp rax, 0x19
jb 0x140002865
lea r13, [rbp - 0x38]
mov r14, qword [rbp - 0x38]
cmp rsi, 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea r12, [r15 + 0x19]
mov ebx, 0xf
lea rdi, [rsp + 0x50]
cmp r12, rbx
jbe 0x140002296
mov rbx, r12
or rbx, 0xf
cmp rbx, r9
jbe 0x140002255
mov rbx, r9
lea rax, [rcx + 0x27]
mov rcx, rax
call fcn.140034070
test rax, rax
je 0x140002279
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002291
cmp rbx, 0x16
cmovb rbx, rdx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002280
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002871
jmp 0x14000223a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14000228f
call fcn.140034070
mov rdi, rax
jmp 0x140002291
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [str.AppContainerNamedObjects_]
movups xmmword [rdi], xmm0
movsd xmm0, qword [0x1400548b0]
movsd qword [rdi + 0x10], xmm0
movzx eax, byte [0x1400548b8]
mov byte [rdi + 0x18], al
lea rcx, [rdi + 0x19]
mov r8, r15
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
mov r8d, 1
lea rdx, [0x140054898]
lea rcx, [rsp + 0x50]
call fcn.140002a50
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x40], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rax, qword [rbp - 0x48]
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140002330
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002a50
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000239b
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002396
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002396
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
movdqa xmm0, xmmword [0x14005a370]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400023ee
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023e9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
movdqa xmm0, xmmword [0x14005a370]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea r13, [rbp - 0x38]
cmp rsi, 0xf
cmova r13, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov ebx, 0xf
lea rdi, [rsp + 0x70]
cmp r12, rbx
jbe 0x1400024b8
mov rbx, r12
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x140002472
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140034070
test rax, rax
je 0x14000249b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400024b3
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400024a2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002877
jmp 0x140002457
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400024b1
call fcn.140034070
mov rdi, rax
jmp 0x1400024b3
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rbx
movups xmm0, xmmword [str.AppContainerNamedObjects_]
movups xmmword [rdi], xmm0
movsd xmm0, qword [0x1400548b0]
movsd qword [rdi + 0x10], xmm0
movzx eax, byte [0x1400548b8]
mov byte [rdi + 0x18], al
lea rcx, [rdi + 0x19]
mov r8, r15
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + r12], 0
mov r8d, 1
lea rdx, [0x140054898]
lea rcx, [rsp + 0x70]
call fcn.140002a50
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x18], 0xf
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov byte [rax], bl
lea r8d, [rbx + 0x10]
lea rdx, str.perception_mutex
lea rcx, [rbp - 0x70]
call fcn.140002a50
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400025b8
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
movdqa xmm0, xmmword [0x14005a370]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002608
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002603
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
movdqa xmm0, xmmword [0x14005a370]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea r8, [rbp - 0x18]
cmp qword [rbp], 0xf
cmova r8, qword [rbp - 0x18]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov rdi, qword [rbp - 0x40]
mov qword [rdi + 8], rax
test rax, rax
jne 0x140002655
lea rcx, str.__ipc_____failed_to_create_mutex._n
call fcn.140001f10
xor bl, bl
jmp 0x14000271c
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rdx, qword [rbp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140002920
lea r8, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r8, qword [rsp + 0x30]
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov rbx, rax
mov qword [rdi], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400026d1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400026cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
test rbx, rbx
jne 0x1400026e4
lea rcx, str.__ipc_____failed_to_open_file._n
call fcn.140001f10
jmp 0x14000271c
mov qword [rsp + 0x20], 0xf4240
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x10], rax
test rax, rax
jne 0x14000271a
lea rcx, str.__ipc_____failed_to_map_file._n
call fcn.140001f10
xor bl, bl
jmp 0x14000271c
mov bl, 1
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x14000275a
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002755
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
movdqa xmm0, xmmword [0x14005a370]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x1400027aa
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
nop
cmp rsi, 0xf
jbe 0x1400027e5
lea rdx, [rsi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400027dc
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1400342f4
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 7
jbe 0x140002828
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002823
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002823
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400342f4
movzx eax, bl
jmp 0x14000283b
lea rcx, str.__ipc_____invalid_widget._n
call fcn.140001f10
xor al, al
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140034050
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001590
nop
call fcn.1400014f0
nop
call fcn.1400014f0
nop
call fcn.1400014f0
nop
call fcn.140001590
int3