Function at 0x407f20
Capabilities:
Create shortcut via ishelllink
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c5b1
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x4d0018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi]
mov ebx, dword [esi - 0xc]
test ebx, ebx
je 0x40830f
push 0x208
lea eax, [ebp - 0x258]
push 0
push eax
call fcn.00481670
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x407f83
push ebx
mov ecx, edi
call fcn.00407090
mov esi, dword [edi]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x258]
push eax
call esi
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.00481670
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x460]
push eax
call esi
push str._tools.ini
lea eax, [ebp - 0x460]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x870]
push 0
push eax
call fcn.00481670
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x460]
add esp, 0xc
push eax
push 0x104
lea eax, [ebp - 0x870]
push eax
push 0
push str.yxml
push str.UserInformation
call esi
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00481670
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0
push 0x4ac510
push str.UserInformation
call esi
lea eax, [ebp - 0x50]
push str.zh_cn
push eax
call fcn.00489fb2
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
test eax, eax
je 0x408069
lea eax, [ebp - 0x50]
push eax
call esi
test eax, eax
je 0x408069
xor bl, bl
jmp 0x40806b
mov bl, 1
lea eax, [ebp - 0x258]
push eax
call esi
test eax, eax
je 0x40830f
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x878]
mov dword [ebp - 0x878], 0
push eax
push 0x4a0700
push 1
push 0
push 0x4a0770
mov dword [ebp - 0x87c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4082e9
mov eax, dword [ebp - 0x878]
push dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
call fcn.00406aa0
mov ecx, eax
test ecx, ecx
je 0x40832d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x874], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x874]
call fcn.00408780
test al, al
jne 0x408132
lea ecx, [ebp - 0x258]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408110
sub ecx, edx
lea eax, [ebp - 0x258]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x874]
call fcn.00406e90
push str.xzm.ico
lea edx, [ebp - 0x874]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x880]
call fcn.00408530
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x878]
push 0
push dword [eax]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x44]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x880]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40818a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x874]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4081ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x878]
lea edx, [ebp - 0x258]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x878]
lea edx, [ebp - 0x87c]
push edx
push 0x4a0720
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x4082e9
push 0x208
lea eax, [ebp - 0x668]
push 0
push eax
call fcn.00481670
add esp, 0xc
lea eax, [ebp - 0x668]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00406aa0
mov ecx, eax
test ecx, ecx
je 0x408337
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x874], eax
mov ecx, str.XZZ.lnk
mov dword [ebp - 4], 3
test bl, bl
mov eax, 0x4ac6e0
cmove eax, ecx
push eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x874]
push str._s_s
push eax
call fcn.00408970
mov eax, dword [ebp - 0x87c]
add esp, 0x10
mov esi, dword [ebp - 0x874]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4082cd
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x258]
push eax
push str.yxml
push str.UserInformation
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x87c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x878]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4082c9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
jmp 0x408311
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x4082e9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x87c]
test ecx, ecx
je 0x4082f9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x878]
test ecx, ecx
je 0x408309
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047ecc2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406890
push 0x80004005
call fcn.00406890
int3