Function at 0x48842b
Capabilities:
Print debug messages
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov dword [ebp - 0x174], ecx
push 0x539d00
push 0x20
lea eax, [ebp - 0xdc]
push eax
push 0
push 0x52e7cc
push 0x52e7d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x539d00
push 0x20
lea ecx, [ebp - 0xbc]
push ecx
push 0
push 0x52e7d8
push 0x52e7dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x539d00
push 0x20
push 0x539a68
push 0
push 0x52e7e4
push str.DEVICE
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x539acc
push 0x52e7f0
lea edx, [ebp - 0xba]
push edx
call fcn.004d0ee3
add esp, 0xc
push 0x539ace
push 0x52e7f4
lea eax, [ebp - 0xda]
push eax
call fcn.004d0ee3
add esp, 0xc
push 0x539a68
xor ecx, ecx
mov cx, word [0x539acc]
push ecx
xor edx, edx
mov dx, word [0x539ace]
push edx
push str._PSU__vid_:__x__pid_:__x__Did_:__s
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [ebp - 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x539d00
push 0
push 0x52e81c
push 0x52e824
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539af6], ax
push 0x539d00
push 0
push str.DBGFILE
push 0x52e834
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539af2], ax
push 0x539d00
push 0
push str.OLDVERSION
push str.DEBUG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539af0], ax
push 0x539d00
push 0
push 0x52e850
push 0x52e854
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539aec], eax
push 0x539d00
push 0
push str.EXPAND
push 0x52e864
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539ae8], eax
push 0x539d00
push 0
push str.NON_APPLY
push 0x52e878
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539ae4], eax
push 0x539d00
push 0x64
lea edx, [ebp - 0x9c]
push edx
push 0
push str.MYDOCPATH
push 0x52e88c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x9c]
push eax
call fcn.004cf430
add esp, 4
test eax, eax
je 0x4885f6
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, 0x539838
call fcn.004e82b5
jmp 0x488605
push 0x53e15c
mov ecx, 0x539838
call fcn.004e82b5
push 0x539d00
push 0x64
push 0x539a04
push 0
push str.MNAME
push 0x52e89c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x539d00
push 0
push str.TIMER
push 0x52e8ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539ae2], ax
push 0x539d00
push 0x3c
push str.DOWNLOADTIMER
push 0x52e8c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539ae0], ax
push 0x539d00
push 0xf
push str.PRINTTIME
push 0x52e8d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539ade], ax
push 0x539d00
push 0
push str.OldValidation
push 0x52e8f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539adc], ax
push 0x539d00
push 0
push str.PSMulti
push 0x52e900
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539ada], ax
push 0x539d00
push 0
push str.PCLMulti
push 0x52e914
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539ad8], ax
push 0x539d00
push 0
push str.PStatus
push 0x52e924
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539ad6], ax
push 0x539d00
push 0x64
push str.RETRY
push 0x52e934
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x539ad4], ax
push 0x539d00
push 0
push str.SpotSensor
push 0x52e948
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539ad0], eax
push 0x539d00
push 0x64
lea edx, [ebp - 0xf0]
push edx
push 0
push str.Scan_Default
push 0x52e960
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xf0]
push eax
mov ecx, 0x53999c
call fcn.004e82b5
mov dword [0x5397f4], 0
push 0x539d00
push 0
push str.DEFAULT_ONEITEM
push 0x52e978
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539998], eax
push 0x539d00
push 0
push str.XML_EXCEPTION
push 0x52e990
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539994], eax
push 0x539d00
push 0
push str.PJL_RESET
push 0x52e9a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539990], eax
push 0x539d00
push 0
push str.COURIER
push 0x52e9b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x53998c], eax
push 0x539d00
push 0
push str.FONT_CARD
push 0x52e9c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539988], eax
push 0x539d00
push 0
push str.FC_Test
push 0x52e9d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539984], eax
push 0x539d00
push 0
push str.READ_FONT
push 0x52e9ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539980], eax
push 0x539d00
push 0
push str.PB_STD
push 0x52e9fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x53997c], eax
push 0x539d00
push 0
push str.NEW_LOGO
push 0x52ea10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539870], eax
push 0x539d00
push 0x10
lea ecx, [ebp - 0x88]
push ecx
push 0
push str.VERSION
push 0x52ea20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x88]
push edx
mov ecx, 0x53985c
call fcn.004e82b5
push 0x539d00
push 0x64
lea eax, [ebp - 0x64]
push eax
push 0
push str.COPYRIGHT
push 0x52ea38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, 0x539858
call fcn.004e82b5
push 0x539d00
push 0x64
lea edx, [ebp - 0x78]
push edx
push 0
push str.COMPANY
push 0x52ea4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x78]
push eax
mov ecx, 0x539854
call fcn.004e82b5
push 0x539d00
push 0
push str.TXTCOLOR
push 0x52ea64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x539850], eax
push 0x539d00
push 0
push str.NONBG
push str.VER_INFO
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x53984c], eax
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x488935
push str._PSU__End_of_SetOption__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret