Function at 0x42042d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1290
call fcn.004ae230
mov dword [ebp - 0x1288], ecx
mov dword [ebp - 0x1278], 0x50faa0
mov dword [ebp - 0x1274], 0x50faa4
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.004adbd0
add esp, 0xc
push 0x40
push 0
mov edx, dword [ebp - 0x1288]
add edx, 0x1040
push edx
call fcn.004adbd0
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
mov ecx, dword [ebp - 0x1288]
call fcn.00420d1c
test eax, eax
jne 0x4204b9
jmp 0x420b81
mov ecx, dword [ebp - 0x1288]
add ecx, 0x8f5
push ecx
mov edx, dword [ebp - 0x1288]
add edx, 0x1040
push edx
push str.FLASHDBTAG
push 0x50fab4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x842
mov ecx, dword [ebp - 0x1288]
call fcn.004d14d4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1288]
add eax, 0x1040
push eax
mov ecx, dword [ebp - 4]
call fcn.004d176b
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 0x420550
mov eax, dword [ebp - 0x1270]
add eax, 1
mov dword [ebp - 0x1270], eax
cmp dword [ebp - 0x1270], 0x320
jge 0x420b4c
push 0xa
push 0
lea ecx, [ebp - 0x1268]
push ecx
call fcn.004adbd0
add esp, 0xc
mov edx, dword [ebp - 0x1270]
push edx
mov eax, dword [0x52df44]
mov ecx, dword [ebp + eax*4 - 0x1278]
push ecx
push 0x50fad0
lea edx, [ebp - 0x1268]
push edx
call fcn.004ae0dd
add esp, 0x10
mov eax, 1
test eax, eax
je 0x4205b0
mov dword [ebp - 0x128c], 0
jmp 0x4205ca
lea ecx, [ebp - 0x1268]
push ecx
push str._SearchAllFlashList_:__s_n
call fcn.004110a0
add esp, 8
mov dword [ebp - 0x128c], eax
push 0x800
push 0
lea edx, [ebp - 0x125c]
push edx
call fcn.004adbd0
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x6ed
push eax
push 0x800
lea ecx, [ebp - 0x125c]
push ecx
push 0x52d01c
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 0x42061f
jmp 0x420541
movsx ecx, byte [ebp - 0x125c]
test ecx, ecx
jne 0x42062f
jmp 0x420541
push 5
push str._END_
lea edx, [ebp - 0x125c]
push edx
call fcn.004ae170
add esp, 0xc
test eax, eax
jne 0x42064e
jmp 0x420b4c
push str.disable_DDR_mode
lea eax, [ebp - 0x125c]
push eax
call fcn.004ae830
add esp, 8
test eax, eax
je 0x420674
cmp dword [0x52dc1c], 0
jne 0x420674
jmp 0x420541
cmp dword [0x52df3c], 0
je 0x4206c6
push 7
push 0
lea ecx, [ebp - 0x1280]
push ecx
call fcn.004adbd0
add esp, 0xc
mov edx, dword [ebp - 0x1288]
add edx, 0xafd
push edx
push 7
lea eax, [ebp - 0x1280]
push eax
push 0x52d020
lea ecx, [ebp - 0x125c]
push ecx
push 0x50fb10
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4206c6
jmp 0x420541
push 0x800
push 0
lea edx, [ebp - 0xa5c]
push edx
call fcn.004adbd0
add esp, 0xc
mov eax, dword [ebp - 0x1288]
add eax, 0x6ed
push eax
push 0x800
lea ecx, [ebp - 0xa5c]
push ecx
push 0x52d024
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 0x42071b
jmp 0x420541
push 0x257
push 0
lea ecx, [ebp - 0x25c]
push ecx
call fcn.004adbd0
add esp, 0xc
push 1
lea edx, [ebp - 0xa5c]
push edx
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x1288]
call fcn.004216fa
cmp dword [0x52d1d0], 0
je 0x420780
cmp dword [0x52df3c], 0
je 0x420780
mov ecx, dword [ebp - 0x188]
push ecx
lea edx, [ebp - 0x1280]
push edx
mov ecx, dword [ebp - 0x1288]
call fcn.00420b87
test eax, eax
jne 0x420780
jmp 0x420541
cmp dword [0x52d1d0], 0
je 0x4207c4
cmp dword [0x52df34], 0
je 0x4207ab
cmp dword [ebp - 0x1f4], 0
je 0x4207a4
cmp dword [ebp - 0x1f4], 2
jne 0x4207a9
jmp 0x420541
jmp 0x4207c2
cmp dword [ebp - 0x1f4], 4
je 0x4207c2
cmp dword [ebp - 0x1f4], 1
je 0x4207c2
jmp 0x420541
jmp 0x4207d2
cmp dword [ebp - 0x1f4], 2
je 0x4207d2
jmp 0x420541
cmp dword [ebp + 8], 0
je 0x420a0b
cmp dword [0x52d1d0], 0
je 0x4209af
xor eax, eax
mov al, byte [0x52daa0]
cmp eax, 0x89
jne 0x4209af
cmp dword [ebp - 0x20c], 0x89
je 0x42080c
jmp 0x420541
mov dword [ebp - 0x1284], 0
jmp 0x420827
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 3
jge 0x420894
xor edx, edx
mov dl, byte [0x52daa1]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4ef560]
cmp edx, ecx
je 0x420864
xor edx, edx
mov dl, byte [0x52daa1]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4ef568]
cmp edx, ecx
jne 0x420892
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x4ef560]
cmp dword [ebp - 0x208], eax
je 0x420890
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x4ef568]
cmp dword [ebp - 0x208], edx
jne 0x420892
jmp 0x420894
jmp 0x420818
cmp dword [ebp - 0x1284], 3
jne 0x4208b1
xor eax, eax
mov al, byte [0x52daa1]
cmp eax, dword [ebp - 0x208]
je 0x4208b1
jmp 0x420541
mov dword [ebp - 0x1284], 0
jmp 0x4208cc
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 3
jge 0x420939
xor edx, edx
mov dl, byte [0x52daa2]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4ef564]
cmp edx, ecx
je 0x420909
xor edx, edx
mov dl, byte [0x52daa2]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x4ef56c]
cmp edx, ecx
jne 0x420937
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x4ef564]
cmp dword [ebp - 0x204], eax
je 0x420935
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x4ef56c]
cmp dword [ebp - 0x204], edx
jne 0x420937
jmp 0x420939
jmp 0x4208bd
cmp dword [ebp - 0x1284], 3
jne 0x420956
xor eax, eax
mov al, byte [0x52daa2]
cmp eax, dword [ebp - 0x204]
je 0x420956
jmp 0x420541
mov dword [ebp - 0x1284], 3
jmp 0x420971
mov ecx, dword [ebp - 0x1284]
add ecx, 1
mov dword [ebp - 0x1284], ecx
cmp dword [ebp - 0x1284], 6
jge 0x42099f
mov edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x52daa0]
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ebp + ecx*4 - 0x20c]
cmp eax, edx
je 0x42099d
jmp 0x42099f
jmp 0x420962
cmp dword [ebp - 0x1284], 6
jge 0x4209ad
jmp 0x420541
jmp 0x420a06
mov dword [ebp - 0x1284], 0
jmp 0x4209ca
mov eax, dword [ebp - 0x1284]
add eax, 1
mov dword [ebp - 0x1284], eax
cmp dword [ebp - 0x1284], 6
jge 0x4209f8
mov ecx, dword [ebp - 0x1284]
xor edx, edx
mov dl, byte [ecx + 0x52daa0]
mov eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [ebp + eax*4 - 0x20c]
cmp edx, ecx
je 0x4209f6
jmp 0x4209f8
jmp 0x4209bb
cmp dword [ebp - 0x1284], 6
jge 0x420a06
jmp 0x420541
jmp 0x420abf
cmp dword [ebp + 0xc], 0
jne 0x420abf
mov dword [ebp - 0x126c], 1
mov dword [ebp - 0x1284], 0
jmp 0x420a3a
mov edx, dword [ebp - 0x1284]
add edx, 1
mov dword [ebp - 0x1284], edx
cmp dword [ebp - 0x1284], 6
jge 0x420ab1
mov eax, dword [ebp - 0x1288]
add eax, dword [ebp - 0x1284]
xor ecx, ecx
mov cl, byte [eax + 0x10dc]
cmp ecx, 0xff
je 0x420a77
mov edx, dword [ebp - 0x1288]
add edx, dword [ebp - 0x1284]
xor eax, eax
mov al, byte [edx + 0x10dc]
test eax, eax
jne 0x420a79
jmp 0x420a2b
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 0x420aac
mov dword [ebp - 0x126c], 0
jmp 0x420ab1
jmp 0x420a2b
cmp dword [ebp - 0x126c], 0
jne 0x420abf
jmp 0x420541
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.004ae270
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 0x420541
mov edx, 1
test edx, edx
je 0x420b61
mov dword [ebp - 0x1290], 0
jmp 0x420b81
mov eax, dword [ebp - 0x1288]
mov ecx, dword [eax + 0x1038]
push ecx
push str._SearchAllFlashList_:_Total_Flash_List_No___d_n
call fcn.004110a0
add esp, 8
mov dword [ebp - 0x1290], eax
mov esp, ebp
pop ebp
ret 8