Function at 0x1402509c0
Capabilities:
Check if file exists
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x140250ac1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x140250a61
lea rcx, str.The_call_to_CreateToolhelp32Snapshot_has_failed
lea rdx, [0x14044e636]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000789c
test ebx, ebx
jle 0x140250a6e
movzx ebx, bx
or ebx, 0x80070000
lea rcx, [rsp + 0x40]
call fcn.1400f0310
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140250a9a
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x20]
cmp rcx, rdi
setne dl
call qword [case.0x1400ae9d9.0]
and qword [rdi + 0x38], 0
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140112420
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax + rax]
test eax, eax
jne 0x140250b10
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x140250a61
lea rcx, str.The_call_to_Process32First_has_failed
lea rdx, [0x14044e636]
jmp 0x140250a3c
call fcn.140091ae4
cmp dword [rax], 5
jbe 0x140250b3f
lea rcx, str.Iterating_processes
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14044e612]
mov rcx, rax
call fcn.140005f40
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140250c0d
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ae9d9.0]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [rax + rax]
test eax, eax
jne 0x140250b3f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x12
je 0x140250baa
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x140250a61
lea rcx, str.The_call_to_Process32Next_has_failed
lea rdx, [0x14044e636]
jmp 0x140250a3c
call fcn.140091ae4
cmp dword [rax], 5
jbe 0x140250bda
lea rcx, str.Ended_the_iterating_process
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14044e612]
mov rcx, rax
call fcn.140005f40
nop
lea rcx, [rsp + 0x40]
call fcn.1400f0310
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140250c06
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x1400ae9d9.0]
and qword [rdi + 0x38], 0
xor eax, eax
jmp 0x140250a9c
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xbad_function_call_void_]
nop dword [rax + rax]
int3