Function at 0x4ba0e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push ebx
push 0x2349
mov esi, eax
mov eax, dword [ebp + 0x10]
push esi
push eax
push ecx
mov ecx, dword [ebp + 8]
push 0
push 0
push 0
push 0x40000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, ebx
call fcn.0051bcc0
mov edx, dword [ebp + 8]
mov cl, byte [ebp + 0x18]
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x34], esi
mov byte [ebx + 0x38], 1
mov dword [ebx + 0x68dc], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 4], edi
mov dword [ebx + 0x68d8], edi
mov dword [ebx + 0x68e4], eax
mov byte [ebx + 0x68e0], cl
mov dword [ebx + 0x69ac], edx
test edi, edi
je 0x4ba7da
mov al, byte [ebp + 0x14]
lea esi, [ebx + 0x638c]
mov byte [ebx + 0x6948], al
call fcn.004b4920
lea eax, [ebx + 0x63b4]
push eax
mov ecx, 0x554c58
call fcn.00470370
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edi
push edx
mov esi, ebx
call fcn.004bbe50
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x63c4]
je 0x4ba1a1
push str.PrntSettingPage_Mini_Wnd
jmp 0x4ba1a6
push str.PrntSettingPage_Wnd
call fcn.005080c0
mov eax, dword [ebx + 0x63c4]
mov ecx, eax
test eax, eax
jne 0x4ba1bc
mov ecx, 0x54ee24
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebx + 0x63bc], edi
jle 0x4ba1f7
test ecx, ecx
je 0x4ba1f7
cmp word [ecx], di
je 0x4ba1f7
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba1e7
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call esi
mov edi, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba206
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
mov dword [ebp - 0x18], 0
jle 0x4ba23d
test ecx, ecx
je 0x4ba23d
cmp word [ecx], 0
je 0x4ba23d
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba22f
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call esi
mov dword [ebp - 0x18], eax
cmp byte [ebp + 0x18], 0
mov dword [ebx + 0x68e8], edi
lea eax, [ebx + 0x63c4]
je 0x4ba256
push str.PrntSettingPage_Mini_FuncBtnWnd
jmp 0x4ba25b
push str.PrntSettingPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba26f
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
jle 0x4ba29c
test ecx, ecx
je 0x4ba29c
cmp word [ecx], 0
je 0x4ba29c
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba291
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call esi
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba2ab
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
jle 0x4ba2d8
test ecx, ecx
je 0x4ba2d8
cmp word [ecx], 0
je 0x4ba2d8
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba2cd
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call esi
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba2e7
mov ecx, 0x54ee24
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebx + 0x63bc], edi
jle 0x4ba31c
test ecx, ecx
je 0x4ba31c
cmp word [ecx], di
je 0x4ba31c
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba30c
mov eax, 0x54ee24
push eax
push 0
push str.Width
push ecx
call esi
mov dword [ebp + 0x14], eax
mov edi, eax
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba32b
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
jle 0x4ba358
test ecx, ecx
je 0x4ba358
cmp word [ecx], 0
je 0x4ba358
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba34d
mov eax, 0x54ee24
push eax
push 0
push str.Height
push ecx
call esi
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 8]
mov eax, ecx
sub eax, dword [ebx + 0x694c]
mov dword [ebx + 0x6964], edi
push eax
push edi
sub ecx, eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
sub eax, edi
push eax
push ecx
push edx
lea edi, [ebx + 0xc7c]
call fcn.004b8170
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x63c4]
je 0x4ba39e
push str.PrntSettingPage_Mini_PaperSize_ItemWnd
jmp 0x4ba3a3
push str.PrntSettingPage_PaperSize_ItemWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
xor esi, esi
cmp ecx, esi
jne 0x4ba3b9
mov ecx, 0x54ee24
mov dword [ebp - 8], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba3f1
cmp ecx, esi
je 0x4ba3f1
cmp word [ecx], si
je 0x4ba3f1
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba3dc
mov eax, 0x54ee24
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
push esi
push str.PosiX
push ecx
call edi
mov dword [ebp - 8], eax
jmp 0x4ba3f7
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba406
mov ecx, 0x54ee24
mov dword [ebp + 0x1c], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba436
cmp ecx, esi
je 0x4ba436
cmp word [ecx], si
je 0x4ba436
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba429
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call edi
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba445
mov ecx, 0x54ee24
mov dword [ebp - 0x14], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba475
cmp ecx, esi
je 0x4ba475
cmp word [ecx], si
je 0x4ba475
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba468
mov eax, 0x54ee24
push eax
push esi
push str.Width
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba484
mov ecx, 0x54ee24
mov dword [ebp - 0xc], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba4b4
cmp ecx, esi
je 0x4ba4b4
cmp word [ecx], si
je 0x4ba4b4
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba4a7
mov eax, 0x54ee24
push eax
push esi
push str.Height
push ecx
call edi
mov dword [ebp - 0xc], eax
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x63c4]
je 0x4ba4c7
push str.PrntSettingPage_Mini_MediaType_ItemWnd
jmp 0x4ba4cc
push str.PrntSettingPage_MediaType_ItemWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba4e0
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba510
cmp ecx, esi
je 0x4ba510
cmp word [ecx], si
je 0x4ba510
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba503
mov eax, 0x54ee24
push eax
push esi
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba51f
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba551
cmp ecx, esi
je 0x4ba551
cmp word [ecx], si
je 0x4ba551
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba541
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x63c4]
je 0x4ba564
push str.PrntSettingPage_Mini_LayoutType_ItemWnd
jmp 0x4ba569
push str.PrntSettingPage_LayoutType_ItemWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba57d
mov ecx, 0x54ee24
mov dword [ebp - 0x20], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba5b1
cmp ecx, esi
je 0x4ba5b1
cmp word [ecx], si
je 0x4ba5b1
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba5a0
mov eax, 0x54ee24
push eax
push esi
push str.PosiX
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba5c0
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], esi
jle 0x4ba5f0
cmp ecx, esi
je 0x4ba5f0
cmp word [ecx], si
je 0x4ba5f0
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba5e0
mov eax, 0x54ee24
push eax
push esi
push str.PosiY
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
sub edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
sub edx, eax
sub edx, dword [ebp + 0x14]
mov ecx, edi
mov edi, dword [ebp - 0x18]
sub ecx, dword [ebp + 0x1c]
sub edi, esi
mov esi, edi
mov edi, dword [ebp + 0xc]
sub esi, dword [ebp - 0xc]
sub edi, edx
sub edi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x6978], edx
lea edx, [ecx + ecx]
sub eax, edx
sub eax, esi
sub eax, dword [ebp + 0x1c]
sub edi, dword [ebp + 0x14]
mov edx, eax
mov eax, 0x55555556
imul edx
mov dword [ebx + 0x6980], esi
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [ebp + 0x1c]
lea eax, [ecx + edx]
add eax, esi
mov dword [ebp + 0x10], eax
mov dword [ebx + 0x697c], ecx
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x6970], eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebx + 0x63ac]
push eax
mov eax, dword [ebx + 0x63a4]
push eax
mov eax, dword [ebp + 8]
push esi
push edi
push edx
mov dword [ebx + 0x6974], edx
mov edx, dword [ebp - 8]
add ecx, esi
push edx
mov dword [ebp + 0x14], ecx
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebx + 0x948]
call fcn.00484040
mov edx, dword [ebp + 0x18]
mov eax, dword [ebx + 0x63b0]
push edx
mov edx, dword [ebx + 0x63a8]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 0x1c]
push esi
push edi
push eax
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebx + 0xa58]
call fcn.00474460
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
push ecx
push esi
push edi
push edx
push eax
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
push ecx
push edi
mov esi, ebx
call fcn.004bbee0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
push edx
push eax
push ecx
push esi
push edi
push ebx
call fcn.004bbfc0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
push eax
push ecx
push esi
push edi
push ebx
call fcn.004bc7f0
push 0
call fcn.004bcf00
mov ecx, dword [ebx + 0xa50]
xor esi, esi
test ecx, ecx
js 0x4ba74c
mov edx, dword [ebx + 0x988]
sub edx, dword [ebx + 0x984]
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x4ba74c
mov edx, dword [ebx + 0x984]
lea ecx, [ecx + ecx*2]
mov esi, dword [edx + ecx*8 + 0x14]
mov dword [ebx + 0x6994], esi
mov ecx, dword [ebx + 0xb60]
xor esi, esi
test ecx, ecx
js 0x4ba78c
mov edx, dword [ebx + 0xa98]
sub edx, dword [ebx + 0xa94]
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x4ba78c
mov edx, dword [ebx + 0xa94]
lea ecx, [ecx + ecx*2]
mov esi, dword [edx + ecx*8 + 0x14]
mov dword [ebx + 0x699c], esi
mov ecx, dword [ebx + 0xc70]
xor edi, edi
test ecx, ecx
js 0x4ba7c8
mov esi, dword [ebx + 0xba4]
mov edx, dword [ebx + 0xba8]
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x4ba7c8
lea ecx, [ecx + ecx*4]
mov edi, dword [esi + ecx*4 + 0x10]
mov dword [ebx + 0x6998], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18