Function at 0x401f20
Capabilities:
Copy file
Create directory
Delete file
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
cmp word [ebx], 0
jne 0x401f4f
push str.Stardock_Start8_Theme_Extractor___no_file_to_extract_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4021bd
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.00403530
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.Stardock
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.00402b60
lea eax, [ebp - 0x61c]
push eax
call fcn.00403377
push str.Start10
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.00402b60
lea eax, [ebp - 0x61c]
push eax
call fcn.00403377
add esp, 0x20
cmp word [ebx], 0x22
jne 0x401fd2
add ebx, 2
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401fd7
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jl 0x4021bd
cmp word [ebx + ecx*2 - 2], 0x22
jne 0x401ffe
xor eax, eax
mov word [ebx + ecx*2 - 2], ax
push 0x5c
push ebx
call fcn.0040318c
mov esi, eax
add esp, 8
test esi, esi
je 0x4021bd
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00402d0f
push esi
lea eax, [ebp - 0x61c]
push 0x208
push eax
call fcn.00402b60
lea eax, [ebp - 0x61c]
push 0x2e
push eax
call fcn.0040318c
add esp, 0x20
test eax, eax
je 0x402054
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x61c]
push eax
call fcn.00403377
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00403530
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x824]
push 0x2e
push eax
call fcn.0040318c
add esp, 8
test eax, eax
je 0x4020aa
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x824]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4020b2
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
jmp 0x4020d0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4020d0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x20c]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x4020f3
mov eax, dword [str..zip]
mov dword [ecx], eax
mov eax, dword [0x4136e8]
mov dword [ecx + 4], eax
mov ax, word [0x4136ec]
mov word [ecx + 8], ax
lea eax, [ebp - 0x20c]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [ebp - 0x61c]
lea ecx, [ebp - 0x20c]
call fcn.00401230
push ecx
mov ecx, esp
push str.Stardock_Start10_Configuration
call fcn.004021e0
lea ecx, [ebp - 0x828]
call fcn.00401a50
add esp, 4
push dword [eax]
push str.32770
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [ebp - 0x828]
mov esi, eax
add edi, 0xfffffff0
or edx, 0xffffffff
lea ecx, [edi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402183
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4021a5
push 0
push 0
push str.S8_RELOADTHEMES
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push eax
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004029c5
mov esp, ebp
pop ebp
ret 0x10