Function at 0x1401f18e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1404f4fb8]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
jne 0x1401f191c
xor al, al
jmp 0x1401f1c25
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1401f94b0
nop
lea rcx, [rsp + 0x28]
call fcn.1401f9740
test al, al
je 0x1401f1c16
mov dword [rsp + 0x40], 0x130
lea rcx, [rsp + 0x28]
call fcn.14003ba80
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1401f1c16
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1401eb840
nop
mov ebx, 0xffffffff
xor edi, edi
nop dword [rax]
nop dword [rax + rax]
mov dword [rsp + 0x30], 0x104
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1401f94b0
nop
lea rcx, [rsp + 0x20]
call fcn.14003ba80
cmp qword [rax], 0
je 0x1401f1b19
lea rcx, [rsp + 0x20]
call fcn.14003ba80
lea r9, [rsp + 0x30]
lea r8, [rbp + 0xd0]
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
lea rcx, [rsp + 0x20]
call fcn.1401f95a0
mov r8, rbx
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xb0]
call fcn.1401f8ac0
nop
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.1401eb840
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1401f1a5c
inc rdx
mov rcx, qword [rbp + 0xb0]
cmp rdx, 0x1000
jb 0x1401f1a57
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401f1ba0
mov rcx, r8
call fcn.140233b10
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xb0], 0
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rcx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
cmp r8, qword [rbp + 0x80]
jne 0x1401f1abb
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov eax, 1
je 0x1401f1abd
mov eax, edi
mov rdx, qword [rbp + 0x88]
test al, al
jne 0x1401f1bae
cmp rdx, 0x10
jb 0x1401f1b03
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x1401f1afe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401f1ba7
mov rcx, r8
call fcn.140233b10
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
lea rcx, [rsp + 0x20]
call fcn.1401f94e0
lea rcx, [rsp + 0x28]
call fcn.14003ba80
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1401f1990
xor bl, bl
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1401f1b85
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
jb 0x1401f1b80
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401f1c0f
mov rcx, r8
call fcn.140233b10
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x90], 0
jmp 0x1401f1c18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdx, 0x10
jb 0x1401f1be1
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x1401f1bdc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401f1c08
mov rcx, r8
call fcn.140233b10
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x70], 0
lea rcx, [rsp + 0x20]
call fcn.1401f94e0
mov bl, 1
jmp 0x1401f1b44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor bl, bl
lea rcx, [rsp + 0x28]
call fcn.1401f94e0
movzx eax, bl
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140233ef0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret