Function at 0x41e7c0
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x7d0d52
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x89b044]
xor eax, esp
mov dword [esp + 0x87c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0x894]
mov dword fs:[0], eax
push 0x208
xor ebx, ebx
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.007202b0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x6c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov word [esp + 0x50], ax
mov esi, 7
lea eax, [esp + 0x68]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e847
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x54]
call fcn.00404850
mov dword [esp + 0x89c], ebx
push 0x12
push 0x82fddc
lea ecx, [esp + 0x54]
call fcn.0041f460
xor edx, edx
lea eax, [esp + 0x68]
mov word [esp + 0x34], dx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e892
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x38]
call fcn.00404850
mov byte [esp + 0x89c], 1
push 0x12
push str.LDSGameHelper.exe
lea ecx, [esp + 0x38]
call fcn.0041f460
push 0x206
lea edx, [esp + 0x68e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x694], cx
call fcn.007202b0
mov eax, dword [esp + 0x8b0]
add esp, 0xc
push ebx
push eax
lea ecx, [esp + 0x690]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x41e966
mov byte [esp + 0x89c], bl
mov edi, 8
cmp dword [esp + 0x48], edi
jb 0x41e923
mov edx, dword [esp + 0x34]
push edx
call fcn.00704960
add esp, 4
xor eax, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov dword [esp + 0x89c], 0xffffffff
cmp dword [esp + 0x64], edi
jb 0x41e950
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00704960
add esp, 4
xor edx, edx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
xor eax, eax
jmp 0x41ed8e
mov dword [esp + 0x18], ebx
mov byte [esp + 0x89c], 3
mov dword [esp + 0x14], ebx
mov byte [esp + 0x89c], 5
mov dword [esp + 0x20], ebx
mov byte [esp + 0x89c], 7
mov dword [esp + 0x24], ebx
mov byte [esp + 0x89c], 9
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
jge 0x41ea4f
mov byte [esp + 0x89c], 7
lea ecx, [esp + 0x24]
push ecx
call fcn.0041d590
mov byte [esp + 0x89c], 5
lea ecx, [esp + 0x20]
call fcn.0041ce30
mov byte [esp + 0x89c], 3
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov byte [esp + 0x89c], 1
lea edx, [esp + 0x18]
push edx
call fcn.0041d540
mov byte [esp + 0x89c], bl
mov edi, 8
cmp dword [esp + 0x48], edi
jb 0x41ea0e
mov eax, dword [esp + 0x34]
push eax
call fcn.00704960
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
mov dword [esp + 0x89c], 0xffffffff
cmp dword [esp + 0x64], edi
jb 0x41ea3b
mov edx, dword [esp + 0x50]
push edx
call fcn.00704960
add esp, 4
xor eax, eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], ax
jmp 0x41ed8e
lea ecx, [esp + 0x14]
push ecx
push 0x8108f0
push 1
push ebx
push 0x82ebac
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x41eb17
mov byte [esp + 0x89c], 7
lea edx, [esp + 0x24]
push edx
call fcn.0041d590
mov byte [esp + 0x89c], 5
lea ecx, [esp + 0x20]
call fcn.0041ce30
mov byte [esp + 0x89c], 3
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov byte [esp + 0x89c], 1
lea eax, [esp + 0x18]
push eax
call fcn.0041d540
mov byte [esp + 0x89c], bl
mov edi, 8
cmp dword [esp + 0x48], edi
jb 0x41ead4
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00704960
add esp, 4
xor edx, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], dx
mov dword [esp + 0x89c], 0xffffffff
cmp dword [esp + 0x64], edi
jb 0x41eb01
mov eax, dword [esp + 0x50]
push eax
call fcn.00704960
add esp, 4
xor ecx, ecx
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], cx
xor eax, eax
jmp 0x41ed8e
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x20]
push ecx
push 0x82bf4c
push eax
call edx
cmp eax, ebx
jge 0x41eba1
mov byte [esp + 0x89c], 7
lea eax, [esp + 0x24]
push eax
call fcn.0041d590
mov byte [esp + 0x89c], 5
lea ecx, [esp + 0x20]
call fcn.0041ce30
mov byte [esp + 0x89c], 3
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov byte [esp + 0x89c], 1
lea ecx, [esp + 0x18]
push ecx
call fcn.0041d540
mov byte [esp + 0x89c], bl
lea ecx, [esp + 0x30]
call fcn.00403c30
mov dword [esp + 0x89c], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.00403c30
xor eax, eax
jmp 0x41ed8e
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 0x40
push ebx
push eax
call edx
test eax, eax
jl 0x41eb30
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ebp, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
lea edi, [eax + 8]
jmp 0x41ebdc
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41ebe7
push eax
call esi
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 1
push eax
call edx
cmp eax, ebx
jne 0x41ed0f
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], 0x10000
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0x24]
call eax
test dword [esp + 0x28], 0x10000
je 0x41ebd8
push 0x208
lea edx, [esp + 0x482]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x488], cx
call fcn.007202b0
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x47c]
push eax
push ecx
call ebp
test eax, eax
je 0x41ebd8
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push 2
lea ecx, [esp + 0x480]
push ecx
push eax
call edx
cmp eax, ebx
jl 0x41ebd8
push 0x208
lea ecx, [esp + 0x276]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x27c], ax
call fcn.007202b0
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
add esp, 0xc
push 2
push ebx
push 0x104
lea ecx, [esp + 0x27c]
push ecx
push eax
call edx
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x64], edi
jae 0x41eccc
lea eax, [esp + 0x50]
lea ecx, [esp + 0x270]
push ecx
push eax
call fcn.00723690
add esp, 8
test eax, eax
je 0x41ed08
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jae 0x41ecef
lea eax, [esp + 0x34]
lea edx, [esp + 0x270]
push edx
push eax
call fcn.00723690
add esp, 8
test eax, eax
jne 0x41ebd8
mov edi, 1
jmp 0x41ed13
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41ed22
push eax
call esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x89c], 7
lea eax, [esp + 0x24]
push eax
call fcn.0041d590
mov byte [esp + 0x89c], 5
lea ecx, [esp + 0x20]
call fcn.0041ce30
mov byte [esp + 0x89c], 3
lea ecx, [esp + 0x14]
call fcn.0041cde0
mov byte [esp + 0x89c], 1
lea ecx, [esp + 0x18]
push ecx
call fcn.0041d540
mov byte [esp + 0x89c], bl
lea ecx, [esp + 0x30]
call fcn.00403c30
mov dword [esp + 0x89c], 0xffffffff
lea ecx, [esp + 0x4c]
call fcn.00403c30
mov eax, edi
mov ecx, dword [esp + 0x894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x87c]
xor ecx, esp
call fcn.0071fe0b
add esp, 0x88c
ret 4