Function at 0x49fc20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b228
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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 esi, ecx
lea ebx, [esi + 0x3c]
push ebx
mov ecx, 0x554c58
call fcn.00470370
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049fff0
call fcn.004a03a0
push str.PanelWndBtn_BtnWnd
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x49fc7f
mov eax, 0x54ee24
cmp dword [ebx + 8], 0
mov dword [ebp - 0x14], 0
jle 0x49fcb8
test eax, eax
je 0x49fcb8
cmp word [eax], 0
je 0x49fcb8
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x49fca2
mov ecx, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.PosiX
push eax
call edi
mov dword [ebp - 0x14], eax
jmp 0x49fcbe
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x49fcca
mov ecx, 0x54ee24
cmp dword [ebx + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x49fcfb
test ecx, ecx
je 0x49fcfb
cmp word [ecx], 0
je 0x49fcfb
mov eax, dword [ebx + 4]
test eax, eax
jne 0x49fced
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x49fd07
mov ecx, 0x54ee24
cmp dword [ebx + 8], 0
mov dword [ebp - 0x10], 0
jle 0x49fd38
test ecx, ecx
je 0x49fd38
cmp word [ecx], 0
je 0x49fd38
mov eax, dword [ebx + 4]
test eax, eax
jne 0x49fd2a
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call edi
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x49fd44
mov ecx, 0x54ee24
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x49fd79
test ecx, ecx
je 0x49fd79
cmp word [ecx], di
je 0x49fd79
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x49fd65
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov edi, eax
mov eax, dword [ebp + 0x10]
lea ecx, [edi*4]
sub ecx, edi
neg ecx
mov dword [esi + 0x19d4], eax
add eax, ecx
push 0x791b
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x5776a0
mov dword [esi + 0x19dc], edi
mov dword [ebp + 0x10], eax
call fcn.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x234], 3
test eax, eax
jne 0x49fdc8
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0xc]
push edi
push ecx
mov ecx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp + 8]
push ecx
push 0
push eax
push 0x17e2
push edx
lea ecx, [esi + 0x74]
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
lea ebx, [edi + eax]
mov eax, dword [ebp - 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ebx
push ecx
push edx
push eax
lea edi, [esi + 0x878]
mov dword [ebp - 0x1c], ebx
call fcn.00466570
push 0x791c
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x49fe51
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x4e0], 3
test eax, eax
jne 0x49fe67
mov eax, 0x54ee24
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push edi
push edx
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push ecx
push 0
push eax
push 0x17e3
push edx
lea ecx, [esi + 0x320]
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
add ebx, edi
push ebx
push eax
push ecx
push edx
lea edi, [esi + 0x1140]
mov dword [ebp - 0x1c], ebx
call fcn.00459930
mov ecx, dword [esi + 0x12dc]
xor edi, edi
cmp ecx, edi
je 0x49fed5
push edi
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x49fee9
mov ecx, dword [esi + 0x12d8]
mov ecx, dword [ecx + 4]
mov dword [ecx + esi + 0x12d8], 6
push 0x791d
lea edx, [ebp - 0x34]
push edx
mov ecx, 0x5776a0
call fcn.00471480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00508010
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x49ff25
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x78c], 3
cmp eax, edi
jne 0x49ff3b
mov eax, 0x54ee24
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push edi
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push 0x17e4
push eax
lea ecx, [esi + 0x5cc]
mov eax, 0x10000000
call fcn.0043b8a0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x14]
push ecx
add eax, edi
push eax
mov eax, dword [ebp + 8]
push edx
push ebx
push eax
lea edi, [esi + 0x1598]
call fcn.0045b310
mov ecx, dword [esi + 0x1714]
xor edi, edi
cmp ecx, edi
je 0x49ffa3
push edi
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x49ffb7
mov ecx, dword [esi + 0x1710]
mov ecx, dword [ecx + 4]
mov dword [ecx + esi + 0x1710], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x19e0], edi
mov dword [esi + 0x1a08], edi
cmp eax, edi
je 0x49ffda
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