Function at 0x1402389c0
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 [0x140601e40]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
jne 0x1402389fc
xor al, al
jmp 0x140238d05
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140212710
nop
lea rcx, [rsp + 0x28]
call fcn.140213330
test al, al
je 0x140238cf6
mov dword [rsp + 0x40], 0x130
lea rcx, [rsp + 0x28]
call fcn.14003dad0
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140238cf6
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.14022d8d0
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.140212710
nop
lea rcx, [rsp + 0x20]
call fcn.14003dad0
cmp qword [rax], 0
je 0x140238bf9
lea rcx, [rsp + 0x20]
call fcn.14003dad0
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.140212990
mov r8, rbx
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xb0]
call fcn.14024bc40
nop
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.14022d8d0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x140238b3c
inc rdx
mov rcx, qword [rbp + 0xb0]
cmp rdx, 0x1000
jb 0x140238b37
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140238c80
mov rcx, r8
call fcn.140283db0
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], 0xf
cmova rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rcx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
cmp r8, qword [rbp + 0x80]
jne 0x140238b9b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov eax, 1
je 0x140238b9d
mov eax, edi
mov rdx, qword [rbp + 0x88]
test al, al
jne 0x140238c8e
cmp rdx, 0xf
jbe 0x140238be3
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x140238bde
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140238c87
mov rcx, r8
call fcn.140283db0
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.1402128b0
lea rcx, [rsp + 0x28]
call fcn.14003dad0
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140238a70
xor bl, bl
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140238c65
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
jb 0x140238c60
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140238cef
mov rcx, r8
call fcn.140283db0
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x90], 0
jmp 0x140238cf8
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, 0xf
jbe 0x140238cc1
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x140238cbc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140238ce8
mov rcx, r8
call fcn.140283db0
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.1402128b0
mov bl, 1
jmp 0x140238c24
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.1402128b0
movzx eax, bl
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140284180
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret