Function at 0x4745f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a854
mov eax, dword fs:[0]
push eax
sub esp, 0xb7c
mov eax, dword [0x5954a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb80], ecx
mov dword [ebp - 0xb2c], 0
call fcn.004c02e6
push eax
lea ecx, [ebp - 0x418]
call fcn.004514d0
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x81a]
push ecx
call fcn.004f8090
add esp, 0xc
xor edx, edx
mov word [ebp - 0x414], dx
push 0x3fe
push 0
lea eax, [ebp - 0x412]
push eax
call fcn.004f8090
add esp, 0xc
mov byte [ebp - 0xa1c], 0
push 0x1ff
push 0
lea ecx, [ebp - 0xa1b]
push ecx
call fcn.004f8090
add esp, 0xc
call fcn.004c02e6
push eax
lea ecx, [ebp - 0x10]
call fcn.004514d0
mov byte [ebp - 4], 1
push 0x400
lea edx, [ebp - 0x81c]
push edx
push str.SoftwareAutodeskDWGCommon_shellexApps
push SysReAllocStringLen
mov ecx, dword [ebp - 0xb80]
call fcn.00473330
test eax, eax
je 0x47486f
lea eax, [ebp - 0xaa0]
mov dword [ebp - 0xaa4], eax
push 3
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0xaa4]
call fcn.00470670
lea edx, [ebp - 0xaa4]
mov dword [ebp - 0xb84], edx
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xb84]
sub esp, 0x84
mov ecx, 0x21
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.EnumRegKey___s
call fcn.0047c040
add esp, 0x88
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xaa4]
mov dword [ebp - 0xb30], eax
lea ecx, [ebp - 0xaa0]
cmp dword [ebp - 0xb30], ecx
je 0x47475d
mov edx, dword [ebp - 0xb30]
push edx
call fcn.004f84cf
add esp, 4
push str.SoftwareAutodeskDWGCommon_shellexApps_
lea ecx, [ebp - 0xa20]
call fcn.0044f380
mov byte [ebp - 4], 3
lea eax, [ebp - 0x81c]
test eax, eax
jne 0x474787
mov dword [ebp - 0xb3c], 0
jmp 0x47479c
lea ecx, [ebp - 0x81c]
push ecx
call fcn.004f810a
add esp, 4
mov dword [ebp - 0xb3c], eax
mov edx, dword [ebp - 0xb3c]
push edx
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0xa20]
call fcn.0044ecb0
mov ecx, dword [ebp - 0xa20]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0xa20]
mov dword [ebp - 0xb40], edx
push 0x200
lea eax, [ebp - 0x414]
push eax
push 1
push str.OpenLaunch
mov ecx, dword [ebp - 0xb40]
push ecx
push SysReAllocStringLen
mov ecx, dword [ebp - 0xb80]
call fcn.004730f0
test eax, eax
je 0x474860
push str.CFileDecode::GetAcadDPath_QueryRegValue_success
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x414]
test edx, edx
jne 0x47481d
mov dword [ebp - 0xb44], 0
jmp 0x474832
lea eax, [ebp - 0x414]
push eax
call fcn.004f810a
add esp, 4
mov dword [ebp - 0xb44], eax
mov ecx, dword [ebp - 0xb44]
push ecx
lea edx, [ebp - 0x414]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.0044fb50
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xb48], ecx
mov edx, dword [ebp - 0xb48]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa20]
call fcn.0044f990
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xb50], ecx
lea edx, [ebp - 0xb24]
mov dword [ebp - 0xb28], edx
push 3
mov eax, dword [ebp - 0xb50]
push eax
lea ecx, [ebp - 0xb28]
call fcn.00470670
lea ecx, [ebp - 0xb28]
mov dword [ebp - 0xb88], ecx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0xb88]
sub esp, 0x84
mov ecx, 0x21
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.CAD
call fcn.0047c040
add esp, 0x88
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb28]
mov dword [ebp - 0xb54], edx
lea eax, [ebp - 0xb24]
cmp dword [ebp - 0xb54], eax
je 0x4748fc
mov ecx, dword [ebp - 0xb54]
push ecx
call fcn.004f84cf
add esp, 4
push str.CAD_Before_return
call fcn.0047c040
add esp, 4
push 0x567128
mov ecx, dword [ebp + 8]
call fcn.0044f380
mov edx, dword [ebp - 0xb2c]
or edx, 1
mov dword [ebp - 0xb2c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0044f990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x418]
call fcn.0044f990
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f8124
mov esp, ebp
pop ebp
ret 8