Function at 0x40d3b2
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x10048
call fcn.00422eb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10044], eax
push ebx
mov ebx, dword [esp + 0x10050]
lea eax, [esp + 0x40]
push ebp
push esi
push edi
push eax
mov ebp, edx
mov dword [esp + 0x50], 8
mov esi, ecx
mov dword [esp + 0x54], 0x42ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push esi
mov dword [0x49fef8], esi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xca0000
push 0x4bffd8
push 0x4bff10
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x40d4ce
push 0x42b2d0
push ebx
mov dword [0x49fefc], edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x40d4e9
call fcn.00407ebc
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, 0x484
push esi
push esi
push 0x1004
push ebp
push dword [0x49fefc]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
lea esi, [eax - 1]
jmp 0x40d4c9
push 0xf000
push esi
push 0x102c
push ebp
push dword [0x49fefc]
call edi
push eax
call ebx
and eax, 0xfffff000
cmp eax, 0x2000
jne 0x40d4c8
lea eax, [esp + 0x54]
mov dword [esp + 0x18], 2
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
push esi
push 0x1073
push ebp
push dword [0x49fefc]
mov dword [esp + 0x3c], 0x7fff
call edi
push eax
call ebx
lea ecx, [esp + 0x54]
call fcn.004083c8
dec esi
cmp esi, 0xffffffff
jne 0x40d46d
xor eax, eax
mov ecx, dword [esp + 0x10054]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00411b03
add esp, 0x10048
ret
call fcn.0040f4a9
push ecx
mov ecx, 0x42a0d8
call fcn.0040ca67
mov edx, eax
call fcn.0040cc65
pop ecx
call fcn.0040d326
call fcn.0040d24d
mov eax, dword [0x4e00a8]
sub eax, 1
je 0x40d520
dec eax
sub eax, 1
mov eax, 0x200
je 0x40d525
mov eax, 0x100
mov dword [0x42e8d0], eax
call fcn.00411781
call fcn.00411443
test eax, eax
jne 0x40d56c
push esi
push 0x410e0a
push dword [0x49fefc]
push str.NAGSCREEN
push dword [0x49fef8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
neg eax
sbb eax, eax
neg eax
mov dword [0x42e8d4], eax
mov dword [0x42e8d8], eax
mov dword [0x42e8dc], eax
jmp 0x40d57f
push 1
push 0x138c
push dword [0x4bff0c]
call dword [sym.imp.USER32.dll_EnableMenuItem]
call fcn.0040fcc4
push 0x48fef0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.Magnet
push str.OPTIONS
call esi
push 0x48fef0
push 0x5f
push str.Transparent
push str.OPTIONS
mov dword [0x4e00a0], eax
call esi
mov dl, al
call fcn.0040fba1
call fcn.0040cd04
call fcn.0040129b
call fcn.004030b3
call fcn.00405375
call fcn.00406c24
call fcn.00407ebc
call fcn.0040982c
call fcn.0040e42b
movzx eax, word [ebx]
test ax, ax
je 0x40d64c
sub eax, 0x30
je 0x40d626
sub eax, 1
je 0x40d620
sub eax, 1
je 0x40d61a
sub eax, 1
je 0x40d614
sub eax, 1
je 0x40d60e
sub eax, 1
jne 0x40d64c
push eax
push 5
jmp 0x40d62a
push 0
push 4
jmp 0x40d62a
push 0
push 3
jmp 0x40d62a
push 0
push 2
jmp 0x40d62a
push 0
push 1
jmp 0x40d62a
push 0
push 0
push 0x130c
push 0x3f4
push dword [0x49fefc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00410a91
push ebp
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
jmp 0x40d4d0