Function at 0x401000
Capabilities:
Check mutex on windows
Get common file path
Move file
Query or enumerate registry value

Disassembly:
sub esp, 0x534
mov eax, dword [0x42e17c]
xor eax, esp
mov dword [esp + 0x530], eax
push ebp
xor ebp, ebp
push 0x104
lea eax, [esp + 0x330]
push ebp
push eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 0x1e
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call fcn.00410eb0
push 0x104
lea ecx, [esp + 0x238]
push ebp
push ecx
call fcn.00410eb0
push 0x104
lea edx, [esp + 0x44c]
push ebp
push edx
call fcn.00410eb0
push 0x104
lea eax, [esp + 0x14c]
push ebp
push eax
call fcn.00410eb0
push 0x104
lea ecx, [esp + 0x54]
push ebp
push ecx
call fcn.00410eb0
add esp, 0x3c
lea edx, [esp + 0x32c]
push edx
push ebp
push ebp
push 0x23
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x4013f6
lea eax, [esp + 0x32c]
push eax
lea ecx, [esp + 0x22c]
push str._sAStarSoftLinkLogPcaCopyFile
push ecx
call fcn.0040e4ec
add esp, 0xc
lea edx, [esp + 0x228]
push edx
mov ecx, 0x4301f8
call fcn.00405200
lea eax, [esp + 4]
push eax
push 0x20019
push ebp
push str.SOFTWAREAStarSoftlinkASFontClient
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401114
push str.SOFTWAREAStarSoftlinkASFontClient
push str.Missing_registry__s
push ebp
push 0x4301f8
call fcn.004068b0
add esp, 0x10
jmp 0x4013f6
mov eax, dword [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0
push str.LogVerbosity
push eax
mov dword [esp + 0x24], 4
call esi
test eax, eax
jne 0x401150
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, 0x4301f8
call fcn.00404ff0
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0
push str.LogExpireSpan
push ecx
mov dword [esp + 0x24], 4
call esi
test eax, eax
jne 0x401185
mov edx, dword [esp + 0x14]
push edx
mov ecx, 0x4301f8
call fcn.004070a0
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push str.wWinMain
mov dword [esp + 0xc], ebp
call esi
push eax
push str.__d__s_:_Initialized
push 2
push 0x4301f8
call fcn.004068b0
push 0x1f0001
xor eax, eax
lea ecx, [esp + 0x30]
push 0x1f0001
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call fcn.00401430
add esp, 0x20
push str.GlobalASEUDC_PCACopyFile
push 1
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esp + 0x1c]
mov dword [0x4301f4], eax
test ecx, ecx
je 0x40120c
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [0x4301f4]
test eax, eax
jne 0x401236
push str.GlobalASEUDC_PCACopyFile
push str.wWinMain
call esi
push eax
push str.__d__s_:_CreateMutex__s_failed
push 0
push 0x4301f8
call fcn.004068b0
add esp, 0x18
jmp 0x4013f5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x104
lea eax, [esp + 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x434]
push ecx
lea edx, [esp + 0x230]
push str._sFonts
push edx
call fcn.0040e4ec
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x34]
push str._sEUDC.TTE.BAK
push ecx
call fcn.0040e4ec
lea edx, [esp + 0x3c]
push edx
call fcn.004020c0
add esp, 0x1c
test al, al
je 0x4012d1
push 0xa
lea eax, [esp + 0x28]
push 0x4301f8
push eax
call fcn.0040a0b0
add esp, 0xc
test al, al
je 0x4013f5
lea ecx, [esp + 0x24]
push ecx
push str.wWinMain
call esi
push eax
push str.__d__s_:_DeleteFile__s__succeed.
push 2
push 0x4301f8
call fcn.004068b0
add esp, 0x18
lea edx, [esp + 0x22c]
push edx
lea eax, [esp + 0x12c]
push str._sEUDC.TTE
push eax
call fcn.0040e4ec
lea ecx, [esp + 0x134]
push ecx
call fcn.004020c0
add esp, 0x10
test al, al
je 0x401374
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x40134b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x130]
push edx
push str.wWinMain
call esi
push eax
push str.__d__s_:_MoveFile__s___s__failed__last_error_d
push 0
push 0x4301f8
call fcn.004068b0
add esp, 0x20
jmp 0x4013f5
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x12c]
push ecx
push str.wWinMain
call esi
push eax
push str.__d__s_:_MoveFile__s___s__succeed.
push 2
push 0x4301f8
call fcn.004068b0
add esp, 0x1c
lea edx, [esp + 0x330]
push edx
lea eax, [esp + 0x12c]
push str._sEUDC.TTE
push eax
call fcn.0040e4ec
lea ecx, [esp + 0x238]
push ecx
lea edx, [esp + 0x34]
push str._sEUDC.TTE
push edx
call fcn.0040e4ec
push 0xa
push 0x4301f8
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x150]
push ecx
call fcn.00409f90
add esp, 0x2c
test al, al
je 0x4013f5
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x12c]
push eax
push str.wWinMain
call esi
push eax
push str.__d__s_:_CopyFile__s___s__succeed.
push 2
push 0x4301f8
call fcn.004068b0
add esp, 0x1c
mov ebp, 1
pop esi
mov eax, dword [0x4301f4]
test eax, eax
je 0x401413
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [0x4301f4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x534]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0040e39f
add esp, 0x534
ret 0x10