Function at 0x1400236f0
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.140028c80
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.140014120
nop
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp - 0x70]
call fcn.14002a960
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 0x140023952
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 0x140023948
xor ebx, ebx
mov dword [rsp + 0x34], ebx
test dword [rsp + 0x40], 0xfffffff8
jbe 0x140023948
mov r12, qword [rsp + 0x78]
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1f90]
call fcn.14002a960
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 0x140023933
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 0x140023830
lea rdx, [rbp + 0x1f90]
lea rcx, [rsp + 0x48]
call fcn.140001350
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 0x1400238e9
test r12, r12
je 0x1400239ca
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.14002a1f0
mov rbx, rax
test rax, rax
je 0x1400238e3
nop word [rax + rax]
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.14002ab00
test eax, eax
je 0x1400239bd
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call fcn.14002a1f0
mov rbx, rax
test rax, rax
jne 0x1400238b0
movzx r14d, byte [rsp + 0x30]
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140023925
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14002391d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400239d7
mov rcx, rdi
call fcn.140027ffc
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 0x1400237d0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x140023989
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140023981
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400239dd
mov rcx, rdi
call fcn.140027ffc
movzx eax, r14b
mov rcx, qword [rbp + 0x20a0]
xor rcx, rsp
call fcn.140027fa0
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 0x1400238e3
mov r14b, 1
mov byte [rsp + 0x30], r14b
jmp 0x1400238e9
call fcn.14002e938
nop
call fcn.14002e938
int3