Function at 0x4038a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x459282
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x85c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x54], ebp
xor ebx, ebx
mov dword [esp + 0x20], 0x460e94
mov dword [esp + 0x874], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x87c]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x878], 1
call fcn.004562c0
lea ecx, [esp + 0x87c]
mov byte [esp + 0x874], 2
push ecx
lea ecx, [esp + 0x20]
call fcn.004562c0
push 0xc
mov byte [esp + 0x878], 3
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x874], 4
je 0x403944
push str.version1.0_encodingutf_16
mov ecx, eax
call fcn.00405f80
jmp 0x403946
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x874], 3
mov dword [esp + 0x38], eax
jne 0x403960
push 0x8007000e
call fcn.004589a0
push 0xc
mov byte [esp + 0x878], 5
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x874], 6
je 0x403990
push str.configconfig.xml
mov ecx, eax
call fcn.00405f80
jmp 0x403992
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x874], 5
mov dword [esp + 0x18], eax
jne 0x4039ac
push 0x8007000e
call fcn.004589a0
mov byte [esp + 0x874], 7
call sub.MFC42u.DLL_AfxGetModuleState
mov esi, dword [eax + 8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x4c]
push edx
call fcn.00405e50
mov eax, dword [esp + 0x18]
mov edi, 0x460e90
cmp eax, ebx
mov byte [esp + 0x874], 0xa
mov dword [esp + 0x40], edi
je 0x403a9b
mov eax, dword [eax]
cmp eax, ebx
je 0x403a9b
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, ebx
jbe 0x403a9b
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403a14
mov eax, dword [eax]
jmp 0x403a16
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x403a32
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x48]
call fcn.004069f0
jmp 0x403a9b
lea ecx, [esp + 0x6c]
push 0x400
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403a5a
mov eax, dword [eax]
jmp 0x403a5c
xor eax, eax
push eax
lea eax, [esp + 0x70]
lea ecx, [esp + 0x70]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x14]
push edx
call fcn.00405e70
lea eax, [esp + 0x14]
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x87c], 0xb
call fcn.004069f0
lea ecx, [esp + 0x14]
call fcn.00405f30
lea ecx, [esp + 0x18]
call fcn.00405f30
lea ecx, [esp + 0x38]
mov byte [esp + 0x874], 0xd
call fcn.00405f30
push ecx
lea edx, [esp + 0x880]
mov ecx, esp
mov dword [esp + 0x14], esp
push str.miniui.xml
push edx
push ecx
call sub.MFC42u.DLL_operator
call fcn.00421e30
add esp, 4
cmp eax, ebx
jne 0x403b74
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], edi
call fcn.00405f30
lea ecx, [esp + 0x48]
call fcn.00405f30
lea ecx, [esp + 0x44]
call fcn.00405e10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x874], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x874], 1
call sub.MFC42u.DLL_CString::CString
mov dword [esp + 0x20], 0x460e94
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x878], 0x10
call fcn.00405e20
push ebx
lea ecx, [esp + 0x28]
call fcn.00405e20
lea ecx, [esp + 0x28]
call fcn.00405e10
lea ecx, [esp + 0x24]
call fcn.00405e10
lea ecx, [esp + 0x87c]
mov dword [esp + 0x874], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
jmp 0x403d74
lea edi, [ebp + 0x124]
lea eax, [esp + 0x87c]
push eax
mov ecx, edi
call sub.MFC42u.DLL_CString::operator
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x874], 0x11
je 0x403bb1
push 0x46d8e0
mov ecx, eax
call fcn.00405f80
jmp 0x403bb3
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x874], 0xd
mov dword [esp + 0x14], eax
jne 0x403bcd
push 0x8007000e
call fcn.004589a0
lea ecx, [esp + 0x14]
lea edx, [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x87c], 0x12
call fcn.004078b0
mov esi, eax
lea ecx, [esp + 0x24]
mov eax, dword [esi + 4]
push eax
call fcn.00419cb0
mov ecx, dword [esi + 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00419cb0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x58], 0x460e94
mov dword [esp + 0x2c], edx
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x878], 0x14
call fcn.00405e20
push ebx
lea ecx, [esp + 0x60]
call fcn.00405e20
lea ecx, [esp + 0x60]
call fcn.00405e10
lea ecx, [esp + 0x5c]
call fcn.00405e10
lea ecx, [esp + 0x14]
mov byte [esp + 0x874], 0xd
call fcn.00405f30
mov eax, dword [edi]
mov ecx, dword [eax - 8]
add ecx, ecx
push ecx
push eax
push 1
push str.DefaultSkin
push str.Software360Safe
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
call sub.MFC42u.DLL_AfxGetThread
cmp eax, ebx
je 0x403c88
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov dword [esp + 0x3c], eax
jmp 0x403c8c
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.00404740
push str.miniui.xml
lea ecx, [esp + 0x20]
mov byte [esp + 0x878], 0x15
call fcn.004562cc
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [esp + 0x1c]
mov esi, dword [eax + 8]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
call fcn.00406030
cmp eax, ebx
je 0x403cd8
mov ecx, dword [esp + 0x10]
mov edx, dword [eax]
push ebp
push ecx
push esi
push eax
call dword [edx + 0x5c]
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.004562c0
mov eax, dword [esp + 0x58]
lea ecx, [eax + 0xfc]
call fcn.00438840
mov eax, dword [edi]
mov ecx, dword [esp + 0x3c]
push eax
call fcn.00433810
lea ecx, [esp + 0x34]
mov byte [esp + 0x874], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x874], 3
call fcn.00406940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x874], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x874], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x874], bl
call fcn.00406200
lea ecx, [esp + 0x87c]
mov dword [esp + 0x874], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x86c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x868
ret 4