Function at 0x4943e0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1ead
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x515bb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 5], 0
mov dword [ebp - 4], 2
je 0x494421
mov esi, 0x5dc0
jmp 0x494740
push 0
push 0xd
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call sym.Calibr.exe_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CplEntry::strGetParam_enum_CplEntry::ParamCode__int_
mov ecx, eax
call dword [sym.imp.mfc110.dll_Ordinal_7991]
test al, al
lea ecx, [ebp - 0x14]
sete bl
call dword [sym.imp.mfc110.dll_Ordinal_1038]
test bl, bl
je 0x494467
push str.Parameter_is_a_feature_file__not_a_DFA.
push sym.Calibr.exe_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____CplEntry::strLastError_
call dword [sym.imp.mfc110.dll_Ordinal_4746]
add esp, 8
mov esi, 0x5dc1
jmp 0x494740
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110.dll_Ordinal_14149]
push 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110.dll_Ordinal_1652]
mov esi, dword [sym.imp.MSVCR110.dll__access]
push eax
call esi
add esp, 8
test eax, eax
lea eax, [ebp - 0x14]
je 0x494500
push 0x120
push str.CplEntry.cpp
push eax
call sub.bv_util.dll_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_strLineInfo_char_const___long_int_
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp + 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.004018a2
add esp, 0x18
push 0
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
call sub.bv_util.dll_void___cdecl_LogError_char_const___unsigned_int_
add esp, 8
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc110.dll_Ordinal_1038]
push dword [ebp + 8]
push str.Access_to_file___s__denied
push sym.Calibr.exe_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____CplEntry::strLastError_
call dword [sym.imp.mfc110.dll_Ordinal_4746]
add esp, 0xc
mov esi, 0x5dc1
jmp 0x494740
push 1
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110.dll_Ordinal_12695]
push 0x4f0e24
mov ecx, eax
mov byte [ebp - 4], 5
call dword [sym.imp.mfc110.dll_Ordinal_2931]
test eax, eax
lea ecx, [ebp - 0x14]
setne bl
mov byte [ebp - 4], 2
call dword [sym.imp.mfc110.dll_Ordinal_1038]
test bl, bl
je 0x494541
push 0x4f0e24
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110.dll_Ordinal_1687]
push 1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc110.dll_Ordinal_12695]
push 0x4f0e24
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.mfc110.dll_Ordinal_2931]
test eax, eax
lea ecx, [ebp - 0x14]
setne bl
mov byte [ebp - 4], 2
call dword [sym.imp.mfc110.dll_Ordinal_1038]
test bl, bl
je 0x494585
push 0x4f0e24
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc110.dll_Ordinal_1687]
push 0
push 0xf
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call sym.Calibr.exe_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CplEntry::strGetParam_enum_CplEntry::ParamCode__int_
push str..dfa
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.0040107d
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004018a2
add esp, 0xc
mov ecx, eax
push 0
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
call esi
add esp, 8
test eax, eax
lea ecx, [ebp - 0x18]
sete bl
call dword [sym.imp.mfc110.dll_Ordinal_1038]
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
je 0x49464f
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004018a2
add esp, 0xc
mov ecx, eax
push 0x80
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
call ebx
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004018a2
add esp, 0xc
mov ecx, eax
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
call dword [sym.imp.MSVCR110.dll_remove]
add esp, 4
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
push 0xa
lea ecx, [ebp - 0x40]
call sub.mfc110.dll_Ordinal_969
mov esi, dword [edi + 0x28]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 0xb
test esi, esi
je 0x494681
lea ecx, [ecx]
push dword [esi + 8]
mov esi, dword [esi]
lea ecx, [ebp - 0x40]
call sub.mfc110.dll_Ordinal_1954
test esi, esi
jne 0x494670
push dword [ebp + 0x14]
lea eax, [ebp - 0x40]
push eax
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp + 0x14], esp
push eax
call dword [sym.imp.mfc110.dll_Ordinal_300]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc110.dll_Ordinal_300]
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc110.dll_Ordinal_300]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc110.dll_Ordinal_300]
mov byte [ebp - 4], 0xb
call sym.Calibr.exe_public:_static_long_int___cdecl_CplEntry::AssembleFileA_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____class_CStringList___class_IBusyData__
add esp, 0x18
mov esi, eax
sub eax, 0x5dc0
je 0x49471e
sub eax, 0x13
je 0x49471e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc110.dll_Ordinal_1683]
push 0x80
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
call ebx
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
call dword [sym.imp.MSVCR110.dll_remove]
add esp, 4
jmp 0x494722
mov byte [edi + 5], 1
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call sub.mfc110.dll_Ordinal_1439
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10