Function at 0x18000f140
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.1800ae180
sub rsp, rax
mov rax, qword [0x180120040]
xor rax, rsp
mov qword [rbp + 0x21a0], rax
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x40]
mov r8d, 0x2000
lea rdx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x18000f213
mov edi, r13d
test dword [rsp + 0x40], 0xfffffff8
jbe 0x18000f213
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 0x18000f206
mov rdx, r14
lea rcx, [rbp + 0x2090]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x18000f28b
inc edi
mov eax, dword [rsp + 0x40]
shr eax, 3
cmp edi, eax
jb 0x18000f1c0
mov ecx, dword [0x180148094]
cmp dword [0x18014a598], ecx
cmovg ecx, dword [0x18014a598]
cmp ecx, 0xfffffffe
jl 0x18000f24d
mov qword [rsp + 0x20], r14
lea r9, str.acquireGameDirectoryPath:_Failed_to_find_game_file:__s_returning_empty_string
mov r8d, 0x1d
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICFileOpFileOp.cpp
lea ecx, [r8 - 0x1f]
call fcn.1800aa8b0
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.1800acfe0
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 0x18000f2b0
lea rdx, [rbp + 0x2090]
lea rcx, [rsp + 0x50]
call fcn.180002e20
nop
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x18000f358
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1800f8594]
lea rdx, [0x1800f8596]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax - 0x70], 1
inc rcx
cmp rcx, rdx
jne 0x18000f310
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 0x18000f353
cmp r8, rbx
je 0x18000f358
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x70], 0
je 0x18000f340
sub r8, rbx
jmp 0x18000f35f
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.180002e20
nop
mov ecx, dword [0x180148094]
cmp dword [0x18014a598], ecx
cmovg ecx, dword [0x18014a598]
test ecx, ecx
js 0x18000f3ea
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, 0x17
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICFileOpFileOp.cpp
xor ecx, ecx
call fcn.1800aa8b0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x18010b280]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18000f262
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000f44b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000f44b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad3b4
jmp 0x18000f262