Function at 0x40c750
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fccd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
push edi
push ecx
lea edi, [ebp - 0x118]
mov ecx, 0x43
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x50]
call fcn.0040d480
mov dword [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0x208
mov esi, esp
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x204
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20c
push ecx
mov edx, esp
mov dword [ebp - 0x70], esp
push ecx
mov ecx, edx
call fcn.0040d440
lea ecx, [ebp - 0x50]
call fcn.004e8980
movzx eax, al
test eax, eax
je 0x40cd31
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x511ca8
call fcn.0040d420
lea ecx, [ebp - 0x50]
call fcn.004e9200
movzx ecx, al
test ecx, ecx
je 0x40cd31
lea ecx, [ebp - 0x50]
call fcn.0040d5c0
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x511cb0
call fcn.0040d420
lea ecx, [ebp - 0x50]
call fcn.004e9290
movzx edx, al
test edx, edx
je 0x40c8a8
lea ecx, [ebp - 0x50]
call fcn.004eafd0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040d5f0
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 2
mov esi, esp
mov edx, dword [ebp - 0xcc]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x204
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x7c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x50]
call fcn.004eb020
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
push str.UpdateVersion
call fcn.0040d420
lea ecx, [ebp - 0x50]
call fcn.004e9290
movzx eax, al
test eax, eax
je 0x40cc53
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push str.VerNum
call fcn.0040d420
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0040e090
mov dword [ebp - 0xd0], eax
mov edx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], edx
mov byte [ebp - 4], 3
mov esi, esp
mov eax, dword [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x88]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp - 0x10]
add ecx, 0x208
push ecx
mov edx, esp
mov dword [ebp - 0x8c], esp
mov esi, esp
push ecx
mov ecx, edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
mov esi, esp
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.0040ce00
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x40cc4e
push 0x18
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x40c9dc
mov ecx, dword [ebp - 0x94]
call fcn.0040e150
mov dword [ebp - 0xe8], eax
jmp 0x40c9e6
mov dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x68], eax
mov esi, esp
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.IsConvertCab
call fcn.0040d420
lea edx, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040e090
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 5
mov esi, esp
mov ecx, dword [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea edx, [ebp - 0x5c]
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 0x14
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x50]
call fcn.004eafd0
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
push str.CabName
call fcn.0040d420
lea ecx, [ebp - 0x50]
call fcn.004e9290
movzx eax, al
test eax, eax
je 0x40cb1c
lea ecx, [ebp - 0x50]
call fcn.004eafd0
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x50]
call fcn.0040d5f0
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 6
mov esi, esp
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x50]
call fcn.004eb020
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push str.DesPath
call fcn.0040d420
lea ecx, [ebp - 0x50]
call fcn.004e9290
movzx ecx, al
test ecx, ecx
je 0x40cba8
lea ecx, [ebp - 0x50]
call fcn.004eafd0
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x50]
call fcn.0040d5f0
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 7
mov esi, esp
mov ecx, dword [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0x68]
add ecx, 8
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0xac]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x50]
call fcn.004eb020
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push str.DownUpdateCabUrl
call fcn.0040d420
lea ecx, [ebp - 0x50]
call fcn.004e9290
movzx edx, al
test edx, edx
je 0x40cc34
lea ecx, [ebp - 0x50]
call fcn.004eafd0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040d5f0
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x108], ecx
mov byte [ebp - 4], 8
mov esi, esp
mov edx, dword [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x68]
add ecx, 0xc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x50]
call fcn.004eb020
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x1f4
call fcn.0040e800
lea ecx, [ebp - 0x50]
call fcn.004eb020
jmp 0x40c8a8
mov ecx, dword [ebp - 0x10]
add ecx, 0x208
push ecx
mov edx, esp
mov dword [ebp - 0xb8], esp
mov esi, esp
push ecx
mov ecx, edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x204
push ecx
mov edx, esp
mov dword [ebp - 0xbc], esp
mov esi, esp
push ecx
mov ecx, edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.0040ce00
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x40cd31
mov ecx, dword [ebp - 0x10]
add ecx, 0x20c
mov esi, esp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xc0], 1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040d530
mov eax, dword [ebp - 0xc0]
jmp 0x40cd8e
mov ecx, dword [ebp - 0x10]
add ecx, 0x20c
mov esi, esp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0040d530
mov eax, dword [ebp - 0xc4]
push edx
mov ecx, ebp
push eax
lea edx, [0x40cdbc]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x118
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret