Function at 0x4357c5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4c12e0]
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4357fa
test eax, eax
je 0x4357fa
cmp dword [0x4c3630], 0
je 0x4357fa
mov eax, dword [ecx]
push str.In_CCleanUp::DeleteAllEntries__
push ecx
call dword [eax + 0x10]
mov eax, dword [0x4c12e0]
pop ecx
pop ecx
mov edi, dword [ebp + 8]
push 0x3d
pop ecx
mov word [ebp - 4], cx
test edi, edi
je 0x4359d8
cmp byte [edi], 0
je 0x4359d8
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435838
test eax, eax
je 0x435838
cmp dword [0x4c3630], 0
je 0x435838
mov eax, dword [ecx]
push edi
push str...Trying_to_delete_all_entries_under___s_
push ecx
call dword [eax + 0x10]
add esp, 0xc
push 0
push dword [esi + 0xc]
call fcn.0044261e
pop ecx
pop ecx
test eax, eax
je 0x435876
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4359f0
cmp dword [0x4c12e0], 0
je 0x4359f0
push dword [esi + 0xc]
mov eax, dword [ecx]
push str.File__s_does_not_exist._Nothing_to_delete
push ecx
call dword [eax + 0x14]
add esp, 0xc
jmp 0x4359f0
push 0x7fff
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x4358bb
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4359f0
cmp dword [0x4c12e0], 0
je 0x4359f0
mov eax, dword [ecx]
push str.FATAL._Could_not_allocate_memory
push ecx
call dword [eax + 0x1c]
jmp 0x4359ee
push dword [esi + 0xc]
push 0x7fff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
cmp eax, 0x7ffe
jae 0x4359b7
cmp byte [ebx], 0
je 0x4359b7
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435907
cmp dword [0x4c12e0], 0
je 0x435907
cmp dword [0x4c3630], 0
je 0x435907
mov eax, dword [ecx]
push edi
push str...Enumerating_entries_in_section__s_and_deleting_each_one
push ecx
call dword [eax + 0x10]
add esp, 0xc
cmp byte [ebx], 0
je 0x43597e
push ebx
call fcn.00465f76
mov dword [ebp + 8], eax
pop ecx
test eax, eax
je 0x435893
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.00467e0f
pop ecx
pop ecx
test eax, eax
je 0x435931
mov byte [eax], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43595c
cmp dword [0x4c12e0], 0
je 0x43595c
cmp dword [0x4c3630], 0
je 0x43595c
mov eax, dword [ecx]
push edi
push dword [ebp + 8]
push str...Deleting_entry__s_from_section___s_
push ecx
call dword [eax + 0x10]
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [ebp + 8]
push edi
call dword [eax + 4]
push dword [ebp + 8]
call fcn.0045f1d9
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc ebx
add ebx, eax
jne 0x435907
mov ebx, dword [ebp - 8]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4359f0
cmp dword [0x4c12e0], 0
je 0x4359f0
cmp dword [0x4c3630], 0
je 0x4359f0
mov eax, dword [ecx]
push str.CCleanUp::DeleteAllEntries___returns
push ecx
call dword [eax + 0x10]
jmp 0x4359ee
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x435981
cmp dword [0x4c12e0], 0
je 0x435981
mov eax, dword [ecx]
push edi
push str...::GetPrivateProfileSection__s__failed._Not_enough_space_to_hold_all_entries
push ecx
call dword [eax + 0x14]
add esp, 0xc
jmp 0x435981
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4359f0
test eax, eax
je 0x4359f0
mov eax, dword [ecx]
push str.Parameters_to_CCleanUp::DeleteAllEntries___are_incorrect
push ecx
call dword [eax + 0x14]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4