Function at 0x18001b870
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov ecx, dword [0x1800a7590]
xor r12d, r12d
inc ecx
mov dword [rsp + 0x70], r12d
mov r15d, r12d
call fcn.18001c040
mov ecx, eax
mov dword [rsp + 0x70], eax
cmp eax, 0x102
jne 0x18001b9cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
mov qword [rsp + 0x78], r12
lea edi, [rax + 0x1e]
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001b98b
test rax, rax
je 0x18001b98b
lea r8, str._MBAE_DSI__Remote_stale_uninjection_thread_timeouted_
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001b974
lea rdx, [r12 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r12w
call fcn.180053398
lea rcx, [rsp + 0x78]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001b94b
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._WaitForCompletion
lea rcx, str...DelStaleInjections.cpp
mov edx, 0x127
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001b9a4
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001b99e
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 0x18001b9b1
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001b9be
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x70], 0x5b4
jmp 0x18001bc2a
cmp eax, 0xffffffff
jne 0x18001baf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
mov qword [rsp + 0x78], r12
lea edi, [rax + 0x1e]
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001bab9
test rax, rax
je 0x18001bab9
lea r8, str._MBAE_DSI__Remote_stale_uninjection_thread_finished_abruptly.
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001baa2
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r12w
call fcn.180053398
lea rcx, [rsp + 0x78]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001ba79
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._WaitForCompletion
lea rcx, str...DelStaleInjections.cpp
mov edx, 0x12c
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001bad2
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001bacc
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 0x18001badf
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001baec
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x70], 0x22a
jmp 0x18001bc2a
mov eax, dword [0x1800a7590]
sub eax, 0xffffff80
cmp ecx, eax
jne 0x18001bc2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
mov qword [rsp + 0x78], r12
lea edi, [rax + 0x1e]
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001bbef
test rax, rax
je 0x18001bbef
lea r8, str._MBAE_DSI__Remote_stale_uninjection_thread_handle_no_longer_valid.
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001bbd8
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r12w
call fcn.180053398
lea rcx, [rsp + 0x78]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001bbaf
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._WaitForCompletion
lea rcx, str...DelStaleInjections.cpp
mov edx, 0x131
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001bc08
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001bc02
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 0x18001bc15
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001bc22
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x70], 0x1a9f
mov ebp, r12d
nop dword [rax]
mov eax, ebp
lea r14, [rax*8]
mov rax, qword [0x1800a7588]
mov rcx, qword [r14 + rax]
test rcx, rcx
je 0x18001bdac
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x70], r12d
jne 0x18001bd9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
mov qword [rsp + 0x80], r12
lea edi, [rax + 0x1e]
call fcn.180053ad4
mov ecx, 0x2000a
mov rsi, rax
call fcn.180053ad4
mov rbx, rax
test rsi, rsi
je 0x18001bd62
test rax, rax
je 0x18001bd62
mov rax, qword [0x1800a7588]
lea r8, str._MBAE_DSI__Remote_stale_module_uninjection_for_handle__d___p_Failed_
mov r9d, ebp
mov rcx, qword [r14 + rax]
mov edx, 0xffff
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call fcn.180053a4c
test eax, eax
jle 0x18001bd4b
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r12w
call fcn.180053398
lea rcx, [rsp + 0x80]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rsi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001bd22
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._WaitForCompletion
lea rcx, str...DelStaleInjections.cpp
mov edx, 0x13c
mov r8d, 3
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call fcn.180001b40
jmp 0x18001bd7b
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, edi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001bd75
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 0x18001bd88
mov rcx, rsi
call fcn.180053a94
test rbx, rbx
je 0x18001bd95
mov rcx, rbx
call fcn.180053a94
mov r15d, 0x10dd
mov rcx, qword [0x1800a7588]
mov rcx, qword [r14 + rcx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
cmp ebp, dword [0x1800a7590]
jbe 0x18001bc30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
mov qword [rsp + 0x78], r12
lea esi, [rax + 0x1e]
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18001bea9
test rax, rax
je 0x18001bea9
mov r9d, dword [0x1800a7590]
lea r8, str._MBAE_DSI__Remote_stale_module_uninjection_for__d_handles_finished_successfuly_
mov edx, 0xffff
inc r9d
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18001be92
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r12w
call fcn.180053398
lea rcx, [rsp + 0x78]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x18001be69
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._WaitForCompletion
lea rcx, str...DelStaleInjections.cpp
mov edx, 0x143
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x18001bec2
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18001bebc
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 0x18001becf
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18001bedc
mov rcx, rbx
call fcn.180053a94
mov eax, r15d
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret