Function at 0x4ba0f0
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.0051bbf0
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 0x4ba7ea
mov al, byte [ebp + 0x14]
lea esi, [ebx + 0x638c]
mov byte [ebx + 0x6948], al
call fcn.004b4930
lea eax, [ebx + 0x63b4]
push eax
mov ecx, 0x554c48
call fcn.00470260
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edi
push edx
mov esi, ebx
call fcn.004bbe60
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x63c4]
je 0x4ba1b1
push 0x559be4
jmp 0x4ba1b6
push str.PrntSettingPage_Wnd
call fcn.005080c0
mov eax, dword [ebx + 0x63c4]
mov ecx, eax
test eax, eax
jne 0x4ba1cc
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 0x4ba207
test ecx, ecx
je 0x4ba207
cmp word [ecx], di
je 0x4ba207
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba1f7
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 0x4ba216
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
mov dword [ebp - 0x18], 0
jle 0x4ba24d
test ecx, ecx
je 0x4ba24d
cmp word [ecx], 0
je 0x4ba24d
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba23f
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 0x4ba266
push str.PrntSettingPage_Mini_FuncBtnWnd
jmp 0x4ba26b
push str.PrntSettingPage_FuncBtnWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba27f
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
jle 0x4ba2ac
test ecx, ecx
je 0x4ba2ac
cmp word [ecx], 0
je 0x4ba2ac
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba2a1
mov eax, 0x54ee24
push eax
push 0
push str.PosiX
push ecx
call esi
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba2bb
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
jle 0x4ba2e8
test ecx, ecx
je 0x4ba2e8
cmp word [ecx], 0
je 0x4ba2e8
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba2dd
mov eax, 0x54ee24
push eax
push 0
push str.PosiY
push ecx
call esi
mov ecx, dword [ebx + 0x63c4]
test ecx, ecx
jne 0x4ba2f7
mov ecx, 0x54ee24
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebx + 0x63bc], edi
jle 0x4ba32c
test ecx, ecx
je 0x4ba32c
cmp word [ecx], di
je 0x4ba32c
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba31c
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 0x4ba33b
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], 0
jle 0x4ba368
test ecx, ecx
je 0x4ba368
cmp word [ecx], 0
je 0x4ba368
mov eax, dword [ebx + 0x63b8]
test eax, eax
jne 0x4ba35d
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.004b8180
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x63c4]
je 0x4ba3ae
push str.PrntSettingPage_Mini_PaperSize_ItemWnd
jmp 0x4ba3b3
push str.PrntSettingPage_PaperSize_ItemWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
xor esi, esi
cmp ecx, esi
jne 0x4ba3c9
mov ecx, 0x54ee24
mov dword [ebp - 8], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba401
cmp ecx, esi
je 0x4ba401
cmp word [ecx], si
je 0x4ba401
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba3ec
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 0x4ba407
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba416
mov ecx, 0x54ee24
mov dword [ebp + 0x1c], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba446
cmp ecx, esi
je 0x4ba446
cmp word [ecx], si
je 0x4ba446
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba439
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 0x4ba455
mov ecx, 0x54ee24
mov dword [ebp - 0x14], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba485
cmp ecx, esi
je 0x4ba485
cmp word [ecx], si
je 0x4ba485
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba478
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 0x4ba494
mov ecx, 0x54ee24
mov dword [ebp - 0xc], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba4c4
cmp ecx, esi
je 0x4ba4c4
cmp word [ecx], si
je 0x4ba4c4
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba4b7
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 0x4ba4d7
push str.PrntSettingPage_Mini_MediaType_ItemWnd
jmp 0x4ba4dc
push str.PrntSettingPage_MediaType_ItemWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba4f0
mov ecx, 0x54ee24
mov dword [ebp - 0x1c], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba520
cmp ecx, esi
je 0x4ba520
cmp word [ecx], si
je 0x4ba520
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba513
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 0x4ba52f
mov ecx, 0x54ee24
xor edi, edi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba561
cmp ecx, esi
je 0x4ba561
cmp word [ecx], si
je 0x4ba561
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba551
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 0x4ba574
push str.PrntSettingPage_Mini_LayoutType_ItemWnd
jmp 0x4ba579
push str.PrntSettingPage_LayoutType_ItemWnd
call fcn.005080c0
mov ecx, dword [ebx + 0x63c4]
cmp ecx, esi
jne 0x4ba58d
mov ecx, 0x54ee24
mov dword [ebp - 0x20], esi
cmp dword [ebx + 0x63bc], esi
jle 0x4ba5c1
cmp ecx, esi
je 0x4ba5c1
cmp word [ecx], si
je 0x4ba5c1
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba5b0
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 0x4ba5d0
mov ecx, 0x54ee24
cmp dword [ebx + 0x63bc], esi
jle 0x4ba600
cmp ecx, esi
je 0x4ba600
cmp word [ecx], si
je 0x4ba600
mov eax, dword [ebx + 0x63b8]
cmp eax, esi
jne 0x4ba5f0
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.00483ef0
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.00474090
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.004bbef0
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.004bbfd0
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.004bc800
push 0
call fcn.004bcf00
mov ecx, dword [ebx + 0xa50]
xor esi, esi
test ecx, ecx
js 0x4ba75c
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 0x4ba75c
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 0x4ba79c
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 0x4ba79c
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 0x4ba7d8
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 0x4ba7d8
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