Function at 0x415300
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x55a3f8]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x415348
push 0x80
push ebx
push ebx
push ebx
push 0xc74f
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x41533e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x10], esi
jmp 0x415352
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x14], ebx
cmp eax, ebx
je 0x415384
push 0x80
push ebx
push ebx
push ebx
push 0xc750
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x41537a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x14], esi
jmp 0x41538e
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x4153c0
push 0x80
push ebx
push ebx
push ebx
push 0xc751
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4153b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0x18], esi
jmp 0x4153ca
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x1c], ebx
cmp eax, ebx
je 0x4153f7
push 0x80
push ebx
push ebx
push ebx
push 0xc752
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4153f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov dword [ebp - 0x1c], esi
jmp 0x415401
mov dword [0x55a3ec], 0x57
mov esi, dword [ebp + 8]
push esi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00466b30
push str.AdvSubWnd_BaseWnd
lea eax, [esi + 0x10]
call fcn.004fcf00
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x415428
mov eax, 0x538640
mov dword [ebp - 8], ebx
cmp dword [esi + 8], ebx
jle 0x41545a
cmp eax, ebx
je 0x41545a
cmp word [eax], bx
je 0x41545a
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x415445
mov ecx, 0x538640
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.Width
push eax
call ebx
mov dword [ebp - 8], eax
jmp 0x415460
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.AdvSubWnd_CloseBtn
lea eax, [esi + 0x10]
call fcn.004fcf00
mov ecx, dword [esi + 0x10]
xor edi, edi
cmp ecx, edi
jne 0x41547b
mov ecx, 0x538640
mov dword [ebp - 0xc], edi
cmp dword [esi + 8], edi
jle 0x4154a5
cmp ecx, edi
je 0x4154a5
cmp word [ecx], di
je 0x4154a5
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x415498
mov eax, 0x538640
push eax
push edi
push str.PosiX
push ecx
call ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4154b1
mov ecx, 0x538640
mov dword [ebp - 4], edi
cmp dword [esi + 8], edi
jle 0x4154db
cmp ecx, edi
je 0x4154db
cmp word [ecx], di
je 0x4154db
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4154ce
mov eax, 0x538640
push eax
push edi
push str.PosiY
push ecx
call ebx
mov dword [ebp - 4], eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
jne 0x4154e7
mov ecx, 0x538640
cmp dword [esi + 8], edi
jle 0x41550e
test ecx, ecx
je 0x41550e
cmp word [ecx], di
je 0x41550e
mov eax, dword [esi + 4]
test eax, eax
jne 0x415501
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call ebx
mov edi, eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x41551a
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x415547
test ecx, ecx
je 0x415547
cmp word [ecx], bx
je 0x415547
mov eax, dword [esi + 4]
test eax, eax
jne 0x415536
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [esi + 0xe28], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0xe24], eax
sub ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xd38], eax
xor eax, eax
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0xd88], eax
mov dword [esi + 0xd8c], eax
mov dword [esi + 0xd98], eax
mov dword [esi + 0xd9c], eax
mov dword [esi + 0xd34], edx
mov edx, dword [ebp - 0x1c]
push 0x80ff
lea eax, [ebp - 0x28]
mov dword [esi + 0xd3c], ecx
push eax
mov ecx, 0x55a400
mov dword [esi + 0xd40], edx
mov byte [esi + 0xd25], 1
mov dword [esi + 0xd90], edi
mov dword [esi + 0xd94], ebx
mov dword [esi + 0xda0], edi
mov dword [esi + 0xda4], ebx
call fcn.00467b90
mov eax, dword [ebp - 0x28]
mov ecx, esi
mov dword [ecx + 0xd20], 0
test eax, eax
jne 0x4155ec
mov eax, 0x538640
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push edx
mov edx, dword [ebp + 0xc]
push ecx
push 0
push eax
push 0x17d8
push edx
mov eax, 0x10000000
lea ecx, [esi + 0xb60]
call fcn.00433520
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x415625
push eax
call fcn.005134a7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10