Function at 0x4060f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
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 0x406138
push 0x80
push ebx
push ebx
push ebx
push 0xcb25
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x40612e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 4], esi
jmp 0x406142
mov dword [0x55a3ec], 0x57
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x406174
push 0x80
push ebx
push ebx
push ebx
push 0xcb26
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x40616a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 8], esi
jmp 0x40617e
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0xc], ebx
cmp eax, ebx
je 0x4061b0
push 0x80
push ebx
push ebx
push ebx
push 0xcb27
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4061a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov eax, dword [0x55a3f8]
mov dword [ebp - 0xc], esi
jmp 0x4061ba
mov dword [0x55a3ec], 0x57
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x4061e7
push 0x80
push ebx
push ebx
push ebx
push 0xcb28
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x4061e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x55a3ec], eax
mov dword [ebp - 0x10], esi
jmp 0x4061f1
mov dword [0x55a3ec], 0x57
mov edi, dword [ebp + 8]
lea esi, [edi + 0x50]
push esi
mov ecx, str.BrCcAdvnc.sdd
call fcn.00466b30
push str.AdvCloseBtn
lea eax, [edi + 0x60]
call fcn.004fcf00
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x40621b
mov eax, 0x538640
mov dword [ebp - 0x18], ebx
cmp dword [esi + 8], ebx
jle 0x40624d
cmp eax, ebx
je 0x40624d
cmp word [eax], bx
je 0x40624d
mov ecx, dword [esi + 4]
cmp ecx, ebx
jne 0x406238
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 - 0x18], eax
jmp 0x406253
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x40625f
mov ecx, 0x538640
cmp dword [esi + 8], 0
mov dword [ebp - 0x14], 0
jle 0x406290
test ecx, ecx
je 0x406290
cmp word [ecx], 0
je 0x406290
mov eax, dword [esi + 4]
test eax, eax
jne 0x406282
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call ebx
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 0x10]
test ecx, ecx
jne 0x40629c
mov ecx, 0x538640
xor edi, edi
cmp dword [esi + 8], edi
jle 0x4062c5
test ecx, ecx
je 0x4062c5
cmp word [ecx], di
je 0x4062c5
mov eax, dword [esi + 4]
test eax, eax
jne 0x4062b8
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 0x4062d1
mov ecx, 0x538640
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x4062fe
test ecx, ecx
je 0x4062fe
cmp word [ecx], bx
je 0x4062fe
mov eax, dword [esi + 4]
test eax, eax
jne 0x4062ed
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [esi + 0x30c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x310], ecx
push 0x80ff
lea ecx, [ebp - 0x24]
mov dword [esi + 0x318], eax
xor eax, eax
push ecx
mov ecx, 0x55a400
mov dword [esi + 0x314], edx
mov byte [esi + 0x2fd], 1
mov dword [esi + 0x360], eax
mov dword [esi + 0x364], eax
mov dword [esi + 0x368], edi
mov dword [esi + 0x36c], ebx
mov dword [esi + 0x370], eax
mov dword [esi + 0x374], eax
mov dword [esi + 0x378], edi
mov dword [esi + 0x37c], ebx
call fcn.00467b90
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40637d
mov eax, 0x538640
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
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 + 0x138]
call fcn.00433520
test eax, eax
je 0x4063b4
mov dword [esi + 0x2f8], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4063c4
push eax
call fcn.005134a7
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc