Function at 0x2000c060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x20019b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c8
push ebx
push esi
mov dword [ebp - 0x14], esi
call fcn.20015c20
mov esi, dword [ebp + 0xc]
push 0x104
mov eax, dword [esi]
push eax
push 0x20024908
call dword [0x2001a320]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x20024908
call dword [0x2001a36c]
mov edx, dword [0x20021f84]
push 0x20024908
lea eax, [ebp - 0x4d4]
push edx
push eax
call dword [0x2001a4fc]
push 0
push 4
push 0
push 0
push 4
lea ecx, [ebp - 0x4d4]
push 0x20022b74
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20004fe0
add esp, 0x44
mov dword [0x200247d4], eax
push 0
push 0x200019d0
push 0x20024908
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
push 0x20024908
mov dword [0x200247dc], eax
call dword [0x2001a394]
push 0
call fcn.2000e310
add esp, 8
test al, al
je 0x2000c174
mov ebx, 1
push ebx
push 0
push 2
call fcn.200010d0
push 0
push 0
push 4
call fcn.200010d0
mov eax, dword [0x20024900]
add esp, 0x18
test eax, eax
je 0x2000c186
mov esi, dword [0x2001a270]
push 0x64
call esi
mov eax, dword [0x200247e4]
cmp eax, 3
je 0x2000c160
cmp eax, ebx
jne 0x2000c14e
push 0
push 0
push ebx
call fcn.200010d0
add esp, 0xc
push 0xbb8
call esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push edi
cmp eax, ebx
jle 0x2000c1e3
add esi, 4
cmp ebx, 3
jge 0x2000c1e3
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x70]
push 0x32
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [esi]
lea eax, [ebp - 0x70]
push edx
push eax
call dword [0x2001a320]
mov ecx, dword [esi]
push 0x32
lea edx, [ebp - 0x70]
push ecx
push edx
call dword [0x2001a36c]
mov al, byte [ebp - 0x70]
add esp, 0x18
test al, al
je 0x2000c1d8
lea eax, [ebp - 0x70]
push eax
call fcn.2000a640
add esp, 4
mov eax, dword [ebp + 8]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x2000c191
mov byte [ebp - 0x70], 0
xor ebx, ebx
xor edi, edi
lea ecx, [ebp - 0x70]
push edi
push 0x32
push edi
push ecx
push 1
lea edx, [ebp - 0x4d4]
push 0x20022b68
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20004fe0
mov al, byte [ebp - 0x70]
add esp, 0x20
test al, al
je 0x2000c23d
push 3
push edi
push edi
push 1
lea eax, [ebp - 0x4d4]
push 0x20022b68
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.20005f60
lea ecx, [ebp - 0x70]
push ecx
call fcn.2000a640
add esp, 0x20
cmp ebx, edi
jne 0x2000c27b
mov edi, 0x20022b5c
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x4d4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x2000c1e9
mov eax, dword [0x20021090]
push 0x20024a18
add eax, 0x10
push 0x118
push eax
call fcn.20006cb0
push 0x20024a18
call fcn.2000a640
push 0x20024a18
lea ecx, [ebp - 0xd4]
push 0x20022618
push ecx
call dword [0x2001a4fc]
add esp, 0x1c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x2001a700
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edi
call fcn.200162e0
mov dword [ebp - 0x38], eax
mov esi, dword [0x2001a278]
lea edx, [ebp - 0xd4]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x34]
push edx
and eax, ecx
push edi
push 1
push eax
mov dword [ebp - 4], edi
call esi
mov dword [0x20024900], eax
mov eax, dword [ebp - 0x38]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x34]
push 0x20022b4c
and eax, ecx
push edi
push 1
push eax
call esi
mov edx, dword [0x20024900]
mov byte [0x20024b37], 1
push edx
call dword [0x2001a28c]
mov edi, dword [0x2001a280]
mov ebx, dword [0x2001a260]
push 0
push 0
push 0x20024908
push 0x20016620
push 0
push 0
call dword [0x2001a2a8]
mov esi, eax
push 0xffffffffffffffff
push esi
call edi
push esi
call ebx
mov eax, dword [0x20024900]
push 0
push eax
call edi
test eax, eax
jne 0x2000c33b
mov esi, dword [0x2001a270]
push 0xbb8
call esi
mov ecx, dword [0x200247e0]
push ecx
call fcn.20012790
add esp, 4
lea edx, [ebp - 0x10]
push edx
push 0
push 0x200246d0
push 0x20012140
push 0
push 0
call dword [0x2001a2a8]
push eax
call ebx
push 0x1f4
call esi
mov eax, dword [0x20024900]
push eax
call ebx
push 0
push 0
push 1
mov dword [0x20024900], 0
call fcn.200010d0
add esp, 0xc
push 0x20024908
call dword [0x2001a234]
mov esi, dword [ebp - 0x14]
push eax
mov ecx, dword [esi]
push ecx
call dword [0x2001a1f8]
test eax, eax
jne 0x2000c437
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
push edx
mov ecx, dword [eax]
push ecx
call dword [0x2001a390]
add esp, 8
test eax, eax
jne 0x2000c437
mov edi, dword [0x2001a1f4]
add esi, 4
push 4
push esi
call edi
test eax, eax
jne 0x2000c437
mov edx, dword [esi]
push 0x10
push edx
call edi
test eax, eax
jne 0x2000c437
mov eax, dword [esi]
mov edx, dword [0x200247e0]
add eax, 8
mov ecx, dword [eax]
cmp ecx, edx
jne 0x2000c437
mov dword [esi], 0
mov dword [eax], 0
mov edx, dword [0x200247e0]
push 0
push edx
call dword [0x2001a1f0]
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x400
push esi
mov esi, dword [esp + 0x408]
push esi
call dword [0x2001a4ec]
test eax, eax
je 0x2000c4cc
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
push 0x3ff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push esi
call dword [0x2001a4f4]
pop edi
mov al, byte [esp + 4]
test al, al
je 0x2000c4cc
mov esi, dword [esp + 0x40c]
lea ecx, [esp + 4]
push esi
push ecx
call dword [0x2001a394]
add esp, 4
push eax
call dword [0x2001a340]
add esp, 8
test eax, eax
je 0x2000c4cc
mov byte [esi], 0
xor al, al
pop esi
add esp, 0x400
ret 8
mov al, 1
pop esi
add esp, 0x400
ret 8