Function at 0x140023a70
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.140029290
sub rsp, rax
mov rax, qword [0x14006c030]
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.1400140d0
nop
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp - 0x70]
call fcn.14002aed0
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 0x140023cd2
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 0x140023cc8
xor ebx, ebx
mov dword [rsp + 0x34], ebx
test dword [rsp + 0x40], 0xfffffff8
jbe 0x140023cc8
mov r12, qword [rsp + 0x78]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1f90]
call fcn.14002aed0
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 0x140023cb3
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 0x140023bb0
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 0x140023c69
test r12, r12
je 0x140023d4a
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.14002b090
mov rbx, rax
test rax, rax
je 0x140023c63
nop word [rax + rax]
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.14002b110
test eax, eax
je 0x140023d3d
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call fcn.14002b090
mov rbx, rax
test rax, rax
jne 0x140023c30
movzx r14d, byte [rsp + 0x30]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140023ca5
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140023c9d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023d57
mov rcx, rdi
call fcn.1400285fc
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 0x140023b50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140023d09
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140023d01
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023d5d
mov rcx, rdi
call fcn.1400285fc
movzx eax, r14b
mov rcx, qword [rbp + 0x20a0]
xor rcx, rsp
call fcn.1400285b0
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 0x140023c63
mov r14b, 1
mov byte [rsp + 0x30], r14b
jmp 0x140023c69
call fcn.14002ef48
nop
call fcn.14002ef48
int3