Function at 0x180018cd0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
lea rbp, [rsp - 0x21b0]
mov eax, 0x22b0
call fcn.1800780b0
sub rsp, rax
mov rax, qword [0x1800b7040]
xor rax, rsp
mov qword [rbp + 0x21a0], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x48]
mov r8d, 0x2000
lea rdx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x180018da3
mov edi, r13d
test dword [rsp + 0x48], 0xfffffff8
jbe 0x180018da3
nop dword [rax]
nop word [rax + rax]
mov eax, edi
mov rbx, qword [rbp + rax*8 + 0x90]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 0x104
lea r8, [rbp + 0x2090]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x180018d96
mov rdx, r14
lea rcx, [rbp + 0x2090]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x180018e1b
inc edi
mov eax, dword [rsp + 0x48]
shr eax, 3
cmp edi, eax
jb 0x180018d50
mov ecx, dword [0x1800dee9c]
cmp dword [0x1800e0508], ecx
cmovg ecx, dword [0x1800e0508]
cmp ecx, 0xfffffffe
jl 0x180018ddd
mov qword [rsp + 0x20], r14
lea r9, str.acquireGameDirectoryPath:_Failed_to_find_game_file:__s_returning_empty_string
mov r8d, 0x2a
lea rdx, str.C:UsersTOTOMAN2_source_reposMetroExodus_EE_QolsModFileOpFileOp.cpp
lea ecx, [r8 - 0x2c]
call fcn.180060b60
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r13b
mov rax, rsi
mov rcx, qword [rbp + 0x21a0]
xor rcx, rsp
call fcn.180076f10
mov rbx, qword [rsp + 0x22f0]
add rsp, 0x22b0
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
lea rax, [rbp + 0x2090]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x180018e40
lea rdx, [rbp + 0x2090]
lea rcx, [rsp + 0x50]
call fcn.18000e830
nop
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x180018ee8
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x18007fae8]
lea rdx, [0x18007faea]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x70], 1
inc rcx
cmp rcx, rdx
jne 0x180018ea0
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x70], 0
jne 0x180018ee3
cmp r8, rbx
je 0x180018ee8
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x70], 0
je 0x180018ed0
sub r8, rbx
jmp 0x180018eef
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18000e830
nop
mov ecx, dword [0x1800dee9c]
cmp dword [0x1800e0508], ecx
cmovg ecx, dword [0x1800e0508]
test ecx, ecx
js 0x180018f7a
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x2090]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str.acquireGameDirectoryPath:_found_path_for__s_:__s_directory_is:__s
mov r8d, 0x22
lea rdx, str.C:UsersTOTOMAN2_source_reposMetroExodus_EE_QolsModFileOpFileOp.cpp
xor ecx, ecx
call fcn.180060b60
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x1800a88c0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x180018df2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180018fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180018fdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800772e4
jmp 0x180018df2