Function at 0x47b570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f80a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
cmp byte [ebp + 0xc], bl
je 0x47b5e4
push str.PrntSettingPage_Mini_PaperSize_ItemPict
call fcn.004fcf00
push str.PrntSettingPage_Mini_PaperSize_ItemText
jmp 0x47b5f3
push str.PrntSettingPage_PaperSize_ItemPict
call fcn.004fcf00
push str.PrntSettingPage_PaperSize_ItemText
lea eax, [ebp - 0x24]
call fcn.004fcf00
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x53b7a8
call fcn.00466b30
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x47b61e
cmp word [eax], bx
je 0x47b61e
push eax
lea eax, [ebp - 0x34]
call fcn.004fcf00
mov edx, dword [ebp - 0x34]
mov ecx, edx
cmp edx, ebx
jne 0x47b62c
mov ecx, 0x538640
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b65b
cmp ecx, ebx
je 0x47b65b
cmp word [ecx], bx
je 0x47b65b
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b64e
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp + 8]
mov dword [edi + 0xe4], eax
mov ecx, edx
cmp edx, ebx
jne 0x47b66f
mov ecx, 0x538640
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b698
cmp ecx, ebx
je 0x47b698
cmp word [ecx], bx
je 0x47b698
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b68b
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov dword [edi + 0xe8], eax
mov ecx, edx
cmp edx, ebx
jne 0x47b6a9
mov ecx, 0x538640
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b6d2
cmp ecx, ebx
je 0x47b6d2
cmp word [ecx], bx
je 0x47b6d2
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b6c5
mov eax, 0x538640
push eax
push ebx
push str.OffsetX
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov dword [edi + 0xec], eax
mov edi, dword [ebp - 0x24]
cmp edi, ebx
je 0x47b6f0
cmp word [edi], bx
je 0x47b6f0
push edi
lea eax, [ebp - 0x34]
call fcn.004fcf00
mov edx, dword [ebp - 0x34]
mov ecx, edx
cmp edx, ebx
jne 0x47b6fb
mov ecx, 0x538640
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b724
cmp ecx, ebx
je 0x47b724
cmp word [ecx], bx
je 0x47b724
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b717
mov eax, 0x538640
push eax
push ebx
push str.PosiX
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf0], eax
mov ecx, edx
cmp edx, ebx
jne 0x47b738
mov ecx, 0x538640
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b761
cmp ecx, ebx
je 0x47b761
cmp word [ecx], bx
je 0x47b761
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b754
mov eax, 0x538640
push eax
push ebx
push str.PosiY
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf4], eax
mov ecx, edx
cmp edx, ebx
jne 0x47b775
mov ecx, 0x538640
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b79e
cmp ecx, ebx
je 0x47b79e
cmp word [ecx], bx
je 0x47b79e
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b791
mov eax, 0x538640
push eax
push ebx
push str.Width
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xf8], eax
mov ecx, edx
cmp edx, ebx
jne 0x47b7b2
mov ecx, 0x538640
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b7db
cmp ecx, ebx
je 0x47b7db
cmp word [ecx], bx
je 0x47b7db
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b7ce
mov eax, 0x538640
push eax
push ebx
push str.Height
push ecx
call esi
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xfc], eax
cmp edx, ebx
jne 0x47b7ed
mov edx, 0x538640
xor eax, eax
cmp dword [ebp - 0x3c], ebx
jle 0x47b813
cmp edx, ebx
je 0x47b813
cmp word [edx], bx
je 0x47b813
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x47b809
mov eax, 0x538640
push eax
push ebx
push str.FontPoint
push edx
call esi
mov edx, dword [ebp + 8]
mov dword [edx + 0x100], eax
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x47b82d
push edi
call fcn.005134a7
add esp, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x47b840
push eax
call fcn.005134a7
add esp, 4
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00466a90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8