Function at 0x180015780
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1800a6d10]
test rax, rax
je 0x180015aa0
cmp dword [rax], 0x1234abcd
jne 0x180015aa0
mov eax, dword [0x1800a4278]
test eax, eax
je 0x18001588e
cmp eax, 0x10
jne 0x180015b44
mov dword [0x1800a4278], 0x11
call fcn.18000dce0
test al, al
je 0x1800157e5
mov dword [0x1800a4278], 0
jmp 0x18001588e
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x180015812
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]
jmp 0x180015884
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18001585e
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 0x11
mov qword [rsp + 0x20], rbx
lea r9, [0x18008be70]
mov edx, 0x161
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x18001587c
mov edx, 0x11
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, 0x11
jmp 0x180015b44
mov rcx, rdi
call sym.mbae_api_na.dll_MbaeDelProtectedApp
mov edi, eax
test eax, eax
je 0x18001593f
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x1800158cd
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]
jmp 0x180015938
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180015915
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
lea r9, [0x18008be70]
mov edx, 0x16a
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180015930
mov edx, edi
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, edi
jmp 0x180015b44
mov rcx, rbx
call sym.mbae_api_na.dll_MbaeAddProtectedApp
mov ebx, eax
test eax, eax
je 0x1800159f0
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
test rax, rax
jne 0x18001597e
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]
jmp 0x1800159e9
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x1800159c6
mov byte [rdi + 0xffff], 0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r9, [0x18008be70]
mov edx, 0x170
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x1800159e1
mov edx, ebx
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
call fcn.180053a94
mov eax, ebx
jmp 0x180015b44
xor eax, eax
jmp 0x180015b44
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x180015acd
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]
jmp 0x180015b3f
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x180015b19
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
lea r9, [0x18008be70]
mov edx, 0x15f
mov r8d, 1
lea rcx, str...ApiNA.cpp
call fcn.180001b40
jmp 0x180015b37
mov edx, 8
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rbx
call fcn.180053a94
mov eax, 8
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret