Function at 0x18000cd30
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1780]
mov eax, 0x1880
call fcn.1800c19a0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x18b8], rbx
mov qword [rsp + 0x18c0], rsi
mov qword [rsp + 0x18c8], rdi
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0x1770], rax
mov r12, rcx
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov eax, dword [rsp + 0x20]
shr eax, 2
xor ebx, ebx
mov r13d, ebx
mov edi, ebx
mov r14d, ebx
test eax, eax
je 0x18000d09e
lea r15, [rbp - 0x60]
mov ecx, eax
mov qword [rsp + 0x28], rcx
nop dword [rax]
mov r8d, dword [r15]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x18000d078
mov word [rbp + 0xfa0], bx
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rbp + 0xfa2]
call fcn.1800be330
mov r9d, 0x7d0
lea r8, [rbp + 0xfa0]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
lea rcx, [rbp + 0xfa0]
or rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000ce20
test eax, eax
jne 0x18000ce7d
test rdi, rdi
jne 0x18000ce48
lea rcx, str.psapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x18000ce7d
test r14, r14
jne 0x18000ce65
lea rdx, str.GetProcessImageFileNameW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x18000ce7d
mov r8d, 0x104
lea rdx, [rbp + 0xfa0]
mov rcx, rsi
call r14
mov ebx, 1
lea rcx, [rbp + 0xfa0]
or rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x18000ce90
test eax, eax
jle 0x18000d076
lea rcx, [rbp + 0xfa0]
call fcn.1800b5db4
lea rcx, [rbp + 0xfa0]
call fcn.18000ca20
test al, al
je 0x18000d076
mov r13d, 1
mov qword [rsp + 0x70], 7
xor eax, eax
mov qword [rsp + 0x68], rax
mov word [rsp + 0x58], ax
cmp word [rbp + 0xfa0], ax
jne 0x18000ceeb
mov r8d, eax
jmp 0x18000cf0b
lea rax, [rbp + 0xfa0]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18000cf00
lea rdx, [rbp + 0xfa0]
lea rcx, [rsp + 0x58]
call fcn.180005450
nop
mov qword [rsp + 0x50], 7
xor eax, eax
mov qword [rsp + 0x48], rax
mov word [rsp + 0x38], ax
xor r8d, r8d
lea rdx, [0x1801f3ee0]
lea rcx, [rsp + 0x38]
call fcn.180005450
nop
test ebx, ebx
je 0x18000cffd
lea rdx, [rbp + 0xfa0]
lea rcx, [rsp + 0x78]
call fcn.18000cae0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x18000cfa1
cmp qword [rsp + 0x50], 8
jb 0x18000cf7f
mov rcx, qword [rsp + 0x38]
call fcn.1800b5354
mov qword [rsp + 0x50], 7
xor eax, eax
mov qword [rsp + 0x48], rax
mov word [rsp + 0x38], ax
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1800146e0
cmp qword [rbp - 0x70], 8
jb 0x18000cfb2
mov rcx, qword [rsp + 0x78]
call fcn.1800b5354
xor ebx, ebx
mov eax, ebx
cmp qword [rsp + 0x48], rax
setne al
test eax, eax
jne 0x18000d015
cmp word [rbp + 0xfa0], bx
jne 0x18000cfd0
mov r8d, ebx
jmp 0x18000cfea
lea rax, [rbp + 0xfa0]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x18000cfe0
lea rdx, [rbp + 0xfa0]
lea rcx, [rsp + 0x38]
call fcn.180005450
jmp 0x18000d015
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180005100
xor ebx, ebx
lea r8, [rsp + 0x38]
mov rdx, qword [r12 + 8]
mov rcx, qword [r12]
call fcn.180013830
cmp rax, qword [r12 + 8]
jne 0x18000d03d
lea rdx, [rsp + 0x38]
mov rcx, r12
call fcn.180011bf0
nop
cmp qword [rsp + 0x50], 8
jb 0x18000d04f
mov rcx, qword [rsp + 0x38]
call fcn.1800b5354
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x38], bx
cmp qword [rsp + 0x70], 8
jb 0x18000d078
mov rcx, qword [rsp + 0x58]
call fcn.1800b5354
jmp 0x18000d078
xor ebx, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add r15, 4
dec qword [rsp + 0x28]
jne 0x18000cdc0
test rdi, rdi
je 0x18000d09e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, r13d
mov rcx, qword [rbp + 0x1770]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0x1880]
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