Function at 0x18001a650
Capabilities:
Enumerate process modules
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r12d, ecx
lea rcx, [rsp + 0x64]
xor r15d, r15d
xor edx, edx
mov r8d, 0x434
mov dword [rsp + 0x60], r15d
call fcn.180056c20
mov r13d, r15d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x34], r15d
lea r14d, [r15 + 8]
call fcn.18001bef0
mov ecx, 0x18
test eax, eax
cmovne r14d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x40], r15
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18001a7b5
test rax, rax
je 0x18001a7b5
lea r8, str._MBAE_DSI__Processing_modules_for_process__d.
mov r9d, r12d
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001a79e
lea rdx, [r15 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r15w
call fcn.180053398
lea rcx, [rsp + 0x40]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001a775
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, esi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._UnloadStaleInjection
lea rcx, str...DelStaleInjections.cpp
mov edx, 0x9b
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x18001a7ce
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001a7c8
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rdi, rdi
je 0x18001a7db
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18001a7f0
mov rcx, rbx
call fcn.180053a94
nop dword [rax + rax]
mov edx, r12d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x18001a8f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
je 0x18001a7f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x38], r14
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18001afd7
test rax, rax
je 0x18001afd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str._MBAE_DSI__Error_0x_X__Creating_tool_help_modules_snapshot_for_process__d.
mov edx, 0xffff
mov rcx, rbx
mov r9d, eax
mov dword [rsp + 0x20], r12d
call fcn.180053a4c
test eax, eax
jle 0x18001afc0
lea rdx, [r14 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r14w
call fcn.180053398
lea rcx, [rsp + 0x38]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001a8cb
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, esi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._UnloadStaleInjection
lea rcx, str...DelStaleInjections.cpp
mov edx, 0xcb
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x18001aff0
test rax, rax
je 0x18001a814
lea rdx, [rsp + 0x60]
mov rcx, rax
mov dword [rsp + 0x60], 0x438
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x18001afb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
mov ecx, 0x1000a
lea edi, [rax + 0x1e]
mov qword [rsp + 0x40], r14
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001aa0f
test rax, rax
je 0x18001aa0f
lea r9, [rbp + 0x190]
lea r8, str._MBAE_DSI__Module__s_of_process__d.
mov edx, 0xffff
mov rcx, rax
mov dword [rsp + 0x20], r12d
call fcn.180053a4c
test eax, eax
jle 0x18001a9f8
lea rdx, [r14 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r14w
call fcn.180053398
lea rcx, [rsp + 0x40]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001a9cf
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, edi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._UnloadStaleInjection
lea rcx, str...DelStaleInjections.cpp
mov edx, 0xa7
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001aa28
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001aa22
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rsi, rsi
je 0x18001aa35
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001aa42
mov rcx, rbx
call fcn.180053a94
mov ebx, r13d
test r13d, r13d
jne 0x18001ad04
lea rdx, [rbp - 0x70]
lea rcx, str.mbae64.dll
call fcn.180052ca8
test eax, eax
jne 0x18001aba5
mov r14, qword [rbp - 0x78]
lea r13d, [rax + 1]
mov qword [rsp + 0x48], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea edi, [rax + 0x1e]
xor eax, eax
mov qword [rsp + 0x40], rax
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001ab69
test rax, rax
je 0x18001ab69
lea r9, [rbp + 0x190]
lea r8, str._MBAE_DSI__64bit_Stale_Injection_detected__Module:__s_0x_p__of_process__d.
mov edx, 0xffff
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
call fcn.180053a4c
test eax, eax
jle 0x18001ab52
xor eax, eax
mov rcx, rbx
lea rdx, [rax - 2]
mov word [rbx + 0x1fffe], ax
call fcn.180053398
lea rcx, [rsp + 0x40]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001ab29
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, edi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._UnloadStaleInjection
lea rcx, str...DelStaleInjections.cpp
mov edx, 0xae
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001ab82
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001ab7c
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rsi, rsi
je 0x18001ab8f
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001ae65
mov rcx, rbx
call fcn.180053a94
jmp 0x18001ae65
lea rdx, [rbp - 0x70]
lea rcx, str.mbae.dll
call fcn.180052ca8
test eax, eax
jne 0x18001ad04
mov r14, qword [rbp - 0x78]
mov dword [rsp + 0x34], 1
lea r13d, [rax + 1]
mov qword [rsp + 0x48], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea edi, [rax + 0x1e]
xor eax, eax
mov qword [rsp + 0x58], rax
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001acc8
test rax, rax
je 0x18001acc8
lea r9, [rbp + 0x190]
lea r8, str._MBAE_DSI__32bit_Stale_Injection_detected__Module:__s_0x_p__of_process__d.
mov edx, 0xffff
mov rcx, rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
call fcn.180053a4c
test eax, eax
jle 0x18001acb1
xor eax, eax
mov rcx, rbx
lea rdx, [rax - 2]
mov word [rbx + 0x1fffe], ax
call fcn.180053398
lea rcx, [rsp + 0x58]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001ac88
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, edi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._UnloadStaleInjection
lea rcx, str...DelStaleInjections.cpp
mov edx, 0xb5
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001ace1
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001acdb
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rsi, rsi
je 0x18001acee
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001ae65
mov rcx, rbx
call fcn.180053a94
jmp 0x18001ae65
test ebx, ebx
jne 0x18001ae5b
lea rdx, [rbp - 0x70]
lea rcx, str.kernel32.dll
call fcn.180052ca8
test eax, eax
jne 0x18001ae5b
mov r14, qword [rbp - 0x78]
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x50], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea edi, [rax + 0x1e]
xor eax, eax
mov qword [rsp + 0x38], rax
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001ae24
test rax, rax
je 0x18001ae24
lea r8, str._MBAE_DSI__Storing_kernel32_module_address_0x_p_of_process__d.
mov r9, r14
mov edx, 0xffff
mov rcx, rax
mov dword [rsp + 0x20], r12d
call fcn.180053a4c
test eax, eax
jle 0x18001ae0d
xor r14d, r14d
mov rcx, rbx
lea rdx, [r14 - 2]
mov word [rbx + 0x1fffe], r14w
call fcn.180053398
lea rcx, [rsp + 0x38]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001ade4
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, edi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._UnloadStaleInjection
lea rcx, str...DelStaleInjections.cpp
mov edx, 0xbb
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001ae3d
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001ae37
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rsi, rsi
je 0x18001ae4a
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001ae57
mov rcx, rbx
call fcn.180053a94
mov ebx, dword [rsp + 0x30]
test r13d, r13d
je 0x18001ae70
mov r14, qword [rsp + 0x48]
cmp dword [rsp + 0x30], 0
jne 0x18001ae88
mov ebx, dword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x18001aa45
jmp 0x18001ae9d
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x50]
mov rdx, r14
mov ecx, r12d
call fcn.18001b040
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r14d, r14d
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x38], r14
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18001af82
test rax, rax
je 0x18001af82
lea r8, str._MBAE_DSI__No_more_modules.
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001af6b
lea rdx, [r14 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r14w
call fcn.180053398
lea rcx, [rsp + 0x38]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001af42
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, esi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str._UnloadStaleInjection
lea rcx, str...DelStaleInjections.cpp
mov edx, 0xc5
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x18001af9b
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001af95
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rdi, rdi
je 0x18001afa8
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18001afb5
mov rcx, rbx
call fcn.180053a94
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001b00a
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001afea
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rdi, rdi
je 0x18001affd
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18001b00a
mov rcx, rbx
call fcn.180053a94
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.180052be0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret