Function at 0x433bb0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x474640
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 0x433cbc
lea esi, [edi + 0x70]
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jl 0x433c85
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_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
lea edx, [edi + 0x6c]
mov ecx, edi
push edx
call fcn.00433a60
mov esi, eax
cmp esi, ebx
je 0x433c74
mov eax, dword [esp + 0x14]
push eax
push str.SetupOCXFile
push esi
call fcn.004594d0
push esi
call fcn.0045e000
add esp, 0x10
test al, al
push esi
je 0x433c6c
call fcn.0045df80
jmp 0x433c71
call fcn.004594f0
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x433dd4
mov esi, dword [esi]
push 0x4d6560
push esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x433dd9
mov ecx, dword [edi + 0x6c]
lea esi, [edi + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x4d6560
mov ecx, esi
call sub.MFC42.DLL_CString::operator
jmp 0x433dd9
push str.SetupOCXFile
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4d6560
call sub.MFC42.DLL_CString::CString_4
lea edx, [esp + 0x1c]
push edx
call fcn.00433df0
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 0x4d6560
call sub.MFC42.DLL_CString::CString_4
push ebp
call fcn.00433df0
add esp, 4
lea edx, [edi + 0x6c]
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.00436d30
add esp, 0xc
lea eax, [edi + 0x70]
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.00433df0
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