Function at 0x492190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b348
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
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
mov al, byte [0x5786b5]
mov byte [esi + 0x123c], al
mov cl, byte [0x5786b4]
mov byte [esi + 0x123d], cl
lea ebx, [esi + 0x50]
push ebx
mov ecx, 0x554c58
call fcn.00470370
mov edx, dword [ebp + 0xc]
push edx
mov edi, esi
call fcn.00492650
call fcn.00492b80
lea eax, [esi + 0x60]
push str.FaxPanelFncBtn_BtnBase
call fcn.005080c0
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x492208
mov eax, 0x54ee24
xor edi, edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x492238
cmp eax, edi
je 0x492238
cmp word [eax], di
je 0x492238
mov ecx, dword [ebx + 4]
cmp ecx, edi
jne 0x492227
mov ecx, 0x54ee24
push ecx
push edi
push str.Height
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
push str.FaxPanelFncBtn_BtnWnd
lea eax, [esi + 0x60]
call fcn.005080c0
mov eax, dword [ebx + 0x10]
mov ecx, eax
cmp eax, edi
jne 0x492253
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x492281
cmp ecx, edi
je 0x492281
cmp word [ecx], di
je 0x492281
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x492270
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x49228d
mov ecx, 0x54ee24
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 8], edi
jle 0x4922bd
cmp ecx, edi
je 0x4922bd
cmp word [ecx], di
je 0x4922bd
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4922ac
mov eax, 0x54ee24
push eax
push edi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x4922cc
mov eax, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x4922f9
test eax, eax
je 0x4922f9
cmp word [eax], di
je 0x4922f9
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4922e8
mov ecx, 0x54ee24
push ecx
push 0
push str.Width
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x492305
mov ecx, 0x54ee24
xor eax, eax
cmp dword [ebx + 8], eax
jle 0x492330
test ecx, ecx
je 0x492330
cmp word [ecx], ax
je 0x492330
mov eax, dword [ebx + 4]
test eax, eax
jne 0x492321
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp byte [ebp + 0x14], 0
je 0x492359
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edi
push edx
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
lea edx, [esi + 0x890]
call fcn.00489a30
mov dword [ebp - 0x10], eax
push str.FaxPanelWndBtn_BtnWnd
lea eax, [esi + 0x60]
call fcn.005080c0
mov eax, dword [ebx + 0x10]
xor edi, edi
mov ecx, eax
cmp eax, edi
jne 0x492376
mov ecx, 0x54ee24
mov dword [ebp - 0x18], edi
cmp dword [ebx + 8], edi
jle 0x4923a4
cmp ecx, edi
je 0x4923a4
cmp word [ecx], di
je 0x4923a4
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x492393
mov eax, 0x54ee24
push eax
push edi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4923b0
mov ecx, 0x54ee24
mov dword [ebp - 0x14], edi
cmp dword [ebx + 8], edi
jle 0x4923de
cmp ecx, edi
je 0x4923de
cmp word [ecx], di
je 0x4923de
mov eax, dword [ebx + 4]
cmp eax, edi
jne 0x4923cd
mov eax, 0x54ee24
push eax
push edi
push str.Width
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x10]
cmp ecx, edi
jne 0x4923ea
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 8], edi
jle 0x492419
test ecx, ecx
je 0x492419
cmp word [ecx], di
je 0x492419
mov ebx, dword [ebx + 4]
mov eax, ebx
test ebx, ebx
jne 0x492408
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x1248], edx
mov dl, byte [esi + 0x123d]
xor ecx, ecx
mov dword [esi + 0x1240], ebx
mov dword [esi + 0x124c], edi
test dl, dl
je 0x492450
cmp byte [esi + 0x123c], 0
mov ecx, 2
je 0x492450
mov ecx, 3
mov eax, edi
imul eax, ecx
cmp byte [ebp + 0x14], 0
mov dword [esi + 0x1250], eax
je 0x49246a
add eax, dword [ebp - 0x10]
mov dword [esi + 0x1250], eax
sub ebx, dword [esi + 0x1250]
mov dword [ebp + 0x10], ebx
test dl, dl
je 0x492637
push 0x791a
lea edx, [ebp - 0x28]
push edx
mov ecx, 0x5776a0
call fcn.00471480
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x248], 3
test eax, eax
jne 0x4924ab
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp + 0xc]
push edi
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
push ecx
push 0
push eax
push 0x17df
push edx
lea ecx, [esi + 0x88]
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
add edx, edi
push ecx
lea ebx, [esi + 0x10b4]
mov dword [ebp - 0x10], edx
call fcn.00427b30
push 0x7919
lea edx, [ebp - 0x34]
push edx
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 0x492530
push eax
call fcn.0051ebab
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x4f4], 3
test eax, eax
jne 0x492546
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp + 0xc]
push edi
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
push ecx
push 0
push eax
push 0x17e0
push edx
lea ecx, [esi + 0x334]
mov eax, 0x10000000
call fcn.0043b8a0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
add edx, edi
push ecx
lea ebx, [esi + 0x116c]
mov dword [ebp - 0x10], edx
call fcn.00441320
xor ebx, ebx
cmp byte [esi + 0x123c], bl
je 0x492620
push 0x791e
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], bl
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4925dd
push eax
call fcn.0051ebab
add esp, 4
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x7a0], 3
cmp eax, ebx
jne 0x4925f3
mov eax, 0x54ee24
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push edi
push ecx
mov ecx, dword [ebp - 0x18]
push edx
mov edx, dword [ebp + 8]
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push eax
push 0x17e1
push edx
lea ecx, [esi + 0x5e0]
mov eax, 0x10000000
call fcn.0043b8a0
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x492637
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