Function at 0x403524
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4087bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
mov dword [ebp - 0x148], ecx
push str.config
mov eax, dword [ebp - 0x148]
add eax, 0x124
push eax
lea ecx, [ebp - 0x10]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 4], 0
push str.config.ini
mov edx, dword [ebp - 0x148]
add edx, 0x124
push edx
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x148]
add ecx, 0x12c
push ecx
mov edx, esp
mov dword [ebp - 0x12c], esp
push ecx
mov ecx, edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.00402d53
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x4038e4
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x160], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x148]
mov byte [ebp - 4], 1
call fcn.00404318
push 0xff
push 0
lea eax, [ebp - 0x114]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
push 0xff
lea ecx, [ebp - 0x114]
push ecx
push 0x40b450
push 0x40b110
push 0x40b114
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x114]
push edx
push 0x40b11c
mov eax, dword [ebp - 0x148]
add eax, 0x144
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0xff
push 0
lea ecx, [ebp - 0x114]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
push 0xff
lea edx, [ebp - 0x114]
push edx
push 0x40b454
push 0x40b120
push 0x40b124
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x11c], 0
push str._1_2
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
push eax
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::TrimRight
push 0x40b130
lea ecx, [ebp - 0x118]
push ecx
call fcn.00405040
and eax, 0xff
test eax, eax
je 0x4037a7
push 0x40b134
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
push eax
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
lea edx, [ebp - 0x120]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x148]
call fcn.0040391a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call fcn.00407f3a
push 0xff
push 0
lea eax, [ebp - 0x114]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
push 0xff
lea ecx, [ebp - 0x114]
push ecx
push 0x40b458
push 0x40b138
push 0x40b13c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x40b144
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
push eax
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::TrimRight
push 0x40b148
lea eax, [ebp - 0x118]
push eax
call fcn.00405040
and eax, 0xff
test eax, eax
je 0x40388d
push 0x40b14c
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
push eax
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x13c], esp
lea edx, [ebp - 0x124]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x148]
call fcn.00403d4a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.00407f3a
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0x140], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.00407f3a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00407f3a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407f3a
mov al, byte [ebp - 0x140]
jmp 0x40390c
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00407f3a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407f3a
mov al, byte [ebp - 0x144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret