Function at 0x180001fc0
Capabilities:
Enumerate process modules
Parse pe header

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x180006008]
xor rax, rsp
mov qword [rbp + 0x300], rax
mov qword [rsp + 0x30], rdx
mov rdi, rcx
mov edx, dword [0x1800140d8]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rbp - 0x5c]
mov r8d, 0x234
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x180002052
nop dword [rax]
mov rdx, rdi
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x180002062
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x180002030
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800022c6
xorps xmm0, xmm0
mov qword [rsp + 0x460], rsi
mov qword [rsp + 0x428], r12
lea rcx, [rbp + 0x200]
mov r12, qword [rbp - 0x48]
xor edx, edx
mov r8d, pe_nt_image_headers64
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1800140e8]
lea r8, [rsp + 0x60]
xor esi, esi
mov rdx, r12
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000237f
mov eax, 0x5a4d
cmp word [rsp + 0x60], ax
jne 0x18000237f
movsxd rdx, dword [rbp - 0x64]
lea r8, [rbp + 0x200]
mov rcx, qword [0x1800140e8]
add rdx, r12
mov r9d, pe_nt_image_headers64
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000237f
cmp dword [rbp + 0x200], 0x4550
jne 0x18000237f
mov ebx, dword [rbp + 0x278]
test ebx, ebx
je 0x18000237f
mov eax, dword [rbp + 0x27c]
test eax, eax
je 0x18000237f
mov qword [rsp + 0x420], r13
lea r9d, [rsi + 4]
mov qword [rsp + 0x418], r14
mov r8d, 0x3000
mov edx, eax
mov qword [rsp + 0x410], r15
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, qword [0x1800140e8]
mov r9d, r14d
mov rdi, rax
mov qword [rsp + 0x50], rbx
lea rax, [rbx + r12]
mov qword [rsp + 0x20], rsi
mov rdx, rax
mov qword [rsp + 0x48], rax
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x18000228b
mov eax, dword [rdi + 0x24]
mov r15, rdi
mov r13d, dword [rdi + 0x20]
sub r15, rbx
add rax, r15
add r13, r15
mov qword [rsp + 0x38], rax
mov ebx, esi
mov eax, dword [rdi + 0x1c]
add rax, r15
mov qword [rsp + 0x40], rax
cmp dword [rdi + 0x18], ebx
jbe 0x18000228b
nop word [rax + rax]
mov r14d, ebx
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x1e0], rsi
mov qword [rbp + 0x1f0], rsi
mov qword [rbp + 0x1f8], 0xf
mov edx, dword [r13 + r14*4]
add rdx, r15
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x180002200
lea rcx, [rbp + 0x1e0]
call fcn.180002740
cmp qword [rbp + 0x1f8], 0x10
lea rcx, [rbp + 0x1e0]
mov rdx, qword [rsp + 0x30]
cmovae rcx, qword [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1800022e0
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0x10
jb 0x180002280
mov rcx, qword [rbp + 0x1e0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000227b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000236c
call fcn.180002acc
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x1800021d0
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov r14, qword [rsp + 0x418]
mov r13, qword [rsp + 0x420]
mov r15, qword [rsp + 0x410]
mov rsi, qword [rsp + 0x460]
mov r12, qword [rsp + 0x428]
mov rcx, qword [rbp + 0x300]
xor rcx, rsp
call fcn.180002a70
add rsp, 0x430
pop rdi
pop rbx
pop rbp
ret
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
movzx eax, word [rax + r14*2]
mov ebx, dword [rcx + rax*4]
add rbx, r12
cmp rbx, qword [rsp + 0x48]
jb 0x180002321
mov rax, qword [rsp + 0x50]
add rax, qword [rsp + 0x58]
add rax, r12
cmp rbx, rax
ja 0x180002321
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x180002334
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, ebx
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0x10
jb 0x180002378
mov rcx, qword [rbp + 0x1e0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180002373
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180002373
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002acc
mov eax, esi
jmp 0x18000229e
xor eax, eax
jmp 0x1800022b6