Function at 0x140001290
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x140033040]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rdi, rcx
mov qword [rbp - 0x58], rcx
mov dword [rbp + 0x1f8], 0x5074
xor r13d, r13d
mov dword [rbp + 0x200], r13d
mov dword [rbp + 0x208], 0x1fffff
mov rcx, qword [0x140036108]
test rcx, rcx
je 0x140001658
mov rax, qword [rcx]
lea r9, [rbp + 0x1f8]
lea r8, [rbp + 0x200]
lea rdx, [rbp + 0x208]
call qword [rax + 0x10]
mov r14, rax
mov dword [rsp + 0x68], 0x40
mov dword [rsp + 0x70], 0x3000
mov rcx, qword [rdi + 0x10]
inc rcx
mov qword [rsp + 0x60], rcx
mov qword [rbp + 0x1f0], r13
mov qword [rsp + 0x78], rax
mov rcx, qword [0x140036148]
test rcx, rcx
je 0x14000165e
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea r8, [rbp + 0x1f0]
lea rdx, [rsp + 0x78]
call qword [rax + 0x10]
mov r12, rax
mov rcx, qword [rdi + 0x10]
inc rcx
call fcn.140006be0
mov rbx, rax
mov r8, qword [rdi + 0x10]
inc r8
xor edx, edx
mov rcx, rax
call fcn.140021b50
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400013ae
mov r8, qword [rdi]
mov rdx, qword [rdi + 0x10]
inc rdx
mov rcx, rbx
call fcn.14000df2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x78], r13
mov rax, qword [rdi + 0x10]
inc rax
mov qword [rbp + 0x1f0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r14
mov rcx, qword [0x140036188]
test rcx, rcx
je 0x140001664
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0x1f0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
call qword [rax + 0x10]
lea rcx, [0x140036008]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r15, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x4c]
call fcn.140021b50
mov dword [rbp - 0x50], 0x238
mov edx, 0x5074
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001494
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x140001494
nop dword [rax]
mov edx, 0x5074
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001494
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
je 0x140001470
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
mov esi, eax
test eax, eax
je 0x1400014d7
nop word [rax + rax]
lea rdx, [0x140036008]
lea rcx, [rbp - 0x20]
call fcn.14000de5c
test eax, eax
je 0x1400014d7
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
mov esi, eax
test eax, eax
jne 0x1400014b0
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400014ea
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x28]
test esi, esi
cmove rax, r13
sub r15, rax
mov rcx, qword [0x140036000]
add rcx, r15
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x78], r13
mov qword [rbp + 0x1f0], r13
mov qword [rbp + 0x210], r13
mov qword [rbp + 0x218], r13
mov dword [rsp + 0x70], r13d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r13
mov dword [rsp + 0x68], 0x1fffff
lea rax, [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov rcx, qword [0x140036288]
test rcx, rcx
je 0x14000164c
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x58], rdx
lea rdx, [rbp + 0x1f0]
mov qword [rsp + 0x50], rdx
lea rdx, [rbp + 0x210]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x218]
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x60]
call qword [rax + 0x10]
cmp qword [rsp + 0x60], r13
je 0x1400015c7
test eax, eax
jns 0x1400015cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000160d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140001608
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140001652
mov rcx, r8
call fcn.140006b9c
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140006b50
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140005d64
nop
call fcn.14000dd0c
nop
call fcn.140005d64
int3
call fcn.140005d64
int3
call fcn.140005d64
int3