Function at 0x40ccc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x447150]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x43cc18]
movq xmm0, qword [str.SOFTWARE_]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf6
mov word [ebp - 0x380], ax
lea eax, [ebp - 0x37e]
push 0
push eax
movq qword [ebp - 0x388], xmm0
call fcn.00428770
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00428770
push 0x510
push 0
push 0x447da8
call fcn.00428770
push esi
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.00415070
push str.res_
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0042cd81
push str.oem.ini
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0042cd81
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
add esp, 0x48
push eax
push 0x7f
lea eax, [ebp - 0x288]
push eax
push str.JANUS
push str.NAME
push 0x43cc3c
call edi
lea eax, [ebp - 0x288]
push eax
push 0x80
push 0x448238
call fcn.0042cd27
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [ebp - 0x108]
add esp, 0xc
push eax
push 1
push 0x43cc40
push 0x43cc3c
call esi
mov ebx, eax
lea eax, [ebp - 0x108]
push eax
push 0x103
push 0x448138
push 0x43c576
push str.SERVER
push 0x43cc3c
call edi
lea eax, [ebp - 0x108]
push eax
push 0x103
push 0x4481b8
push 0x43c576
push str.MODEL
push 0x43cc3c
call edi
lea eax, [ebp - 0x108]
push eax
push 2
push str.CH_COUNT
push 0x43cc3c
call esi
mov dword [ebp - 0x38c], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.BOARD_ID
push 0x43cc3c
call esi
mov dword [0x447dac], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.FILE_TYPE
push 0x43cc3c
call esi
mov dword [0x447db8], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.PROPERTY
push 0x43cc3c
call esi
or eax, 2
mov dword [0x447e24], eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.USE_LBP
push 0x43cc3c
call esi
mov dword [0x447dbc], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.WINTER_LBP
push 0x43cc3c
call esi
mov dword [0x447dc8], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.USE_LBP_POWER_ON
push 0x43cc3c
call esi
mov dword [0x447dc0], eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.USE_TIMESET
push 0x43cc3c
call esi
mov dword [0x447dcc], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.X_VERSION
push 0x43cc3c
call esi
mov dword [0x447e14], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.POPUP_WRITE
push 0x43cc3c
call esi
mov dword [0x447dd0], eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.AUDIO_REC
push 0x43cc3c
call esi
mov dword [0x447dd4], eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0x43ccdc
push 0x43cc3c
call esi
mov dword [0x447dd8], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.SPEAKER_SET
push 0x43cc3c
call esi
mov dword [0x447ddc], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.EVENT_RATIO
push 0x43cc3c
call esi
mov dword [0x447e00], eax
lea eax, [ebp - 0x108]
push eax
push 0x64
push str.RATIO_MAX
push 0x43cc3c
call esi
mov dword [0x447e28], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.RATIO_START
push 0x43cc3c
call esi
mov dword [0x447e2c], eax
mov eax, dword [0x447e28]
cmp eax, 0x64
jg 0x40cfc2
cmp eax, 0x32
jge 0x40cfcc
mov dword [0x447e28], 0x64
lea eax, [ebp - 0x108]
push eax
push 0
push str.USE_PARKING_TIMER
push 0x43cc3c
call esi
mov dword [0x447e18], eax
lea eax, [ebp - 0x108]
push eax
push 0x30
push str.TIME_OFF
push 0x43cc3c
call esi
mov dword [0x447e1c], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.BACKUP_MULTI_JDR
push 0x43cc3c
call esi
mov dword [0x447e20], eax
lea eax, [ebp - 0x108]
push eax
push 0x14
push str.POSTALARM
push 0x43cc3c
call esi
mov dword [0x447e04], eax
lea eax, [ebp - 0x108]
push eax
push 0x78
push str.OVER_SPEED
push 0x43cc3c
call esi
mov dword [0x447e08], eax
lea eax, [ebp - 0x108]
push eax
push 0x4b0
push str.UPLOAD_TIME
push 0x43cc3c
call esi
mov dword [0x447e0c], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.TIME_ZONE_IDX
push 0x43cc3c
call esi
mov dword [0x447e10], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.USE_PREALARM
push 0x43cc3c
call esi
mov dword [0x447de0], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.USE_SEC_LED
push 0x43cc3c
call esi
mov dword [0x447de4], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.CSV_BACKUP
push 0x43cc3c
call esi
mov dword [0x447de8], eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.AVI_TAMPER
push 0x43cc3c
call esi
mov dword [0x447dec], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.BACKUP_PRE_AVI
push 0x43cc3c
call esi
mov dword [0x447df4], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.KM_PER_HOUR
push 0x43cc3c
call esi
mov dword [0x447dfc], eax
xor edi, edi
mov dword [0x447df0], 0
nop dword [eax]
push edi
lea eax, [ebp - 0x208]
push str.CH_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 4
push str.KIND
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447e30], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.EUQAL_FRAME
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447ef0], eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.RES_SET
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447fb0], eax
lea eax, [ebp - 0x108]
push eax
push 7
push str.RES_SUPPORT
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447ff0], eax
lea eax, [ebp - 0x108]
push eax
push 0xa
push str.RES_DEFAULT
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x448030], eax
lea eax, [ebp - 0x108]
push eax
push 0x14
push str.EVENT_FRAME
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447f30], eax
lea eax, [ebp - 0x108]
push eax
push 0xf
push str.NORMAL_FRAME
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447f70], eax
lea eax, [ebp - 0x108]
push eax
push 0x1e
push str.MAX_FRAME
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447e70], eax
lea eax, [ebp - 0x108]
push eax
push 5
push str.MIN_FRAME
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x447eb0], eax
lea eax, [ebp - 0x108]
push eax
push 0
push str.QUALITY
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x4480b0], eax
lea eax, [ebp - 0x108]
push eax
push 0x23
push str.EVENT_FLAG
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x4480f8], eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.BRIGHT
lea eax, [ebp - 0x208]
push eax
call esi
mov dword [edi*4 + 0x448070], eax
inc edi
cmp edi, 0x10
jl 0x40d130
test ebx, ebx
js 0x40d2c1
cmp ebx, 0xb
jl 0x40d2c6
mov ebx, 1
mov eax, dword [ebp - 0x38c]
test eax, eax
jle 0x40d2d5
cmp eax, 2
jle 0x40d2da
mov eax, 2
mov dword [0x447db0], 2
mov dword [0x447db4], eax
mov dword [0x447da8], ebx
call fcn.00414760
pop edi
pop esi
pop ebx
test eax, eax
je 0x40d373
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x388]
push 0x100
push eax
call fcn.0042cd81
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x12
jne 0x40d33e
lea eax, [ebp - 0x288]
push 0x43ce54
push eax
call fcn.0040d400
add esp, 8
push 0
lea eax, [ebp - 0x390]
push eax
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x388]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40d383
push dword [ebp - 0x390]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x288]
mov ecx, 0x4486e8
push eax
call fcn.0041d380
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004271bb
mov esp, ebp
pop ebp
ret