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

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x20
mov eax, 0x533185
call fcn.00507811
mov dword [ebp - 4], 1
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call fcn.00450709
push eax
lea ecx, [ebp - 0x10]
call fcn.00450537
xor eax, eax
mov byte [ebp - 4], 2
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
call fcn.005071d0
add esp, 0xc
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x482e1c
mov esi, dword [ebp - 0x10]
jmp 0x483001
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x482ff6
cmp dword [ebp - 0x1c], 0
je 0x482ff6
lea eax, [ebp - 0x18]
push eax
push 0x10
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x482ff6
cmp dword [ebp - 0x18], 0
je 0x482ff6
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x482e74
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push 0x56bde4
push eax
call fcn.0047c51f
add esp, 0xc
mov esi, 0x56bdf8
mov ecx, esi
call fcn.00450b88
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00471e21
mov eax, dword [ebp + 0x420]
lea ecx, [ebp - 0x10]
push dword [eax - 0xc]
push eax
call fcn.00471e21
mov esi, 0x56bdec
mov ecx, esi
call fcn.00450b88
push eax
push esi
lea ecx, [ebp - 0x10]
call fcn.00471e21
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0x555a68
push 1
push ebx
push 0x555a98
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x482ff6
cmp dword [ebp - 0x14], 0
je 0x482ff6
push 0x56be00
lea ecx, [ebp - 0x28]
call fcn.00450bc2
push 0x56bdfc
lea edx, [ebp + 0x424]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004607e6
lea ecx, [ebp + 0x420]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.00471962
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
push dword [eax]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00450c89
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00450c89
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x424]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], ebx
push 0x555d18
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, dword [ebp - 0x10]
test eax, eax
js 0x482fe0
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x482fe0
xor eax, eax
push 0x206
mov word [ebp + 0x20c], ax
lea eax, [ebp + 0x20e]
push ebx
push eax
call fcn.005071d0
lea edx, [ebp + 0x20c]
add esp, 0xc
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x482fb9
mov eax, dword [edi]
lea ecx, [ebp + 0x20c]
push 1
push ecx
push edi
call dword [eax + 0x18]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00450c89
jmp 0x482ff9
mov esi, dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.00450c89
mov ecx, dword [ebp + 0x420]
add ecx, 0xfffffff0
call fcn.00450c89
mov ecx, dword [ebp + 0x424]
add ecx, 0xfffffff0
call fcn.00450c89
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.00502653
lea esp, [ebp + 0x418]
pop ebp
ret