Function at 0x140029410
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x10b0
call fcn.14002e460
sub rsp, rax
mov rax, qword [0x140071080]
xor rax, rsp
mov qword [rsp + 0x10a0], rax
mov rbx, rcx
lea rdx, str._cs2__Waiting_for_cs2.exe...
lea rcx, [0x140072d00]
call fcn.14000cfd0
mov rcx, rax
call fcn.14000d280
mov ecx, 0x38
call fcn.14002dd58
mov qword [rsp + 0x38], rax
lea rcx, vtable.std::_Ref_count_obj2_class_pProcess_.0
xorps xmm0, xmm0
xor edx, edx
movups xmmword [rax], xmm0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov qword [rcx + 0x20], rdx
mov rdi, qword [rbx + 8]
mov qword [rbx], rcx
mov qword [rbx + 8], rax
test rdi, rdi
je 0x1400294d7
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400294d7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400294d7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
movabs rbp, 0x7fffffffc46535fe
movabs rsi, 0x7fffffffffffffff
nop dword [rax + rax]
mov rdi, qword [rbx]
call fcn.140028e70
mov dword [rdi], eax
test eax, eax
je 0x1400295be
mov ecx, eax
call fcn.140028af0
mov qword [rdi + 8], rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x140029600
lea rdx, str._cheat__Handle_Hijack_failed__falling_back_to_OpenProcess_method.
lea rcx, [0x140072d00]
call fcn.14000cfd0
mov rcx, rax
call fcn.14000d280
call fcn.140028e70
mov dword [rdi], eax
test eax, eax
je 0x1400295b4
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x20], 2
mov rcx, rax
mov qword [rdi + 8], rax
mov r8d, 0x7f8
lea rdx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rsp + 0xa0]
lea r8, [rsp + 0x70]
mov rcx, qword [rdi + 8]
mov r9d, 0x18
mov qword [rdi + 0x18], rdx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rsp + 0x78]
mov edx, dword [rdi]
mov qword [rdi + 0x20], rax
call fcn.1400290b0
mov qword [rdi + 0x10], rax
mov al, 1
jmp 0x1400295b6
xor al, al
test al, al
jne 0x14002965e
lea rcx, [rsp + 0x40]
call fcn.140025e80
mov rax, qword [rsp + 0x40]
cmp rax, rbp
jg 0x1400295ec
add rax, 0x3b9aca00
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.1400286b0
jmp 0x1400294f0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rsi
call fcn.1400286b0
jmp 0x1400294f0
lea r9, [rsp + 0x6c]
mov dword [rsp + 0x20], 2
mov r8d, 0x7f8
lea rdx, [rsp + 0x8a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov rdx, qword [rsp + 0x8a0]
lea r8, [rsp + 0x88]
mov rcx, qword [rdi + 8]
mov r9d, 0x18
mov qword [rdi + 0x18], rdx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov eax, dword [rsp + 0x90]
mov edx, dword [rdi]
mov qword [rdi + 0x20], rax
call fcn.1400290b0
mov qword [rdi + 0x10], rax
lea rdx, str._cs2__Attached_to_cs2.exe_n
lea rcx, [0x140072d00]
call fcn.14000cfd0
mov rcx, rax
call fcn.14000d280
nop dword [rax]
mov rcx, qword [rbx]
lea r8, str.client.dll
lea rdx, [rsp + 0x48]
call fcn.140029170
mov rcx, qword [rbx]
lea r8, str.engine2.dll
lea rdx, [rsp + 0x58]
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x10], xmm0
call fcn.140029170
cmp qword [rbx + 0x10], 0
movups xmm0, xmmword [rax]
movups xmmword [rbx + 0x20], xmm0
je 0x1400296c6
mov rax, qword [rbx + 0x20]
test rax, rax
jne 0x140029715
lea rcx, [rsp + 0x38]
call fcn.140025e80
mov rax, qword [rsp + 0x38]
cmp rax, rbp
jg 0x1400296e7
add rax, 0x3b9aca00
mov qword [rsp + 0x30], rax
jmp 0x1400296ec
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x30]
call fcn.1400286b0
lea rdx, str._cs2__Failed_to_find_module_client.dll_engine2.dll__waiting_for_the_game_to_load_it...
lea rcx, [0x140072d00]
call fcn.14000cfd0
mov rcx, rax
call fcn.14000d280
mov rax, qword [rbx + 0x20]
cmp qword [rbx + 0x10], 0
je 0x140029680
test rax, rax
je 0x140029680
mov rcx, qword [rbx]
lea rdx, [rbx + 0x30]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rdx, qword [rbx + 0x20]
add rdx, qword [0x140071d18]
mov rcx, qword [rbx]
call fcn.14002ab80
mov qword [rbx + 0x40], rax
mov rcx, qword [rsp + 0x10a0]
xor rcx, rsp
call fcn.14002dd30
lea r11, [rsp + 0x10b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret