Function at 0x4d48c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58af1c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ce104]
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.004d6330
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.004d5fd0
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 0x4d497f
cmp dword [edi + 0xc], 0
jl 0x4d4976
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x4d4976
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 0x4d497f
push dword [eax - 0xc]
push eax
call fcn.00405730
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x10], 0
je 0x4d4990
lea ecx, [ebx + 0x14]
call fcn.004da190
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4d49a5
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d49ba
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4d49bc
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push 0x5acf54
push eax
call fcn.00420620
add esp, 0xc
call fcn.00406e20
mov ecx, eax
test ecx, ecx
jne 0x4d49ef
push 0x80004005
call fcn.004071e0
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d4a04
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4d4a06
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.00420620
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 0x4d4a70
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d4a6e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d4a6e
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4d4a70
call edx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4d4ac4
mov esi, dword [ebx + 0x18]
lea edx, [ebx + 0x14]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4d4aa0
cmp dword [esi + 4], 0
je 0x4d4a99
push eax
call fcn.00531606
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.004da380
test al, al
jne 0x4d4ae8
test edi, edi
jne 0x4d4aec
xor esi, esi
mov dword [ebp + 0xc], esi
push ecx
push esi
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 5
call fcn.004da040
push esi
mov bl, al
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x4d4b06
xor esi, esi
jmp 0x4d4b0b
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp + 0xc], esi
test esi, esi
jne 0x4d4acd
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 0x4d4b50
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d4b4e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d4b4e
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call edi
jmp 0x4d4b56
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 0x4d4b98
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4d4b94
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4d4b94
push 0
push dword [edx + 4]
call edi
jmp 0x4d4b98
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