Function at 0x4cce00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5826bc
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.004ce870
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.004ce510
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 0x4ccebf
cmp dword [edi + 0xc], 0
jl 0x4cceb6
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x4cceb6
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 0x4ccebf
push dword [eax - 0xc]
push eax
call fcn.00405730
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x10], 0
je 0x4cced0
lea ecx, [ebx + 0x14]
call fcn.004d26c0
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4ccee5
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ccefa
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4ccefc
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push 0x5a40a4
push eax
call fcn.0041f560
add esp, 0xc
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4ccf2f
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ccf44
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4ccf46
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 0x4ccfb0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ccfae
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4ccfae
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4ccfb0
call edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4cd004
mov esi, dword [ebx + 0x18]
lea edx, [ebx + 0x14]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4ccfe0
cmp dword [esi + 4], 0
je 0x4ccfd9
push eax
call fcn.00529cc6
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.004d28b0
test al, al
jne 0x4cd028
test edi, edi
jne 0x4cd02c
xor esi, esi
mov dword [ebp + 0xc], esi
push ecx
push esi
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 5
call fcn.004d2570
push esi
mov bl, al
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x4cd046
xor esi, esi
jmp 0x4cd04b
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
jne 0x4cd00d
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 0x4cd090
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4cd08e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4cd08e
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call edi
jmp 0x4cd096
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 0x4cd0d8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4cd0d4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4cd0d4
push 0
push dword [edx + 4]
call edi
jmp 0x4cd0d8
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