Function at 0x44d4e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x414
mov eax, dword [0x50a360]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
mov ebp, dword [esp + 0x420]
mov ebx, ecx
mov ecx, dword [esp + 0x424]
test ebp, ebp
jne 0x44d51d
push 0x19
push str.Configure_file_is_empty__n
call fcn.00401ab0
xor eax, eax
jmp 0x44d90e
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21e]
push ecx
mov word [esp + 0x220], ax
call fcn.00494750
mov eax, dword [0x50b824]
lea edx, [esp + 0x220]
push edx
push eax
call fcn.00458600
lea edi, [esp + 0x228]
add esp, 0x14
add edi, 0xfffffffe
jmp 0x44d560
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x44d560
push esi
mov ecx, 8
mov esi, str.BMFileType.ini
mov eax, ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x130]
lea edx, [eax + 2]
mov si, word [eax]
add eax, 2
test si, si
jne 0x44d584
sub eax, edx
sar eax, 1
push eax
push ebp
call fcn.00401860
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebp
push 1
push 0x4cab38
push 0x4c4258
call esi
push ebp
push 0
push 0x4c7c1c
push 0x4c4258
mov dword [ebx + 0xd8], eax
call esi
push ebp
push 0
push str.PowerOff
push 0x4c4258
mov dword [ebx + 0xdc], eax
call esi
push ebp
push 0
push str.FlashPageType
push 0x4c4258
mov dword [ebx + 0xb0], eax
call esi
push ebp
push 0
push str.ReadMCPType
push 0x4c4258
mov dword [ebx + 0x124], eax
call esi
push ebp
push 0
push str.KeepCharge
push 0x4c4258
mov dword [ebx + 0x128], eax
call esi
push ebp
push 0
push str.UartDownload
push 0x4c4258
mov dword [ebx + 0xe4], eax
call esi
push ebp
push 0
push str.Enable
push str.Comparison
mov dword [ebx + 0xe8], eax
call esi
push ebp
push 0
push str.Policy
push str.Comparison
mov dword [ebx + 0xec], eax
call esi
push ebp
push 0
push str.DDRCheck
push 0x4c4258
mov dword [ebx + 0xf0], eax
call esi
push ebp
push 0
push str.SelfRefresh
push 0x4c4258
mov dword [ebx + 0xf4], eax
call esi
lea ecx, [esp + 0x218]
push ecx
push 0
push str.NeedCheckOldMemory
push str.Misc
mov dword [ebx + 0xf8], eax
call esi
lea edx, [esp + 0x218]
mov dword [ebx + 0xfc], eax
push edx
push 0
push str.DoCheckSum
push str.Misc
call esi
push ebp
push 0
push str.SharkNandOption
push 0x4c4258
mov dword [ebx + 0x100], eax
call esi
push ebp
push 0
push str.ReadChipUID
push 0x4c4258
mov dword [ebx + 0x12c], eax
call esi
push ebp
push 0
push str.EnableLod
push 0x4c4258
mov dword [ebx + 0x104], eax
call esi
push ebp
push 0
push str.EnableSecureBoot
push 0x4c4258
mov dword [ebx + 0x10c], eax
call esi
push ebp
push 0
push str.EnableEndProcess
push 0x4c4258
mov dword [ebx + 0x110], eax
call esi
push ebp
push 0
push 0x4caa74
push str.Debug
mov dword [ebx + 0x114], eax
call esi
push ebp
push 0
push str.CheckMatch
push 0x4c4258
mov dword [ebx + 0x118], eax
call esi
push 0x208
mov dword [ebx + 0x108], eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00494750
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push ebp
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0x4ef7cc
push str.Program
push str.Comparison
call esi
lea eax, [esp + 0x10]
lea ecx, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x44d790
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x14]
lea edi, [ebx + 0x11c]
push edx
mov ecx, edi
call fcn.00401860
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00494750
add esp, 0xc
push ebp
push 0x104
lea ecx, [esp + 0x18]
push ecx
push str.__s____s_
push str.Parameter
push str.Comparison
call esi
lea eax, [esp + 0x10]
lea edx, [eax + 2]
pop esi
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44d7f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
lea ecx, [ebx + 0x120]
call fcn.00401860
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x44d826
mov dword [ebx + 0xe0], 0
jmp 0x44d842
mov ecx, dword [ebx + 0xac]
mov dword [ebx + 0xe0], ecx
test ecx, ecx
jne 0x44d842
mov ecx, dword [ebx + 0xb0]
mov dword [ebx + 0xe0], ecx
mov ecx, dword [ebx + 0x128]
mov edx, dword [ebx + 0xd8]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebx + 0xe0]
mov dword [ebx + 0x90], ecx
mov ecx, dword [ebx + 0xec]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0xe4]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebx + 0xe8]
mov dword [ebx + 0xd0], ecx
push edi
lea ecx, [ebx + 0xd4]
mov dword [ebx + 0x94], edx
mov dword [ebx + 0xcc], eax
call fcn.00401bf0
mov eax, dword [ebx + 0xf8]
mov edx, dword [ebx + 0xf4]
mov ecx, dword [ebx + 0xfc]
mov dword [ebx + 0x9c], eax
mov eax, dword [ebx + 0x104]
mov dword [ebx + 0x98], edx
mov edx, dword [ebx + 0x100]
mov dword [ebx + 0xa0], ecx
mov ecx, dword [ebx + 0x108]
mov dword [ebx + 0xb8], eax
mov eax, dword [ebx + 0x110]
mov dword [ebx + 0xa4], edx
mov edx, dword [ebx + 0x10c]
mov dword [ebx + 0xbc], ecx
mov ecx, dword [ebx + 0x118]
mov dword [ebx + 0xc4], eax
mov dword [ebx + 0xc0], edx
mov dword [ebx + 0xc8], ecx
mov eax, 1
pop edi
mov ecx, dword [esp + 0x418]
pop ebp
pop ebx
xor ecx, esp
call fcn.004945a7
add esp, 0x414
ret 8