Function at 0x463f3c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525db4
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.0050ef40
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x2d4
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.004e96e0
add esp, 8
push 0x55d3ac
lea eax, [ebp - 0x218]
push eax
call fcn.004e96f0
add esp, 8
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e9480
add esp, 0xc
push 0x10
push 0x56e380
lea edx, [ebp - 0x420]
push edx
call fcn.004e9b20
add esp, 0xc
movsx eax, byte [ebp - 0x420]
test eax, eax
jne 0x464031
cmp dword [0x56d5d0], 0x979
jne 0x464011
push 0x55d3b8
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e96e0
add esp, 8
jmp 0x464031
cmp dword [0x56d5d0], 0x97a
jne 0x464031
push 0x55d3c0
lea edx, [ebp - 0x420]
push edx
call fcn.004e96e0
add esp, 8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.004e96f0
add esp, 8
push 0x55d3c8
lea edx, [ebp - 0x218]
push edx
call fcn.004e96f0
add esp, 8
cmp dword [0x56e36c], 0
je 0x4640f2
push 7
push 0
mov eax, dword [ebp - 0x434]
add eax, 0xfb8
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x8ec
push ecx
push 7
mov edx, dword [ebp - 0x434]
add edx, 0xfb8
push edx
push 0x56e758
push str.FWTAG
push 0x55d3d4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x434]
movsx ecx, byte [eax + 0xfb8]
test ecx, ecx
je 0x4640f2
mov edx, dword [ebp - 0x434]
add edx, 0xfb8
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.004e96f0
add esp, 8
push 0x55d3dc
lea ecx, [ebp - 0x218]
push ecx
call fcn.004e96f0
add esp, 8
push 0x208
push 0
lea edx, [ebp - 0x420]
push edx
call fcn.004e9480
add esp, 0xc
mov eax, dword [ebp - 0x434]
add eax, 0x2d4
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e96e0
add esp, 8
push 0x55d3e0
lea edx, [ebp - 0x420]
push edx
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x4641fd
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x1178], 0
jne 0x46418d
mov edx, dword [ebp - 0x10]
push edx
call fcn.004e9f6e
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1178], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1178], 0
je 0x4641f2
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x1174], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1178]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1178]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x117c], edx
lea ecx, [ebp - 0x430]
call fcn.0050f30d
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x2d4
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.004e96e0
add esp, 8
push str.DriveSettingMP_CIDtable.bin
lea eax, [ebp - 0x420]
push eax
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x464309
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1184], 0
jne 0x464299
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e9f6e
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1184], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1184], 0
je 0x4642fe
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x1180], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1184]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1184]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x1188], edx
lea ecx, [ebp - 0x430]
call fcn.0050f30d
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x2d4
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.004e96e0
add esp, 8
push str.DriveSettingMP_IDtable.bin
lea eax, [ebp - 0x420]
push eax
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x464415
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1190], 0
jne 0x4643a5
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e9f6e
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x1190], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x1190], 0
je 0x46440a
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x118c], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1190]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x1190]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x1194], edx
lea ecx, [ebp - 0x430]
call fcn.0050f30d
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x2d4
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.004e96e0
add esp, 8
push str.DriveSettingMPINFO_Final.bin
lea eax, [ebp - 0x420]
push eax
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x464521
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x119c], 0
jne 0x4644b1
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e9f6e
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x119c], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x119c], 0
je 0x464516
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x1198], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x119c]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x119c]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x11a0], edx
lea ecx, [ebp - 0x430]
call fcn.0050f30d
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x434]
add ecx, 0x2d4
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.004e96e0
add esp, 8
push str.TablesTLCSeedTable1Z.bin
lea eax, [ebp - 0x420]
push eax
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x46462d
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x11a8], 0
jne 0x4645bd
mov eax, dword [ebp - 0x10]
push eax
call fcn.004e9f6e
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x11a8], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x11a8], 0
je 0x464622
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x11a4], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x11a8]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x11a8]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x11ac], edx
lea ecx, [ebp - 0x430]
call fcn.0050f30d
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004e9480
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.004e96e0
add esp, 8
cmp dword [0x56d5d0], 0x979
jne 0x46467b
push str.BootISP2258.bin
lea eax, [ebp - 0x420]
push eax
call fcn.004e96f0
add esp, 8
jmp 0x46469b
cmp dword [0x56d5d0], 0x97a
jne 0x46469b
push str.BootISP2256.bin
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x464761
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x11b4], 0
jne 0x4646f1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004e9f6e
add esp, 4
mov edx, dword [ebp - 0x434]
mov dword [edx + 0x11b4], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x11b4], 0
je 0x464756
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x11b0], 1
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax + 0x11b4]
push ecx
call fcn.004e9480
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax + 0x11b4]
push ecx
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x11b8], eax
lea ecx, [ebp - 0x430]
call fcn.0050f30d
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e9480
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call fcn.004e96e0
add esp, 8
cmp dword [0x56d5d0], 0x979
jne 0x4647af
push 0x55d4a0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e96f0
add esp, 8
jmp 0x4647cf
cmp dword [0x56d5d0], 0x97a
jne 0x4647cf
push 0x55d4b0
lea edx, [ebp - 0x420]
push edx
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x464895
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x11c0], 0
jne 0x464825
mov edx, dword [ebp - 0x10]
push edx
call fcn.004e9f6e
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x11c0], eax
mov edx, dword [ebp - 0x434]
cmp dword [edx + 0x11c0], 0
je 0x46488a
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x11bc], 1
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x11c0]
push eax
call fcn.004e9480
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x11c0]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov ecx, dword [ebp - 0x434]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x11c4], edx
lea ecx, [ebp - 0x430]
call fcn.0050f30d
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004e9480
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x420]
push edx
call fcn.004e96e0
add esp, 8
movsx eax, byte [0x56e360]
test eax, eax
je 0x4648f4
push 0x56e360
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e96f0
add esp, 8
push 0x55d4c0
lea edx, [ebp - 0x420]
push edx
call fcn.004e96f0
add esp, 8
cmp dword [0x56d5d0], 0x979
jne 0x46493b
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0xfe8], 0
je 0x464925
push 0x55d4c4
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e96f0
add esp, 8
jmp 0x464939
push 0x55d4d4
lea edx, [ebp - 0x420]
push edx
call fcn.004e96f0
add esp, 8
jmp 0x464980
cmp dword [0x56d5d0], 0x97a
jne 0x464980
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0xfe8], 0
je 0x46496c
push 0x55d4e0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004e96f0
add esp, 8
jmp 0x464980
push 0x55d4f0
lea edx, [ebp - 0x420]
push edx
call fcn.004e96f0
add esp, 8
push 0
push 0x8040
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x430]
call fcn.0050f0f2
test eax, eax
je 0x464a96
lea ecx, [ebp - 0x430]
call fcn.0050f3ec
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x11cc], 0
jne 0x4649d8
mov edx, dword [ebp - 0x10]
push edx
call fcn.004e9f6e
add esp, 4
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x11cc], eax
jmp 0x464a26
mov edx, dword [ebp - 0x434]
mov eax, dword [edx + 0x11d0]
cmp eax, dword [ebp - 0x10]
je 0x464a26
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx + 0x11cc]
push edx
call fcn.004e9e5d
add esp, 4
mov eax, dword [ebp - 0x434]
mov dword [eax + 0x11cc], 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004e9f6e
add esp, 4
mov edx, dword [ebp - 0x434]
mov dword [edx + 0x11cc], eax
mov eax, dword [ebp - 0x434]
cmp dword [eax + 0x11cc], 0
je 0x464a8b
mov ecx, dword [ebp - 0x434]
mov dword [ecx + 0x11c8], 1
mov edx, dword [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax + 0x11cc]
push ecx
call fcn.004e9480
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax + 0x11cc]
push ecx
lea ecx, [ebp - 0x430]
call fcn.0050f20f
mov edx, dword [ebp - 0x434]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x11d0], eax
lea ecx, [ebp - 0x430]
call fcn.0050f30d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.0050f035
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret