Function at 0x1400012e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor edi, edi
lea rdx, str.cod.exe
lea rcx, [rsp + 0x40]
call fcn.1400015f0
nop
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000139f
mov dword [rsp + 0x60], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001396
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x74]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x140001412
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001361
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x1400034e4]
lea rcx, [rsp + 0x20]
call fcn.1400015f0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14000147b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001476
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000139f
mov dword [rbp + 0x1a0], 0x104
lea r9, [rbp + 0x1a0]
lea r8, [rbp + 0x1b0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
mov rcx, rbx
test eax, eax
je 0x140001399
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x1b0]
jmp 0x1400013a6
call fcn.140001a04
movdqa xmm0, xmmword [0x1400034f0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400014d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400014ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400014ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001a04
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rdx, rbx
lea rcx, str.ProcessBase:__p_n
call fcn.1400010c0
add rbx, 0xcaf1998
je 0x14000153b
mov rdx, rbx
call fcn.140001830
test rax, rax
je 0x14000153b
mov r9d, 4
lea r8, [rbp + 0x1a0]
mov rdx, rax
call fcn.140001730
test eax, eax
jne 0x140001535
mov rdx, rbx
lea rcx, str.Failed_ReadVirtualMemory_for_address:__p__n
call fcn.1400010c0
jmp 0x14000153b
mov edi, dword [rbp + 0x1a0]
mov edx, edi
lea rcx, str.PlayerCount:__d_n
call fcn.1400010c0
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400019a0
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret