Function at 0x1400115af
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400180e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x14002e040]
xor rax, rbp
mov qword [rbp + 0x458], rax
lea rcx, [0x1400350f6]
call fcn.140011933
xor edx, edx
mov ecx, 2
call fcn.140011447
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001815f
lea rdx, str.Error_setting_affinity_mask_for_the_executable._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400114b5
xor al, al
jmp 0x14001831f
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400115b9
test eax, eax
je 0x140018300
mov rcx, qword [rbp + 0x480]
call fcn.140011307
mov rdx, rax
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1400182eb
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x288], rax
cmp qword [rbp + 0x288], 0
je 0x1400182a0
mov rdx, qword [rbp + 0x488]
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
test eax, eax
je 0x140018243
lea rdx, str.Affinity_mask_set_successfully_for_process
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400114b5
lea rdx, [rbp + 0x5c]
mov rcx, rax
call fcn.1400114b5
lea rdx, str.__PID:
mov rcx, rax
call fcn.1400114b5
mov edx, dword [rbp + 0x38]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14002907c]
mov rcx, rax
call fcn.1400114b5
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001831f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x2a4], eax
lea rdx, str.Error_setting_affinity_mask_for_the_process:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400114b5
mov edx, dword [rbp + 0x2a4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140029130]
mov rcx, rax
call fcn.1400114b5
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001831f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x2c4], eax
lea rdx, str.Error_obtaining_process_handle:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400114b5
mov edx, dword [rbp + 0x2c4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140029130]
mov rcx, rax
call fcn.1400114b5
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14001831f
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011816
test eax, eax
jne 0x14001817b
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Process_not_found_with_the_specified_executable_name._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.1400114b5
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140028090]
call fcn.1400117a3
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.14001145b
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret