Function at 0x140020fd0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20b0]
mov eax, 0x21b0
call fcn.1400251d0
sub rsp, rax
mov rax, qword [0x140063030]
xor rax, rsp
mov qword [rbp + 0x20a0], rax
mov ebx, edx
xor r14b, r14b
mov byte [rsp + 0x30], r14b
mov edx, 3
lea rcx, [rsp + 0x68]
call fcn.1400140c0
nop
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp - 0x70]
call fcn.140026e20
mov dword [rsp + 0x40], 0
mov r8d, ebx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x68]
test rax, rax
je 0x140021232
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x40]
mov r8d, 0x2000
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x140021228
xor ebx, ebx
mov dword [rsp + 0x34], ebx
test dword [rsp + 0x40], 0xfffffff8
jbe 0x140021228
mov r12, qword [rsp + 0x78]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1f90]
call fcn.140026e20
mov r9d, 0x104
lea r8, [rbp + 0x1f90]
mov rdx, qword [rbp + rbx*8 - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x140021213
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0xf
lea rax, [rbp + 0x1f90]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140021110
lea rdx, [rbp + 0x1f90]
lea rcx, [rsp + 0x48]
call fcn.1400019f0
lea rsi, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rsi, rdi
lea r13, [rsp + 0x48]
mov rdi, qword [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r13, rdi
mov rax, qword [rsp + 0x58]
cmp r12, rax
ja 0x1400211c9
test r12, r12
je 0x1400212aa
sub rax, r12
lea r14, [rax + r13]
movsx r15d, byte [rsi]
lea r8, [r14 + 1]
sub r8, r13
mov edx, r15d
mov rcx, r13
call fcn.140026fe0
mov rbx, rax
test rax, rax
je 0x1400211c3
nop word [rax + rax]
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.140027060
test eax, eax
je 0x14002129d
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call fcn.140026fe0
mov rbx, rax
test rax, rax
jne 0x140021190
movzx r14d, byte [rsp + 0x30]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140021205
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400211fd
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400212b7
mov rcx, rdi
call fcn.14002453c
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x34]
inc ebx
mov dword [rsp + 0x34], ebx
mov eax, dword [rsp + 0x40]
shr eax, 3
cmp ebx, eax
jb 0x1400210b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140021269
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140021261
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400212bd
mov rcx, rdi
call fcn.14002453c
movzx eax, r14b
mov rcx, qword [rbp + 0x20a0]
xor rcx, rsp
call fcn.1400244f0
lea r11, [rsp + 0x21b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x1400211c3
mov r14b, 1
mov byte [rsp + 0x30], r14b
jmp 0x1400211c9
call fcn.14002ae98
nop
call fcn.14002ae98
int3