Function at 0x4691e6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov dword [ebp - 0x434], ecx
lea ecx, [ebp - 0x430]
call fcn.004cf400
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x2d4
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.004a9f30
add esp, 8
push 0x51efa4
lea eax, [ebp - 0x218]
push eax
call fcn.004a9f40
add esp, 8
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
push 0x10
push 0x529200
lea edx, [ebp - 0x420]
push edx
call fcn.004aa370
add esp, 0xc
movsx eax, byte [ebp - 0x420]
test eax, eax
jne 0x4692db
cmp dword [0x5284f8], 0x979
jne 0x4692bb
push 0x51efb0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f30
add esp, 8
jmp 0x4692db
cmp dword [0x5284f8], 0x97a
jne 0x4692db
push 0x51efb8
lea edx, [ebp - 0x420]
push edx
call fcn.004a9f30
add esp, 8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.004a9f40
add esp, 8
push 0x51efc0
lea edx, [ebp - 0x218]
push edx
call fcn.004a9f40
add esp, 8
cmp dword [0x5291ec], 0
je 0x46939c
push 7
push 0
mov eax, dword [ebp - 0x434]
add eax, 0x1000
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x8ec
push ecx
push 7
mov edx, dword [ebp - 0x434]
add edx, 0x1000
push edx
push 0x5295e0
push str.FWTAG
push 0x51efcc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x434]
movsx ecx, byte [eax + 0x1000]
test ecx, ecx
je 0x46939c
mov edx, dword [ebp - 0x434]
add edx, 0x1000
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.004a9f40
add esp, 8
push 0x51efd4
lea ecx, [ebp - 0x218]
push ecx
call fcn.004a9f40
add esp, 8
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x434]
add eax, 0x2d4
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f30
add esp, 8
push 0x51efd8
lea edx, [ebp - 0x420]
push edx
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x4694a3
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x1230], 0
jne 0x469437
mov edx, dword [ebp - 0x10]
push edx
call fcn.004aa7be
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1230], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1230], 0
je 0x469498
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x1230]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x1230]
push edx
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x122c], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1234], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x434]
add edx, 0x2d4
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f30
add esp, 8
push str.DriveSettingMP_CIDtable.bin
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x4695ab
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x123c], 0
jne 0x46953f
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004aa7be
add esp, 4
mov edx, dword [ebp - 0x434]
mov dword [edx + 0x123c], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x123c], 0
je 0x4695a0
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x123c]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x123c]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1238], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1240], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x434]
add edx, 0x2d4
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f30
add esp, 8
push str.DriveSettingMP_IDtable.bin
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x4696b3
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x1248], 0
jne 0x469647
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004aa7be
add esp, 4
mov edx, dword [ebp - 0x434]
mov dword [edx + 0x1248], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x1248], 0
je 0x4696a8
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1248]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1248]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1244], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x124c], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x434]
add edx, 0x2d4
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f30
add esp, 8
push str.DriveSettingMPINFO_Final.bin
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x4697bb
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x1254], 0
jne 0x46974f
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004aa7be
add esp, 4
mov edx, dword [ebp - 0x434]
mov dword [edx + 0x1254], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x1254], 0
je 0x4697b0
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1254]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1254]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1250], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1258], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
mov edx, dword [ebp - 0x434]
add edx, 0x2d4
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f30
add esp, 8
push str.TablesTLCSeedTable1Z.bin
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x4698c3
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x1260], 0
jne 0x469857
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004aa7be
add esp, 4
mov edx, dword [ebp - 0x434]
mov dword [edx + 0x1260], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x1260], 0
je 0x4698b8
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1260]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1260]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x125c], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1264], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f30
add esp, 8
cmp dword [0x5284f8], 0x979
jne 0x469911
push str.BootISP2258.bin
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f40
add esp, 8
jmp 0x469931
cmp dword [0x5284f8], 0x97a
jne 0x469931
push str.BootISP2256.bin
lea edx, [ebp - 0x420]
push edx
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x4699f3
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x126c], 0
jne 0x469987
mov edx, dword [ebp - 0x10]
push edx
call fcn.004aa7be
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x126c], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x126c], 0
je 0x4699e8
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x126c]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x126c]
push edx
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1268], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1270], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f30
add esp, 8
cmp dword [0x5284f8], 0x979
jne 0x469a41
push 0x51f098
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9f40
add esp, 8
jmp 0x469a61
cmp dword [0x5284f8], 0x97a
jne 0x469a61
push 0x51f0a8
lea edx, [ebp - 0x420]
push edx
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x469b23
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x1278], 0
jne 0x469ab7
mov edx, dword [ebp - 0x10]
push edx
call fcn.004aa7be
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1278], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1278], 0
je 0x469b18
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x1278]
push edx
call fcn.004a9cd0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x1278]
push edx
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1274], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x127c], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9cd0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f30
add esp, 8
movsx ecx, byte [0x5291e8]
test ecx, ecx
je 0x469b82
push 0x5291e8
lea edx, [ebp - 0x420]
push edx
call fcn.004a9f40
add esp, 8
push 0x51f0b8
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f40
add esp, 8
cmp dword [0x5284f8], 0x979
jne 0x469bc9
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x1044], 0
je 0x469bb3
push 0x51f0bc
lea edx, [ebp - 0x420]
push edx
call fcn.004a9f40
add esp, 8
jmp 0x469bc7
push 0x51f0cc
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f40
add esp, 8
jmp 0x469c0e
cmp dword [0x5284f8], 0x97a
jne 0x469c0e
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x1044], 0
je 0x469bfa
push 0x51f0d8
lea edx, [ebp - 0x420]
push edx
call fcn.004a9f40
add esp, 8
jmp 0x469c0e
push 0x51f0e8
lea eax, [ebp - 0x420]
push eax
call fcn.004a9f40
add esp, 8
push 0
push 0x8040
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x430]
call fcn.004cf5b2
test eax, eax
je 0x469d20
lea ecx, [ebp - 0x430]
call fcn.004cf8ac
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1284], 0
jne 0x469c66
mov eax, dword [ebp - 0x10]
push eax
call fcn.004aa7be
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1284], eax
jmp 0x469cb4
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1288]
cmp eax, dword [ebp - 0x10]
je 0x469cb4
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x1284]
push edx
call fcn.004aa6ad
add esp, 4
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x1284], 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004aa7be
add esp, 4
mov edx, dword [ebp - 0x434]
mov dword [edx + 0x1284], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x1284], 0
je 0x469d15
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1284]
push eax
call fcn.004a9cd0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1284]
push eax
lea ecx, [ebp - 0x430]
call fcn.004cf6cf
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1280], eax
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1288], eax
lea ecx, [ebp - 0x430]
call fcn.004cf7cd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.004cf4f5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret