Function at 0x10025399
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005eecd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
cmp byte [ebp + 8], 0
push ebx
push esi
mov esi, ecx
mov byte [esp + 0x18], dl
push edi
mov dword [esp + 0x20], esi
je 0x100255ac
push 0
pop ebx
mov dword [esp + 0x18], 0x2016
cmp dword [esp + 0x18], 0xfa9
push 1
pop edi
jge 0x10025562
call fcn.10046623
push eax
push 0x100697d4
push str.in.txt
call fcn.100467d2
add esp, 0xc
call fcn.10046623
add eax, 0x20
push eax
push 0x100697e0
push str.out.txt
call fcn.100467d2
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x100697ec
call fcn.10045abb
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
je 0x10025562
push eax
lea ecx, [esp + 0x28]
call fcn.10001cd0
mov dword [esp + 0x2b4], ebx
mov esi, ebx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x10025483
mov ebx, dword [esp + 0x24]
lea edi, [esp + 0x30]
push edi
push 0x1006795c
call fcn.10045abb
mov eax, dword [edi]
inc esi
pop ecx
pop ecx
add edi, 4
mov dword [ebx + eax*4], esi
mov ecx, dword [esp + 0x14]
cmp esi, ecx
jl 0x10025460
xor edi, edi
xor ebx, ebx
inc edi
lea eax, [ecx - 2]
mov dl, bl
test eax, eax
jle 0x10025517
mov esi, edi
lea eax, [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
test dl, dl
jne 0x10025510
lea eax, [ecx - 1]
mov edi, esi
cmp esi, eax
mov eax, dword [esp + 0x10]
jge 0x100254f6
mov ebx, eax
test dl, dl
jne 0x100254ec
mov eax, dword [esp + edi*4 + 0x30]
add eax, eax
sub eax, dword [ebx]
test eax, eax
jle 0x100254e4
cmp eax, ecx
jge 0x100254e4
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
push 1
movzx edx, dl
mov eax, dword [esi + eax*4]
mov esi, dword [esp + edi*4 + 0x34]
cmp eax, dword [ebx + esi*4]
mov ebx, dword [esp + 0x14]
pop eax
cmovg edx, eax
inc edi
lea eax, [ecx - 1]
cmp edi, eax
jl 0x100254b1
mov esi, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [esp + 0x10]
inc esi
lea edi, [ecx - 2]
add eax, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
lea eax, [esi - 1]
cmp eax, edi
jl 0x1002549e
test dl, dl
je 0x10025517
mov edx, 0x100697f0
jmp 0x1002551c
mov edx, 0x100697f4
mov ecx, 0x10079b38
call fcn.10009b61
push eax
call fcn.100225f8
or dword [esp + 0x2b8], 0xffffffff
pop ecx
lea ecx, [esp + 0x24]
call fcn.10001d53
lea eax, [esp + 0x14]
push eax
push 0x100697ec
call fcn.10045abb
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
push 1
pop edi
test eax, eax
jne 0x1002543d
mov esi, dword [esp + 0x20]
cmp byte [ebp + 0x10], 0
je 0x1002558e
push ebx
push edi
lea eax, [esp + 0x17]
mov byte [esp + 0x17], bl
push eax
push 0x4f6f
push 0x2071
xor dl, dl
mov ecx, 0x1429
call fcn.10025740
add esp, 0x14
jmp 0x100255c8
mov dword [esi], ebx
cmp dword [esi], 4
jge 0x100255c8
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x223dec99
inc dword [esi]
cmp dword [esi], 4
jl 0x10025598
jmp 0x100255c8
test dl, dl
je 0x100255b8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jmp 0x100255c8
xor ebx, ebx
push ebx
push 0x1096
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret