Function at 0x4225ca
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1290
call fcn.004b9690
mov dword [ebp - 0x1288], ecx
mov dword [ebp - 0x1278], 0x51c43c
mov dword [ebp - 0x1274], 0x51c440
mov eax, dword [ebp - 0x1288]
mov dword [eax + 0x1038], 0
push 0x10680
push 0
mov ecx, dword [ebp - 0x1288]
add ecx, 0x10e4
push ecx
call fcn.004b9030
add esp, 0xc
push 0x40
push 0
mov edx, dword [ebp - 0x1288]
add edx, 0x1040
push edx
call fcn.004b9030
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
mov ecx, dword [ebp - 0x1288]
call fcn.00422f33
test eax, eax
jne 0x422656
jmp 0x422d1e
mov ecx, dword [ebp - 0x1288]
add ecx, 0x8f5
push ecx
mov edx, dword [ebp - 0x1288]
add edx, 0x1040
push edx
push str.FLASHDBTAG
push 0x51c450
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x842
mov ecx, dword [ebp - 0x1288]
call fcn.004dc934
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
mov ecx, dword [ebp - 4]
call fcn.004dcbcb
mov ecx, dword [ebp - 0x1288]
add ecx, 0x6ed
push ecx
push 0x34
push str.ICOffset
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x1288]
mov dword [edx + 0x10d0], eax
mov dword [ebp - 0x1270], 0
jmp 0x4226ed
mov eax, dword [ebp - 0x1270]
add eax, 1
mov dword [ebp - 0x1270], eax
cmp dword [ebp - 0x1270], 0x320
jge 0x422ce9
push 0xa
push 0
lea ecx, [ebp - 0x1268]
push ecx
call fcn.004b9030
add esp, 0xc
mov edx, dword [ebp - 0x1270]
push edx
mov eax, dword [0x53c230]
mov ecx, dword [ebp + eax*4 - 0x1278]
push ecx
push 0x51c46c
lea edx, [ebp - 0x1268]
push edx
call fcn.004b953d
add esp, 0x10
mov eax, 1
test eax, eax
je 0x42274d
mov dword [ebp - 0x128c], 0
jmp 0x422767
lea ecx, [ebp - 0x1268]
push ecx
push str._SearchAllFlashList_:__s_n
call fcn.00411ec0
add esp, 8
mov dword [ebp - 0x128c], eax
push 0x800
push 0
lea edx, [ebp - 0x125c]
push edx
call fcn.004b9030
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x6ed
push eax
push 0x800
lea ecx, [ebp - 0x125c]
push ecx
push 0x53b28c
lea edx, [ebp - 0x1268]
push edx
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4227bc
jmp 0x4226de
movsx ecx, byte [ebp - 0x125c]
test ecx, ecx
jne 0x4227cc
jmp 0x4226de
push 5
push str._END_
lea edx, [ebp - 0x125c]
push edx
call fcn.004b95d0
add esp, 0xc
test eax, eax
jne 0x4227eb
jmp 0x422ce9
push str.disable_DDR_mode
lea eax, [ebp - 0x125c]
push eax
call fcn.004b9c90
add esp, 8
test eax, eax
je 0x422811
cmp dword [0x53bed4], 0
jne 0x422811
jmp 0x4226de
cmp dword [0x53c228], 0
je 0x422863
push 7
push 0
lea ecx, [ebp - 0x1280]
push ecx
call fcn.004b9030
add esp, 0xc
mov edx, dword [ebp - 0x1288]
add edx, 0xafd
push edx
push 7
lea eax, [ebp - 0x1280]
push eax
push 0x53b290
lea ecx, [ebp - 0x125c]
push ecx
push 0x51c4ac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x422863
jmp 0x4226de
push 0x800
push 0
lea edx, [ebp - 0xa5c]
push edx
call fcn.004b9030
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x6ed
push eax
push 0x800
lea ecx, [ebp - 0xa5c]
push ecx
push 0x53b294
lea edx, [ebp - 0x125c]
push edx
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4228b8
jmp 0x4226de
push 0x257
push 0
lea ecx, [ebp - 0x25c]
push ecx
call fcn.004b9030
add esp, 0xc
push 1
lea edx, [ebp - 0xa5c]
push edx
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x1288]
call fcn.00423962
cmp dword [0x53b44c], 0
je 0x42291d
cmp dword [0x53c228], 0
je 0x42291d
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0x1280]
push edx
mov ecx, dword [ebp - 0x1288]
call fcn.00422d24
test eax, eax
jne 0x42291d
jmp 0x4226de
cmp dword [0x53b44c], 0
je 0x422961
cmp dword [0x53c220], 0
je 0x422948
cmp dword [ebp - 0x1f4], 0
je 0x422941
cmp dword [ebp - 0x1f4], 2
jne 0x422946
jmp 0x4226de
jmp 0x42295f
cmp dword [ebp - 0x1f4], 4
je 0x42295f
cmp dword [ebp - 0x1f4], 1
je 0x42295f
jmp 0x4226de
jmp 0x42296f
cmp dword [ebp - 0x1f4], 2
je 0x42296f
jmp 0x4226de
cmp dword [ebp + 8], 0
je 0x422ba8
cmp dword [0x53b44c], 0
je 0x422b4c
xor eax, eax
mov al, byte [0x53bd20]
cmp eax, 0x89
jne 0x422b4c
cmp dword [ebp - 0x20c], 0x89
je 0x4229a9
jmp 0x4226de
mov dword [ebp - 0x1284], 0
jmp 0x4229c4
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 3
jge 0x422a31
xor edx, edx
mov dl, byte [0x53bd21]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4fa9c0]
cmp edx, ecx
je 0x422a01
xor edx, edx
mov dl, byte [0x53bd21]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4fa9c8]
cmp edx, ecx
jne 0x422a2f
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x4fa9c0]
cmp dword [ebp - 0x208], eax
je 0x422a2d
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x4fa9c8]
cmp dword [ebp - 0x208], edx
jne 0x422a2f
jmp 0x422a31
jmp 0x4229b5
cmp dword [ebp - 0x1284], 3
jne 0x422a4e
xor eax, eax
mov al, byte [0x53bd21]
cmp eax, dword [ebp - 0x208]
je 0x422a4e
jmp 0x4226de
mov dword [ebp - 0x1284], 0
jmp 0x422a69
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 3
jge 0x422ad6
xor edx, edx
mov dl, byte [0x53bd22]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4fa9c4]
cmp edx, ecx
je 0x422aa6
xor edx, edx
mov dl, byte [0x53bd22]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4fa9cc]
cmp edx, ecx
jne 0x422ad4
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x4fa9c4]
cmp dword [ebp - 0x204], eax
je 0x422ad2
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x4fa9cc]
cmp dword [ebp - 0x204], edx
jne 0x422ad4
jmp 0x422ad6
jmp 0x422a5a
cmp dword [ebp - 0x1284], 3
jne 0x422af3
xor eax, eax
mov al, byte [0x53bd22]
cmp eax, dword [ebp - 0x204]
je 0x422af3
jmp 0x4226de
mov dword [ebp - 0x1284], 3
jmp 0x422b0e
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 6
jge 0x422b3c
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x53bd20]
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ebp + ecx*4 - 0x20c]
cmp eax, edx
je 0x422b3a
jmp 0x422b3c
jmp 0x422aff
cmp dword [ebp - 0x1284], 6
jge 0x422b4a
jmp 0x4226de
jmp 0x422ba3
mov dword [ebp - 0x1284], 0
jmp 0x422b67
mov eax, dword [ebp - 0x1284]
add eax, 1
mov dword [ebp - 0x1284], eax
cmp dword [ebp - 0x1284], 6
jge 0x422b95
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x53bd20]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [ebp + eax*4 - 0x20c]
cmp edx, ecx
je 0x422b93
jmp 0x422b95
jmp 0x422b58
cmp dword [ebp - 0x1284], 6
jge 0x422ba3
jmp 0x4226de
jmp 0x422c5c
cmp dword [ebp + 0xc], 0
jne 0x422c5c
mov dword [ebp - 0x126c], 1
mov dword [ebp - 0x1284], 0
jmp 0x422bd7
mov edx, dword [ebp - 0x1284]
add edx, 1
mov dword [ebp - 0x1284], edx
cmp dword [ebp - 0x1284], 6
jge 0x422c4e
mov eax, dword [ebp - 0x1288]
add eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x10dc]
cmp ecx, 0xff
je 0x422c14
mov edx, dword [ebp - 0x1288]
add edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x10dc]
test eax, eax
jne 0x422c16
jmp 0x422bc8
mov ecx, dword [ebp - 0x1288]
add ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x10dc]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [ebp + eax*4 - 0x20c]
cmp edx, ecx
je 0x422c49
mov dword [ebp - 0x126c], 0
jmp 0x422c4e
jmp 0x422bc8
cmp dword [ebp - 0x126c], 0
jne 0x422c5c
jmp 0x4226de
mov edx, dword [ebp - 0x1288]
mov eax, dword [edx + 0x1038]
imul eax, eax, 0x54
mov ecx, dword [ebp - 0x1288]
mov edx, dword [ebp - 0x1270]
mov dword [ecx + eax + 0x10e4], edx
push 0x50
lea eax, [ebp - 0x125c]
push eax
mov ecx, dword [ebp - 0x1288]
mov edx, dword [ecx + 0x1038]
imul edx, edx, 0x54
mov eax, dword [ebp - 0x1288]
lea ecx, [eax + edx + 0x10e8]
push ecx
call fcn.004b96d0
add esp, 0xc
mov edx, dword [ebp - 0x1288]
mov eax, dword [edx + 0x1038]
imul eax, eax, 0x54
mov ecx, dword [ebp - 0x1288]
mov byte [ecx + eax + 0x1137], 0
mov edx, dword [ebp - 0x1288]
mov eax, dword [edx + 0x1038]
add eax, 1
mov ecx, dword [ebp - 0x1288]
mov dword [ecx + 0x1038], eax
jmp 0x4226de
mov edx, 1
test edx, edx
je 0x422cfe
mov dword [ebp - 0x1290], 0
jmp 0x422d1e
mov eax, dword [ebp - 0x1288]
mov ecx, dword [eax + 0x1038]
push ecx
push str._SearchAllFlashList_:_Total_Flash_List_No___d_n
call fcn.00411ec0
add esp, 8
mov dword [ebp - 0x1290], eax
mov esp, ebp
pop ebp
ret 8