Function at 0x401ee0
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43c01d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x24], 0xa
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebp + 0x28]
jbe 0x401f21
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [ebp + 0x24]
cmp edi, dword [ebp + 0x28]
jbe 0x401f2f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x28]
cmp dword [ebp + 0x24], ebx
jbe 0x401f40
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x18]
test esi, esi
je 0x401f4b
cmp esi, eax
je 0x401f51
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, ebx
je 0x401fe4
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push 0
test esi, esi
jne 0x401fd4
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x401f70
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push edi
call dword [0x443834]
lea ecx, [ebp + 0xbc]
call fcn.00414ea0
test esi, esi
jne 0x401fd8
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x401f98
call ebx
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401fbd
test esi, esi
jne 0x401fdc
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x401fb4
call ebx
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x401fe0
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x401fcc
call ebx
add edi, 4
jmp 0x401f32
mov eax, dword [esi]
jmp 0x401f69
mov eax, dword [esi]
jmp 0x401f91
mov eax, dword [esi]
jmp 0x401fad
mov eax, dword [esi]
jmp 0x401fc5
lea esi, [ebp + 0x154]
lea ecx, [esi + 0x34]
mov dword [esp + 0x14], esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esi + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov byte [esp + 0x24], 0xb
mov edi, dword [esi + 0xc]
xor eax, eax
cmp edi, eax
je 0x40205d
mov ebx, dword [esi + 0x10]
cmp edi, ebx
je 0x40204f
push edi
call fcn.004046b0
add edi, 0x68
cmp edi, ebx
jne 0x402042
mov eax, dword [esi + 0xc]
push eax
call sub.mfc90u.dll_delete
add esp, 4
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov byte [esp + 0x24], 9
mov esi, dword [esi]
push esi
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [ebp + 0xbc]
push ecx
mov byte [esp + 0x28], 8
call fcn.00414c20
lea edi, [ebp + 0x70]
lea ecx, [edi + 0x44]
mov dword [esp + 0x14], edi
mov dword [edi], vtable.CMFile.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [edi], vtable.IniFileIO.0
lea esi, [edi + 0x20]
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 0xd
call fcn.0040d470
mov byte [esp + 0x24], 0xc
mov esi, dword [esi]
push esi
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [edi + 4]
mov byte [esp + 0x24], 7
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea edi, [ebp + 0x30]
mov dword [esp + 0x18], edi
mov dword [edi], vtable.IniFileIO.0
lea esi, [edi + 0x20]
mov dword [esp + 0x14], esi
mov byte [esp + 0x24], 0xf
call fcn.0040d470
mov byte [esp + 0x24], 0xe
mov esi, dword [esi]
push esi
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [edi + 4]
mov byte [esp + 0x24], 6
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea esi, [ebp + 0x18]
mov dword [esp + 0x18], esi
mov byte [esp + 0x24], 0x10
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp eax, ecx
je 0x40214d
mov ebx, dword [esi + 0x10]
mov edi, eax
cmp edi, ebx
je 0x40213f
lea esp, [esp]
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
add edi, 4
cmp edi, ebx
jne 0x402130
mov eax, dword [esi + 0xc]
push eax
call sub.mfc90u.dll_delete
add esp, 4
xor ecx, ecx
mov byte [esp + 0x24], 5
mov edx, dword [esi]
push edx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
call sub.mfc90u.dll_delete
add esp, 4
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 4]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4