Function at 0x1000c400
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10045a66
mov eax, dword fs:[0]
push eax
mov eax, 0x10060
call fcn.1001a8e0
mov eax, dword [0x1005fa60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1004c], ebx
jbe 0x1000c80e
cmp dword [esi + 0x28], 0
jbe 0x1000c80e
cmp dword [ebx + 4], 0
jbe 0x1000c478
mov eax, dword [ebx]
mov ecx, ebx
push dword [eax + 4]
call fcn.1000d330
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov dword [ebx + 4], 0
xor eax, eax
push 0xfffc
push eax
mov word [ebp - 0x10014], ax
lea eax, [ebp - 0x10012]
push eax
call fcn.1001af60
xor eax, eax
mov dword [ebp - 0x10048], 0
add esp, 0xc
mov dword [ebp - 0x10030], 7
mov dword [ebp - 0x10034], 0
mov word [ebp - 0x10044], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10018], 7
mov dword [ebp - 0x1001c], eax
mov word [ebp - 0x1002c], ax
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x1000c4e6
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x1000c4ee
mov esi, dword [esi]
push eax
push 0x7fff
lea eax, [ebp - 0x10014]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp word [ebp - 0x10014], 0
lea ebx, [ebp - 0x10014]
je 0x1000c7b0
mov edi, ebx
lea ecx, [edi + 2]
jmp 0x1000c520
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1000c520
lea eax, [ebp - 0x10048]
sub edi, ecx
push eax
push 0x10056364
push ebx
sar edi, 1
call fcn.1001966e
mov esi, eax
mov dword [ebp - 0x10050], 7
xor eax, eax
mov dword [ebp - 0x10054], 0
add esp, 0xc
mov word [ebp - 0x10064], ax
cmp word [esi], ax
jne 0x1000c56c
xor ecx, ecx
jmp 0x1000c580
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c571
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10064]
call fcn.100085a0
cmp dword [ebp - 0x10030], 8
jb 0x1000c5a4
push dword [ebp - 0x10044]
call fcn.10018fac
add esp, 4
mov ecx, dword [ebp - 0x10050]
xor eax, eax
mov dword [ebp - 0x10030], 7
mov dword [ebp - 0x10034], 0
mov word [ebp - 0x10044], ax
cmp ecx, 8
jae 0x1000c5f6
mov eax, dword [ebp - 0x10054]
inc eax
je 0x1000c602
add eax, eax
push eax
lea eax, [ebp - 0x10064]
push eax
lea eax, [ebp - 0x10044]
push eax
call fcn.10018530
mov ecx, dword [ebp - 0x10050]
add esp, 0xc
jmp 0x1000c602
mov eax, dword [ebp - 0x10064]
mov dword [ebp - 0x10044], eax
mov eax, dword [ebp - 0x10054]
mov dword [ebp - 0x10030], ecx
mov ecx, esi
mov dword [ebp - 0x10034], eax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c620
sub ecx, edx
mov dword [ebp - 0x10050], 7
sar ecx, 1
xor eax, eax
mov dword [ebp - 0x10054], 0
mov word [ebp - 0x10064], ax
lea edx, [ecx + 1]
cmp word [esi + edx*2], ax
lea edx, [esi + edx*2]
jne 0x1000c65c
xor ecx, ecx
jmp 0x1000c670
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c661
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x10064]
call fcn.100085a0
cmp dword [ebp - 0x10018], 8
jb 0x1000c694
push dword [ebp - 0x1002c]
call fcn.10018fac
add esp, 4
mov ecx, dword [ebp - 0x10050]
xor eax, eax
mov dword [ebp - 0x10018], 7
mov dword [ebp - 0x1001c], 0
mov word [ebp - 0x1002c], ax
cmp ecx, 8
jae 0x1000c6e6
mov eax, dword [ebp - 0x10054]
inc eax
je 0x1000c6f2
add eax, eax
push eax
lea eax, [ebp - 0x10064]
push eax
lea eax, [ebp - 0x1002c]
push eax
call fcn.10018530
mov ecx, dword [ebp - 0x10050]
add esp, 0xc
jmp 0x1000c6f2
mov eax, dword [ebp - 0x10064]
mov dword [ebp - 0x1002c], eax
mov eax, dword [ebp - 0x10054]
mov dword [ebp - 0x1001c], eax
lea eax, [ebp - 0x10044]
mov dword [ebp - 0x10018], ecx
mov ecx, dword [ebp - 0x1004c]
push eax
call fcn.1000d4d0
mov esi, eax
mov eax, dword [ebp - 0x1004c]
cmp esi, dword [eax]
je 0x1000c74f
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
mov ecx, dword [eax + 0x10]
jb 0x1000c730
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x10034]
lea ecx, [ebp - 0x10044]
push 0
call fcn.10008040
test eax, eax
jns 0x1000c789
mov eax, dword [ebp - 0x1004c]
lea ecx, [ebp - 0x10044]
push ecx
mov dword [ebp - 0x1006c], ecx
lea ecx, [ebp - 0x1006c]
push ecx
push ecx
mov ecx, eax
call fcn.1000d8f0
mov ecx, dword [ebp - 0x1004c]
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x10068]
push eax
call fcn.1000d9b0
mov esi, dword [ebp - 0x10068]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x1002c]
cmp ecx, eax
je 0x1000c7a0
push 0xffffffffffffffff
push 0
push eax
call fcn.10007ef0
lea ebx, [ebx + edi*2]
add ebx, 2
cmp word [ebx], 0
jne 0x1000c516
mov eax, dword [ebp - 0x1004c]
xor ecx, ecx
cmp ecx, dword [eax + 4]
sbb esi, esi
neg esi
cmp dword [ebp - 0x10018], 8
jb 0x1000c7d6
push dword [ebp - 0x1002c]
call fcn.10018fac
add esp, 4
xor eax, eax
mov dword [ebp - 0x10018], 7
cmp dword [ebp - 0x10030], 8
mov dword [ebp - 0x1001c], 0
mov word [ebp - 0x1002c], ax
jb 0x1000c80a
push dword [ebp - 0x10044]
call fcn.10018fac
add esp, 4
mov eax, esi
jmp 0x1000c810
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001811f
mov esp, ebp
pop ebp
ret 4