Function at 0x10020750
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3cb1
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x100e01f0]
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.10014ba0
push 0
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x10], 0x100
mov ecx, dword [ebp - 0x10]
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
mov edx, dword [ebp + 8]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10006710
mov byte [ebp - 4], 1
push 0x100c5e3c
push 0x100c5e58
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x98]
push eax
call dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x10], 2
jae 0x1002082f
cmp dword [ebp - 0x40], 0
je 0x1002083e
mov ecx, dword [ebp - 0x10]
sub ecx, 2
cmp dword [ebp - 0x40], ecx
jne 0x100208ca
mov edx, dword [ebp - 0x10]
shl edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x10]
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
push 0
call dword [sym.imp.USER32.dll_IsWindow]
cmp dword [ebp - 0x18], 0
jne 0x100208c8
mov eax, dword [ebp - 0x64]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 0x1d], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x7c]
call fcn.10003fd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xa4]
call fcn.10003fd0
mov al, byte [ebp - 0x1d]
jmp 0x10020c34
jmp 0x1002091d
cmp dword [ebp - 0x10], 2
jbe 0x1002091b
cmp dword [ebp - 0x40], 0
jne 0x1002091b
mov byte [ebp - 0x1f], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
sub eax, 0x10
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.10003fd0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xac]
call fcn.10003fd0
mov al, byte [ebp - 0x1f]
jmp 0x10020c34
jmp 0x1002092a
cmp dword [ebp - 0x10], 0x8000
jb 0x100207e1
cmp dword [ebp - 0x10], 0x8000
jb 0x10020978
mov byte [ebp - 0x21], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
sub edx, 0x10
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x8c]
call fcn.10003fd0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
call fcn.10003fd0
mov al, byte [ebp - 0x21]
jmp 0x10020c34
mov byte [ebp - 0x11], 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 0x10020be1
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx]
mov word [ebp - 0x52], dx
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x52], 0
jne 0x100209ab
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x94]
sar eax, 1
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
lea edx, [ecx + ecx + 2]
push edx
call fcn.1007b221
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x58]
mov cx, word [eax]
mov word [ebp - 0x2e], cx
mov edx, dword [ebp - 0x3c]
mov ax, word [ebp - 0x2e]
mov word [edx], ax
mov ecx, dword [ebp - 0x58]
add ecx, 2
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x3c]
add edx, 2
mov dword [ebp - 0x3c], edx
cmp word [ebp - 0x2e], 0
jne 0x100209fc
push 0x3d
mov eax, dword [ebp - 0x38]
push eax
call fcn.1007c984
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x44], 0
je 0x10020a5e
xor edx, edx
mov eax, dword [ebp - 0x44]
mov word [eax], dx
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov dword [ebp - 0x48], ecx
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x10020b4e
push ecx
mov eax, esp
mov dword [ebp - 0xe4], esp
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.10008200
add esp, 4
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
add eax, 0x10
mov ecx, dword [ebp - 0x5c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
mov eax, dword [ebp - 0x48]
push eax
call fcn.10006710
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
mov edx, dword [ebp - 0x60]
push edx
call fcn.10006710
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
call fcn.10020c50
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1e]
test eax, eax
jne 0x10020b48
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xa8]
call fcn.10003fd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x68]
call fcn.10003fd0
mov al, byte [ebp - 0x22]
jmp 0x10020c34
mov byte [ebp - 0x11], 0
jmp 0x10020b94
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
mov eax, dword [ebp - 0x48]
push eax
call fcn.10006710
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
mov edx, dword [ebp - 0x60]
push edx
call fcn.10006710
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
call fcn.10020fd0
mov eax, dword [ebp - 0x38]
push eax
call fcn.1007b2b3
add esp, 4
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
add edx, 2
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
mov word [ebp - 0x4a], cx
add dword [ebp - 0x34], 2
cmp word [ebp - 0x4a], 0
jne 0x10020baf
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x78]
sar edx, 1
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x28]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x28], edx
jmp 0x10020982
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 - 0x20], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x88]
call fcn.10003fd0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x90], edx
mov ecx, dword [ebp - 0x90]
call fcn.10003fd0
mov al, byte [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4