Function at 0x404b90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548677
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5a7ee8]
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 - 0x22c], esi
push 0x558cb0
push dword [esi + 0xa4]
call fcn.0052df73
add esp, 8
test eax, eax
sete al
test al, al
jne 0x404fd8
call fcn.0040964e
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x404c02
push 0x80004005
call fcn.00401e00
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x240], ebx
push dword [esi + 0xa4]
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 0
push 0xff
push eax
push 0x558cb0
push str.SkinName
push str.Start8Skin
mov byte [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str.Stardock_Start10_theme_editor__
lea ecx, [ebp - 0x228]
call fcn.00402500
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 1
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404c64
sub ecx, edx
lea eax, [ebp - 0x214]
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.004042a0
push dword [ebp - 0x228]
mov ecx, esi
call fcn.004115e2
push 0x104
lea eax, [ebp - 0x114]
push eax
call fcn.00404610
lea ecx, [ebp - 0x114]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x404ca5
mov eax, dword [str.defs.ini]
push 0
mov dword [ecx], eax
mov eax, dword [0x55a060]
push 0
mov dword [ecx + 4], eax
mov ax, word [0x55a064]
push 0x184
push dword [esi + 0x13c]
mov word [ecx + 8], ax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x5000
call fcn.0052d7c9
add esp, 4
mov dword [ebp - 0x224], eax
mov esi, eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x234], esi
push eax
push 0x5000
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov edx, eax
or edi, 0xffffffff
xor eax, eax
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x220], eax
test esi, esi
je 0x404f62
cmp eax, edx
jge 0x404f5f
call fcn.0040964e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x404bf8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 2
test esi, esi
jne 0x404d5e
xor eax, eax
jmp 0x404d6c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404d63
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.004023e0
mov edi, dword [ebp - 0x230]
push str.skin
push edi
call fcn.0053e37f
add esp, 8
test eax, eax
je 0x404eee
lea eax, [edi - 0x10]
push eax
call fcn.00401e30
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x218], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 3
jge 0x404dc3
mov dword [ebp - 0x21c], 0
jmp 0x404e59
push 0x559264
push esi
call fcn.0052d69a
mov ecx, eax
mov dword [ebp - 0x21c], 0
add esp, 8
test ecx, ecx
je 0x404e59
sub ecx, esi
test ecx, ecx
jle 0x404e59
lea eax, [ecx + 2]
test eax, eax
js 0x404f55
cmp eax, dword [esi - 0xc]
jg 0x404f55
mov al, byte [eax + esi]
xor edx, edx
cmp al, 0x54
lea eax, [ebp - 0x23c]
push ecx
setne dl
lea ecx, [ebp - 0x218]
inc edx
push eax
mov dword [ebp - 0x21c], edx
call fcn.00402940
push eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 4
call fcn.00401d20
mov edx, dword [ebp - 0x23c]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404e53
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x218]
lea eax, [ebp - 0x114]
push eax
push 0
push str.Shift
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.Filter
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp dword [ebp - 0x21c], 0
jg 0x404eca
mov eax, dword [ebp - 0x22c]
push edi
push 0
push 0x180
push dword [eax + 0x13c]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x22c]
push 0x19a
push dword [eax + 0x13c]
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404ee8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x224]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404ef3
mov eax, dword [ebp - 0x220]
sub ecx, edx
inc eax
add eax, ecx
mov ecx, esi
mov dword [ebp - 0x220], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404f10
sub ecx, edx
mov byte [ebp - 4], 1
add edi, 0xfffffff0
inc esi
add esi, ecx
or ecx, 0xffffffff
mov dword [ebp - 0x224], esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404f40
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x404f5f
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x238]
jmp 0x404d26
push 0x80070057
call fcn.00401e00
or edi, 0xffffffff
push dword [ebp - 0x234]
call fcn.0052d791
add esp, 4
call fcn.00408060
mov esi, dword [ebp - 0x22c]
push 0
push 0
push 0x186
push dword [esi + 0x13c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00407a50
mov edx, dword [ebp - 0x228]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x404fba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x404fd8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
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.0052d1cc
mov esp, ebp
pop ebp
ret