Function at 0x40c2c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fda27
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x69def4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x878], edi
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cdq
push edx
push eax
lea eax, [ebp - 0x858]
mov dword [ebp - 0x874], esi
push eax
call fcn.00421ca0
add esp, 0xc
xor eax, eax
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x828], ax
lea ecx, [ebp - 0x828]
lea eax, [ebp - 0x858]
mov dword [ebp - 0x814], 7
push eax
mov dword [ebp - 0x818], 0
call fcn.004070f0
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005d4960
lea ecx, [edi + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x40c378
mov ecx, dword [ecx]
cmp dword [ebp - 0x844], 8
lea eax, [ebp - 0x858]
push ecx
cmovae eax, dword [ebp - 0x858]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x82c], 7
mov dword [ebp - 0x830], 0
mov word [ebp - 0x840], ax
cmp word [ebp - 0x810], ax
jne 0x40c3cc
xor ecx, ecx
jmp 0x40c3e4
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c3d5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00407210
mov esi, dword [ebp - 0x844]
lea ecx, [ebp - 0x858]
push dword [ebp - 0x848]
mov edi, dword [ebp - 0x858]
lea eax, [ebp - 0x840]
cmp esi, 8
mov byte [ebp - 4], 2
cmovae ecx, edi
cmp dword [ebp - 0x82c], 8
push ecx
cmovae eax, dword [ebp - 0x840]
push dword [ebp - 0x830]
push eax
call fcn.00407020
add esp, 0x10
test eax, eax
jne 0x40c4de
mov ecx, dword [ebp - 0x878]
lea eax, [ebp - 0x858]
cmp esi, 8
cmovae eax, edi
push eax
push dword [ebp - 0x874]
lea eax, [ebp - 0x870]
push ebx
push eax
call fcn.0040c980
mov esi, eax
lea eax, [ebp - 0x828]
cmp eax, esi
je 0x40c4be
mov eax, dword [ebp - 0x814]
cmp eax, 8
jb 0x40c495
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x814], 7
push esi
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.00406bc0
mov eax, dword [ebp - 0x85c]
cmp eax, 8
jb 0x40c4f4
inc eax
lea ecx, [ebp - 0x870]
push eax
push dword [ebp - 0x870]
call fcn.00407310
jmp 0x40c4f4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x840]
push eax
lea ecx, [ebp - 0x828]
call fcn.004070f0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.005deb74
mov ecx, dword [ebp - 0x82c]
add esp, 4
mov esi, eax
cmp ecx, 8
jb 0x40c531
inc ecx
push ecx
push dword [ebp - 0x840]
lea ecx, [ebp - 0x840]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x830], 0
cmp eax, 8
jb 0x40c56c
inc eax
lea ecx, [ebp - 0x828]
push eax
push dword [ebp - 0x828]
call fcn.00407310
xor eax, eax
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
mov eax, dword [ebp - 0x844]
mov dword [ebp - 0x818], 0
cmp eax, 8
jb 0x40c5a7
inc eax
lea ecx, [ebp - 0x858]
push eax
push dword [ebp - 0x858]
call fcn.00407310
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005caa5c
mov esp, ebp
pop ebp
ret 0xc