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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408814
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
mov dword [ebp - 0x160], ecx
mov dword [ebp - 4], 0
push 0x40b150
mov eax, dword [ebp - 0x160]
add eax, 0x124
push eax
lea ecx, [ebp - 0x10]
push ecx
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 1
push str.list.ini
mov edx, dword [ebp - 0x160]
add edx, 0x124
push edx
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x144], esp
lea edx, [ebp + 8]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 2
call fcn.00402d53
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0
je 0x403d03
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 2
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 0x40b45c
push str.start
push 0x40b16c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 1
jne 0x403cac
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 0x40b460
push str.Count
push 0x40b17c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], 1
jmp 0x403b16
mov eax, dword [ebp - 0x12c]
add eax, 1
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
cmp ecx, dword [ebp - 0x128]
jg 0x403c98
mov edx, dword [ebp - 0x12c]
push edx
push 0x40b184
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
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 0x40b464
lea eax, [ebp - 0x120]
push eax
push str.Value
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x13c]
call fcn.00405300
mov byte [ebp - 4], 5
push 0x40b190
lea ecx, [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
push eax
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x13c]
call sub.MFC42.DLL_CString::TrimRight
push 0x40b194
push 0
call dword [sym.imp.MSVCRT.dll_strtok]
add esp, 8
push eax
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x138]
call sub.MFC42.DLL_CString::TrimRight
mov dword [ebp - 0x130], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
lea edx, [ebp - 0x138]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x180], eax
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x160]
call fcn.00404e05
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x188], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x188]
push edx
lea ecx, [ebp - 0x134]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x154]
call fcn.00407f3a
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x160]
add ecx, 0x148
call fcn.00405510
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x13c]
call fcn.00401d80
jmp 0x403b07
push 0
push 0x7d0
push 0
mov ecx, dword [ebp - 0x160]
call fcn.004050c0
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 dword [ebp - 0x158], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00407f3a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00407f3a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407f3a
mov eax, dword [ebp - 0x158]
jmp 0x403d3a
mov dword [ebp - 0x15c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00407f3a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00407f3a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407f3a
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4