Function at 0x4b0430
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.005109b0
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 + 0x67ac], edx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 4], edi
mov dword [ebx + 0x67a8], edi
mov dword [ebx + 0x67b4], eax
mov byte [ebx + 0x67b0], cl
mov dword [ebx + 0x687c], edx
test edi, edi
je 0x4b0b2a
mov al, byte [ebp + 0x14]
lea esi, [ebx + 0x625c]
mov byte [ebx + 0x6818], al
call fcn.004aabe0
lea eax, [ebx + 0x6284]
push eax
mov ecx, 0x53b7a8
call fcn.00466b30
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edi
push edx
mov esi, ebx
call fcn.004b21a0
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x6294]
je 0x4b04f1
push str.PrntSettingPage_Mini_Wnd
jmp 0x4b04f6
push str.PrntSettingPage_Wnd
call fcn.004fcf00
mov eax, dword [ebx + 0x6294]
mov ecx, eax
test eax, eax
jne 0x4b050c
mov ecx, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebx + 0x628c], edi
jle 0x4b0547
test ecx, ecx
je 0x4b0547
cmp word [ecx], di
je 0x4b0547
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b0537
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call esi
mov edi, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 0x6294]
test ecx, ecx
jne 0x4b0556
mov ecx, 0x538640
cmp dword [ebx + 0x628c], 0
mov dword [ebp - 0x18], 0
jle 0x4b058d
test ecx, ecx
je 0x4b058d
cmp word [ecx], 0
je 0x4b058d
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b057f
mov eax, 0x538640
push eax
push 0
push str.Height
push ecx
call esi
mov dword [ebp - 0x18], eax
cmp byte [ebp + 0x18], 0
mov dword [ebx + 0x67b8], edi
lea eax, [ebx + 0x6294]
je 0x4b05a6
push str.PrntSettingPage_Mini_FuncBtnWnd
jmp 0x4b05ab
push str.PrntSettingPage_FuncBtnWnd
call fcn.004fcf00
mov ecx, dword [ebx + 0x6294]
test ecx, ecx
jne 0x4b05bf
mov ecx, 0x538640
cmp dword [ebx + 0x628c], 0
jle 0x4b05ec
test ecx, ecx
je 0x4b05ec
cmp word [ecx], 0
je 0x4b05ec
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b05e1
mov eax, 0x538640
push eax
push 0
push str.PosiX
push ecx
call esi
mov ecx, dword [ebx + 0x6294]
test ecx, ecx
jne 0x4b05fb
mov ecx, 0x538640
cmp dword [ebx + 0x628c], 0
jle 0x4b0628
test ecx, ecx
je 0x4b0628
cmp word [ecx], 0
je 0x4b0628
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b061d
mov eax, 0x538640
push eax
push 0
push str.PosiY
push ecx
call esi
mov ecx, dword [ebx + 0x6294]
test ecx, ecx
jne 0x4b0637
mov ecx, 0x538640
xor edi, edi
mov dword [ebp + 0x14], edi
cmp dword [ebx + 0x628c], edi
jle 0x4b066c
test ecx, ecx
je 0x4b066c
cmp word [ecx], di
je 0x4b066c
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b065c
mov eax, 0x538640
push eax
push 0
push str.Width
push ecx
call esi
mov dword [ebp + 0x14], eax
mov edi, eax
mov ecx, dword [ebx + 0x6294]
test ecx, ecx
jne 0x4b067b
mov ecx, 0x538640
cmp dword [ebx + 0x628c], 0
jle 0x4b06a8
test ecx, ecx
je 0x4b06a8
cmp word [ecx], 0
je 0x4b06a8
mov eax, dword [ebx + 0x6288]
test eax, eax
jne 0x4b069d
mov eax, 0x538640
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 + 0x681c]
mov dword [ebx + 0x6834], 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.004ae430
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x6294]
je 0x4b06ee
push str.PrntSettingPage_Mini_PaperSize_ItemWnd
jmp 0x4b06f3
push str.PrntSettingPage_PaperSize_ItemWnd
call fcn.004fcf00
mov ecx, dword [ebx + 0x6294]
xor esi, esi
cmp ecx, esi
jne 0x4b0709
mov ecx, 0x538640
mov dword [ebp - 8], esi
cmp dword [ebx + 0x628c], esi
jle 0x4b0741
cmp ecx, esi
je 0x4b0741
cmp word [ecx], si
je 0x4b0741
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b072c
mov eax, 0x538640
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 0x4b0747
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebx + 0x6294]
cmp ecx, esi
jne 0x4b0756
mov ecx, 0x538640
mov dword [ebp + 0x1c], esi
cmp dword [ebx + 0x628c], esi
jle 0x4b0786
cmp ecx, esi
je 0x4b0786
cmp word [ecx], si
je 0x4b0786
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b0779
mov eax, 0x538640
push eax
push esi
push str.PosiY
push ecx
call edi
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebx + 0x6294]
cmp ecx, esi
jne 0x4b0795
mov ecx, 0x538640
mov dword [ebp - 0x14], esi
cmp dword [ebx + 0x628c], esi
jle 0x4b07c5
cmp ecx, esi
je 0x4b07c5
cmp word [ecx], si
je 0x4b07c5
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b07b8
mov eax, 0x538640
push eax
push esi
push str.Width
push ecx
call edi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0x6294]
cmp ecx, esi
jne 0x4b07d4
mov ecx, 0x538640
mov dword [ebp - 0xc], esi
cmp dword [ebx + 0x628c], esi
jle 0x4b0804
cmp ecx, esi
je 0x4b0804
cmp word [ecx], si
je 0x4b0804
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b07f7
mov eax, 0x538640
push eax
push esi
push str.Height
push ecx
call edi
mov dword [ebp - 0xc], eax
cmp byte [ebp + 0x18], 0
lea eax, [ebx + 0x6294]
je 0x4b0817
push str.PrntSettingPage_Mini_MediaType_ItemWnd
jmp 0x4b081c
push str.PrntSettingPage_MediaType_ItemWnd
call fcn.004fcf00
mov ecx, dword [ebx + 0x6294]
cmp ecx, esi
jne 0x4b0830
mov ecx, 0x538640
mov dword [ebp - 0x1c], esi
cmp dword [ebx + 0x628c], esi
jle 0x4b0860
cmp ecx, esi
je 0x4b0860
cmp word [ecx], si
je 0x4b0860
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b0853
mov eax, 0x538640
push eax
push esi
push str.PosiX
push ecx
call edi
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x6294]
cmp ecx, esi
jne 0x4b086f
mov ecx, 0x538640
xor edi, edi
cmp dword [ebx + 0x628c], esi
jle 0x4b08a1
cmp ecx, esi
je 0x4b08a1
cmp word [ecx], si
je 0x4b08a1
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b0891
mov eax, 0x538640
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 + 0x6294]
je 0x4b08b4
push str.PrntSettingPage_Mini_LayoutType_ItemWnd
jmp 0x4b08b9
push str.PrntSettingPage_LayoutType_ItemWnd
call fcn.004fcf00
mov ecx, dword [ebx + 0x6294]
cmp ecx, esi
jne 0x4b08cd
mov ecx, 0x538640
mov dword [ebp - 0x20], esi
cmp dword [ebx + 0x628c], esi
jle 0x4b0901
cmp ecx, esi
je 0x4b0901
cmp word [ecx], si
je 0x4b0901
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b08f0
mov eax, 0x538640
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 + 0x6294]
cmp ecx, esi
jne 0x4b0910
mov ecx, 0x538640
cmp dword [ebx + 0x628c], esi
jle 0x4b0940
cmp ecx, esi
je 0x4b0940
cmp word [ecx], si
je 0x4b0940
mov eax, dword [ebx + 0x6288]
cmp eax, esi
jne 0x4b0930
mov eax, 0x538640
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 + 0x6848], 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 + 0x6850], 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 + 0x684c], ecx
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x6840], eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebx + 0x627c]
push eax
mov eax, dword [ebx + 0x6274]
push eax
mov eax, dword [ebp + 8]
push esi
push edi
push edx
mov dword [ebx + 0x6844], 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.0047b320
mov edx, dword [ebp + 0x18]
mov eax, dword [ebx + 0x6280]
push edx
mov edx, dword [ebx + 0x6278]
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.0046ab80
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.004b2230
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.004b2310
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.004b2b40
push 0
call fcn.004b3240
mov ecx, dword [ebx + 0xa50]
xor esi, esi
test ecx, ecx
js 0x4b0a9c
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 0x4b0a9c
mov edx, dword [ebx + 0x984]
lea ecx, [ecx + ecx*2]
mov esi, dword [edx + ecx*8 + 0x14]
mov dword [ebx + 0x6864], esi
mov ecx, dword [ebx + 0xb60]
xor esi, esi
test ecx, ecx
js 0x4b0adc
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 0x4b0adc
mov edx, dword [ebx + 0xa94]
lea ecx, [ecx + ecx*2]
mov esi, dword [edx + ecx*8 + 0x14]
mov dword [ebx + 0x686c], esi
mov ecx, dword [ebx + 0xc70]
xor edi, edi
test ecx, ecx
js 0x4b0b18
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 0x4b0b18
lea ecx, [ecx + ecx*4]
mov edi, dword [esi + ecx*4 + 0x10]
mov dword [ebx + 0x6868], 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