Function at 0x425032
Capabilities:
Read .ini file

Disassembly:
push 0x38
mov eax, 0x46328c
call fcn.0044ba5a
call fcn.00421780
mov ebx, eax
push ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 4], esi
jne 0x42507f
push str.GetPrivateProfileStringA___lpDefaultNULL____
push str._s_failed_n
push 0x4866f8
call fcn.00419d26
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
call fcn.0044bb32
ret
mov edi, dword [ebp + 0x14]
cmp edi, esi
jne 0x42508d
push str.GetPrivateProfileStringA____lpReturnedStringNULL___
jmp 0x42505e
cmp dword [ebp + 0x18], esi
jne 0x425099
push str.GetPrivateProfileStringA_____nSize0__
jmp 0x42505e
cmp dword [ebp + 0x1c], esi
jne 0x4250a5
push str.GetPrivateProfileStringA______pFileNameNULL_
jmp 0x42505e
push dword [ebp + 0x10]
call fcn.0044aa00
cmp eax, dword [ebp + 0x18]
pop ecx
jb 0x4250d7
push str.GetPrivateProfileStringA___checking_strlen_lpDefault____nSize
push str._s_failed_n
push 0x4866f8
call fcn.00419d26
add esp, 0xc
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x425079
push dword [ebp + 0x10]
push dword [ebp + 0x18]
push edi
call fcn.00448647
push edi
call fcn.0044aa00
add esp, 0x10
add eax, edi
cmp byte [eax], 0x20
jne 0x4250f9
mov byte [eax], 0
dec eax
jmp 0x4250ee
push edi
push str.GetPrivateProfileStringA___built_the_default_value:___s__n
mov ebx, 0x4866f8
push ebx
call fcn.0041a1b0
push dword [ebp + 0x1c]
call fcn.00424997
add esp, 0x10
test eax, eax
je 0x42512c
cmp dword [0x496d8c], esi
jne 0x42512c
push edi
call fcn.0044aa00
pop ecx
mov esi, eax
jmp 0x4250ca
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x44]
call fcn.00402f00
mov ecx, dword [0x496d8c]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.0042219e
push esi
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00401c10
mov eax, dword [0x496d8c]
mov ecx, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00421bb0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00421b45
test al, al
jne 0x425121
lea ecx, [ebp - 0x20]
call fcn.0041d3b5
cmp dword [eax + 0x24], 0xffdc
jae 0x4251c4
call fcn.0041bed5
test eax, eax
je 0x4251c4
push str.GetPrivateProfileString_redirected_to_native
push 0x20
push ebx
call fcn.00401000
add esp, 0xc
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x425128
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x425427
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.00402f00
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0041d3b5
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [eax + 0x28]
call fcn.00422132
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 0x18], ecx
push 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], bl
call fcn.00401c10
lea ecx, [ebp - 0x20]
call fcn.0041d3b5
mov ecx, dword [eax + 0x2c]
add eax, 0x28
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00421bb0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421b45
test al, al
jne 0x425121
cmp dword [ebp + 0xc], ebx
je 0x4252e7
push dword [ebp + 0xc]
lea ecx, [ebp - 0x44]
call fcn.00402f00
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0041d3b5
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [eax + 0x28]
call fcn.0041d569
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
mov dword [ebp - 0x20], ecx
push 1
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1c], eax
call fcn.00401c10
lea ecx, [ebp - 0x18]
call fcn.0041d3b5
add eax, 0x28
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.0040b6c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00408740
test al, al
jne 0x425121
lea ecx, [ebp - 0x20]
call fcn.0041d3b5
add eax, 0x1c
cmp dword [eax + 0x18], 0x10
jb 0x4252c2
mov eax, dword [eax + 4]
jmp 0x4252c5
add eax, 4
mov esi, dword [ebp + 0x18]
lea ecx, [esi - 1]
push ecx
push eax
push esi
push edi
call fcn.00447cd6
push edi
mov byte [edi + esi - 1], 0
call fcn.0044aa00
add esp, 0x14
jmp 0x425128
lea ecx, [ebp - 0x18]
call fcn.0041d3b5
add eax, 0x1c
push eax
mov eax, dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x28]
call fcn.0040b6c0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
jmp 0x42537a
lea ecx, [ebp - 0x20]
call fcn.004064c0
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 0x14]
mov ebx, ecx
sub ebx, esi
inc eax
cmp ebx, eax
jbe 0x4253aa
lea ecx, [ebp - 0x20]
call fcn.004064c0
cmp dword [eax + 0x18], 0x10
jb 0x42533c
mov eax, dword [eax + 4]
jmp 0x42533f
add eax, 4
push eax
lea eax, [esi + edi]
push ebx
push eax
call fcn.00448647
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.004064c0
cmp dword [eax + 0x18], 0x10
jb 0x425360
mov eax, dword [eax + 4]
jmp 0x425363
add eax, 4
push eax
call fcn.0044aa00
pop ecx
lea esi, [esi + eax + 1]
lea ecx, [ebp - 0x20]
mov byte [esi + edi], 0
call fcn.00406460
lea ecx, [ebp - 0x18]
call fcn.0041d3b5
add eax, 0x1c
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.0040b6c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x20]
call fcn.00408740
test al, al
je 0x42530e
jmp 0x4250ca
cmp ecx, esi
jbe 0x425403
mov ebx, ecx
sub ebx, esi
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x10], ebx
call fcn.004064c0
cmp dword [eax + 0x18], 0x10
jb 0x4253c8
mov eax, dword [eax + 4]
jmp 0x4253cb
add eax, 4
push eax
call fcn.0044aa00
cmp eax, dword [ebp + 0x10]
pop ecx
jb 0x4253da
dec dword [ebp + 0x10]
lea ecx, [ebp - 0x20]
call fcn.004064c0
cmp dword [eax + 0x18], 0x10
jb 0x4253ed
mov eax, dword [eax + 4]
jmp 0x4253f0
add eax, 4
push dword [ebp + 0x10]
add esi, edi
push eax
push ebx
push esi
call fcn.00447cd6
mov ecx, dword [ebp + 0x18]
add esp, 0x10
cmp ecx, 2
lea eax, [edi + ecx]
mov byte [eax - 1], 0
jb 0x425413
mov byte [eax - 2], 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x18]
add eax, 0xfffffffe
jmp 0x425079
lea ecx, [ebp - 0x20]
call fcn.0041d3b5
add eax, 0x28
push eax
mov eax, dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x28]
call fcn.00421bb0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jmp 0x4254ba
lea ecx, [ebp - 0x18]
call fcn.0041d3b5
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 0x14]
mov ebx, ecx
sub ebx, esi
inc eax
cmp ebx, eax
jbe 0x4254ea
lea ecx, [ebp - 0x18]
call fcn.0041d3b5
cmp dword [eax + 0x18], 0x10
jb 0x42547c
mov eax, dword [eax + 4]
jmp 0x42547f
add eax, 4
push eax
lea eax, [esi + edi]
push ebx
push eax
call fcn.00448647
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0041d3b5
cmp dword [eax + 0x18], 0x10
jb 0x4254a0
mov eax, dword [eax + 4]
jmp 0x4254a3
add eax, 4
push eax
call fcn.0044aa00
pop ecx
lea esi, [esi + eax + 1]
lea ecx, [ebp - 0x18]
mov byte [esi + edi], 0
call fcn.00421c45
lea ecx, [ebp - 0x20]
call fcn.0041d3b5
add eax, 0x28
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.00421bb0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00421b45
test al, al
je 0x42544e
jmp 0x4250ca
cmp ecx, esi
jbe 0x425543
mov ebx, ecx
sub ebx, esi
lea ecx, [ebp - 0x18]
mov dword [ebp + 0x10], ebx
call fcn.0041d3b5
cmp dword [eax + 0x18], 0x10
jb 0x425508
mov eax, dword [eax + 4]
jmp 0x42550b
add eax, 4
push eax
call fcn.0044aa00
cmp eax, dword [ebp + 0x10]
pop ecx
jb 0x42551a
dec dword [ebp + 0x10]
lea ecx, [ebp - 0x18]
call fcn.0041d3b5
cmp dword [eax + 0x18], 0x10
jb 0x42552d
mov eax, dword [eax + 4]
jmp 0x425530
add eax, 4
push dword [ebp + 0x10]
add esi, edi
push eax
push ebx
push esi
call fcn.00447cd6
mov ecx, dword [ebp + 0x18]
add esp, 0x10
add edi, ecx
cmp ecx, 2
mov byte [edi - 1], 0
jb 0x425413
mov byte [edi - 2], 0
jmp 0x425413