Function at 0x4481f0
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4fcebb
push eax
mov eax, 0x1018
mov dword fs:[0], esp
call fcn.00445f30
mov eax, dword [esp + 0x1028]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov ebp, ecx
je 0x44841c
lea esi, [ebp + 0x54]
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x4483d5
push esi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi]
push 0x5c
mov ecx, esi
mov dword [esp + 0x1034], ebx
mov edi, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub edi, eax
lea ecx, [esp + 0x10]
dec edi
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, esi
mov byte [esp + 0x1034], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1030], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x1034], 2
call fcn.0042cc90
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
call esi
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x4482f5
lea edx, [esp + 0x10]
push edx
call fcn.0042cc90
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x5b2c3c
push eax
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x28]
lea ecx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x18]
push 0x5b2c3c
push eax
call fcn.0049b190
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
je 0x44838b
mov ecx, dword [esp + 0x1c]
push ecx
push str.SetupOCXFile
push esi
call fcn.0049b200
push esi
call fcn.0049fd50
add esp, 0x10
test al, al
push esi
je 0x448342
call fcn.0049fcd0
jmp 0x448347
call fcn.0049b220
mov ecx, dword [ebp + 0x50]
mov esi, dword [esp + 0x1c]
add esp, 4
cmp ecx, edi
je 0x44835d
call fcn.00425460
mov dword [ebp + 0x50], edi
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x1030], 3
je 0x448384
push esi
mov ecx, eax
call fcn.004485a0
mov dword [ebp + 0x50], eax
jmp 0x4483b0
xor eax, eax
mov dword [ebp + 0x50], eax
jmp 0x4483b0
mov esi, dword [ebp + 0x50]
cmp esi, edi
je 0x4483b0
lea edx, [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4483ad
cmp esi, edi
je 0x4483ad
push 1
mov ecx, esi
call fcn.00425490
mov dword [ebp + 0x50], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x1030], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1030], 0xffffffff
lea ecx, [esp + 0x1c]
jmp 0x44855f
mov esi, dword [esi]
push 0x5b2c3c
push esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x448564
mov esi, dword [ebp + 0x50]
cmp esi, ebx
je 0x448564
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x448414
cmp esi, ebx
je 0x448414
push 1
mov ecx, esi
call fcn.00425490
mov dword [ebp + 0x50], ebx
jmp 0x448564
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.00448690
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1030], 4
push edx
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
lea eax, [esp + 0x14]
push str.SetupOCXFile
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 0x10]
mov bl, 5
push edx
mov byte [esp + 0x1034], bl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x5b2c3c
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x103c], 6
call sub.MFC42.DLL_CString::CString_4
lea esi, [ebp + 0x50]
mov byte [esp + 0x1038], 7
mov ecx, esi
call fcn.00448580
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x103c], bl
call fcn.00410470
mov edi, dword [esi]
add esp, 0xc
test edi, edi
je 0x448508
mov edx, dword [edi + 4]
lea esi, [edi + 4]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call dword [edx + 0x18]
mov eax, dword [eax]
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x448508
mov edi, dword [edi]
mov edx, dword [esi]
push 0
push 0x8010
push edi
mov ecx, esi
call dword [edx + 0x28]
add ebp, 0x54
lea eax, [esp + 0x14]
push ebp
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1030], 4
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1030], 0xffffffff
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1028]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1024
ret 4