Function at 0x10004b31
Capabilities:
Copy file
Delete file

Disassembly:
push 0x34
mov eax, 0x10006762
call fcn.100052ef
mov esi, ecx
lea ecx, [ebp - 0x40]
call fcn.100033f5
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push ebx
mov ecx, 0x1000a534
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [ebp - 0x40]
call fcn.10003863
cmp byte [esi + 0x76], bl
mov edi, str.CString
je 0x10004c39
push ebx
mov byte [0x1000a528], 1
lea ecx, [esi + 0x7c]
push str.DZAX19_
mov byte [esi + 0x76], bl
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
push eax
push 0x10007a88
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x14], eax
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ecx, dword [ebp - 0x14]
push 0xfffffffffffffff8
pop edx
sub edx, ecx
add eax, edx
push eax
add ecx, 8
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
push edi
push str.DZAX19
push ebx
lea ecx, [ebp - 0x40]
call fcn.10003adb
push 1
lea ecx, [ebp - 0x40]
call fcn.10003508
push ebx
lea eax, [ebp - 0x10]
push eax
push str.DZAX19
lea ecx, [ebp - 0x40]
call fcn.100034e9
lea eax, [esi + 0x94]
push eax
mov ecx, 0x1000a574
call dword [sym.imp.MFC80.DLL_Ordinal_781]
push ebx
push str.DWRN_
lea ecx, [esi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
jle 0x10004c39
push ebx
mov ecx, esi
call fcn.1000438d
cmp byte [esi + 0x77], bl
je 0x10004d04
push ebx
push ebx
push ebx
push ebx
push dword [esi + 0x20]
push 0x10003e23
call sub.MFC80.DLL_Ordinal_1024
cmp eax, ebx
je 0x10004c5e
mov dword [eax + 0x28], 1
push ebx
lea ecx, [esi + 0x7c]
push str.DWRN_
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
push eax
push 0x10007a88
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x14], eax
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
push 0xfffffffffffffffa
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
sub edx, eax
add ecx, edx
push ecx
add eax, 6
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
push edi
push str.DWRN
push ebx
lea ecx, [ebp - 0x40]
call fcn.10003adb
push 1
lea ecx, [ebp - 0x40]
call fcn.10003508
push ebx
lea eax, [ebp - 0x10]
push eax
push str.DWRN
lea ecx, [ebp - 0x40]
call fcn.100034e9
push ebx
push str.DWQJ19_
lea ecx, [esi + 0x7c]
mov byte [esi + 0x77], bl
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
jle 0x10004d04
push ebx
mov ecx, esi
call fcn.1000438d
cmp byte [esi + 0x78], bl
je 0x10004e6e
push ebx
lea ecx, [esi + 0x7c]
push str.DWQJ19_
mov byte [esi + 0x78], bl
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
push eax
push 0x10007a88
lea ecx, [esi + 0x7c]
mov dword [ebp - 0x14], eax
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ecx, dword [ebp - 0x14]
push 0xfffffffffffffff8
pop edx
sub edx, ecx
add eax, edx
push eax
add ecx, 8
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
push edi
push str.DWQJ19
push ebx
lea ecx, [ebp - 0x40]
call fcn.10003adb
push 1
lea ecx, [ebp - 0x40]
call fcn.10003508
push ebx
lea eax, [ebp - 0x10]
push eax
push str.DWQJ19
lea ecx, [ebp - 0x40]
call fcn.100034e9
push 1
push str.HKEY_CURRENT_USERSOFTWAREAutodeskAutoCADR17.0
lea ecx, [ebp - 0x40]
call fcn.10003863
push 1
push edi
push str.CurVer
push ebx
lea ecx, [ebp - 0x40]
call fcn.10003adb
push 1
lea eax, [ebp - 0x10]
push eax
push str.CurVer
lea ecx, [ebp - 0x40]
call fcn.100034e9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push str.HKEY_LOCAL_MACHINESOFTWAREAutodeskAutoCADR17.0_
push eax
call fcn.10001179
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [ebp - 0x40]
call fcn.10003863
push 1
push edi
mov edi, str.AcadLocation
push edi
push ebx
lea ecx, [ebp - 0x40]
call fcn.10003adb
push 1
lea eax, [ebp - 0x10]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.100034e9
test eax, eax
je 0x10004e6e
push str._setint.exe
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_911]
push ebx
lea ecx, [ebp - 0x10]
add esi, 0x94
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.1000370b
call fcn.10005358
ret