Function at 0x49fb90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540bc8
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, 0x554c48
call fcn.00470260
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049ff70
call fcn.004a0320
push str.PanelWndBtn_BtnWnd
lea eax, [esi + 0x4c]
call fcn.005080c0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x49fbef
mov eax, 0x54ee24
cmp dword [ebx + 8], 0
mov dword [ebp - 0x14], 0
jle 0x49fc28
test eax, eax
je 0x49fc28
cmp word [eax], 0
je 0x49fc28
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x49fc12
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 0x49fc2e
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x49fc3a
mov ecx, 0x54ee24
cmp dword [ebx + 8], 0
mov dword [ebp - 0x1c], 0
jle 0x49fc6b
test ecx, ecx
je 0x49fc6b
cmp word [ecx], 0
je 0x49fc6b
mov eax, dword [ebx + 4]
test eax, eax
jne 0x49fc5d
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 0x49fc77
mov ecx, 0x54ee24
cmp dword [ebx + 8], 0
mov dword [ebp - 0x10], 0
jle 0x49fca8
test ecx, ecx
je 0x49fca8
cmp word [ecx], 0
je 0x49fca8
mov eax, dword [ebx + 4]
test eax, eax
jne 0x49fc9a
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 0x49fcb4
mov ecx, 0x54ee24
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x49fce9
test ecx, ecx
je 0x49fce9
cmp word [ecx], di
je 0x49fce9
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x49fcd5
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.00471380
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x234], 3
test eax, eax
jne 0x49fd38
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.0043b720
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.004663b0
push 0x791c
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x5776a0
call fcn.00471380
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 0x49fdc1
push eax
call fcn.0051eadb
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x4e0], 3
test eax, eax
jne 0x49fdd7
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.0043b720
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.00459810
mov ecx, dword [esi + 0x12dc]
xor edi, edi
cmp ecx, edi
je 0x49fe45
push edi
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x49fe59
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.00471380
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 0x49fe95
push eax
call fcn.0051eadb
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 0x49feab
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.0043b720
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.0045b1f0
mov ecx, dword [esi + 0x1714]
xor edi, edi
cmp ecx, edi
je 0x49ff13
push edi
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x49ff27
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 0x49ff4a
push eax
call fcn.0051eadb
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