Function at 0x410610
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3960
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5603e8]
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
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
cmp ebx, 8
je 0x410868
or eax, 0xffffffff
cmp dword [edi + 0x54], eax
jne 0x410721
cmp dword [edi + 0x50], eax
jne 0x410721
cmp dword [edi + 0x58], eax
jne 0x410721
call fcn.00488c20
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov ecx, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x410690
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405660
cmp dword [ebp - 0x1c], 0
je 0x41070f
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4106bb
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0xffffffffffffffff
push str.DesktopLinkSet
push str.installinfo
call esi
cmp dword [ebp - 0x18], 8
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0x2c]
jae 0x4106df
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
push str.StartMenuLinkSet
push str.installinfo
call esi
cmp dword [ebp - 0x18], 8
mov dword [edi + 0x50], eax
mov eax, dword [ebp - 0x2c]
jae 0x4106fd
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
push str.MetroUILinkSet
push str.installinfo
call esi
mov dword [edi + 0x58], eax
cmp dword [ebp - 0x18], 8
jb 0x410721
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x58]
and ecx, eax
jne 0x410868
mov dword [ebp - 0x6c], ebx
call fcn.0040cc40
mov esi, eax
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [esi + 4]
call fcn.0048f210
mov eax, dword [eax]
cmp eax, dword [esi + 8]
je 0x410868
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x410868
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
xor ecx, ecx
mov word [ebp - 0x48], cx
mov ecx, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x410784
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00405660
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0
cmp eax, 4
jge 0x4107ce
cmp dword [ebp - 0x34], 8
mov dword [ebp - 4], 0xffffffff
jb 0x410868
mov edx, dword [ebp - 0x48]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x410868
push 4
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
call fcn.00409fc0
mov ecx, dword [eax + 0x10]
push 4
push str..exe
push ecx
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004089e0
test eax, eax
mov esi, 8
setne bl
mov byte [ebp - 4], 0
cmp dword [ebp - 0x50], esi
jb 0x410817
mov edx, dword [ebp - 0x64]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
test bl, bl
je 0x410841
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], esi
jb 0x410865
mov ecx, dword [ebp - 0x48]
push ecx
jmp 0x41085d
lea edx, [ebp - 0x70]
push edx
lea ecx, [edi + 0x5c]
call fcn.004510c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], esi
jb 0x410865
mov eax, dword [ebp - 0x48]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ebx, dword [ebp - 0x68]
inc ebx
mov dword [ebp - 0x68], ebx
cmp ebx, 0x14
jl 0x410642
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.004b12f6
mov esp, ebp
pop ebp
ret