Function at 0x10013d60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058abe
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x1006e1e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call fcn.1000fdf0
mov dword [ebp - 0x14], 0x100
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
lea ecx, [ebp + 8]
call fcn.10002200
push eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
call fcn.100052e0
mov byte [ebp - 4], 1
push 0x10065a38
push 0x10065a54
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp + 8]
call fcn.10002200
push eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.10002200
push eax
call dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x14], 2
jae 0x10013e28
cmp dword [ebp - 0x54], 0
je 0x10013e33
mov ecx, dword [ebp - 0x14]
sub ecx, 2
cmp dword [ebp - 0x54], ecx
jne 0x10013e9f
mov edx, dword [ebp - 0x14]
shl edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10013e9d
mov eax, dword [ebp - 0x70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 0x1a], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002290
mov al, byte [ebp - 0x1a]
jmp 0x1001415c
jmp 0x10013ed4
cmp dword [ebp - 0x14], 2
jbe 0x10013ed2
cmp dword [ebp - 0x54], 0
jne 0x10013ed2
mov byte [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002290
mov al, byte [ebp - 0x1c]
jmp 0x1001415c
jmp 0x10013ee1
cmp dword [ebp - 0x14], 0x8000
jb 0x10013de2
cmp dword [ebp - 0x14], 0x8000
jb 0x10013f11
mov byte [ebp - 0x1e], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002290
mov al, byte [ebp - 0x1e]
jmp 0x1001415c
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, 2
imul edx, edx, 0
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x10014127
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add eax, 2
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx]
mov word [ebp - 0x48], dx
add dword [ebp - 0x34], 2
cmp word [ebp - 0x48], 0
jne 0x10013f41
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x68]
sar eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
lea edx, [ecx + ecx + 2]
push edx
call fcn.1002db91
add esp, 4
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x4c]
mov cx, word [eax]
mov word [ebp - 0x2a], cx
mov edx, dword [ebp - 0x38]
mov ax, word [ebp - 0x2a]
mov word [edx], ax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x38]
add edx, 2
mov dword [ebp - 0x38], edx
cmp word [ebp - 0x2a], 0
jne 0x10013f89
push 0x3d
mov eax, dword [ebp - 0x3c]
push eax
call fcn.10007580
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x44], 0
je 0x10013feb
xor edx, edx
mov eax, dword [ebp - 0x44]
mov word [eax], dx
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov dword [ebp - 0x40], ecx
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x10014094
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea eax, [ebp - 0x24]
push eax
call fcn.10003c60
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x8c], ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
mov edx, dword [ebp - 0x40]
push edx
call fcn.100052e0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
mov edx, dword [ebp - 0x58]
push edx
call fcn.100052e0
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
call fcn.10014170
mov byte [ebp - 0x1b], al
movzx eax, byte [ebp - 0x1b]
test eax, eax
jne 0x1001408e
mov byte [ebp - 0x19], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002290
mov al, byte [ebp - 0x19]
jmp 0x1001415c
mov byte [ebp - 0xd], 0
jmp 0x100140da
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
mov edx, dword [ebp - 0x40]
push edx
call fcn.100052e0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
mov edx, dword [ebp - 0x58]
push edx
call fcn.100052e0
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
call fcn.100143b0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.1002dc23
add esp, 4
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
add edx, 2
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x30]
mov cx, word [eax]
mov word [ebp - 0x46], cx
add dword [ebp - 0x30], 2
cmp word [ebp - 0x46], 0
jne 0x100140f5
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x74]
sar edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x28], edx
jmp 0x10013f1b
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 0x1d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10002290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10002290
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4