Function at 0x140032960
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r14, r8
mov rdi, rdx
mov r15, rcx
xor r12d, r12d
cmp qword [rdx + 0x18], 7
jbe 0x1400329a8
mov rdi, qword [rdx]
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
mov ebx, r12d
cmp rax, 0xffffffffffffffff
je 0x14003301d
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp + 0x44]
call fcn.140042e2a
mov dword [rbp + 0x40], 0x238
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140032a44
lea rdx, [rbp + 0x6c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140032a04
mov ebx, dword [rbp + 0x48]
jmp 0x140032a44
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140032a44
nop word [rax + rax]
lea rdx, [rbp + 0x6c]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
cmove ebx, dword [rbp + 0x48]
lea rdx, [rbp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140032a20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14003301d
mov edx, ebx
lea rcx, str.__gamebar_pid_______i_n
call fcn.1400326e0
mov r8d, ebx
lea rdx, [rbp - 8]
call fcn.140033750
nop
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rdx, qword [rbp - 8]
mov rax, qword [rbp + 8]
lea rsi, [rdx + rax*2]
lea rbx, [rbp - 8]
cmova rbx, qword [rbp - 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], 0xf
cmp rbx, rsi
jne 0x140032ab0
mov byte [rbp - 0x48], 0
jmp 0x140032b9e
sub rsi, rbx
sar rsi, 1
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140033056
mov edi, 0xf
cmp rsi, rdi
jbe 0x140032b67
mov rdi, rsi
or rdi, 0xf
cmp rdi, rax
jbe 0x140032b1e
mov rdi, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140042020
mov rcx, rax
test rax, rax
je 0x140032fc8
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rdi
jmp 0x140032b6b
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x140032b40
mov rax, r12
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rdi
jmp 0x140032b6b
cmp rcx, 0x1000
jb 0x140032b58
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003305c
jmp 0x140032af4
call fcn.140042020
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rdi
jmp 0x140032b6b
mov rax, qword [rbp - 0x48]
lea r8, [rbp - 0x48]
cmp rdi, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x140032b95
movzx eax, byte [rbx]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x140032b82
mov qword [rbp - 0x38], rsi
mov byte [r8 + rsi], 0
lea r8, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.1400332e0
nop
mov r8d, 1
lea rdx, [0x1400627e8]
mov rcx, rax
call fcn.140033260
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
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x140032c01
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140033260
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140032c6c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032c67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032c67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
movdqa xmm0, xmmword [0x1400715b0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140032cc6
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032cb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032cb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
movdqa xmm0, xmmword [0x1400715b0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
lea r8, [rbp - 0x48]
lea rcx, [rbp - 0x68]
call fcn.1400332e0
nop
mov r8d, 1
lea rdx, [0x1400627e8]
mov rcx, rax
call fcn.140033260
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r12
mov byte [rax], 0
mov r8d, 0x10
lea rdx, str.perception_mutex
lea rcx, [rsp + 0x50]
call fcn.140033260
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140032da8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032da3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032da3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
movdqa xmm0, xmmword [0x1400715b0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140032e01
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032df4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032df4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
movdqa xmm0, xmmword [0x1400715b0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova r8, qword [rbp - 0x28]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [r15 + 8], rax
test rax, rax
jne 0x140032e41
lea rcx, str.__ipc_____failed_to_create_mutex._n
call fcn.1400326e0
xor bl, bl
jmp 0x140032f08
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdx, qword [rbp + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140033140
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 [r15], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140032ebd
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032eb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032eb8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
test rbx, rbx
jne 0x140032ed0
lea rcx, str.__ipc_____failed_to_open_file._n
call fcn.1400326e0
jmp 0x140032f08
mov qword [rsp + 0x20], 0xf4240
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [r15]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [r15 + 0x10], rax
test rax, rax
jne 0x140032f06
lea rcx, str.__ipc_____failed_to_map_file._n
call fcn.1400326e0
xor bl, bl
jmp 0x140032f08
mov bl, 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140032f46
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032f41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032f41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
movdqa xmm0, xmmword [0x1400715b0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x140032f96
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032f90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032f90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140032fd5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032fcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032fcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x140033018
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033013
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140033013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004229c
movzx eax, bl
jmp 0x14003302b
lea rcx, str.__ipc_____invalid_widget._n
call fcn.1400326e0
xor al, al
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140042000
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400328e0
nop
call fcn.140032840
int3