Function at 0x140023230
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.1400287b0
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.14002a3f0
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 0x140023492
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 0x140023488
xor ebx, ebx
mov dword [rsp + 0x34], ebx
test dword [rsp + 0x40], 0xfffffff8
jbe 0x140023488
mov r12, qword [rsp + 0x78]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1f90]
call fcn.14002a3f0
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 0x140023473
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 0x140023370
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 0x140023429
test r12, r12
je 0x14002350a
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.14002a5b0
mov rbx, rax
test rax, rax
je 0x140023423
nop word [rax + rax]
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.14002a630
test eax, eax
je 0x1400234fd
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call fcn.14002a5b0
mov rbx, rax
test rax, rax
jne 0x1400233f0
movzx r14d, byte [rsp + 0x30]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140023465
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14002345d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023517
mov rcx, rdi
call fcn.140027b1c
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 0x140023310
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x1400234c9
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400234c1
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002351d
mov rcx, rdi
call fcn.140027b1c
movzx eax, r14b
mov rcx, qword [rbp + 0x20a0]
xor rcx, rsp
call fcn.140027ad0
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 0x140023423
mov r14b, 1
mov byte [rsp + 0x30], r14b
jmp 0x140023429
call fcn.14002e468
nop
call fcn.14002e468
int3