Function at 0x537952
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575cb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x101c
call fcn.0054c740
push esi
push edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.00401420
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00401420
mov byte [ebp - 4], 1
cmp dword [ebp - 0x81c], 0
jne 0x5379be
mov dword [ebp - 0x81c], 0x6783a4
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x818]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x81c]
push ecx
push 0x800
lea edx, [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov eax, dword [ebp - 0x10]
lea edi, [ebp + eax - 0x818]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
test ecx, ecx
je 0x537bd6
push str.2673_83
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + ecx - 0x818]
push edx
call fcn.0054cb20
add esp, 8
test eax, eax
je 0x537a41
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + eax - 0x818]
push ecx
push 0x5cc918
lea edx, [ebp - 0x18]
push edx
call fcn.0055f827
add esp, 0xc
jmp 0x537bd6
cmp dword [ebp + 0xc], 0
je 0x537bb1
mov dword [ebp - 0x1020], 0
mov eax, dword [ebp - 0x10]
lea ecx, [ebp + eax - 0x818]
push ecx
push 0x5cc91c
lea edx, [ebp - 0x18]
push edx
call fcn.0055f827
add esp, 0xc
mov eax, 1
test eax, eax
je 0x537ba0
mov ecx, dword [ebp - 0x1020]
push ecx
push 0x5cc920
lea edx, [ebp - 0x14]
push edx
call fcn.0055f827
add esp, 0xc
mov eax, dword [ebp - 0x81c]
push eax
push 0x800
lea ecx, [ebp - 0x101c]
push ecx
push 0x68591c
lea ecx, [ebp - 0x14]
call fcn.005287a0
push eax
lea ecx, [ebp - 0x18]
call fcn.005287a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x537acf
jmp 0x537ba0
mov edx, dword [ebp - 0x81c]
push edx
push 0
push 0
lea eax, [ebp - 0x101c]
push eax
lea ecx, [ebp - 0x18]
call fcn.005287a0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructA]
mov ecx, dword [ebp - 0x81c]
push ecx
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.005287a0
push eax
lea ecx, [ebp - 0x18]
call fcn.005287a0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStructA]
mov edx, dword [ebp - 0x1020]
add edx, 1
mov dword [ebp - 0x1020], edx
mov eax, dword [ebp - 0x1020]
cdq
mov ecx, 0x14
idiv ecx
test edx, edx
jne 0x537b9b
mov edx, dword [ebp - 0x18]
push edx
push str.Delete_Data__s_
lea eax, [ebp - 0x101c]
push eax
call fcn.0054c6e3
add esp, 0xc
mov dword [ebp - 0x1024], 0
jmp 0x537b67
mov ecx, dword [ebp - 0x1024]
add ecx, 1
mov dword [ebp - 0x1024], ecx
mov eax, dword [ebp - 0x1020]
cdq
mov ecx, 0x14
idiv ecx
cdq
mov ecx, 0x14
idiv ecx
cmp dword [ebp - 0x1024], edx
jge 0x537b9b
push 0x5cc934
lea edx, [ebp - 0x101c]
push edx
call fcn.0054bea0
add esp, 8
jmp 0x537b58
jmp 0x537a71
push 0x685920
lea eax, [ebp - 0x18]
push eax
call fcn.0055f827
add esp, 8
mov ecx, dword [ebp - 0x10]
lea edi, [ebp + ecx - 0x818]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x10], eax
jmp 0x5379e6
lea ecx, [ebp - 0x18]
call fcn.00401440
test eax, eax
jle 0x537c0c
lea ecx, [ebp - 0x18]
call fcn.005287a0
mov edi, eax
mov edx, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov eax, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x18]
call fcn.00401440
mov dword [ebp - 0x1028], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0056206c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0056206c
mov eax, dword [ebp - 0x1028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret