Function at 0x1000a4c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cc937
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x101025ec]
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 esi, ecx
mov dword [ebp - 0x848], esi
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea edi, [esi + 0xc]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
push 0x7fe
mov byte [ebp - 4], 2
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.10034ae0
lea eax, [ebp + 8]
add esp, 0xc
cmp edi, eax
je 0x1000a55a
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10001790
cmp dword [edi + 0x14], 8
jb 0x1000a562
mov edi, dword [edi]
push edi
push 0x800
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
xor ebx, ebx
cmp word [ebp + ebx*2 - 0x810], 0
mov dword [ebp - 0x814], ebx
jne 0x1000a597
cmp word [ebp + ebx*2 - 0x80e], 0
je 0x1000a92a
test ebx, ebx
jne 0x1000a756
xor eax, eax
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
cmp word [ebp - 0x810], ax
jne 0x1000a5c5
xor ecx, ecx
jmp 0x1000a5df
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a5d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.10001b10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x82c]
mov edi, dword [esi + 4]
cmp eax, edi
jae 0x1000a6a8
mov eax, dword [esi]
lea ecx, [ebp - 0x82c]
cmp eax, ecx
ja 0x1000a6a8
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp edi, dword [esi + 8]
jne 0x1000a637
push ecx
mov ecx, esi
call fcn.10007dd0
mov eax, dword [esi]
lea ecx, [ebx + ebx*2]
mov ebx, dword [esi + 4]
lea edi, [eax + ecx*8]
test ebx, ebx
je 0x1000a69d
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [edi + 0x14], 8
jae 0x1000a674
mov eax, dword [edi + 0x10]
inc eax
je 0x1000a67e
add eax, eax
push eax
push edi
push ebx
call fcn.1002f820
add esp, 0xc
jmp 0x1000a67e
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov ebx, dword [ebp - 0x814]
jmp 0x1000a737
cmp edi, dword [esi + 8]
jne 0x1000a6b5
push ecx
mov ecx, esi
call fcn.10007dd0
mov edi, dword [esi + 4]
test edi, edi
je 0x1000a737
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x818], 8
jae 0x1000a6f6
mov eax, dword [ebp - 0x81c]
inc eax
je 0x1000a708
add eax, eax
push eax
lea eax, [ebp - 0x82c]
push eax
push edi
call fcn.1002f820
add esp, 0xc
jmp 0x1000a708
mov eax, dword [ebp - 0x82c]
mov dword [edi], eax
mov dword [ebp - 0x82c], 0
mov eax, dword [ebp - 0x81c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x818]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], 0
mov word [ebp - 0x82c], ax
add dword [esi + 4], 0x18
mov byte [ebp - 4], 2
cmp dword [ebp - 0x818], 8
jb 0x1000a756
push dword [ebp - 0x82c]
call fcn.1002f7b8
add esp, 4
cmp word [ebp + ebx*2 - 0x810], 0
jne 0x1000a924
lea edx, [ebp - 0x80e]
mov dword [ebp - 0x830], 7
xor eax, eax
mov dword [ebp - 0x834], 0
lea edx, [edx + ebx*2]
mov word [ebp - 0x844], ax
cmp word [edx], ax
jne 0x1000a794
xor ecx, ecx
jmp 0x1000a7af
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a7a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x844]
call fcn.10001b10
mov byte [ebp - 4], 4
lea eax, [ebp - 0x844]
mov ebx, dword [esi + 4]
cmp eax, ebx
jae 0x1000a870
mov eax, dword [esi]
lea ecx, [ebp - 0x844]
cmp eax, ecx
ja 0x1000a870
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp ebx, dword [esi + 8]
jne 0x1000a801
push ecx
mov ecx, esi
call fcn.10007dd0
mov eax, dword [esi]
lea ecx, [edi + edi*2]
mov ebx, dword [esi + 4]
lea edi, [eax + ecx*8]
test ebx, ebx
je 0x1000a8ff
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
cmp dword [edi + 0x14], 8
jae 0x1000a842
mov eax, dword [edi + 0x10]
inc eax
je 0x1000a84c
add eax, eax
push eax
push edi
push ebx
call fcn.1002f820
add esp, 0xc
jmp 0x1000a84c
mov eax, dword [edi]
mov dword [ebx], eax
mov dword [edi], 0
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
jmp 0x1000a8ff
cmp ebx, dword [esi + 8]
jne 0x1000a87d
push ecx
mov ecx, esi
call fcn.10007dd0
mov edi, dword [esi + 4]
test edi, edi
je 0x1000a8ff
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp dword [ebp - 0x830], 8
jae 0x1000a8be
mov eax, dword [ebp - 0x834]
inc eax
je 0x1000a8d0
add eax, eax
push eax
lea eax, [ebp - 0x844]
push eax
push edi
call fcn.1002f820
add esp, 0xc
jmp 0x1000a8d0
mov eax, dword [ebp - 0x844]
mov dword [edi], eax
mov dword [ebp - 0x844], 0
mov eax, dword [ebp - 0x834]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x830]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [ebp - 0x830], 7
mov dword [ebp - 0x834], 0
mov word [ebp - 0x844], ax
add dword [esi + 4], 0x18
mov byte [ebp - 4], 2
cmp dword [ebp - 0x830], 8
jb 0x1000a91e
push dword [ebp - 0x844]
call fcn.1002f7b8
add esp, 4
mov ebx, dword [ebp - 0x814]
inc ebx
jmp 0x1000a577
cmp dword [ebp + 0x1c], 8
jb 0x1000a93b
push dword [ebp + 8]
call fcn.1002f7b8
add esp, 4
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.1002f7bd
mov esp, ebp
pop ebp
ret 0x18