Function at 0x42425c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x924
mov dword [ebp - 0x920], ecx
mov dword [ebp - 0x818], 0x522b2c
mov dword [ebp - 0x814], 0x522b30
mov eax, dword [ebp - 0x920]
mov ecx, dword [eax + 0x1310]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 0x920]
mov eax, dword [edx + ecx + 0x13b8]
mov dword [ebp - 4], eax
push 0xa
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x5433c0]
mov ecx, dword [ebp + eax*4 - 0x818]
push ecx
push str._S_d
lea edx, [ebp - 0x10]
push edx
call fcn.004bec9d
add esp, 0x10
mov eax, 1
test eax, eax
je 0x4242e5
mov dword [ebp - 0x924], 0
jmp 0x4242fc
lea ecx, [ebp - 0x10]
push ecx
push str._ParseFlashDataBaseInfo_:__s_n
call fcn.00412500
add esp, 8
mov dword [ebp - 0x924], eax
push 0x800
push 0
lea edx, [ebp - 0x810]
push edx
call fcn.004be790
add esp, 0xc
mov eax, dword [ebp - 0x920]
add eax, 0x9c0
push eax
push 0x800
lea ecx, [ebp - 0x810]
push ecx
push 0x5423fc
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x920]
add eax, 0x1314
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4243a4
push 0x104
push 0
lea ecx, [ebp - 0x91c]
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 0x920]
add edx, 0x9c0
push edx
lea eax, [ebp - 0x10]
push eax
push str.Cant_find_Tag_s_at__s_file
lea ecx, [ebp - 0x91c]
push ecx
call fcn.004bec9d
add esp, 0x10
push 0
push 0x522b7c
lea edx, [ebp - 0x91c]
push edx
mov ecx, dword [ebp - 0x920]
call fcn.004e07ce
xor eax, eax
jmp 0x424754
push 0x50
mov eax, dword [ebp - 0x920]
mov ecx, dword [eax + 0x1310]
imul ecx, ecx, 0x54
mov edx, dword [ebp - 0x920]
lea eax, [edx + ecx + 0x13bc]
push eax
lea ecx, [ebp - 0x810]
push ecx
call fcn.004bed30
add esp, 0xc
test eax, eax
je 0x4243f4
push 0
push 0x522b84
push str.Flash_Name_is_mismatch
mov ecx, dword [ebp - 0x920]
call fcn.004e07ce
xor eax, eax
jmp 0x424754
push 0x50
mov edx, dword [ebp - 0x920]
mov eax, dword [edx + 0x1310]
imul eax, eax, 0x54
mov ecx, dword [ebp - 0x920]
lea edx, [ecx + eax + 0x13bc]
push edx
mov eax, dword [ebp - 0x920]
add eax, 0x86
push eax
call fcn.004bee30
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x810]
push ecx
call fcn.004be790
add esp, 0xc
mov edx, dword [ebp - 0x920]
add edx, 0x9c0
push edx
push 0x800
lea eax, [ebp - 0x810]
push eax
push 0x542400
mov ecx, dword [ebp - 0x920]
mov edx, dword [ecx + 0x1310]
imul edx, edx, 0x54
mov eax, dword [ebp - 0x920]
lea ecx, [eax + edx + 0x13bc]
push ecx
mov edx, dword [ebp - 0x920]
add edx, 0x1314
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x424503
push 0x104
push 0
lea eax, [ebp - 0x91c]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x920]
add ecx, 0x9c0
push ecx
mov edx, dword [ebp - 0x920]
mov eax, dword [edx + 0x1310]
imul eax, eax, 0x54
mov ecx, dword [ebp - 0x920]
lea edx, [ecx + eax + 0x13bc]
push edx
push 0x522ba4
lea eax, [ebp - 0x91c]
push eax
call fcn.004bec9d
add esp, 0x10
push 0
push 0x522bd4
lea ecx, [ebp - 0x91c]
push ecx
mov ecx, dword [ebp - 0x920]
call fcn.004e07ce
xor eax, eax
jmp 0x424754
movsx edx, byte [ebp - 0x810]
test edx, edx
jne 0x424582
push 0x104
push 0
lea eax, [ebp - 0x91c]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x920]
add ecx, 0x9c0
push ecx
mov edx, dword [ebp - 0x920]
mov eax, dword [edx + 0x1310]
imul eax, eax, 0x54
mov ecx, dword [ebp - 0x920]
lea edx, [ecx + eax + 0x13bc]
push edx
push str.Cant_find_flash_information_for__s_at__s_file
lea eax, [ebp - 0x91c]
push eax
call fcn.004bec9d
add esp, 0x10
push 0
push 0x522c0c
lea ecx, [ebp - 0x91c]
push ecx
mov ecx, dword [ebp - 0x920]
call fcn.004e07ce
xor eax, eax
jmp 0x424754
mov edx, dword [ebp - 0x920]
add edx, 0xbc8
push edx
lea eax, [ebp - 0x810]
push eax
push str.FLASHDBINFO
push 0x522c20
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp - 0x920]
add edx, 0x86
push edx
mov ecx, dword [ebp - 0x920]
call fcn.00424758
push 0xa
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x920]
xor edx, edx
mov dl, byte [ecx + 0x15a]
push edx
push 0x522c28
lea eax, [ebp - 0x10]
push eax
call fcn.004bec9d
add esp, 0xc
mov ecx, dword [ebp - 0x920]
add ecx, 0xbc8
push ecx
lea edx, [ebp - 0x10]
push edx
push str.RETRYTABLEIDX
push 0x522c40
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0xa
push 0
lea eax, [ebp - 0x10]
push eax
call fcn.004be790
add esp, 0xc
mov ecx, dword [ebp - 0x920]
xor edx, edx
mov dl, byte [ecx + 0x15e]
push edx
push 0x522c48
lea eax, [ebp - 0x10]
push eax
call fcn.004bec9d
add esp, 0xc
mov ecx, dword [ebp - 0x920]
add ecx, 0xbc8
push ecx
lea edx, [ebp - 0x10]
push edx
push str.EX_RETRYTABLEIDX
push 0x522c64
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x5433b8], 0
je 0x424726
cmp dword [0x542628], 0x979
jne 0x4246b9
mov eax, dword [ebp - 0x920]
add eax, 0xdd0
push eax
push 7
mov ecx, dword [ebp - 0x920]
add ecx, 0x2d6
push ecx
push 0
mov edx, dword [ebp - 0x920]
add edx, 0x86
push edx
push 0x522c6c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x4246fa
cmp dword [0x542628], 0x97b
jne 0x4246fa
mov eax, dword [ebp - 0x920]
add eax, 0xdd0
push eax
push 7
mov ecx, dword [ebp - 0x920]
add ecx, 0x2d6
push ecx
push 0
mov edx, dword [ebp - 0x920]
add edx, 0x86
push edx
push str.SM2258XT_FWTAG
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x920]
movsx ecx, byte [eax + 0x2d6]
test ecx, ecx
jne 0x424726
push 0
push 0x522c8c
push str.Cant_find_corresponding_FW_TAG__maybe_FW_doesnt_support_this_flash_now.
mov ecx, dword [ebp - 0x920]
call fcn.004e07ce
xor eax, eax
jmp 0x424754
mov edx, dword [ebp - 0x920]
add edx, 0xbc8
push edx
mov eax, dword [ebp - 0x920]
add eax, 0x2d6
push eax
push 0x522ce0
push 0x522ce8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret