Function at 0x40fe50
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push edi
push eax
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push str.ExcludeOSVersion
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x18]
mov si, word [eax]
lea edi, [edx + 0x104]
neg si
sbb esi, esi
and esi, eax
test esi, esi
jne 0x40fe95
xor ebp, ebp
jmp 0x40fe9e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
push ebp
mov ecx, edi
call fcn.004059f0
test eax, eax
je 0x40fed5
mov ecx, dword [edi]
lea eax, [ebp + ebp]
mov dword [esp + 0x14], eax
push eax
lea eax, [ebp + ebp + 2]
push esi
push eax
push ecx
call fcn.00404a40
mov edx, dword [edi]
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov dword [edx - 8], ebp
mov eax, dword [edi]
mov word [eax + ecx], 0
mov edx, dword [ebx]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push str.ExcludeDescription
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x18]
mov si, word [eax]
lea ebp, [ecx + 0x108]
neg si
sbb esi, esi
and esi, eax
test esi, esi
jne 0x40ff12
xor edi, edi
jmp 0x40ff1b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, ebp
call fcn.004059f0
test eax, eax
je 0x40ff54
lea eax, [edi + edi]
lea edx, [edi + edi + 2]
mov dword [esp + 0x14], eax
push eax
mov eax, dword [ebp]
push esi
push edx
push eax
call fcn.00404a40
mov ecx, dword [ebp]
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [ebp]
mov word [edx + eax], 0
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
push str.ExcludeBtnDescription
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebx + 0xc]
mov si, word [eax]
neg si
sbb esi, esi
and esi, eax
mov eax, dword [esp + 0x18]
test esi, esi
lea ebp, [eax + 0x10c]
jne 0x40ff95
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x40ffa2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x14], eax
mov edi, eax
push edi
mov ecx, ebp
call fcn.004059f0
test eax, eax
je 0x40ffdf
lea eax, [edi + edi]
lea ecx, [edi + edi + 2]
cmp ecx, eax
jb 0x40ffd0
mov edi, dword [ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov ecx, dword [ebp]
mov dword [ecx - 8], edi
mov edx, dword [ebp]
mov word [eax + edx], 0
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push str.ExcludeLink
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, dword [ebx + 0xc]
mov edx, dword [esp + 0x18]
mov si, word [ebx]
lea edi, [edx + 0x110]
neg si
sbb esi, esi
and esi, ebx
test esi, esi
jne 0x41001c
xor ebx, ebx
jmp 0x410025
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 1
jg 0x410032
cmp ebx, dword [eax - 4]
jle 0x410045
mov ecx, edi
call fcn.00405a90
push ebx
mov ecx, edi
call fcn.004056f0
test eax, eax
je 0x410067
mov ecx, dword [edi]
lea ebp, [ebx + ebx]
push ebp
lea eax, [ebx + ebx + 2]
push esi
push eax
push ecx
call fcn.00404a40
mov edx, dword [edi]
add esp, 0x10
mov dword [edx - 8], ebx
mov eax, dword [edi]
mov word [eax + ebp], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8