Function at 0x409d80
Capabilities:
Delete file
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40baa8
mov eax, dword fs:[0]
push eax
sub esp, 0xb14
mov eax, dword [0x413028]
xor eax, esp
mov dword [esp + 0xb10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x413028]
xor eax, esp
push eax
lea eax, [esp + 0xb28]
mov dword fs:[0], eax
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x71a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x720], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x206
lea eax, [esp + 0x512]
xor edx, edx
push ebx
push eax
mov word [esp + 0x518], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x206
lea edx, [esp + 0x102]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x108], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x206
lea ecx, [esp + 0x30a]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x310], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xc6
lea eax, [esp + 0x3a]
xor edx, edx
push ebx
push eax
mov word [esp + 0x40], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
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_class]
push 0x206
lea edx, [esp + 0x922]
mov dword [esp + 0xb34], ebx
xor ecx, ecx
push ebx
push edx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x928], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 1
push 0x23
lea eax, [esp + 0x30c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x304]
push ecx
push str._sNet_ProtectorupdExclude.ini
lea edx, [esp + 0x71c]
call fcn.0040aa70
lea edx, [esp + 0x30c]
push edx
push str._sNet_Protectorupdexd.ini
lea edx, [esp + 0x10c]
call fcn.0040aa70
add esp, 0x10
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x714]
push ecx
push ebx
push str.Count
push str.NPAV
call esi
lea edx, [esp + 0xfc]
push edx
push ebx
push str.Count
mov edi, eax
push str.FILE
mov dword [esp + 0x38], edi
call esi
push edi
push 0x40ee04
lea edx, [esp + 0x3c]
mov dword [esp + 0x24], eax
call fcn.0040aa90
add esp, 8
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x38]
push ecx
push str.count
push str.FILE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea esi, [ebx + 1]
cmp edi, esi
jl 0x40a0aa
inc dword [esp + 0x1c]
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x40ee0c]
mov word [esp + eax + 0x34], cx
add eax, 2
test cx, cx
jne 0x409f60
push esi
push 0x40ee04
lea edx, [esp + 0x3c]
call fcn.0040aa90
add esp, 8
lea edx, [esp + 0x714]
push edx
push 0x104
lea eax, [esp + 0x514]
push eax
push str.Error
lea ecx, [esp + 0x44]
push ecx
push str.NPAV
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x50c]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x510]
push 0x40f28c
push ecx
call dword [sym.imp.MSVCR90.dll_wcstok_s]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push edx
mov edi, eax
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
push 0
cdq
push 0x15180
push edx
push eax
call fcn.0040b8e0
push 0
mov ebp, eax
mov ebx, edx
call dword [sym.imp.MSVCR90.dll__time64]
add esp, 4
add eax, ebp
mov dword [esp + 0x2c], eax
push str._d__m__Y
lea eax, [esp + 0x30]
adc edx, ebx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], edx
call fcn.004070f0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb34], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x24]
mov byte [esp + 0xb30], 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 ecx, dword [esp + 0x18]
push ecx
push edi
push str._s__s
lea edx, [esp + 0x928]
call fcn.0040aa70
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
push 0x40ee04
lea edx, [esp + 0x3c]
call fcn.0040aa90
add esp, 8
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x920]
push ecx
lea edx, [esp + 0x3c]
push edx
push str.FILE
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc esi
cmp esi, dword [esp + 0x28]
jle 0x409f56
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]
xor eax, eax
mov ecx, dword [esp + 0xb28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb10]
xor ecx, esp
call fcn.0040b240
add esp, 0xb20
ret