Function at 0x1001b2b8
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0xfd0]
mov eax, 0x1050
call fcn.10072c80
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0xfcc], eax
push ebx
push esi
push edi
mov esi, 0x206
xor ebx, ebx
push esi
lea eax, [ebp + 0x7ae]
push ebx
push eax
mov dword [ebp - 0x78], ecx
mov word [ebp + 0x7ac], bx
call fcn.10072750
push esi
lea eax, [ebp + 0x39e]
push ebx
push eax
mov word [ebp + 0x39c], bx
call fcn.10072750
push esi
lea eax, [ebp + 0x5a6]
push ebx
push eax
mov word [ebp + 0x5a4], bx
call fcn.10072750
push esi
lea eax, [ebp + 0x196]
push ebx
push eax
mov word [ebp + 0x194], bx
call fcn.10072750
push esi
lea eax, [ebp + 0xbbe]
push ebx
push eax
mov word [ebp + 0xbbc], bx
call fcn.10072750
push esi
lea eax, [ebp + 0xdc6]
push ebx
push eax
mov word [ebp + 0xdc4], bx
call fcn.10072750
add esp, 0x48
push ebx
push 0x2b
lea eax, [ebp + 0x7ac]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, 0x10102ef8
lea eax, [ebp + 0x7ac]
push edi
push eax
call fcn.10072c33
lea eax, [ebp + 0x7ac]
push str.DongFangInput
push eax
call fcn.10072c33
lea eax, [ebp + 0x7ac]
push edi
push eax
call fcn.10072c33
lea eax, [ebp + 0x7ac]
push str.DongFang
push eax
call fcn.10072c33
lea eax, [ebp + 0x7ac]
push str..ini
push eax
call fcn.10072c33
add esp, 0x28
lea eax, [ebp + 0x7ac]
push eax
push 0x104
lea eax, [ebp + 0x39c]
push eax
push 0x10102f18
push str.InstallPath
push str.Globals
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x39c]
push eax
lea eax, [ebp + 0xbbc]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xbbc]
push eax
lea eax, [ebp + 0xdc4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xdc4]
push str.2.5.0.0425
push eax
call fcn.10072c33
lea eax, [ebp + 0xdc4]
push edi
push eax
call fcn.10072c33
add esp, 0x20
lea eax, [ebp + 0xdc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b49c
push esi
lea eax, [ebp + 0x9b6]
push ebx
push eax
mov word [ebp + 0x9b4], bx
call fcn.10072750
lea eax, [ebp + 0xdc4]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x9b4]
push str.DFConfig.exe
push eax
call fcn.10072c33
add esp, 0x1c
lea eax, [ebp + 0x9b4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001b759
push esi
lea eax, [ebp - 0x72]
push ebx
push eax
mov word [ebp - 0x74], bx
call fcn.10072750
lea eax, [ebp - 0x74]
push str.SOFTWARE_
push eax
call fcn.10072c5d
lea eax, [ebp - 0x74]
push str.DongFangInput
push eax
call fcn.10072c33
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x74]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001b5fa
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x194]
push eax
push ebx
push ebx
push str.InstallPath
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001b5fa
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp + 0xbbc]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xbbc]
push eax
lea eax, [ebp + 0xdc4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xdc4]
push str.2.5.0.0425
push eax
call fcn.10072c33
lea eax, [ebp + 0xdc4]
push edi
push eax
call fcn.10072c33
add esp, 0x20
lea eax, [ebp + 0xdc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b5fa
push esi
lea eax, [ebp + 0x9b6]
push ebx
push eax
mov word [ebp + 0x9b4], bx
call fcn.10072750
lea eax, [ebp + 0xdc4]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x9b4]
push str.DFConfig.exe
push eax
call fcn.10072c33
add esp, 0x1c
lea eax, [ebp + 0x9b4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b5fa
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x78]
lea eax, [ebp + 0xbbc]
push eax
lea ecx, [esi + 0x94]
call fcn.100017c0
lea eax, [ebp + 0xdc4]
push eax
lea ecx, [esi + 0xb0]
call fcn.100017c0
mov ecx, esi
call fcn.1001a710
jmp 0x1001b780
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x26
lea eax, [ebp + 0x5a4]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp + 0x5a4]
push edi
push eax
call fcn.10072c33
lea eax, [ebp + 0x5a4]
push str.DongFangInput
push eax
call fcn.10072c33
lea eax, [ebp + 0x5a4]
push edi
push eax
call fcn.10072c33
lea eax, [ebp + 0x5a4]
push eax
lea eax, [ebp + 0xbbc]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xbbc]
push eax
lea eax, [ebp + 0xdc4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xdc4]
push str.2.5.0.0425
push eax
call fcn.10072c33
lea eax, [ebp + 0xdc4]
push edi
push eax
call fcn.10072c33
add esp, 0x38
lea eax, [ebp + 0xdc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b6e4
push esi
lea eax, [ebp + 0x9b6]
push ebx
push eax
mov word [ebp + 0x9b4], bx
call fcn.10072750
lea eax, [ebp + 0xdc4]
push eax
lea eax, [ebp + 0x9b4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0x9b4]
push str.DFConfig.exe
push eax
call fcn.10072c33
add esp, 0x1c
lea eax, [ebp + 0x9b4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001b759
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp + 0x39c]
push eax
call esi
test eax, eax
je 0x1001b6ff
lea eax, [ebp + 0x39c]
jmp 0x1001b718
lea eax, [ebp + 0x194]
push eax
call esi
test eax, eax
lea eax, [ebp + 0x194]
jne 0x1001b718
lea eax, [ebp + 0x5a4]
push eax
lea eax, [ebp + 0xbbc]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xbbc]
push eax
lea eax, [ebp + 0xdc4]
push eax
call fcn.10072c5d
lea eax, [ebp + 0xdc4]
push str.2.5.0.0425
push eax
call fcn.10072c33
lea eax, [ebp + 0xdc4]
push edi
push eax
call fcn.10072c33
add esp, 0x20
mov esi, dword [ebp - 0x78]
lea eax, [ebp + 0xbbc]
push eax
lea ecx, [esi + 0x94]
call fcn.100017c0
lea eax, [ebp + 0xdc4]
push eax
lea ecx, [esi + 0xb0]
call fcn.100017c0
mov ecx, dword [ebp + 0xfcc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0xfd0
leave
ret