Function at 0x41586c
Capabilities:
Check if file exists
Copy file
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa40
push ebx
mov ebx, 0x445db4
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
push ebx
mov dword [ebp - 8], ecx
push 0x444224
call esi
pop ecx
test eax, eax
pop ecx
je 0x415b4a
push ebx
push 0x445bac
call esi
pop ecx
test eax, eax
pop ecx
jne 0x415b4a
and word [ebp - 0x220], ax
push edi
mov ecx, 0x81
lea edi, [ebp - 0x21e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push str.Software360360se3
push eax
mov dword [ebp - 4], 0x104
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov esi, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x220]
push 0x43bf8c
push eax
call esi
lea eax, [ebp - 0x220]
push ebx
push eax
call esi
and word [ebp - 0x838], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x836]
rep stosd dword es:[edi], eax
add esp, 0x18
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov esi, SysReAllocStringLen
push eax
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x220]
push str.ShowPage
push eax
push esi
call ebx
lea eax, [ebp - 0x838]
push eax
push 0x43b628
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
mov eax, dword [ebp - 8]
pop ecx
push dword [eax + 0x28]
jne 0x415968
push 0x444224
jmp 0x41596d
push str.4.1.6.6
push str.FileVersion
push str.Main
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
and word [ebp - 0x428], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x426]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x220]
push str.SkinName
push eax
push esi
call ebx
and word [ebp - 0x630], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x62e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x220]
push str.SkinPath
push eax
push esi
call ebx
lea eax, [ebp - 0x428]
push eax
push 0x444224
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x415a69
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415a69
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 8]
add eax, 0x38
push str.Skin_
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041a27c
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041a27c
push 0
push dword [eax]
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x18]
call fcn.00404c0d
lea ecx, [ebp - 0x14]
call fcn.00404c0d
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0xc]
push eax
call fcn.00404729
push 0
push str..zip
lea ecx, [ebp - 0xc]
call fcn.00404a64
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.004047da
push eax
lea ecx, [ebp - 0xc]
call fcn.0040478a
lea ecx, [ebp - 0x14]
call fcn.00404c0d
mov eax, dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push dword [eax + 0x28]
push 0x43b628
push str.UseSkin
push str.Main
call edi
mov eax, dword [ebp - 8]
push dword [eax + 0x28]
push dword [ebp - 0xc]
push 0x43ff38
push str.Path
call edi
and word [ebp - 0xa40], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa3e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0xa40]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x220]
push str.strRun
push eax
push esi
call ebx
lea eax, [ebp - 0xa40]
push eax
push 0x43b628
call dword [sym.imp.MSVCRT.dll_wcscmp]
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [0x4463d0], eax
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [ebp - 0xc]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret