Function at 0x41a020
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5399e0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00470370
push str.AdvSubWnd_HelpBtn_BtnText
lea eax, [edi + 0x10]
call fcn.005080c0
mov eax, dword [edi + 0x10]
xor esi, esi
cmp eax, esi
jne 0x41a071
mov eax, 0x54ee24
mov dword [ebp - 0x10], esi
cmp dword [edi + 8], esi
jle 0x41a09f
cmp eax, esi
je 0x41a09f
cmp word [eax], si
je 0x41a09f
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x41a08e
mov ecx, 0x54ee24
push ecx
push esi
push str.PosiX
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x41a0ab
mov ecx, 0x54ee24
mov dword [ebp - 0x14], esi
cmp dword [edi + 8], esi
jle 0x41a0d9
cmp ecx, esi
je 0x41a0d9
cmp word [ecx], si
je 0x41a0d9
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x41a0c8
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x41a0e5
mov ecx, 0x54ee24
mov dword [ebp - 0x18], esi
cmp dword [edi + 8], esi
jle 0x41a113
cmp ecx, esi
je 0x41a113
cmp word [ecx], si
je 0x41a113
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x41a102
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x41a11f
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], esi
cmp dword [edi + 8], esi
jle 0x41a14d
cmp ecx, esi
je 0x41a14d
cmp word [ecx], si
je 0x41a14d
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x41a13c
mov eax, 0x54ee24
push eax
push esi
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
push 0x2af8
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, esi
jne 0x41a174
mov dword [ebp - 0x38], 0x54ee24
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x41a180
mov ecx, 0x54ee24
mov dword [ebp - 0x20], esi
cmp dword [edi + 8], esi
jle 0x41a1ae
cmp ecx, esi
je 0x41a1ae
cmp word [ecx], si
je 0x41a1ae
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x41a19d
mov eax, 0x54ee24
push eax
push esi
push str.FontPoint
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
push 0x80ea
lea ecx, [ebp - 0x2c]
push ecx
mov ebx, 1
mov ecx, 0x5776a0
mov byte [ebp - 0x5c], bl
mov edi, 0xffffff
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x4c], 0
call fcn.00471480
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x41a1e5
mov eax, 0x54ee24
mov esi, dword [ebp + 8]
push eax
lea eax, [esi + 0x150]
mov byte [esi + 0x274], bl
call fcn.005080c0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0
push 0
mov dword [esi + 0x138], edx
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0x13c], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x140], ecx
mov ecx, dword [ebp - 0x38]
push eax
mov dword [esi + 0x144], edx
push ecx
lea edx, [esi + 0x128]
mov dword [esi + 0x148], ebx
mov ebx, dword [ebp + 0x10]
push edx
mov dword [esi + 0x14c], 0x25
call fcn.00473a60
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
mov dword [esi + 0x15c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x160], edi
mov dword [esi + 0x164], ecx
mov ecx, dword [ebp - 0x48]
mov dword [esi + 0x168], edx
mov dword [esi + 0x16c], eax
mov dword [esi + 0x170], ecx
mov eax, dword [0x577698]
xor ebx, ebx
test eax, eax
je 0x41a2b5
push 0x80
push ebx
push ebx
push ebx
push 0xc73f
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x41a2ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov ebx, edi
jmp 0x41a2bf
mov dword [0x57768c], 0x57
mov dword [ebp - 0x20], 0
test eax, eax
je 0x41a2fc
push 0x80
push 0
push 0
push 0
push 0xc740
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x41a2f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x20], edi
jmp 0x41a306
mov dword [0x57768c], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x41a343
push 0x80
push 0
push 0
push 0
push 0xc741
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x41a339
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov eax, dword [0x577698]
mov dword [ebp - 0x1c], edi
jmp 0x41a34d
mov dword [0x57768c], 0x57
xor ecx, ecx
test eax, eax
je 0x41a37c
push 0x80
push ecx
push ecx
push ecx
push 0xc742
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
test edi, edi
jne 0x41a378
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x57768c], eax
mov ecx, edi
jmp 0x41a386
mov dword [0x57768c], 0x57
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [esi + 0x2a4], eax
mov edi, esi
push str.AdvSubWnd_BaseWnd
lea eax, [edi + 0x10]
mov byte [esi + 0x277], 1
mov dword [esi + 0x29c], ebx
mov dword [esi + 0x2a0], edx
mov dword [esi + 0x2a8], ecx
call fcn.005080c0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x41a3c6
mov eax, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x20], 0
jle 0x41a3fb
test eax, eax
je 0x41a3fb
cmp word [eax], 0
je 0x41a3fb
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x41a3e9
mov ecx, 0x54ee24
push ecx
push 0
push str.Width
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
push str.AdvSubWnd_HelpBtn_BtnWnd
lea eax, [edi + 0x10]
call fcn.005080c0
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x41a414
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x41a449
test ecx, ecx
je 0x41a449
cmp word [ecx], 0
je 0x41a449
mov eax, dword [edi + 4]
test eax, eax
jne 0x41a437
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x41a455
mov ecx, 0x54ee24
cmp dword [edi + 8], 0
mov dword [ebp + 8], 0
jle 0x41a48a
test ecx, ecx
je 0x41a48a
cmp word [ecx], 0
je 0x41a48a
mov eax, dword [edi + 4]
test eax, eax
jne 0x41a478
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp + 8], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x41a496
mov ecx, 0x54ee24
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x41a4c3
test ecx, ecx
je 0x41a4c3
cmp word [ecx], bx
je 0x41a4c3
mov eax, dword [edi + 4]
test eax, eax
jne 0x41a4b2
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x41a4cf
mov ecx, 0x54ee24
xor eax, eax
cmp dword [edi + 8], eax
jle 0x41a4fa
test ecx, ecx
je 0x41a4fa
cmp word [ecx], ax
je 0x41a4fa
mov eax, dword [edi + 4]
test eax, eax
jne 0x41a4eb
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x1c]
mov dword [edi + 0xe10], edx
mov edx, dword [ebp + 0x14]
sub edx, ecx
mov dword [edi + 0xe0c], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x270], 0
test ecx, ecx
jne 0x41a52a
mov ecx, 0x54ee24
push eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push eax
push edx
push 0
push ecx
mov ecx, dword [ebp + 0xc]
push 0x17d9
push ecx
mov eax, 0x10000000
lea ecx, [esi + 0xb0]
call fcn.0043b8a0
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x41a56e
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x41a585
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10