Function at 0x140023240
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.1400287c0
sub rsp, rax
mov rax, qword [0x14006b030]
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.1400140a0
nop
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp - 0x70]
call fcn.14002a400
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 0x1400234a2
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 0x140023498
xor ebx, ebx
mov dword [rsp + 0x34], ebx
test dword [rsp + 0x40], 0xfffffff8
jbe 0x140023498
mov r12, qword [rsp + 0x78]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1f90]
call fcn.14002a400
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 0x140023483
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 0x140023380
lea rdx, [rbp + 0x1f90]
lea rcx, [rsp + 0x48]
call fcn.1400019d0
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 0x140023439
test r12, r12
je 0x14002351a
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.14002a5c0
mov rbx, rax
test rax, rax
je 0x140023433
nop word [rax + rax]
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.14002a640
test eax, eax
je 0x14002350d
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call fcn.14002a5c0
mov rbx, rax
test rax, rax
jne 0x140023400
movzx r14d, byte [rsp + 0x30]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140023475
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14002346d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023527
mov rcx, rdi
call fcn.140027b2c
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 0x140023320
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x1400234d9
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400234d1
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002352d
mov rcx, rdi
call fcn.140027b2c
movzx eax, r14b
mov rcx, qword [rbp + 0x20a0]
xor rcx, rsp
call fcn.140027ae0
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 0x140023433
mov r14b, 1
mov byte [rsp + 0x30], r14b
jmp 0x140023439
call fcn.14002e478
nop
call fcn.14002e478
int3