Function at 0x4cc7f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58212c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c4104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 1
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.004ce260
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov dword [ebx + 4], 0
mov byte [ebp - 4], 2
lea ecx, [ebx + 8]
mov eax, dword [ebx + 8]
push dword [eax + 4]
call fcn.004cdf00
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0x10]
mov dword [eax + 4], eax
mov eax, dword [ebx + 8]
mov dword [eax], eax
mov eax, dword [ebx + 8]
mov byte [ebp - 4], 0
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0xc], 0
mov edi, dword [ecx]
sub edi, 0x10
lea esi, [eax - 0x10]
cmp esi, edi
je 0x4cc8af
cmp dword [edi + 0xc], 0
jl 0x4cc8a6
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x4cc8a6
push esi
call fcn.00405650
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00407070
lea eax, [esi + 0x10]
mov dword [ebx + 0x10], eax
jmp 0x4cc8af
push dword [eax - 0xc]
push eax
call fcn.00405730
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x10], 0
je 0x4cc8c0
lea ecx, [ebx + 0x14]
call fcn.004d20b0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4cc8d5
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4cc8ea
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4cc8ec
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push 0x5a4044
push eax
call fcn.0041f560
add esp, 0xc
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4cc91f
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4cc934
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4cc936
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
mov edi, dword [ebp - 0x10]
push edi
push str._DLLRepair___s_n
push eax
call fcn.0041f560
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4cc9a0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4cc99e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4cc99e
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4cc9a0
call edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4cc9f4
mov esi, dword [ebx + 0x18]
lea edx, [ebx + 0x14]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4cc9d0
cmp dword [esi + 4], 0
je 0x4cc9c9
push eax
call fcn.00529806
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + 0x14]
add esp, 4
mov dword [esi + 0x10], 0
mov eax, dword [ebp + 0x10]
push eax
mov dword [esi + 0x10], ecx
push ecx
mov ecx, edx
mov dword [esi + 0xc], eax
mov dword [esi + 8], 0
mov dword [esi + 4], 0
call fcn.004d22a0
test al, al
jne 0x4cca18
test edi, edi
jne 0x4cca1c
xor esi, esi
mov dword [ebp + 0xc], esi
push ecx
push esi
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 5
call fcn.004d1f60
push esi
mov bl, al
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x4cca36
xor esi, esi
jmp 0x4cca3b
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
jne 0x4cc9fd
push 0x8007000e
call fcn.004071e0
mov esi, 0x80070057
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4cca80
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4cca7e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4cca7e
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call edi
jmp 0x4cca86
call edx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4ccac8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ccac4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4ccac4
push 0
push dword [edx + 4]
call edi
jmp 0x4ccac8
mov ecx, edx
call ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc