Function at 0x10006300
Capabilities:
Check if file exists
Delete file
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x10006d1b
push eax
mov eax, 0x165c
mov dword fs:[0], esp
call fcn.100069d0
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], eax
mov dx, word [0x1000b448]
mov ecx, 0x81
lea edi, [esp + 0x125e]
mov dword [esp + 0x1674], eax
mov word [esp + 0x125c], dx
mov word [esp + 0xa3c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa3e]
mov word [esp + 0xc44], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xc46]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x125c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x125c]
push str.ft5_
push ecx
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x125c]
lea eax, [esp + 0xa3c]
push edx
push eax
call ebx
lea ecx, [esp + 0xa3c]
push str.ft_dt.cab
push ecx
call esi
lea edx, [esp + 0x125c]
lea eax, [esp + 0xc44]
push edx
push eax
call ebx
lea ecx, [esp + 0xc44]
push str.ft_data.cab
push ecx
call esi
lea edx, [esp + 0xc44]
push 2
push edx
push 0x1000cbb0
lea ecx, [esp + 0x1c]
call fcn.10001c20
test eax, eax
jne 0x10006838
lea eax, [esp + 0x1464]
push 0x1000bb84
push eax
call ebx
lea ecx, [esp + 0x1464]
push 0x100090d8
push ecx
call esi
lea edx, [esp + 0x1464]
lea eax, [esp + 0xc44]
push edx
push eax
call fcn.100013f0
add esp, 8
push eax
push str._ftlive__Download_newData_ExtractCab_return__d_n
call fcn.10001880
mov cx, word [0x1000b448]
xor eax, eax
mov word [esp + 0x634], cx
mov ecx, 0x81
lea edi, [esp + 0x636]
add esp, 8
rep stosd dword es:[edi], eax
lea edx, [esp + 0x62c]
push 0x1000bb84
push edx
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x62c]
push 0x100090d8
push eax
call esi
lea ecx, [esp + 0x62c]
push str.pgkl.cab
push ecx
call esi
mov dx, word [0x1000b448]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x836]
mov word [esp + 0x834], dx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov cx, word [0x1000b448]
xor eax, eax
mov word [esp + 0xe4c], cx
mov ecx, 0x81
lea edi, [esp + 0xe4e]
lea edx, [esp + 0x834]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xe4c]
push edx
push eax
call ebx
lea ecx, [esp + 0xe4c]
push 0x100090d8
push ecx
call esi
lea edx, [esp + 0xe4c]
push str.res.dll
push edx
call esi
mov dx, word [0x1000b448]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], dx
mov word [esp + 0x424], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x424]
lea ecx, [esp + 0xe4c]
push eax
push 0x1000b338
push ecx
call fcn.100012d0
add esp, 0xc
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x62c]
lea eax, [esp + 0x21c]
push edx
push 0x104
push eax
push 0x1000b448
push str.version
push 0x1000b320
call ebp
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x424]
push ecx
push edx
push str._ftlive.dll__compare_res.dll_version_._cur_s_new_s_n
call fcn.10001880
add esp, 0xc
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x424]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jge 0x10006678
mov dx, word [0x1000b448]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x834]
lea ecx, [esp + 0x14]
push eax
push ecx
call ebx
lea edx, [esp + 0x14]
push str._res.cab
push edx
call esi
lea eax, [esp + 0x14]
push 2
push eax
push 0x1000cab0
lea ecx, [esp + 0x1c]
call fcn.10001c20
test eax, eax
jne 0x10006678
lea ecx, [esp + 0x834]
push 0x100090d8
push ecx
call esi
lea edx, [esp + 0x834]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.100013f0
add esp, 8
test eax, eax
je 0x10006678
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str._ftlive.dll__update_res.dll_success__n
call fcn.10001880
add esp, 4
push 0
push 0
push 0
push str.SurfCtlPlugin
push str.SoftwareFeiteng5Plugin
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10006838
mov dx, word [0x1000b448]
mov ecx, 0x82
lea edi, [esp + 0x21c]
mov word [esp + 0x1054], dx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x424]
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [esp + 0x1056]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1054]
push 0x1000b774
push eax
call ebx
lea ecx, [esp + 0x1054]
push str.DTconfig.ini
push ecx
call esi
lea edx, [esp + 0x62c]
lea eax, [esp + 0x21c]
push edx
push 0x104
push eax
push 0x1000b448
push str.DTUpdate
push 0x1000b320
call ebp
lea ecx, [esp + 0x1054]
lea edx, [esp + 0x424]
push ecx
push 0x104
push edx
push 0x1000b448
push 0x1000aab8
push str.main
call ebp
lea eax, [esp + 0x21c]
lea ecx, [esp + 0x424]
push eax
push ecx
push str._ftlive.dll__compare_DTversion_._cur_s_new_s_n
call fcn.10001880
add esp, 0xc
lea edx, [esp + 0x21c]
lea eax, [esp + 0x424]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jge 0x10006838
push str._ftlive.dll__download_DT_cab_._n
call fcn.10001880
add esp, 4
lea ecx, [esp + 0xa3c]
push 2
push ecx
push 0x1000cb30
lea ecx, [esp + 0x1c]
call fcn.10001c20
test eax, eax
jne 0x10006838
mov dx, word [0x1000b448]
mov ecx, 0x81
lea edi, [esp + 0x16]
mov word [esp + 0x14], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push 0x1000b774
push eax
call ebx
lea ecx, [esp + 0x14]
push 0x1000b16c
push ecx
call esi
lea edx, [esp + 0x1054]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100067f8
lea eax, [esp + 0x14]
push eax
call fcn.100030e0
add esp, 4
lea ecx, [esp + 0x14]
push 0x100090d8
push ecx
call esi
lea edx, [esp + 0x14]
lea eax, [esp + 0xa3c]
push edx
push eax
call fcn.100013f0
add esp, 8
test eax, eax
je 0x10006838
lea ecx, [esp + 0xa3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str._ftlive.dll__update_DT_cab_success__n
call fcn.10001880
add esp, 4
mov ecx, dword [esp + 0x166c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1668
ret