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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b410c
push eax
mov eax, 0x1024
mov dword fs:[0], esp
call fcn.00423d10
mov eax, dword [esp + 0x1034]
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
mov ebp, ecx
je 0x433db5
lea esi, [ebp + 0x54]
push 0x5c
mov ecx, esi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x433d67
push esi
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi]
mov dword [esp + 0x103c], edi
push 0x5c
mov ecx, esi
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 + 0x1040], 1
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x103c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [ebp + 8]
lea edx, [esp + 0x10]
push edx
mov byte [esp + 0x1040], 2
call fcn.0041a1b0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
push 0
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 0x433c87
lea edx, [esp + 0x10]
push edx
call fcn.0041a1b0
mov eax, dword [eax]
add esp, 4
lea ecx, [esp + 0x34]
push ecx
push 0
push 0x550158
push eax
call esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x34]
lea ecx, [esp + 0x14]
push edx
call fcn.004233b4
mov eax, dword [esp + 0x14]
push 0x550158
push eax
call fcn.004689a0
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
je 0x433d1d
mov ecx, dword [esp + 0x1c]
push ecx
push str.SetupOCXFile
push esi
call fcn.00468a10
push esi
call fcn.0046d540
add esp, 0x10
test al, al
push esi
je 0x433cd4
call fcn.0046d4c0
jmp 0x433cd9
call fcn.00468a30
mov ecx, dword [ebp + 0x50]
mov esi, dword [esp + 0x18]
add esp, 4
cmp ecx, edi
je 0x433cef
call fcn.00434050
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 + 0x103c], 3
je 0x433d16
push esi
mov ecx, eax
call fcn.00433fb0
mov dword [ebp + 0x50], eax
jmp 0x433d42
xor eax, eax
mov dword [ebp + 0x50], eax
jmp 0x433d42
mov esi, dword [ebp + 0x50]
cmp esi, edi
je 0x433d42
lea edx, [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x433d3f
cmp esi, edi
je 0x433d3f
push 1
mov ecx, esi
call fcn.004340d0
mov dword [ebp + 0x50], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x103c], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x103c], 0xffffffff
lea ecx, [esp + 0x1c]
jmp 0x433f6b
mov esi, dword [esi]
push 0x550158
push esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x433f70
mov esi, dword [ebp + 0x50]
cmp esi, edi
je 0x433f70
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x433dad
cmp esi, edi
je 0x433dad
mov ecx, esi
call fcn.00419100
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x50], edi
jmp 0x433f70
lea ecx, [esp + 0x28]
push ecx
call fcn.0041a420
add esp, 4
push str.qmacroocx_
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x1048], 4
call sub.MFC42.DLL_operator_2
lea ecx, [ebp + 8]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x1048], 5
call sub.MFC42.DLL_operator_1
push 0x52d15c
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x1044], 6
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x103c], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x103c], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x103c], 8
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.IMAGEHLP.dll_MakeSureDirectoryPathExists]
lea edx, [esp + 0x18]
push str.SetupOCXFile
lea eax, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov ecx, dword [esp + 0x10]
mov bl, 0xb
push ecx
mov byte [esp + 0x1040], bl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x550158
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x1048], 0xc
call sub.MFC42.DLL_CString::CString_2
lea esi, [ebp + 0x50]
mov byte [esp + 0x1044], 0xd
mov ecx, esi
call fcn.00433f90
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x1048], bl
call fcn.00411e10
mov esi, dword [esi]
add esp, 0xc
cmp esi, edi
je 0x433f14
mov eax, dword [esi + 4]
lea edi, [esi + 4]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov eax, dword [eax]
push 0x550158
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 0x433f14
mov esi, dword [esi]
mov edx, dword [edi]
push 0
push 0x8010
push esi
mov ecx, edi
call dword [edx + 0x28]
add ebp, 0x54
lea eax, [esp + 0x18]
push ebp
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_1
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 + 0x103c], 8
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x103c], 0xffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1034]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1030
ret 4