Function at 0x18000a990
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], rsp
mov r15, r9
mov r14, r8
mov r12d, edx
mov rbx, qword [0x1800a6d10]
xor r13d, r13d
mov dword [r8], r13d
mov r8, r9
mov rdx, r14
mov ecx, r12d
call fcn.18000aeb0
test eax, eax
jne 0x18000a9f7
mov dword [rsp + 0x34], r13d
lea rdx, [0x18000a9f0]
mov rcx, rsp
call fcn.180057580
nop
nop
nop
xor eax, eax
jmp 0x18000ae91
mov r8d, r13d
mov edi, 1
cmp dword [r14], r13d
cmovne r8d, edi
mov edx, r13d
mov dword [rsp + 0x30], edx
cmp edx, dword [rbx + 0x4248]
jge 0x18000ad45
test r8d, r8d
jne 0x18000abb9
movsxd rax, edx
imul rcx, rax, 0x62c
mov rax, qword [rbx + 0x4250]
lea r9, [rax + rcx]
cmp dword [r9 + 0x414], r12d
jne 0x18000abb9
mov eax, dword [r9 + 0x620]
mov dword [r14], eax
mov r8, qword [rbx + 0x4250]
add r8, 0x418
add r8, rcx
mov edx, 0x104
mov rcx, r15
call fcn.180054b48
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [rax + 0x1e]
mov qword [rsp + 0x80], r13
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
mov ecx, 0x2000a
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18000ab66
test rax, rax
je 0x18000ab66
mov qword [rsp + 0x28], r15
mov ecx, dword [r14]
mov dword [rsp + 0x20], ecx
mov r9d, r12d
lea r8, str._d____d____s
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18000ab4f
mov word [rbx + 0x1fffe], r13w
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.180053398
lea r8, [rax + 1]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, rbx
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.180054798
test eax, eax
je 0x18000ab26
mov r8d, esi
mov rdx, rbx
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9, str.GetParentProcessInfo
mov edx, 0x2d8
mov r8d, 3
lea rcx, str...ApiAuxNA.cpp
call fcn.180001b40
jmp 0x18000ab7f
mov edx, esi
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18000ab79
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 0x18000ab8c
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18000ab99
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x38], r13d
lea rdx, [0x18000abb2]
mov rcx, qword [rsp + 0x40]
call fcn.180057580
nop
nop
nop
xor eax, eax
jmp 0x18000ae91
cmp r8d, edi
jne 0x18000ad3e
movsxd rax, edx
imul r9, rax, 0x62c
add r9, qword [rbx + 0x4250]
mov eax, dword [r14]
cmp dword [r9 + 0x620], eax
jne 0x18000ad3e
lea r8, [r9 + 0x20c]
mov edx, 0x104
mov rcx, r15
call fcn.180054b48
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [rax + 0x1e]
mov qword [rsp + 0x48], r13
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
mov ecx, 0x2000a
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x18000aceb
test rax, rax
je 0x18000aceb
mov qword [rsp + 0x28], r15
mov ecx, dword [r14]
mov dword [rsp + 0x20], ecx
mov r9d, r12d
lea r8, str._d____d____s
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18000acd4
mov word [rbx + 0x1fffe], r13w
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
call fcn.180053398
lea r8, [rax + 1]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, rbx
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180054798
test eax, eax
je 0x18000acab
mov r8d, esi
mov rdx, rbx
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
lea r9, str.GetParentProcessInfo
mov edx, 0x2df
mov r8d, 3
lea rcx, str...ApiAuxNA.cpp
call fcn.180001b40
jmp 0x18000ad04
mov edx, esi
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18000acfe
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 0x18000ad11
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18000ad1e
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x3c], r13d
lea rdx, [0x18000ad37]
mov rcx, qword [rsp + 0x40]
call fcn.180057580
nop
nop
nop
xor eax, eax
jmp 0x18000ae91
inc edx
jmp 0x18000aa09
nop
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x18000ad73
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 0x18000ade2
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18000adbc
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 9
mov qword [rsp + 0x20], rbx
lea r9, str.GetParentProcessInfo
mov r8d, edi
mov edx, 0x2ee
lea rcx, str...ApiAuxNA.cpp
call fcn.180001b40
jmp 0x18000adda
mov edx, 9
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, 9
jmp 0x18000ae91
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret