Function at 0x4265f0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x458d1c
call fcn.004385b8
sub esp, 0x428
push ebx
push esi
push edi
call fcn.00425bf7
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
jne 0x426638
push str.GetPrivateProfileSection____lpReturnedStringNULL___
push str._s_failed_n
push 0x4788a8
call fcn.0041f963
add esp, 0xc
jmp 0x42693c
cmp dword [ebp + 0x10], ebx
jne 0x426644
push str.GetPrivateProfileSection_____nSize0__
jmp 0x426621
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jne 0x426652
push str.GetPrivateProfileSection______pFileNameNULL_
jmp 0x426621
cmp dword [ebp + 8], ebx
jne 0x42665e
push str.GetPrivateProfileSection______lpAppNameNULL_
jmp 0x426621
push 0x46e878
call fcn.004386d0
cmp eax, dword [ebp + 0x10]
pop ecx
jb 0x426675
push str.GetPrivateProfileSection___checking_size_of_default___nSize
jmp 0x426621
push esi
call fcn.00425c9f
test eax, eax
pop ecx
je 0x42668c
cmp dword [0x488994], ebx
je 0x426931
mov al, byte [ebp + 0xf]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00404400
push esi
call fcn.004386d0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00404770
mov ecx, dword [0x488994]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00427e2c
mov esi, dword [ebp - 0x2c]
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00404400
mov al, byte [0x48840c]
mov ecx, 0xf9
mov byte [ebp - 0x434], al
xor eax, eax
lea edi, [ebp - 0x433]
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x488994]
cmp esi, dword [eax + 4]
je 0x426931
cmp dword [esi + 0x24], 0xffdc
jae 0x42673e
call sym.HPZshl01.exe_unsigned_int___cdecl_Is9X_void_
test eax, eax
je 0x42673e
push str.GetPrivateProfileSection___redirected_to_native
push 0x20
push 0x4788a8
call fcn.0041f763
add esp, 0xc
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
jmp 0x42693a
mov al, byte [ebp + 0xf]
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.00404400
push dword [ebp + 8]
call fcn.004386d0
pop ecx
push eax
lea ecx, [ebp - 0x3c]
push dword [ebp + 8]
call fcn.00404770
lea eax, [ebp - 0x3c]
lea ecx, [esi + 0x28]
push eax
lea eax, [ebp + 0x14]
push eax
mov byte [ebp - 4], 2
call fcn.00427d0f
mov edi, dword [ebp + 0x14]
push 1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], bl
call fcn.00404400
cmp edi, dword [esi + 0x2c]
je 0x426931
mov eax, dword [edi + 0x20]
mov esi, dword [eax]
cmp esi, dword [edi + 0x20]
je 0x42692c
mov eax, dword [esi + 0xc]
mov dword [ebp + 8], 0x45b980
cmp eax, ebx
je 0x4267b1
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xf]
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 0x4c], al
call fcn.00404400
push dword [ebp + 8]
call fcn.004386d0
pop ecx
push eax
lea ecx, [ebp - 0x4c]
push dword [ebp + 8]
call fcn.00404770
lea eax, [ebp - 0x4c]
lea ecx, [edi + 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00423b71
mov edi, eax
push ebx
lea ecx, [ebp - 0x24]
mov al, byte [edi]
mov byte [ebp - 0x24], al
call fcn.00404400
push dword [0x45b97c]
lea ecx, [ebp - 0x24]
push ebx
push edi
call fcn.00403e70
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.00404400
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax + 1]
cmp eax, 0x3e8
jae 0x42686c
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x426830
mov eax, 0x45b980
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00438750
lea eax, [ebp - 0x434]
push 0x472444
push eax
call fcn.00438760
mov eax, dword [ebp - 0x20]
add esp, 0x10
cmp eax, ebx
jne 0x42685d
mov eax, 0x45b980
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.00438760
jmp 0x42687d
lea eax, [ebp - 0x434]
push str._This_line_is_over_1000_characters__....__This_function_fails_on_lines_over_1000_characters
push eax
call fcn.00438750
pop ecx
lea eax, [ebp - 0x434]
pop ecx
push eax
call fcn.004386d0
mov edi, dword [ebp - 0x10]
pop ecx
mov ecx, dword [ebp + 0x10]
inc eax
mov edx, ecx
sub edx, edi
cmp edx, eax
jbe 0x4268e0
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
call fcn.00438750
lea eax, [ebp - 0x434]
push eax
call fcn.004386d0
add esp, 0xc
lea edi, [edi + eax + 1]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push 1
mov dword [ebp - 0x10], edi
mov byte [edi + eax], bl
mov byte [ebp - 4], bl
call fcn.00404400
mov esi, dword [esi]
mov edi, dword [ebp - 0x28]
jmp 0x426797
cmp ecx, edi
jbe 0x4268ff
sub ecx, edi
lea eax, [ebp - 0x434]
push ecx
push eax
mov eax, dword [ebp + 0xc]
add edi, eax
push edi
call fcn.004373f1
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, ecx
cmp ecx, 2
mov byte [eax - 1], bl
jb 0x42690f
mov byte [eax - 2], bl
lea esi, [ecx - 2]
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00404400
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x426947
mov ebx, dword [ebp - 0x10]
jmp 0x42693c
push dword [ebp + 0xc]
call fcn.004386d0
pop ecx
mov ebx, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret