Function at 0x100015e3
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [esp + 0x214]
push ebx
push ebp
mov dword [0x100031a4], eax
mov eax, dword [esp + 0x224]
push esi
push edi
mov dword [0x100031b0], eax
mov eax, dword [esp + 0x228]
xor edi, edi
push edi
mov dword [0x100031c4], eax
call fcn.10001000
and byte [esp + 0x11c], 0
pop ecx
lea eax, [esp + 0x14]
mov dword [0x100031a8], edi
push eax
mov dword [0x100031ac], edi
mov dword [0x100031a0], 3
mov dword [0x100031cc], edi
mov dword [0x1000319c], 0xffffff
mov dword [esp + 0x14], 0x3e8
call fcn.1000197f
test eax, eax
jne 0x1000189d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebp, 0x7fff
cmp byte [esp + 0x14], 0x2f
jne 0x1000189d
lea eax, [esp + 0x14]
push 0x3d
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrA]
mov esi, eax
cmp esi, edi
je 0x1000189d
and byte [esi], 0
lea eax, [esp + 0x14]
push str._hwnd
push eax
inc esi
call ebx
test eax, eax
jne 0x100016b6
push 0x100031cc
push 1
push esi
call dword [sym.imp.SHLWAPI.dll_StrToIntExA]
jmp 0x1000188b
lea eax, [esp + 0x14]
push str._fit
push eax
call ebx
test eax, eax
jne 0x10001717
push str.height
push esi
call ebx
test eax, eax
jne 0x100016e1
mov dword [0x100031a0], 2
jmp 0x1000188b
push str.width
push esi
call ebx
test eax, eax
jne 0x100016fc
mov dword [0x100031a0], 1
jmp 0x1000188b
push str.stretch
push esi
call ebx
test eax, eax
jne 0x1000188b
mov dword [0x100031a0], edi
jmp 0x1000188b
lea eax, [esp + 0x14]
push str._halign
push eax
call ebx
test eax, eax
jne 0x10001761
push str.left
push esi
call ebx
test eax, eax
jne 0x10001742
mov dword [0x100031a8], 1
jmp 0x1000188b
push str.right
push esi
call ebx
test eax, eax
jne 0x1000188b
mov dword [0x100031a8], 2
jmp 0x1000188b
lea eax, [esp + 0x14]
push str._valign
push eax
call ebx
test eax, eax
jne 0x100017ab
push 0x10003044
push esi
call ebx
test eax, eax
jne 0x1000178c
mov dword [0x100031ac], 1
jmp 0x1000188b
push str.bottom
push esi
call ebx
test eax, eax
jne 0x1000188b
mov dword [0x100031ac], 2
jmp 0x1000188b
lea eax, [esp + 0x14]
push str._duration
push eax
call ebx
test eax, eax
jne 0x100017c5
lea eax, [esp + 0x10]
push eax
jmp 0x100016a8
lea eax, [esp + 0x14]
push str._caption
push eax
call ebx
test eax, eax
jne 0x100017e9
lea eax, [esp + 0x118]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x1000188b
lea eax, [esp + 0x14]
push str._ccolor
push eax
call ebx
test eax, eax
jne 0x10001803
push 0x1000319c
jmp 0x100016a8
lea eax, [esp + 0x14]
push str._auto
push eax
call ebx
test eax, eax
jne 0x1000188b
mov edi, 0x10003090
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push esi
push ebp
push edi
push 0x18
call fcn.100019b9
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jne 0x1000186b
push esi
push ebp
push edi
push str.1033
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jne 0x1000186b
push esi
push ebp
push edi
push 0x10003008
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
je 0x10001882
inc eax
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov dword [0x100031d8], eax
mov dword [0x100031dc], eax
jmp 0x10001889
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
lea eax, [esp + 0x14]
push eax
call fcn.1000197f
test eax, eax
je 0x1000166d
mov eax, dword [0x100031cc]
cmp eax, edi
jne 0x10001931
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, str.32770
push edi
push ebx
push edi
push dword [esp + 0x22c]
call esi
cmp eax, edi
mov dword [0x100031cc], eax
je 0x10001974
push edi
push ebx
push eax
push dword [esp + 0x22c]
call esi
mov esi, eax
cmp esi, edi
je 0x100018f1
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100018f1
mov dword [0x100031cc], esi
mov eax, dword [0x100031cc]
cmp eax, edi
je 0x10001974
push 0x3f8
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0x100031b4
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push esi
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
push dword [0x100031cc]
call esi
push 0x100031bc
push dword [0x100031cc]
call esi
jmp 0x1000193d
push 0x100031b4
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esp + 0x14], 0
je 0x10001974
cmp dword [0x100031dc], edi
je 0x1000195b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
jmp fcn.1000146e
push dword [esp + 0x10]
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100010a5
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret