Function at 0x40dd10
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x426c79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
mov ebx, dword [esp + 0x26c]
push ebp
push esi
push edi
mov ecx, ebx
call sub.MFC42u.DLL_CString::Empty
mov ebp, dword [esp + 0x27c]
mov ecx, ebp
call sub.MFC42u.DLL_CString::Empty
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_1
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x56]
mov word [esp + 0x54], si
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x54]
push eax
push ecx
push edx
push str.DefaultSkin
push str.Software360Safe
push 0x80000001
mov dword [esp + 0x27c], esi
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x38], 1
call dword [0x4285d4]
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42u.DLL_CString::operator
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], esi
jne 0x40ddd7
lea ecx, [esp + 0x14]
mov dword [esp + 0x264], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x40e101
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0040d900
add esp, 8
mov esi, dword [esp + 0x274]
push eax
mov ecx, esi
mov byte [esp + 0x268], 1
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 0
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40de35
lea ecx, [esp + 0x14]
mov dword [esp + 0x264], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x40e101
mov edi, dword [esp + 0x26c]
mov edx, dword [esi]
push edx
mov eax, dword [edi]
push eax
push str._s_s
push ebp
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [ebp]
add esp, 0x10
push str.miniui.xml
push ecx
push str._s_s
push ebx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::CString_1
mov edx, dword [esi]
mov ecx, dword [edi]
push 0x42e54c
mov eax, edx
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str._s_s_s_s
push edx
mov byte [esp + 0x27c], 2
call sub.MFC42u.DLL_CString::Format
mov eax, dword [esp + 0x3c]
mov ebp, dword [0x4285d0]
add esp, 0x18
push eax
call ebp
test eax, eax
jne 0x40deb0
xor esi, esi
jmp 0x40e0da
lea ecx, [esp + 0x1c]
call sub.MFC42u.DLL_CString::CString_1
mov ecx, dword [esi]
mov edx, dword [edi]
push str.miniui.xml
push ecx
push edx
lea eax, [esp + 0x28]
push str._s_s_s
push eax
mov byte [esp + 0x278], 3
call sub.MFC42u.DLL_CString::Format
mov ecx, dword [esp + 0x30]
add esp, 0x14
push ecx
call ebp
test eax, eax
jne 0x40df01
lea ecx, [esp + 0x1c]
mov byte [esp + 0x264], 2
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40e0da
mov edi, dword [esp + 0x270]
mov edx, dword [edi]
mov eax, dword [edx - 8]
test eax, eax
je 0x40e0c4
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov bl, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x264], bl
call sub.MFC42u.DLL_CString::Empty
push str.version1.0_encodingutf_16
lea ecx, [esp + 0x2c]
call fcn.00401020
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
mov byte [esp + 0x268], 5
call fcn.00401020
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push 0
push edx
push 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x274], 6
call fcn.0040d1d0
lea ecx, [esp + 0x2c]
call fcn.00401660
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 8
call fcn.00401660
push 0
lea ecx, [esp + 0x48]
call fcn.00405f90
test al, al
jne 0x40e005
push str.MiniUI.Config_VERSION
lea ecx, [esp + 0x24]
call fcn.00401020
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x26c], 0xa
call fcn.0040c560
lea ecx, [esp + 0x20]
mov byte [esp + 0x264], 0xc
call fcn.00401660
push 0
lea ecx, [esp + 0x3c]
call fcn.00405f90
test al, al
jne 0x40dff4
push 0
lea ecx, [esp + 0x38]
call fcn.00405f90
test al, al
je 0x40e017
lea ecx, [esp + 0x30]
mov byte [esp + 0x264], 8
call fcn.00401360
lea ecx, [esp + 0x40]
mov byte [esp + 0x264], bl
call fcn.00401790
jmp 0x40e080
push str.Version
lea ecx, [esp + 0x1c]
call fcn.00401020
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x270], 0xd
call fcn.00403170
lea ecx, [esp + 0x18]
call fcn.00401660
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov byte [esp + 0x264], 8
mov esi, dword [edx - 8]
test esi, esi
setne cl
mov esi, ecx
lea ecx, [esp + 0x30]
call fcn.00401360
lea ecx, [esp + 0x40]
mov byte [esp + 0x264], bl
call fcn.00401790
test esi, esi
jne 0x40e095
lea ecx, [esp + 0x10]
mov byte [esp + 0x264], 3
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40e0c9
mov eax, dword [edi]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
mov byte [esp + 0x264], 3
test eax, eax
lea ecx, [esp + 0x10]
jge 0x40e0bf
call sub.MFC42u.DLL_CString::CString
xor esi, esi
jmp 0x40e0c9
call sub.MFC42u.DLL_CString::CString
mov esi, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x264], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x264], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x264], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x258
ret