Function at 0x140002b00
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rsp + 0x28], rax
nop
lea rdx, str.Left_4_Dead_2___Direct3D_9
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov ecx, 0x32
mov qword [0x1400084a0], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400084a0]
test rcx, rcx
je 0x140002b20
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.___Game_ProcessID_found:
call fcn.140003090
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140003260]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
mov dword [0x1400084b0], r8d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, str.Left_4_Dead_2___Direct3D_9
xor ecx, ecx
mov qword [0x1400084a8], rax
call qword [sym.imp.USER32.dll_FindWindowW]
cmp qword [0x1400084a8], 0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov qword [0x1400084a0], rax
je 0x140002be4
lea rdx, str.___hProcess:
call fcn.140003090
mov rdx, qword [0x1400084a8]
jmp 0x140002bf2
lea rdx, str.____hProcess_error
call fcn.140003090
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x140003260]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [0x1400056c3]
call fcn.140003090
mov rcx, rax
lea rdx, [0x140003260]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rbx, [0x140008bf0]
lea rdi, str.client.dll
lea rsi, str.engine.dll
mov edx, dword [0x1400084b0]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [0x140008bb8], rax
mov dword [0x140008bc0], 0x438
cmp rax, 0xffffffffffffffff
je 0x140002cd5
lea rdx, [0x140008bc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140002cc8
nop
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
movzx eax, word [rbx + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x140002cb0
add rcx, 2
cmp rcx, 0xb
je 0x140002cc8
movzx eax, word [rbx + rcx*2]
cmp ax, word [rdi + rcx*2]
je 0x140002c90
mov rcx, qword [0x140008bb8]
lea rdx, [0x140008bc0]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140002c80
mov rcx, qword [0x140008bb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x140008bd8]
mov ecx, 0x18
mov edx, dword [0x1400084b0]
mov dword [0x1400084b4], eax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [0x140008bb8], rax
mov dword [0x140008bc0], 0x438
cmp rax, 0xffffffffffffffff
je 0x140002d75
lea rdx, [0x140008bc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140002d68
nop dword [rax]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
movzx ecx, word [rbx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x140002d50
add rax, 2
cmp rax, 0xb
je 0x140002d68
movzx ecx, word [rbx + rax*2]
cmp cx, word [rsi + rax*2]
je 0x140002d30
mov rcx, qword [0x140008bb8]
lea rdx, [0x140008bc0]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140002d20
mov rcx, qword [0x140008bb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x140008bd8]
mov ecx, 0x32
mov dword [0x1400084b8], eax
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1400084b4], 0
jne 0x140002da2
cmp dword [0x1400084b8], 0
je 0x140002c43
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140003320
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret