Function at 0x4092a9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0040ad40
push ebx
push esi
push edi
mov esi, ecx
push 0x412d3a
lea ecx, [ebp - 8]
call fcn.00408f1c
lea ecx, [ebp - 8]
lea eax, [esi + 0x1c]
push ecx
push eax
mov dword [ebp - 0x10], eax
call fcn.00408e20
lea ecx, [ebp - 8]
mov bl, al
call fcn.00401869
test bl, bl
je 0x4092ed
mov ecx, esi
call fcn.00408fe1
mov ebx, 0x400
push ebx
xor edi, edi
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.0040a1a0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x810]
push ebx
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x412538
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x409689
xor ecx, ecx
cmp word [ebp + ecx*2 - 0x810], di
jne 0x40935b
mov eax, dword [esi + 8]
cmp eax, 0x200
jae 0x409689
inc eax
cmp word [ebp + ecx*2 - 0x80e], di
mov dword [esi + 8], eax
je 0x409360
inc ecx
cmp ecx, ebx
jb 0x409335
mov edi, dword [esi + 8]
lea eax, [edi*4 + 4]
push eax
call fcn.00409762
test eax, eax
pop ecx
je 0x409390
push 0x401d87
push edi
mov dword [eax], edi
add eax, 4
push 4
push eax
mov dword [ebp - 8], eax
call fcn.00408dad
mov eax, dword [ebp - 8]
jmp 0x409392
xor eax, eax
xor edi, edi
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x409689
mov dword [ebp - 0xc], edi
xor eax, eax
mov ax, word [ebp + edi*2 - 0x810]
test ax, ax
je 0x4093bf
mov ecx, dword [esi + 0x14]
add ecx, dword [ebp - 0xc]
push eax
call fcn.00401dcc
jmp 0x4093ce
cmp word [ebp + edi*2 - 0x80e], 0
je 0x4093d3
add dword [ebp - 0xc], 4
inc edi
cmp edi, ebx
jb 0x4093a2
push ebx
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0040a1a0
mov eax, dword [esi + 8]
shl eax, 2
push eax
call fcn.00409762
xor edi, edi
add esp, 0x10
cmp eax, edi
mov dword [esi + 4], eax
je 0x409689
xor eax, eax
cmp dword [esi + 8], edi
jbe 0x409411
mov ecx, dword [esi + 4]
mov dword [ecx + eax*4], edi
inc eax
cmp eax, dword [esi + 8]
jb 0x409405
cmp dword [esi + 8], edi
mov dword [ebp - 4], edi
jbe 0x409481
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
push ebx
lea eax, [ebp - 0x810]
push eax
mov eax, dword [esi + 0x14]
push edi
push edi
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor ecx, ecx
cmp word [ebp + ecx*2 - 0x810], di
jne 0x409471
mov eax, dword [esi + 4]
mov edx, dword [ebp - 4]
lea eax, [eax + edx*4]
cmp dword [eax], 0x200
jae 0x409689
inc dword [eax]
mov eax, dword [esi + 0xc]
cmp eax, ebx
jae 0x409689
inc eax
cmp word [ebp + ecx*2 - 0x80e], di
mov dword [esi + 0xc], eax
je 0x409476
inc ecx
cmp ecx, ebx
jl 0x409437
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 8]
jb 0x409419
mov eax, dword [esi + 8]
shl eax, 2
push eax
call fcn.00409762
cmp eax, edi
pop ecx
mov dword [esi + 0x18], eax
je 0x409689
cmp dword [esi + 8], edi
mov dword [ebp - 4], edi
jbe 0x4094ed
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 4]
mov edi, dword [eax + ecx*4]
lea eax, [edi*4 + 4]
push eax
call fcn.00409762
test eax, eax
pop ecx
je 0x4094d7
push 0x401d87
push edi
mov dword [eax], edi
add eax, 4
push 4
push eax
mov dword [ebp - 8], eax
call fcn.00408dad
mov ecx, dword [ebp - 8]
jmp 0x4094d9
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, dword [esi + 0x18]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [esi + 8]
mov dword [ebp - 4], eax
jb 0x4094a1
xor edi, edi
cmp dword [esi + 8], edi
mov dword [ebp - 4], edi
jbe 0x409560
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
push ebx
lea eax, [ebp - 0x810]
push eax
mov eax, dword [esi + 0x14]
push edi
push edi
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov ecx, dword [ebp - 0xc]
add ecx, ecx
xor eax, eax
mov ax, word [ebp + ecx - 0x810]
cmp ax, di
je 0x40953f
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + ecx*4]
add ecx, dword [ebp - 8]
call fcn.00401dcc
jmp 0x40954d
cmp word [ebp + ecx - 0x80e], di
je 0x409555
add dword [ebp - 8], 4
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jb 0x409517
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 8]
jb 0x4094f5
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
call fcn.00409762
cmp eax, edi
pop ecx
mov dword [esi + 0x10], eax
je 0x409689
cmp dword [esi + 8], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jbe 0x409673
jmp 0x40958b
xor edi, edi
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shl edi, 2
cmp dword [edi + eax], 0
jbe 0x409664
push ebx
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0040a1a0
mov eax, dword [ebp - 0xc]
add esp, 0xc
push dword [ebp + 8]
lea ecx, [ebp - 0x1010]
push ebx
push ecx
mov ecx, dword [esi + 0x18]
mov ecx, dword [edi + ecx]
shl eax, 2
push 0
push dword [ecx + eax]
mov eax, dword [esi + 0x14]
push dword [edi + eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xc
call fcn.0040973e
test eax, eax
pop ecx
je 0x4095f0
mov ecx, eax
call fcn.00408e88
jmp 0x4095f2
xor eax, eax
mov ebx, dword [ebp - 8]
mov ecx, dword [esi + 0x10]
shl ebx, 2
mov dword [ebx + ecx], eax
mov eax, dword [esi + 0x14]
add eax, edi
push eax
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + eax]
call fcn.004029af
mov eax, dword [esi + 0x18]
mov ecx, dword [edi + eax]
mov eax, dword [ebp - 0xc]
shl eax, 2
add ecx, eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [ebx + eax]
add ecx, 8
call fcn.004029af
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [esi + 0x10]
mov eax, dword [ebx + eax]
add eax, 4
push 0x412d40
push eax
call fcn.00403317
mov eax, dword [esi + 4]
add esp, 0xc
inc dword [ebp - 8]
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [edi + eax]
mov ebx, 0x400
jb 0x4095a1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 8]
jb 0x409589
push dword [ebp + 8]
push 0x412d40
push dword [ebp - 0x10]
call fcn.00403317
xor edi, edi
add esp, 0xc
inc edi
lea ecx, [ebp + 8]
call fcn.00401869
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4