Function at 0x14021bb90
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14069f448]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov qword [rsp + 0x68], r8
mov esi, edx
mov rbx, rcx
mov qword [rbp - 0x60], rcx
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x14021bc31
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14021bc25
mov r14d, 0x1000
inc rdx
cmp rdx, r14
mov rcx, qword [rbx]
jb 0x14021bc20
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14021bf2b
mov rcx, r8
call fcn.140213ea4
and qword [rbx + 0x10], 0
xor eax, eax
jmp 0x14021bec3
mov dword [rbp - 0x50], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
mov rcx, r14
call sub.KERNEL32.dll_Module32First
test eax, eax
jne 0x14021bc64
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14021bbe9
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x58], rax
xor esi, esi
mov qword [rsp + 0x38], rsi
mov r14d, 0x1000
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
and qword [rbp + 0x200], 0
and qword [rbp + 0x208], 0
lea rax, [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14021bca8
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1f0]
call fcn.140004b9c
mov r13, qword [rbx + 0x10]
mov rcx, rbx
mov qword [rsp + 0x48], rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14021bcdd
mov rcx, qword [rbx]
mov qword [rsp + 0x48], rcx
lea r15, [rbp + 0x1f0]
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
setae byte [rsp + 0x30]
mov r12, qword [rbp + 0x1f0]
cmovae r15, r12
mov rax, qword [rbp + 0x200]
cmp r13, rax
ja 0x14021bd74
sub rax, r13
test r13, r13
jne 0x14021bd17
xor esi, esi
jmp 0x14021bd78
inc rax
add rax, r15
mov qword [rsp + 0x60], rax
movsx ecx, byte [rcx]
mov dword [rsp + 0x40], ecx
mov r8, rax
sub r8, r15
mov edx, ecx
mov rcx, r15
jmp 0x14021bd60
mov r8, r13
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14021be42
inc rsi
mov r8, qword [rsp + 0x60]
sub r8, rsi
mov edx, dword [rsp + 0x40]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rsi, rax
jne 0x14021bd36
mov rdx, qword [rbp + 0x208]
or rsi, 0xffffffffffffffff
cmp byte [rsp + 0x30], 0
je 0x14021bdac
inc rdx
mov rax, r12
cmp rdx, r14
jb 0x14021bda4
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14021bf24
mov rcx, r12
call fcn.140213ea4
cmp rsi, 0xffffffffffffffff
je 0x14021bf04
mov rsi, qword [rbp - 0x38]
mov eax, dword [rbp - 0x30]
add rax, rsi
cmp rsi, rax
jae 0x14021be64
mov r13, qword [rsp + 0x58]
mov r9d, 0x30
lea r8, [rsp + 0x70]
mov rdx, rsi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x14021be51
cmp dword [rbp - 0x70], r14d
jne 0x14021be51
mov rax, qword [rsp + 0x68]
cmp qword [rbp - 0x78], rax
jb 0x14021be51
cmp dword [rbp - 0x6c], 0x40
jne 0x14021be51
mov r15, rsi
lea r12, [rsi + rax]
cmp rsi, r12
jae 0x14021befa
and qword [rsp + 0x20], 0
mov r9d, 1
lea r8, [rsp + 0x31]
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14021be51
cmp byte [rsp + 0x31], 0
jne 0x14021be51
inc r15
cmp r15, r12
jmp 0x14021be0c
sub rsi, r15
mov rdx, qword [rbp + 0x208]
jmp 0x14021bd78
add rsi, r14
mov eax, dword [rbp - 0x30]
add rax, qword [rbp - 0x38]
cmp rsi, rax
jb 0x14021bdce
mov rsi, qword [rsp + 0x38]
test rsi, rsi
je 0x14021bf09
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14021bebb
inc rdx
mov rcx, qword [rbx]
cmp rdx, r14
jb 0x14021beb6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14021bf2b
mov rcx, r8
call fcn.140213ea4
and qword [rbx + 0x10], 0
mov rax, rsi
mov byte [rbx], 0
mov qword [rbx + 0x18], recv
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1402145d0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x38], rsi
jmp 0x14021be69
mov rsi, qword [rsp + 0x38]
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_Module32Next
test eax, eax
je 0x14021be72
jmp 0x14021bc86
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