Function at 0x486710
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov ebx, eax
mov al, byte [ebp + 0x1c]
lea edi, [esi + 0x3c]
push edi
mov ecx, 0x53b7a8
mov byte [esi + 0x895d], al
call fcn.00466b30
cmp byte [ebp + 0x20], 0
lea eax, [esi + 0x4c]
je 0x486744
push str.PcFaxTxFilePage_Mini_Wnd_HLineBottom
jmp 0x486749
push str.PcFaxTxFilePage_Wnd_HLineBottom
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x48675c
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x486787
test ecx, ecx
je 0x486787
cmp word [ecx], ax
je 0x486787
mov eax, dword [edi + 4]
test eax, eax
jne 0x486778
mov eax, 0x538640
push eax
push 0
push str.ColorR
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x894c], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x48679b
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x4867c6
test ecx, ecx
je 0x4867c6
cmp word [ecx], ax
je 0x4867c6
mov eax, dword [edi + 4]
test eax, eax
jne 0x4867b7
mov eax, 0x538640
push eax
push 0
push str.ColorG
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x8950], eax
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x4867da
mov ecx, 0x538640
xor eax, eax
cmp dword [edi + 8], eax
jle 0x486805
test ecx, ecx
je 0x486805
cmp word [ecx], ax
je 0x486805
mov eax, dword [edi + 4]
test eax, eax
jne 0x4867f6
mov eax, 0x538640
push eax
push 0
push str.ColorB
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
push esi
push 0x234a
push ebx
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov dword [esi + 0x8954], eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, esi
call fcn.005109b0
mov dword [ebp + 0x10], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 1
test eax, eax
je 0x486a6d
cmp byte [ebp + 0x20], 0
mov edx, dword [ebp + 0x14]
lea eax, [esi + 0x7b58]
mov dword [esi + 0x2f8c], eax
mov dword [esi + 0x9ac], eax
mov dword [ebp - 8], edx
lea eax, [esi + 0x4c]
je 0x486877
push str.PcFaxTxFilePage_Mini_PanelWnd
jmp 0x48687c
push str.PcFaxTxFilePage_PanelWnd
call fcn.004fcf00
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x48688d
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp + 0xc], 0
jle 0x4868c6
test ecx, ecx
je 0x4868c6
cmp word [ecx], 0
je 0x4868c6
mov eax, dword [edi + 4]
test eax, eax
jne 0x4868b0
mov eax, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push 0
push str.PosiX
push ecx
call ebx
mov dword [ebp + 0xc], eax
jmp 0x4868cc
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x4868d8
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp + 0x14], 0
jle 0x486909
test ecx, ecx
je 0x486909
cmp word [ecx], 0
je 0x486909
mov eax, dword [edi + 4]
test eax, eax
jne 0x4868fb
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call ebx
mov dword [ebp + 0x14], eax
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x486915
mov ecx, 0x538640
cmp dword [edi + 8], 0
mov dword [ebp - 4], 0
jle 0x486946
test ecx, ecx
je 0x486946
cmp word [ecx], 0
je 0x486946
mov eax, dword [edi + 4]
test eax, eax
jne 0x486938
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push esi
call fcn.00487090
cmp byte [ebp + 0x1c], 0
mov ecx, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x18]
mov ebx, eax
sete dl
movzx eax, dl
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push ebx
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
lea edi, [esi + 0x120]
push edx
call fcn.00487a70
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov byte [esi + 0x8968], dl
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x8960], eax
mov eax, dword [ebp + 0xc]
add eax, ebx
push edx
push eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
push ecx
push eax
mov eax, esi
mov dword [esi + 0x8964], ecx
call fcn.004875d0
mov eax, dword [esi + 0x8958]
mov ecx, dword [ebp + 0xc]
add ecx, eax
lea edx, [eax + ebx]
mov eax, dword [ebp - 8]
sub eax, edx
mov edx, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push edx
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push ecx
lea ebx, [esi + 0x139c]
call fcn.00485500
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x896c], eax
mov eax, dword [esi + 0x7b40]
mov dword [edi + 0x1160], eax
mov dword [edi + 0x1218], eax
mov dword [edi + 0x1224], eax
mov eax, dword [esi + 0x896c]
test ecx, ecx
je 0x486a2f
test eax, eax
je 0x486a2f
mov dword [esi + 0xcc], ecx
mov dword [esi + 0xd0], eax
cmp dword [esi + 0xcc], 0
mov eax, dword [esi + 0x7b50]
je 0x486a56
cmp dword [esi + 0xd0], 0
je 0x486a56
mov edx, dword [ebp - 4]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd8], eax
cmp byte [esi + 0x895d], 0
je 0x486a6a
call fcn.00487160
push esi
call fcn.00487230
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c