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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4786ef
push eax
mov eax, 0x1034
mov dword fs:[0], esp
call fcn.0041fb00
mov eax, dword [esp + 0x1044]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
je 0x431e56
lea edi, [esi + 0x6c]
push 0x5c
mov ecx, edi
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jl 0x431e1f
push edi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi]
push 0x5c
mov ecx, edi
mov dword [esp + 0x1050], 0
mov ebp, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub ebp, eax
lea ecx, [esp + 0x10]
dec ebp
push ebp
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, edi
mov byte [esp + 0x1050], 1
call fcn.0041f172
lea ecx, [esp + 0x10]
mov byte [esp + 0x104c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x68]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
lea edi, [esi + 0x68]
push 0x4eba90
push eax
call ebx
add esp, 8
test eax, eax
je 0x431cdb
mov eax, dword [edi]
push 0x4eba90
push eax
call fcn.0045b2f0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x431cdf
push 0x4eba90
mov ecx, edi
call sub.MFC42.DLL_CString::operator_3
jmp 0x431cdf
mov ebp, dword [esp + 0x14]
mov eax, dword [edi]
push 0x4eba90
push eax
call ebx
add esp, 8
test eax, eax
jne 0x431da4
lea edx, [esp + 0x44]
lea ecx, [esi + 0x34]
push edx
push eax
call fcn.0042fc40
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4eba90
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x20]
push eax
call fcn.00432080
add esp, 8
mov ecx, eax
call fcn.0042fc40
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 0x431d80
lea ecx, [esp + 0x44]
push ecx
push 0
push 0x4eba90
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4eba90
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x20]
push edx
call fcn.00432080
add esp, 8
mov ecx, eax
call fcn.0042fc40
push eax
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [edi]
push 0x4eba90
push eax
call fcn.0045b2f0
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x431dfe
mov ecx, dword [esp + 0x18]
push ecx
push str.SetupOCXFile
push ebp
call fcn.0045b360
push ebp
call fcn.0045feb0
add esp, 0x10
test al, al
push ebp
je 0x431de2
call fcn.0045fe30
add esp, 4
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x432055
call fcn.0045b380
add esp, 4
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x432055
mov edi, dword [edi]
push 0x4eba90
push edi
call ebx
add esp, 8
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x432055
mov edi, dword [edi]
push 0x4eba90
push edi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x43205a
mov edx, dword [esi + 0x68]
add esi, 0x68
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4eba90
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
jmp 0x43205a
lea eax, [esp + 0x18]
push eax
call fcn.004164d0
add esp, 4
push str.qmacro_tempSetupOCXFile
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1058], 2
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x104c], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call edi
mov eax, dword [esi + 0x34]
lea ecx, [esi + 0x34]
mov eax, dword [eax - 8]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004161a0
add esp, 0xc
lea edx, [esp + 0x30]
push 0x64
push edx
mov ecx, eax
mov byte [esp + 0x1054], 5
call sub.MFC42.DLL_CString::Left
mov ebp, eax
lea eax, [esp + 0x24]
mov byte [esp + 0x104c], 6
push eax
call fcn.004164d0
add esp, 4
push str.qmacro_temp_
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x1058], 7
call sub.MFC42.DLL_operator_1
push ebp
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x1058], 8
call sub.MFC42.DLL_operator_2
push 0x4e7128
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x1054], 9
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x104c], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x104c], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x104c], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x104c], 0xc
call sub.MFC42.DLL_CString::CString
mov bl, 0xb
lea ecx, [esp + 0x2c]
mov byte [esp + 0x104c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.IMAGEHLP.dll_MakeSureDirectoryPathExists]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.SetupOCXFile
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x18]
mov byte [esp + 0x1050], 0x10
push edx
call fcn.004164d0
mov ecx, esp
mov dword [esp + 0x48], esp
push str.qmacro_temp_
push eax
push ecx
mov byte [esp + 0x1060], 0x11
call sub.MFC42.DLL_operator_1
push ecx
lea edx, [esi + 0x68]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x105c], 0x12
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x1058], 0x13
call fcn.004345a0
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x104c], bl
call sub.MFC42.DLL_CString::CString
add esi, 0x6c
lea eax, [esp + 0x1c]
push esi
lea ecx, [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov edx, dword [esp + 0x20]
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x104c], 4
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x104c], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1044]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1040
ret 4