Function at 0x4dfa00
Capabilities:
Check if file exists
Delete file
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5412be
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [0x5c6f48]
mov dword [esp + 0x20], eax
mov eax, dword [0x5c7000]
add eax, 0x30
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, str.plugSett.xml
call fcn.0040f2b0
add esp, 8
mov dword [esp + 0xb0], 0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 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]
test bl, bl
je 0x4dfe7d
lea ecx, [esp + 0x5c]
call dword [sym.imp.libUtils.module_public:_void___thiscall_xmlElement::constructor_void_]
mov dword [esp + 0xb0], 1
mov eax, dword [0x5c7000]
add eax, 0x30
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.0040f2b0
mov byte [esp + 0xb8], 2
mov eax, dword [eax]
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
call fcn.0051e420
add esp, 0xc
mov byte [esp + 0xb0], 1
lea ecx, [esp + 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 ecx, dword [0x5c6ed0]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CConnection::transactionBegin_void_]
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, eax
jbe 0x4dfaff
call ebp
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edi
jmp 0x4dfb10
mov ebx, eax
cmp dword [esp + 0x74], eax
jbe 0x4dfb1a
call ebp
test esi, esi
je 0x4dfb24
cmp esi, dword [esp + 0x68]
je 0x4dfb26
call ebp
cmp edi, ebx
je 0x4dfdff
push 0x55ae9c
lea ecx, [esp + 0x44]
call dword [0x55a504]
mov byte [esp + 0xb0], 3
push str.guid
lea ecx, [esp + 0x3c]
call dword [0x55a504]
mov byte [esp + 0xb0], 4
test esi, esi
jne 0x4dfce8
call ebp
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4dfb6f
call ebp
mov ebx, dword [sym.imp.libUtils.module_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const____thiscall_xmlElement::GetAttribute_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call ebx
push eax
lea ecx, [esp + 0x20]
call dword [0x55a520]
mov byte [esp + 0xb0], 6
lea ecx, [esp + 0x38]
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 + 0xb0], 7
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x55ae9c
lea ecx, [esp + 0x40]
call dword [0x55a504]
mov byte [esp + 0xb0], 8
push str.file
lea ecx, [esp + 0x38]
call dword [0x55a504]
mov byte [esp + 0xb0], 9
test esi, esi
jne 0x4dfcef
call ebp
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4dfbf3
call ebp
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call ebx
mov ebp, eax
mov byte [esp + 0xb0], 8
lea ecx, [esp + 0x34]
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 + 0xb0], 7
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x55ae9c
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0xb0], 0xa
push str.auto
lea ecx, [esp + 0x34]
call dword [0x55a504]
mov byte [esp + 0xb0], 0xb
test esi, esi
jne 0x4dfcf6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp edi, dword [esi + 0x10]
jb 0x4dfc6e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call ebx
mov ebx, eax
mov byte [esp + 0xb0], 0xa
lea ecx, [esp + 0x30]
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 + 0xb0], 7
lea ecx, [esp + 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 edx, dword [esp + 0x1c]
cmp dword [edx - 0xc], 0
jne 0x4dfd15
mov eax, dword [esp + 0x20]
xor esi, esi
cmp dword [eax + 0x28], esi
jbe 0x4dfd15
mov edi, eax
add edi, 0xc
lea esp, [esp]
push esi
mov eax, edi
call fcn.00437690
mov eax, dword [eax]
add eax, 0x50
mov eax, dword [eax]
push eax
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
je 0x4dfcfd
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, dword [ecx + 0x28]
jb 0x4dfcc0
jmp 0x4dfd15
mov eax, dword [esi]
jmp 0x4dfb68
mov eax, dword [esi]
jmp 0x4dfbec
mov esi, dword [esi]
jmp 0x4dfc63
push esi
mov eax, edi
call fcn.00437690
mov edx, dword [eax]
add edx, 0x54
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea edi, [esp + 0x1c]
call fcn.004dd4b0
test eax, eax
je 0x4dfdae
mov eax, dword [0x5c6ed0]
push str.INSERT_OR_REPLACE_INTO_pluginSettings_VALUES__________
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov byte [esp + 0xb0], 0xc
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push 1
lea ecx, [esp + 0x54]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
mov eax, dword [ebx]
push 0xa
push 0
push eax
call dword [sym.imp.MSVCR90.dll_wcstol]
mov esi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__int_const__]
add esp, 0xc
lea edx, [esp + 0x44]
push edx
push 2
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], eax
call esi
lea eax, [esp + 0x2c]
push eax
push 3
lea ecx, [esp + 0x50]
mov dword [esp + 0x34], 0
call esi
lea ecx, [esp + 0x48]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::executeNoRead_void_]
mov byte [esp + 0xb0], 7
lea ecx, [esp + 0x48]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov byte [esp + 0xb0], 1
lea ecx, [esp + 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]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4dfdfb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x10]
jb 0x4dfddf
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add dword [esp + 0x28], 0x44
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
jmp 0x4dfb10
mov eax, dword [eax]
jmp 0x4dfdd0
mov ecx, dword [0x5c6ed0]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CConnection::transactionCommit_void_]
mov eax, dword [0x5c7000]
add eax, 0x30
push eax
lea edx, [esp + 0x30]
push edx
mov edi, str.plugSett.xml
call fcn.0040f2b0
add esp, 8
mov byte [esp + 0xb0], 0xd
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0xb0], 1
lea ecx, [esp + 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, [esp + 0x5c]
call dword [sym.imp.libUtils.module_public:_unsigned_int___thiscall_xmlElement::GetChildCount_void_]
push eax
push str.Plugin_settings_loaded___d_items_
push 5
mov ecx, str.PLMG
call fcn.004151b0
add esp, 0xc
mov dword [esp + 0xb0], 0xffffffff
lea ecx, [esp + 0x5c]
call dword [sym.imp.libUtils.module_public_virtual:_void___thiscall_xmlElement::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret