Function at 0x140001c20
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x5e0]
sub rsp, 0x6e0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x5d0], rax
mov rbx, rdx
mov r15, rcx
mov qword [rbp + 0x390], 0x238
xor r12d, r12d
mov dword [rbp + 0x398], r12d
mov qword [rbp + 0x3a0], r12
mov qword [rbp + 0x3a8], r12
mov qword [rbp + 0x3b0], r12
mov dword [rbp + 0x3b8], r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x3bc]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rbp + 0x5c4], eax
xor edx, edx
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rbp + 0x390]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax]
nop word [rax + rax]
lea rax, [rbp + 0x3bc]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x140001ce0
mov r10, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140001cfb
mov r9, qword [rbx]
mov r8, r10
cmp rcx, r10
cmovb r8, rcx
lea rdx, [rbp + 0x3bc]
test r8, r8
je 0x140001d34
lea rax, [rbp + 0x3bc]
sub r9, rax
nop dword [rax + rax]
movzx eax, word [r9 + rdx]
cmp ax, word [rdx]
jne 0x140001d3b
add rdx, 2
sub r8, 1
jne 0x140001d20
cmp r10, rcx
jb 0x140001d3b
jbe 0x140001d89
lea rdx, [rbp + 0x390]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001cd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [r15 + 0x10], r12d
xor al, al
mov rcx, qword [rbp + 0x5d0]
xor rcx, rsp
call fcn.140002af0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp + 0x398]
mov dword [r15 + 0x10], r8d
test r8d, r8d
je 0x140001d5c
mov edx, 1
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [r15 + 8], rax
test rax, rax
je 0x140001d5c
lea rdx, str.client.dll
lea rcx, [rsp + 0x30]
call fcn.140001ff0
mov qword [rsp + 0x50], 0x438
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], r12
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov edx, dword [r15 + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x30]
lea rax, [rbp - 0x80]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], r12w
jne 0x140001e50
lea r9, [rsp + 0x30]
cmp r14, 7
cmova r9, rsi
mov r8, rbx
cmp rdx, rbx
cmovb r8, rdx
lea rax, [rbp - 0x80]
test r8, r8
je 0x140001e95
lea rcx, [rbp - 0x80]
sub r9, rcx
movzx ecx, word [r9 + rax]
cmp cx, word [rax]
jne 0x140001e9c
add rax, 2
sub r8, 1
jne 0x140001e81
cmp rbx, rdx
jb 0x140001e9c
jbe 0x140001f01
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140001e42
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r12
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [r15 + 0x18], xmm0
cmp r14, 7
jbe 0x140001f27
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001f1f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001f1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x70]
mov qword [rsp + 0x28], rax
jmp 0x140001ec1
mov rcx, rsi
call fcn.140002b78
cmp qword [r15 + 0x18], r12
je 0x140001d5c
cmp qword [r15 + 0x20], r12
je 0x140001d5c
mov byte [r15 + 0x28], 1
mov al, 1
jmp 0x140001d5e