Function at 0x1401b1770
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 [0x1403e3c28]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
jne 0x1401b17ac
xor al, al
jmp 0x1401b1ab5
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1401a0790
nop
lea rcx, [rsp + 0x28]
call fcn.1401a0940
test al, al
je 0x1401b1aa6
mov dword [rsp + 0x40], 0x130
lea rcx, [rsp + 0x28]
call fcn.1400ab6e0
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1401b1aa6
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.14019bbd0
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.1401a0790
nop
lea rcx, [rsp + 0x20]
call fcn.1400ab6e0
cmp qword [rax], 0
je 0x1401b19a9
lea rcx, [rsp + 0x20]
call fcn.1400ab6e0
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.1401a0820
mov r8, rbx
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0xb0]
call fcn.140196320
nop
mov rdx, rax
lea rcx, [rbp + 0x70]
call fcn.14019bbd0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x1401b18ec
inc rdx
mov rcx, qword [rbp + 0xb0]
cmp rdx, 0x1000
jb 0x1401b18e7
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b1a30
mov rcx, r8
call fcn.140096c70
mov qword [rbp + 0xc0], rdi
mov qword [rbp + 0xc8], sendto
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 0x1401b194b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov eax, 1
je 0x1401b194d
mov eax, edi
mov rdx, qword [rbp + 0x88]
test al, al
jne 0x1401b1a3e
cmp rdx, 0x10
jb 0x1401b1993
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x1401b198e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b1a37
mov rcx, r8
call fcn.140096c70
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], sendto
mov byte [rbp + 0x70], 0
lea rcx, [rsp + 0x20]
call fcn.1401a07c0
lea rcx, [rsp + 0x28]
call fcn.1400ab6e0
lea rdx, [rsp + 0x40]
mov rcx, qword [rax]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1401b1820
xor bl, bl
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x1401b1a15
inc rdx
mov rcx, qword [rbp + 0x90]
cmp rdx, 0x1000
jb 0x1401b1a10
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b1a9f
mov rcx, r8
call fcn.140096c70
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xa8], sendto
mov byte [rbp + 0x90], 0
jmp 0x1401b1aa8
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 0x1401b1a71
inc rdx
mov rcx, qword [rbp + 0x70]
cmp rdx, 0x1000
jb 0x1401b1a6c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1401b1a98
mov rcx, r8
call fcn.140096c70
mov qword [rbp + 0x80], rdi
mov qword [rbp + 0x88], sendto
mov byte [rbp + 0x70], 0
lea rcx, [rsp + 0x20]
call fcn.1401a07c0
mov bl, 1
jmp 0x1401b19d4
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.1401a07c0
movzx eax, bl
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1401f11e0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret