Function at 0x408d10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x55a3f8]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x408d58
push 0x80
push ebx
push ebx
push ebx
push 0xcb29
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x408d4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 4], esi
jmp 0x408d62
mov dword [0x55a3ec], 0x57
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x408d94
push 0x80
push ebx
push ebx
push ebx
push 0xcb2a
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x408d8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 8], esi
jmp 0x408d9e
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0xc], ebx
cmp eax, ebx
je 0x408dcb
push 0x80
push ebx
push ebx
push ebx
push 0xcb2b
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x408dc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov dword [ebp - 0xc], esi
jmp 0x408dd5
mov dword [0x55a3ec], 0x57
mov esi, dword [ebp + 8]
lea edi, [esi + 0x1fec]
push edi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00466b30
push str.AdvHelpBtn
lea eax, [esi + 0x1ffc]
call fcn.004fcf00
mov eax, dword [edi + 0x10]
cmp eax, ebx
jne 0x408e05
mov eax, 0x538640
mov dword [ebp - 0x14], ebx
cmp dword [edi + 8], ebx
jle 0x408e37
cmp eax, ebx
je 0x408e37
cmp word [eax], bx
je 0x408e37
mov ecx, dword [edi + 4]
cmp ecx, ebx
jne 0x408e22
mov ecx, 0x538640
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push str.PosiX
push eax
call ebx
mov dword [ebp - 0x14], eax
jmp 0x408e3d
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x408e49
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 0x10], 0
jle 0x408e7a
test ecx, ecx
je 0x408e7a
cmp word [ecx], 0
je 0x408e7a
mov eax, dword [edi + 4]
test eax, eax
jne 0x408e6c
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x408e86
mov ecx, 0x538640
xor esi, esi
cmp dword [edi + 8], esi
jle 0x408eaf
test ecx, ecx
je 0x408eaf
cmp word [ecx], si
je 0x408eaf
mov eax, dword [edi + 4]
test eax, eax
jne 0x408ea2
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call ebx
mov esi, eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x408ebb
mov ecx, 0x538640
xor ebx, ebx
cmp dword [edi + 8], ebx
jle 0x408ee8
test ecx, ecx
je 0x408ee8
cmp word [ecx], bx
je 0x408ee8
mov eax, dword [edi + 4]
test eax, eax
jne 0x408ed7
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
add edi, 0x22b8
mov dword [edi + 0x1d4], eax
mov dword [edi + 0x1e0], eax
xor eax, eax
mov dword [edi + 0x228], eax
mov dword [edi + 0x22c], eax
mov dword [edi + 0x238], eax
mov dword [edi + 0x23c], eax
push 0x80ea
lea eax, [ebp - 0x20]
mov dword [edi + 0x1d8], ecx
push eax
mov ecx, 0x55a400
mov dword [edi + 0x1dc], edx
mov byte [edi + 0x1c5], 1
mov dword [edi + 0x230], esi
mov dword [edi + 0x234], ebx
mov dword [edi + 0x240], esi
mov dword [edi + 0x244], ebx
call fcn.00467b90
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x408f6a
mov eax, 0x538640
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 0xc]
push 0x17d9
push eax
mov eax, 0x10000000
mov ecx, edi
call fcn.00433520
mov esi, eax
test esi, esi
je 0x408f9f
mov dword [edi + 0x1c0], 0
push esi
push edi
push 0x832c
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x55a418]
and eax, 0x3ff
dec eax
cmp eax, 0x59
ja case.0x408fcb.2
movzx ecx, byte [eax + 0x409030]
jmp dword [ecx*4 + 0x409028]
mov byte [ebp + 0x10], 1
jmp 0x408fdc
mov byte [ebp + 0x10], 0
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edx
add eax, 0x1fc4
push ecx
mov ecx, 0x40
mov dword [ebp + 8], eax
call fcn.005069b0
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x409005
mov edi, 0x538640
mov ecx, dword [ebp + 8]
call fcn.00506a20
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40901d
push eax
call fcn.005134a7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc