Function at 0x100168d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090110
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov dword [ebp - 0x20], ebx
mov esi, dword [0x100e2810]
mov dword [ebp - 0x28], esi
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
test esi, esi
je 0x10016b19
cmp dword [esi], 0x1234abcd
jne 0x10016b19
mov dword [ebp - 4], 1
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5c
push ebx
call fcn.1005276f
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x10016954
mov ebx, dword [ebp - 0x20]
jmp 0x10016957
add ebx, 2
mov eax, dword [esi + 0x629c]
cmp eax, dword [esi + 0x6298]
jg 0x10016aa4
add eax, 0xa
mov dword [ebp - 0x24], eax
imul eax, eax, 0x208
mov dword [ebp - 0x20], eax
add eax, 0xa
push eax
call fcn.1005218a
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x10016a45
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x100169be
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x10016a1b
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x100169fa
mov byte [esi + 0xffff], 0
push esi
push str.AddFileToGlobalPool
push 1
mov edx, 0x7c4
mov ecx, str...ServerIpcNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10016a12
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1009cbc0
call fcn.10062b20
add esp, 0xc
mov eax, 5
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
push 0
push edi
call fcn.10055aa0
add esp, 0xc
mov eax, dword [esi + 0x629c]
test eax, eax
je 0x10016a90
imul eax, eax, 0x208
push eax
push dword [esi + 0x62a0]
push edi
call fcn.10055450
add esp, 0xc
mov eax, dword [esi + 0x62a0]
test eax, eax
je 0x10016a86
push eax
call fcn.10052152
add esp, 4
mov dword [esi + 0x62a0], 0
mov dword [esi + 0x62a0], edi
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x629c], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
imul eax, dword [esi + 0x6298], 0x208
add eax, dword [esi + 0x62a0]
push ebx
push 0x104
push eax
call fcn.10053320
add esp, 0xc
inc dword [esi + 0x6298]
mov dword [ebp - 4], 0
call fcn.10016af6
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10016b60
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xfffffffe
lea eax, [esi + 8]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x10016b9c
mov byte [esi + 0xffff], 0
push esi
push str.AddFileToGlobalPool
push 1
mov edx, 0x7b3
mov ecx, str...ServerIpcNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10016bb4
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, 8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret