Function at 0x18002d3a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x48], rsp
mov rsi, rdx
mov rbx, qword [0x1800a6d10]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], 0
test rbx, rbx
je 0x18002d5ad
cmp dword [rbx], 0x1234abcd
jne 0x18002d5ad
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x5c
mov rcx, rsi
call fcn.1800540e8
mov rdi, rax
test rax, rax
jne 0x18002d40f
mov rdi, rsi
jmp 0x18002d413
add rdi, 2
mov eax, dword [rbx + 0x6274]
cmp eax, dword [rbx + 0x6270]
jg 0x18002d573
lea r12d, [rax + 0xa]
movsxd rax, r12d
imul r15, rax, 0x208
lea rcx, [r15 + 0xa]
call fcn.180053ad4
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18002d512
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x18002d47a
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 0x18002d4ec
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18002d4c6
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
lea r9, str.AddFileToGlobalPool
mov edx, 0x7c4
mov r8d, 1
lea rcx, str...ServerIpcNA.cpp
call fcn.180001b40
jmp 0x18002d4e4
mov edx, 5
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 dword [rsp + 0x30], 5
lea rdx, [0x18002d508]
mov rcx, qword [rsp + 0x48]
call fcn.180057580
nop
nop
nop
mov eax, 5
jmp 0x18002d6fb
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.180056c20
movsxd rax, dword [rbx + 0x6274]
test eax, eax
je 0x18002d55c
imul r8, rax, 0x208
mov rdx, qword [rbx + 0x6278]
mov rcx, rsi
call fcn.180052e30
mov rcx, qword [rbx + 0x6278]
test rcx, rcx
je 0x18002d551
call fcn.180053a94
mov qword [rbx + 0x6278], 0
mov qword [rbx + 0x6278], rsi
mov dword [rbx + 0x6274], r12d
mov qword [rsp + 0x38], 0
movsxd rax, dword [rbx + 0x6270]
imul rcx, rax, 0x208
add rcx, qword [rbx + 0x6278]
mov r8, rdi
mov edx, 0x104
call fcn.180054b48
inc dword [rbx + 0x6270]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
xor eax, eax
jmp 0x18002d6fb
mov ecx, 0x1000a
call fcn.180053ad4
mov rbx, rax
test rax, rax
jne 0x18002d5da
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 0x18002d64c
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18002d626
mov byte [rbx + 0xffff], 0
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rbx
lea r9, str.AddFileToGlobalPool
mov edx, 0x7b3
mov r8d, 1
lea rcx, str...ServerIpcNA.cpp
call fcn.180001b40
jmp 0x18002d644
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
jmp 0x18002d6fb
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop r12
ret