Function at 0x40145b
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x563d4d
call fcn.0053cd89
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, ecx
mov ecx, dword [ebx]
push ecx
push dword [esi]
mov dword [ebp - 0x21c], eax
mov eax, dword [eax]
push str.JobDeviceType
push eax
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 4]
push str.NumJobEvents
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 4], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 8]
push str.ModelDependency
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 8], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0xc]
push str.DCUSupport
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0xc], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x10]
push str.DisablePanelJobEdit
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x14]
push str.OfficeSupported
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x14], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x18]
push str.NumUsbEvents
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x18], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x1c]
push str.PasswordHashEnabled
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x20]
push str.SimpleScanButtonAssignEnabled
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x20], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x28]
push str.ADFOrigin
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x28], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x2c]
push str.DocumentTableOrigin
push ecx
call edi
mov ecx, dword [esi + 0x24]
mov edx, dword [ebp - 0x21c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [edx]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push ecx
push str.DeviceSettingAlias
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
call fcn.00402372
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x24]
call fcn.004024a4
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402760
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x21c]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x30]
push str.DefaultSetting
push ecx
call edi
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 0x30], eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push eax
push dword [esi + 0x34]
push str.SupportShowPanelFunction
push ecx
call edi
mov ecx, dword [esi + 0x38]
mov edx, dword [ebp - 0x21c]
mov dword [esi + 0x34], eax
mov eax, dword [ebx]
mov edx, dword [edx]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push ecx
push str.Premium
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402372
push eax
lea ecx, [esi + 0x38]
mov dword [ebp - 4], 1
call fcn.004024a4
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402760
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax]
push ebx
push dword [esi + 0x3c]
push str.IsLargeFormatModel
push eax
call edi
mov dword [esi + 0x3c], eax
call fcn.0053ce0c
ret 4