Function at 0x10001560
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1000e266
mov eax, dword fs:[0]
push eax
mov eax, 0x1004c
call fcn.1000dbd0
mov eax, dword [0x10013040]
xor eax, esp
mov dword [esp + 0x10048], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10013040]
xor eax, esp
push eax
lea eax, [esp + 0x10060]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x18], edi
mov esi, edx
xor ebp, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
mov dword [esp + 0x10068], ebx
xor edx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
push 0x7fff
lea eax, [esp + 0x60]
push ebx
push eax
mov byte [esp + 0x10074], 1
call fcn.10008da0
add esp, 0xc
cmp dword [edi + 0x34], 8
jb 0x100015fb
mov eax, dword [edi + 0x20]
jmp 0x100015fe
lea eax, [edi + 0x20]
push eax
push 0x7fff
lea ecx, [esp + 0x64]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
test eax, eax
jle 0x10001770
cmp word [esp + esi*2 + 0x5c], 0
jne 0x10001662
lea edx, [esp + 0x24]
push edx
add edi, 0x38
push edi
call fcn.10001e70
push 0xffffffffffffffff
mov ecx, eax
push 0
lea eax, [esp + 0x48]
call fcn.10002200
lea edi, [esp + 0x24]
xor ebp, ebp
xor ebx, ebx
call fcn.10001dd0
lea edi, [esp + 0x40]
call fcn.10001dd0
jmp 0x1000175d
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x10001671
lea eax, [esp + 0x28]
push str.30004
push eax
call fcn.100064da
add esp, 8
test eax, eax
jne 0x1000168e
cmp ebx, 0x81
jne 0x1000168e
lea ebp, [eax + 1]
movzx eax, word [esp + esi*2 + 0x5c]
cmp ax, 0x3d
jne 0x100016a5
mov ebp, 1
xor ebx, ebx
jmp 0x10001761
movzx esi, ax
test ebp, ebp
je 0x10001702
or eax, 0xffffffff
sub eax, dword [esp + 0x54]
cmp eax, 1
ja 0x100016bd
call fcn.10006266
mov edi, dword [esp + 0x54]
inc edi
lea eax, [esp + 0x40]
call fcn.10002de0
test al, al
je 0x10001758
mov eax, dword [esp + 0x44]
mov ecx, 8
cmp dword [esp + 0x58], ecx
jae 0x100016e6
lea eax, [esp + 0x44]
mov edx, dword [esp + 0x54]
mov word [eax + edx*2], si
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], edi
cmp dword [esp + 0x58], ecx
jae 0x10001752
lea eax, [esp + 0x44]
jmp 0x10001752
or edx, 0xffffffff
sub edx, dword [esp + 0x38]
cmp edx, 1
ja 0x10001713
call fcn.10006266
mov edi, dword [esp + 0x38]
inc edi
lea eax, [esp + 0x24]
call fcn.10002de0
test al, al
je 0x10001758
mov eax, dword [esp + 0x28]
mov ecx, 8
cmp dword [esp + 0x3c], ecx
jae 0x10001738
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x38]
mov word [eax + edx*2], si
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], edi
cmp dword [esp + 0x3c], ecx
jae 0x10001752
lea eax, [esp + 0x28]
xor ecx, ecx
mov word [eax + edi*2], cx
mov esi, dword [esp + 0x1c]
inc ebx
mov edi, dword [esp + 0x18]
inc esi
cmp esi, dword [esp + 0x20]
mov dword [esp + 0x1c], esi
jl 0x10001622
mov esi, dword [edi + 0x54]
mov edi, 8
cmp dword [esp + 0x58], edi
jb 0x1000178b
mov edx, dword [esp + 0x44]
push edx
call fcn.100067fc
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
cmp dword [esp + 0x3c], edi
jb 0x100017b5
mov ecx, dword [esp + 0x28]
push ecx
call fcn.100067fc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10060]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10048]
xor ecx, esp
call fcn.100062d6
add esp, 0x10058
ret