Function at 0x431a50
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474be0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
xor ebx, ebx
push esi
push edi
cmp eax, ebx
mov edi, ecx
je 0x431b5c
lea esi, [edi + 0x6c]
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x431b25
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi]
push 0x5c
mov ecx, esi
mov dword [esp + 0x30], ebx
mov ebp, dword [eax - 8]
call sub.MFC42.DLL_CString::ReverseFind
sub ebp, eax
lea ecx, [esp + 0x34]
dec ebp
push ebp
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::Right
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea edx, [edi + 0x68]
mov ecx, edi
push edx
call fcn.00431900
mov esi, eax
cmp esi, ebx
je 0x431b14
mov eax, dword [esp + 0x14]
push eax
push str.SetupOCXFile
push esi
call fcn.00457c90
push esi
call fcn.0045c7c0
add esp, 0x10
test al, al
push esi
je 0x431b0c
call fcn.0045c740
jmp 0x431b11
call fcn.00457cb0
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x431c74
mov esi, dword [esi]
push 0x4db790
push esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x431c79
mov ecx, dword [edi + 0x68]
lea esi, [edi + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4db790
mov ecx, esi
call sub.MFC42.DLL_CString::operator_1
jmp 0x431c79
push str.SetupOCXFile
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4db790
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x1c]
push edx
call fcn.00431c90
add esp, 8
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x38], 2
call sub.MFC42.DLL_operator_2
mov bl, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.SetupOCXFile
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x34], 5
mov ebp, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4db790
call sub.MFC42.DLL_CString::CString_4
push ebp
call fcn.00431c90
add esp, 4
lea edx, [edi + 0x68]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x38], bl
call fcn.00435430
add esp, 0xc
lea eax, [edi + 0x6c]
add edi, 0x34
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
push ecx
call fcn.00431c90
add esp, 8
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x34]
push eax
call esi
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4