Function at 0x1001d030
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1012c7c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x1016e0e4]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 8], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.10123e32
mov eax, dword [esi + 0x90]
push ebx
push 0x1001
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 3
call fcn.10123f44
test eax, eax
je 0x1001d322
mov eax, dword [0x1018e634]
push ebp
push edi
mov edi, dword [0x1018e62c]
cmp edi, ebx
mov dword [esp + 0x20], eax
je 0x1001d315
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, edi
mov edi, dword [edi]
add eax, 8
lea ecx, [esp + 0x10]
push eax
call fcn.1011fe5a
push str.ro.sf.lcd_density
lea ecx, [esp + 0x14]
call fcn.1011dcfb
cmp eax, ebx
jl 0x1001d10f
push str.ro.sf.lcd_density
lea ecx, [esp + 0x14]
call fcn.1011feaa
lea ecx, [esp + 0x14]
push ecx
push 0x4ba
mov ecx, esi
call fcn.1012371b
mov ecx, eax
call fcn.101219ae
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.10120140
jmp 0x1001d2b2
push 0x1016bfac
lea ecx, [esp + 0x14]
call fcn.1011dcfb
cmp eax, ebx
jl 0x1001d153
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 0x4bc
call fcn.101219f6
push str.ro.build.display.id
lea ecx, [esp + 0x14]
call fcn.1011feaa
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.10120140
jmp 0x1001d2b2
push 0x1016bf88
lea ecx, [esp + 0x14]
call fcn.1011dcfb
cmp eax, ebx
jl 0x1001d197
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 0x4b6
call fcn.101219f6
push str.ro.product.model
lea ecx, [esp + 0x14]
call fcn.1011feaa
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.10120140
jmp 0x1001d2b2
push 0x1016bf64
lea ecx, [esp + 0x14]
call fcn.1011dcfb
cmp eax, ebx
jl 0x1001d1db
lea ecx, [esp + 0x14]
push ecx
push 0x4b8
mov ecx, esi
call fcn.101219f6
push str.ro.rksdk.version
lea ecx, [esp + 0x14]
call fcn.1011feaa
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.10120140
jmp 0x1001d2b2
push 0x1016bf40
lea ecx, [esp + 0x14]
call fcn.1011dcfb
cmp eax, ebx
jl 0x1001d21f
lea eax, [esp + 0x14]
mov ecx, esi
push eax
push 0x4bf
call fcn.101219f6
push str.ro.product.brand
lea ecx, [esp + 0x14]
call fcn.1011feaa
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.10120140
jmp 0x1001d2b2
push 0x1016bf14
lea ecx, [esp + 0x14]
call fcn.1011dcfb
cmp eax, ebx
jl 0x1001d260
push str.ro.product.usbfactory
lea ecx, [esp + 0x14]
call fcn.1011feaa
lea edx, [esp + 0x14]
mov ecx, esi
push edx
push 0x4b7
call fcn.101219f6
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
call fcn.10120140
jmp 0x1001d2b2
push 0x1016bef4
lea ecx, [esp + 0x14]
call fcn.1011dcfb
cmp eax, ebx
jl 0x1001d2b2
push str.ro.rk.bt_enable
lea ecx, [esp + 0x14]
call fcn.1011feaa
push 0x518
mov ecx, esi
call fcn.1012371b
mov ecx, dword [eax + 0x1c]
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, ebx
je 0x1001d2a4
push 0x1016bee8
jmp 0x1001d2a9
push str.false
lea ecx, [esp + 0x14]
call fcn.10120104
push 0x1016a060
lea ecx, [esp + 0x14]
call fcn.10120104
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], ebx
call fcn.10024f00
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
add esp, 0xc
lea ecx, [esp + 0x28]
push edx
push eax
call fcn.1012409b
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001d2ff
push eax
call fcn.1011fa75
add esp, 4
mov eax, dword [esp + 0x20]
dec eax
cmp eax, 1
mov dword [esp + 0x20], eax
jle 0x1001d315
cmp edi, ebx
jne 0x1001d0b3
lea ecx, [esp + 0x28]
call fcn.1012415f
pop edi
pop ebp
jmp 0x1001d371
mov ecx, dword [0x1018e644]
push ecx
push 0x12c
push 0x12c
lea ecx, [esp + 0x1c]
call fcn.10120158
push eax
push str.open_file_failed_
push str.ERROR_OPEN_FILE_FAILED
push str.SystemSeting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0x74]
mov edx, dword [esp + 0x10]
push ebx
push eax
push edx
mov ecx, esi
call fcn.1012262e
push 0x12c
lea ecx, [esp + 0x14]
call fcn.101201a8
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 2
call fcn.10123e87
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.1011fd13
lea ecx, [esp + 8]
mov byte [esp + 0x38], bl
call fcn.1011fd13
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.1011fd13
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret