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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4753a8
push eax
mov eax, 0x1018
mov dword fs:[0], esp
call fcn.0041f020
mov eax, dword [esp + 0x1028]
push ebx
push ebp
push esi
test eax, eax
push edi
mov ebp, ecx
je 0x4320d6
lea esi, [ebp + 0x6c]
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x43209f
push esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esi]
push 0x5c
mov ecx, esi
mov dword [esp + 0x1034], 0
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 fcn.0041e5a2
lea ecx, [esp + 0x10]
mov byte [esp + 0x1030], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 0x68]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
lea esi, [ebp + 0x68]
push 0x4e0820
push eax
call ebx
add esp, 8
test eax, eax
je 0x431f5b
mov eax, dword [esi]
push 0x4e0820
push eax
call fcn.00458370
mov edi, eax
add esp, 8
test edi, edi
jne 0x431f5f
push 0x4e0820
mov ecx, esi
call sub.MFC42.DLL_CString::operator_3
jmp 0x431f5f
mov edi, dword [esp + 0x14]
mov eax, dword [esi]
push 0x4e0820
push eax
call ebx
add esp, 8
test eax, eax
jne 0x432024
lea edx, [esp + 0x28]
lea ecx, [ebp + 0x34]
push edx
push eax
call fcn.0042fec0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4e0820
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
push eax
call fcn.00432230
add esp, 8
mov ecx, eax
call fcn.0042fec0
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
call edi
test eax, eax
lea ecx, [esp + 0x10]
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x432000
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x4e0820
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4e0820
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x20]
push edx
call fcn.00432230
add esp, 8
mov ecx, eax
call fcn.0042fec0
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [esi]
push 0x4e0820
push eax
call fcn.00458370
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov edi, eax
test edi, edi
je 0x43207e
mov ecx, dword [esp + 0x18]
push ecx
push str.SetupOCXFile
push edi
call fcn.004583e0
push edi
call fcn.0045cf10
add esp, 0x10
test al, al
push edi
je 0x432062
call fcn.0045ce90
add esp, 4
mov dword [esp + 0x1030], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x432209
call fcn.00458400
add esp, 4
mov dword [esp + 0x1030], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x432209
mov esi, dword [esi]
push 0x4e0820
push esi
call ebx
add esp, 8
mov dword [esp + 0x1030], 0xffffffff
lea ecx, [esp + 0x18]
jmp 0x432209
mov esi, dword [esi]
push 0x4e0820
push esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x43220e
mov edx, dword [ebp + 0x68]
add ebp, 0x68
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4e0820
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_3
jmp 0x43220e
push str.SetupOCXFile
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4e0820
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x20]
push eax
call fcn.00432230
add esp, 8
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x103c], 2
call sub.MFC42.DLL_operator_1
mov bl, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1030], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edx
call esi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.SetupOCXFile
call sub.MFC42.DLL_CString::CString_2
push ecx
mov byte [esp + 0x1038], 5
mov edi, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4e0820
call sub.MFC42.DLL_CString::CString_2
push edi
call fcn.00432230
add esp, 4
lea eax, [ebp + 0x68]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x1040], 6
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x103c], bl
call fcn.00434a20
add esp, 0xc
lea ecx, [ebp + 0x6c]
add ebp, 0x34
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ebp
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x1c]
push edx
call fcn.00432230
add esp, 8
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x103c], 7
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x1030], 9
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1030], bl
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x1030], 0xffffffff
lea ecx, [esp + 0x10]
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