Function at 0x4145c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52dc20
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x559024]
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.00466b30
push str.AdvSubWnd_HelpBtn_BtnText
lea eax, [edi + 0x10]
call fcn.004fcf00
mov eax, dword [edi + 0x10]
xor esi, esi
cmp eax, esi
jne 0x414611
mov eax, 0x538640
mov dword [ebp - 0x10], esi
cmp dword [edi + 8], esi
jle 0x41463f
cmp eax, esi
je 0x41463f
cmp word [eax], si
je 0x41463f
mov ecx, dword [edi + 4]
cmp ecx, esi
jne 0x41462e
mov ecx, 0x538640
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 0x41464b
mov ecx, 0x538640
mov dword [ebp - 0x14], esi
cmp dword [edi + 8], esi
jle 0x414679
cmp ecx, esi
je 0x414679
cmp word [ecx], si
je 0x414679
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x414668
mov eax, 0x538640
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 0x414685
mov ecx, 0x538640
mov dword [ebp - 0x18], esi
cmp dword [edi + 8], esi
jle 0x4146b3
cmp ecx, esi
je 0x4146b3
cmp word [ecx], si
je 0x4146b3
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4146a2
mov eax, 0x538640
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 0x4146bf
mov ecx, 0x538640
mov dword [ebp - 0x1c], esi
cmp dword [edi + 8], esi
jle 0x4146ed
cmp ecx, esi
je 0x4146ed
cmp word [ecx], si
je 0x4146ed
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4146dc
mov eax, 0x538640
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, 0x55a400
call fcn.00467b90
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
cmp eax, esi
jne 0x414714
mov dword [ebp - 0x38], 0x538640
mov ecx, dword [edi + 0x10]
cmp ecx, esi
jne 0x414720
mov ecx, 0x538640
mov dword [ebp - 0x20], esi
cmp dword [edi + 8], esi
jle 0x41474e
cmp ecx, esi
je 0x41474e
cmp word [ecx], si
je 0x41474e
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x41473d
mov eax, 0x538640
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, 0x55a400
mov byte [ebp - 0x5c], bl
mov edi, 0xffffff
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x4c], 0
call fcn.00467b90
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, esi
jne 0x414785
mov eax, 0x538640
mov esi, dword [ebp + 8]
push eax
lea eax, [esi + 0x150]
mov byte [esi + 0x274], bl
call fcn.004fcf00
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.0046a1f0
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 [0x55a3f8]
xor ebx, ebx
test eax, eax
je 0x414855
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 0x41484c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov ebx, edi
jmp 0x41485f
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x20], 0
test eax, eax
je 0x41489c
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 0x414892
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x20], edi
jmp 0x4148a6
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4148e3
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 0x4148d9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x1c], edi
jmp 0x4148ed
mov dword [0x55a3ec], 0x57
xor ecx, ecx
test eax, eax
je 0x41491c
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 0x414918
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov ecx, edi
jmp 0x414926
mov dword [0x55a3ec], 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.004fcf00
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x414966
mov eax, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x20], 0
jle 0x41499b
test eax, eax
je 0x41499b
cmp word [eax], 0
je 0x41499b
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x414989
mov ecx, 0x538640
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.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4149b4
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x4149e9
test ecx, ecx
je 0x4149e9
cmp word [ecx], 0
je 0x4149e9
mov eax, dword [edi + 4]
test eax, eax
jne 0x4149d7
mov eax, 0x538640
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 0x4149f5
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp + 8], 0
jle 0x414a2a
test ecx, ecx
je 0x414a2a
cmp word [ecx], 0
je 0x414a2a
mov eax, dword [edi + 4]
test eax, eax
jne 0x414a18
mov eax, 0x538640
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 0x414a36
mov ecx, 0x538640
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x414a63
test ecx, ecx
je 0x414a63
cmp word [ecx], bx
je 0x414a63
mov eax, dword [edi + 4]
test eax, eax
jne 0x414a52
mov eax, 0x538640
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 0x414a6f
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x414a9a
test ecx, ecx
je 0x414a9a
cmp word [ecx], ax
je 0x414a9a
mov eax, dword [edi + 4]
test eax, eax
jne 0x414a8b
mov eax, 0x538640
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 0x414aca
mov ecx, 0x538640
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.00433520
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
je 0x414b0e
push eax
call fcn.005134a7
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 0x414b25
push eax
call fcn.005134a7
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