Function at 0x420092
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1290
call fcn.004aa330
mov dword [ebp - 0x1288], ecx
mov dword [ebp - 0x1278], 0x50ba1c
mov dword [ebp - 0x1274], 0x50ba20
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.004a9cd0
add esp, 0xc
push 0x40
push 0
mov edx, dword [ebp - 0x1288]
add edx, 0x1040
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
mov ecx, dword [ebp - 0x1288]
call fcn.00420981
test eax, eax
jne 0x42011e
jmp 0x4207e6
mov ecx, dword [ebp - 0x1288]
add ecx, 0x8f5
push ecx
mov edx, dword [ebp - 0x1288]
add edx, 0x1040
push edx
push str.FLASHDBTAG
push 0x50ba30
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x842
mov ecx, dword [ebp - 0x1288]
call fcn.004cd5d4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
mov ecx, dword [ebp - 4]
call fcn.004cd86b
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 0x4201b5
mov eax, dword [ebp - 0x1270]
add eax, 1
mov dword [ebp - 0x1270], eax
cmp dword [ebp - 0x1270], 0x320
jge 0x4207b1
push 0xa
push 0
lea ecx, [ebp - 0x1268]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x1270]
push edx
mov eax, dword [0x5291f4]
mov ecx, dword [ebp + eax*4 - 0x1278]
push ecx
push 0x50ba4c
lea edx, [ebp - 0x1268]
push edx
call fcn.004aa1dd
add esp, 0x10
mov eax, 1
test eax, eax
je 0x420215
mov dword [ebp - 0x128c], 0
jmp 0x42022f
lea ecx, [ebp - 0x1268]
push ecx
push str._SearchAllFlashList_:__s_n
call fcn.00410eb0
add esp, 8
mov dword [ebp - 0x128c], eax
push 0x800
push 0
lea edx, [ebp - 0x125c]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x6ed
push eax
push 0x800
lea ecx, [ebp - 0x125c]
push ecx
push 0x5282dc
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 0x420284
jmp 0x4201a6
movsx ecx, byte [ebp - 0x125c]
test ecx, ecx
jne 0x420294
jmp 0x4201a6
push 5
push str._END_
lea edx, [ebp - 0x125c]
push edx
call fcn.004aa270
add esp, 0xc
test eax, eax
jne 0x4202b3
jmp 0x4207b1
push str.disable_DDR_mode
lea eax, [ebp - 0x125c]
push eax
call fcn.004aa930
add esp, 8
test eax, eax
je 0x4202d9
cmp dword [0x528ed0], 0
jne 0x4202d9
jmp 0x4201a6
cmp dword [0x5291ec], 0
je 0x42032b
push 7
push 0
lea ecx, [ebp - 0x1280]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x1288]
add edx, 0xafd
push edx
push 7
lea eax, [ebp - 0x1280]
push eax
push 0x5282e0
lea ecx, [ebp - 0x125c]
push ecx
push 0x50ba8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x42032b
jmp 0x4201a6
push 0x800
push 0
lea edx, [ebp - 0xa5c]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x6ed
push eax
push 0x800
lea ecx, [ebp - 0xa5c]
push ecx
push 0x5282e4
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 0x420380
jmp 0x4201a6
push 0x257
push 0
lea ecx, [ebp - 0x25c]
push ecx
call fcn.004a9cd0
add esp, 0xc
push 1
lea edx, [ebp - 0xa5c]
push edx
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x1288]
call fcn.0042135f
cmp dword [0x528490], 0
je 0x4203e5
cmp dword [0x5291ec], 0
je 0x4203e5
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0x1280]
push edx
mov ecx, dword [ebp - 0x1288]
call fcn.004207ec
test eax, eax
jne 0x4203e5
jmp 0x4201a6
cmp dword [0x528490], 0
je 0x420429
cmp dword [0x5291e4], 0
je 0x420410
cmp dword [ebp - 0x1f4], 0
je 0x420409
cmp dword [ebp - 0x1f4], 2
jne 0x42040e
jmp 0x4201a6
jmp 0x420427
cmp dword [ebp - 0x1f4], 4
je 0x420427
cmp dword [ebp - 0x1f4], 1
je 0x420427
jmp 0x4201a6
jmp 0x420437
cmp dword [ebp - 0x1f4], 2
je 0x420437
jmp 0x4201a6
cmp dword [ebp + 8], 0
je 0x420670
cmp dword [0x528490], 0
je 0x420614
xor eax, eax
mov al, byte [0x528d60]
cmp eax, 0x89
jne 0x420614
cmp dword [ebp - 0x20c], 0x89
je 0x420471
jmp 0x4201a6
mov dword [ebp - 0x1284], 0
jmp 0x42048c
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 3
jge 0x4204f9
xor edx, edx
mov dl, byte [0x528d61]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4eb560]
cmp edx, ecx
je 0x4204c9
xor edx, edx
mov dl, byte [0x528d61]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4eb568]
cmp edx, ecx
jne 0x4204f7
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x4eb560]
cmp dword [ebp - 0x208], eax
je 0x4204f5
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x4eb568]
cmp dword [ebp - 0x208], edx
jne 0x4204f7
jmp 0x4204f9
jmp 0x42047d
cmp dword [ebp - 0x1284], 3
jne 0x420516
xor eax, eax
mov al, byte [0x528d61]
cmp eax, dword [ebp - 0x208]
je 0x420516
jmp 0x4201a6
mov dword [ebp - 0x1284], 0
jmp 0x420531
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 3
jge 0x42059e
xor edx, edx
mov dl, byte [0x528d62]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4eb564]
cmp edx, ecx
je 0x42056e
xor edx, edx
mov dl, byte [0x528d62]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4eb56c]
cmp edx, ecx
jne 0x42059c
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x4eb564]
cmp dword [ebp - 0x204], eax
je 0x42059a
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x4eb56c]
cmp dword [ebp - 0x204], edx
jne 0x42059c
jmp 0x42059e
jmp 0x420522
cmp dword [ebp - 0x1284], 3
jne 0x4205bb
xor eax, eax
mov al, byte [0x528d62]
cmp eax, dword [ebp - 0x204]
je 0x4205bb
jmp 0x4201a6
mov dword [ebp - 0x1284], 3
jmp 0x4205d6
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 6
jge 0x420604
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x528d60]
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ebp + ecx*4 - 0x20c]
cmp eax, edx
je 0x420602
jmp 0x420604
jmp 0x4205c7
cmp dword [ebp - 0x1284], 6
jge 0x420612
jmp 0x4201a6
jmp 0x42066b
mov dword [ebp - 0x1284], 0
jmp 0x42062f
mov eax, dword [ebp - 0x1284]
add eax, 1
mov dword [ebp - 0x1284], eax
cmp dword [ebp - 0x1284], 6
jge 0x42065d
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x528d60]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [ebp + eax*4 - 0x20c]
cmp edx, ecx
je 0x42065b
jmp 0x42065d
jmp 0x420620
cmp dword [ebp - 0x1284], 6
jge 0x42066b
jmp 0x4201a6
jmp 0x420724
cmp dword [ebp + 0xc], 0
jne 0x420724
mov dword [ebp - 0x126c], 1
mov dword [ebp - 0x1284], 0
jmp 0x42069f
mov edx, dword [ebp - 0x1284]
add edx, 1
mov dword [ebp - 0x1284], edx
cmp dword [ebp - 0x1284], 6
jge 0x420716
mov eax, dword [ebp - 0x1288]
add eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x10dc]
cmp ecx, 0xff
je 0x4206dc
mov edx, dword [ebp - 0x1288]
add edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x10dc]
test eax, eax
jne 0x4206de
jmp 0x420690
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 0x420711
mov dword [ebp - 0x126c], 0
jmp 0x420716
jmp 0x420690
cmp dword [ebp - 0x126c], 0
jne 0x420724
jmp 0x4201a6
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.004aa370
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 0x4201a6
mov edx, 1
test edx, edx
je 0x4207c6
mov dword [ebp - 0x1290], 0
jmp 0x4207e6
mov eax, dword [ebp - 0x1288]
mov ecx, dword [eax + 0x1038]
push ecx
push str._SearchAllFlashList_:_Total_Flash_List_No___d_n
call fcn.00410eb0
add esp, 8
mov dword [ebp - 0x1290], eax
mov esp, ebp
pop ebp
ret 8