Function at 0x45057a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x110], 1
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.0054bf90
add esp, 0xc
mov ecx, dword [ebp - 0x214]
add ecx, 0x9c
push ecx
push 0
push 0x5a3b38
push 0x5a3b44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x214]
add edx, 0x9c
push edx
push 0
push 0x5a3b50
push 0x5a3b5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x214]
add eax, 0x9c
push eax
push 0
push 0x5a3b68
push 0x5a3b74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
push str.Brand_Num._t:___d_r_n
lea edx, [ebp - 0x104]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0054be90
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
sub eax, 1
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 8
ja case.default.0x45066d
mov ecx, dword [ebp - 0x218]
jmp dword [ecx*4 + 0x450836]
push str.Brand_Name_t:__SEC_r_n
lea edx, [ebp - 0x104]
push edx
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__HYNIX_r_n
lea eax, [ebp - 0x104]
push eax
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__RENESAS_r_n
lea ecx, [ebp - 0x104]
push ecx
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__MICRON_r_n
lea edx, [ebp - 0x104]
push edx
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__INTEL_r_n
lea eax, [ebp - 0x104]
push eax
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__TOSHIBA_r_n
lea ecx, [ebp - 0x104]
push ecx
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__POWERFLASH_r_n
lea edx, [ebp - 0x104]
push edx
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__INFENION_r_n
lea eax, [ebp - 0x104]
push eax
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__TRANSCEND_r_n
lea ecx, [ebp - 0x104]
push ecx
call fcn.0054c6e3
add esp, 8
jmp 0x45075a
push str.Brand_Name_t:__Un_Know_Brand_r_n
lea edx, [ebp - 0x104]
push edx
call fcn.0054c6e3
add esp, 8
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0054bea0
add esp, 8
push 0
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0052ac6c
add esp, 0x14
lea eax, [ebp - 0x84]
push eax
push str.Flash_Name_t:___s__r_n
lea ecx, [ebp - 0x104]
push ecx
call fcn.0054c6e3
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0054bea0
add esp, 8
mov ecx, dword [ebp - 0x214]
add ecx, 0x9c
push ecx
push 0
push 0x5a3ca8
push 0x5a3cb4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push str.FlashQty_t_t:___d__r_n
lea edx, [ebp - 0x104]
push edx
call fcn.0054c6e3
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0054bea0
add esp, 8
lea edx, [ebp - 0x210]
push edx
push 0x60b
mov ecx, dword [ebp - 0x214]
call fcn.005654d4
mov ecx, eax
call fcn.0056567d
mov eax, dword [ebp - 0x110]
mov esp, ebp
pop ebp
ret