Function at 0x10021180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090470
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 edi, edx
mov dword [ebp - 0x28], edi
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
test ebx, ebx
je 0x10021567
cmp dword [ebx], 0x1234abcd
jne 0x10021567
mov dword [ebp - 4], 1
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [ebp - 0x20], esi
cmp esi, dword [ebx + 0x6284]
jge 0x10021222
lea eax, [edi + 0xc]
push eax
imul ecx, esi, 0x35c
mov eax, dword [ebx + 0x628c]
add eax, 0xc
add eax, ecx
push eax
call fcn.100513c3
add esp, 8
test eax, eax
je 0x10021222
inc esi
jmp 0x100211f2
mov eax, dword [ebx + 0x6284]
cmp esi, eax
jge 0x100212e4
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x1002125d
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 0x100212ba
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 2
test eax, eax
jle 0x10021299
mov byte [esi + 0xffff], 0
push esi
push str.AddExclusion
push 1
mov edx, 0x365
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100212b1
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, 2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x6288]
cmp ecx, eax
jg 0x1002142a
lea eax, [ecx + 0xa]
mov dword [ebp - 0x24], eax
imul edi, eax, 0x35c
lea eax, [edi + 0xa]
push eax
call fcn.1005218a
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x100213cb
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10021344
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 0x100213a1
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x10021380
mov byte [esi + 0xffff], 0
push esi
push str.AddExclusion
push 1
mov edx, 0x36d
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10021398
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 edi
push 0
push esi
call fcn.10055aa0
add esp, 0xc
mov eax, dword [ebx + 0x6288]
test eax, eax
je 0x10021414
imul eax, eax, 0x35c
push eax
push dword [ebx + 0x628c]
push esi
call fcn.10055450
add esp, 0xc
mov eax, dword [ebx + 0x628c]
test eax, eax
je 0x1002140a
push eax
call fcn.10052152
add esp, 4
mov dword [ebx + 0x628c], 0
mov dword [ebx + 0x628c], esi
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x6288], eax
mov dword [ebp - 0x1c], 0
imul eax, dword [ebx + 0x6284], 0x35c
mov edi, dword [ebx + 0x628c]
add edi, eax
mov ecx, 0xd7
mov esi, dword [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x6284]
cmp dword [ebp + 8], 0
je 0x10021517
mov ecx, ebx
call fcn.1001c070
mov edi, eax
test edi, edi
je 0x10021517
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10021494
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 0x100214f0
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x100214cf
mov byte [esi + 0xffff], 0
push esi
push str.AddExclusion
push 1
mov edx, 0x384
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x100214e7
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, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call fcn.10021541
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 0x100215ae
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 0x100215ea
mov byte [esi + 0xffff], 0
push esi
push str.AddExclusion
push 1
mov edx, 0x358
mov ecx, str...StandAloneSvcClientIPC.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10021602
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