Function at 0x40f610
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x14], edx
push eax
mov esi, ecx
mov dword [esp + 0x1c], 8
mov dword [esp + 0x20], 0x42ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [0x4443c0], esi
call fcn.004102ff
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x4443c8
push 0xc8
push str.Edition
push str.OPTIONS
call ebp
push 2
push 0x32
mov dword [0x43b900], eax
call fcn.00420024
pop ecx
pop ecx
mov dword [0x444980], eax
call fcn.004138e8
call fcn.00413a1d
xor edi, edi
xor ebx, ebx
inc edi
test eax, eax
jne 0x40f6c0
push ebx
push 0x413ce2
push dword [0x4443bc]
push str.NAGSCREEN
push esi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x40f6c0
mov dword [0x44497c], edi
mov dword [0x444978], edi
mov dword [0x444974], edi
push ebx
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xca0000
push 0x4448a8
push 0x4447e0
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x40f888
mov edx, esi
mov dword [0x4443bc], edi
call fcn.00413807
mov ebx, eax
mov edx, 0x435920
mov ecx, 0x435f1c
mov dword [esp + 0x10], ebx
call fcn.00414a7a
push eax
push 0
push 0xc
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x43b900]
push 0x64
pop esi
sub eax, esi
je 0x40f757
sub eax, esi
je 0x40f731
sub eax, esi
jne 0x40f767
push str.Premium
jmp 0x40f75c
push str.Professional
push 0x4448a8
call dword [sym.imp.SHLWAPI.dll_StrCatW]
mov dword [0x43b908], 0x3ea
mov dword [0x43b904], 0x294
jmp 0x40f767
push str.Home
push 0x4448a8
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0x4448a8
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x4443c8
push 5
push str.Transparent
push str.OPTIONS
call ebp
sub esi, eax
mov ecx, edi
mov edx, esi
call fcn.004148eb
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call ebx
call fcn.004152e8
call fcn.00410486
call fcn.00413a1d
test eax, eax
je 0x40f7eb
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x2733
push dword [0x4447dc]
call esi
push 1
push 0x273f
push dword [0x4447dc]
call esi
push 1
push 0x2744
push dword [0x4447dc]
call esi
push ecx
mov edx, 0x437344
mov ecx, 0x4355f8
call fcn.00414a7a
mov edx, eax
call fcn.0041014b
pop ecx
call fcn.004101fc
mov edx, 0x435edc
mov ecx, 0x435f1c
call fcn.00414a7a
mov esi, dword [esp + 0x10]
push eax
push 0
push 0xc
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00401000
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.00415173
push 0x4443c8
push 0
push str.Magnet
push str.OPTIONS
call ebp
cmp dword [0x43b900], 0xc8
mov dword [0x4443c4], eax
jne 0x40f861
call fcn.00410df2
call fcn.00415450
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x443780]
call esi
push dword [esp + 0x14]
push edi
call esi
push edi
call ebx
call fcn.0040b4ed
xor eax, eax
inc eax
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00415746
add esp, 0x14
ret