Function at 0x47c820
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b83ef
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
je 0x47c8a9
cmp dword [esi + 0x14], 8
jb 0x47c890
mov eax, dword [esi]
jmp 0x47c892
mov eax, esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
cmp eax, 1
sete al
test al, al
jne 0x47ca4c
push 1
mov ebx, 2
push ebx
lea ecx, [esp + 0x3c]
call fcn.00413cc0
xor edi, edi
mov dword [esp + 0x168], edi
push esi
push ecx
lea ecx, [esp + 0x3c]
push str.path_not_exist
push ecx
call fcn.00416b90
add esp, 0xc
push eax
call fcn.00416df0
add esp, 8
push 0x1d
mov esi, 0xf
push str.CShellUtility::CreateShortcut
lea ecx, [esp + 0xf0]
mov dword [esp + 0x104], esi
mov dword [esp + 0x100], edi
mov byte [esp + 0xf0], 0
call fcn.0040ebe0
mov byte [esp + 0x168], 1
mov dword [esp + 0xdc], edi
mov edi, 0x10
push edi
push str.ShellUtility.cpp
lea ecx, [esp + 0xd4]
mov dword [esp + 0xe8], esi
mov byte [esp + 0xd4], 0
call fcn.0040ebe0
mov byte [esp + 0x168], bl
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x38]
call fcn.00413de0
mov byte [esp + 0x168], 3
push eax
lea eax, [esp + 0xec]
push eax
push 0xed
lea ecx, [esp + 0xd8]
push ecx
push 0
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x168], bl
cmp dword [esp + 0x118], 8
jb 0x47c9a8
mov edx, dword [esp + 0x104]
push edx
call fcn.00490458
add esp, 4
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x118], 7
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], ax
mov byte [esp + 0x168], 1
cmp dword [esp + 0xe0], edi
jb 0x47c9e7
mov ecx, dword [esp + 0xcc]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
mov byte [esp + 0x168], bl
cmp dword [esp + 0xfc], edi
jb 0x47ca1c
mov edx, dword [esp + 0xe8]
push edx
call fcn.00490458
add esp, 4
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov dword [esp + 0x168], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00412cc0
xor al, al
jmp 0x47cea6
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x10], 0
je 0x47ca6f
cmp dword [eax + 0x14], 8
jb 0x47ca5e
mov eax, dword [eax]
push eax
call ebx
cmp eax, 1
sete al
test al, al
jne 0x47ccec
mov ebx, 7
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], eax
mov word [esp + 0xcc], cx
mov dword [esp + 0x168], 4
xor edx, edx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], eax
mov word [esp + 0xe8], dx
mov byte [esp + 0x168], 5
lea eax, [esp + 0xe8]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xffffffffffffffff
push edx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], edx
push eax
lea edi, [esp + 0xf8]
mov word [ecx], dx
call fcn.0040f1f0
mov byte [esp + 0x188], 6
mov byte [esp + 0x188], 5
mov ecx, edi
call fcn.00423be0
xor edi, edi
add esp, 0x20
cmp dword [esp + 0xdc], edi
je 0x47cb39
cmp dword [esp + 0xe0], 8
mov eax, dword [esp + 0xcc]
jae 0x47cb24
lea eax, [esp + 0xcc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
jne 0x47cc71
lea ecx, [esp + 0xcc]
call fcn.00422880
test al, al
jne 0x47cc71
push 1
push 2
lea ecx, [esp + 0x3c]
call fcn.00413cc0
mov byte [esp + 0x168], bl
lea ecx, [esp + 0xcc]
push ecx
push ecx
lea edx, [esp + 0x3c]
push str.CreateDir_error
push edx
call fcn.00416b90
add esp, 0xc
push eax
call fcn.00416df0
add esp, 8
push str.CShellUtility::CreateShortcut
lea ecx, [esp + 0x124]
call fcn.0040ece0
mov byte [esp + 0x168], 8
push str.ShellUtility.cpp
lea ecx, [esp + 0x108]
call fcn.0040ece0
mov byte [esp + 0x168], 9
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x38]
call fcn.00413de0
mov byte [esp + 0x168], 0xa
push eax
lea ecx, [esp + 0x124]
push ecx
push 0xf9
lea edx, [esp + 0x110]
push edx
push edi
call fcn.004144e0
mov ecx, eax
call fcn.0042e360
mov byte [esp + 0x168], 9
lea ecx, [esp + 0x13c]
call fcn.0040f320
mov byte [esp + 0x168], 8
lea ecx, [esp + 0x104]
call fcn.0040f350
mov byte [esp + 0x168], bl
lea ecx, [esp + 0x120]
call fcn.0040f350
mov byte [esp + 0x168], 5
lea ecx, [esp + 0x34]
call fcn.00412cc0
mov byte [esp + 0x168], 4
lea ecx, [esp + 0xe8]
call fcn.0040f320
mov dword [esp + 0x168], 0xffffffff
lea ecx, [esp + 0xcc]
call fcn.0040f320
xor al, al
jmp 0x47cea6
mov byte [esp + 0x168], 4
cmp dword [esp + 0xfc], 8
jb 0x47cc93
mov eax, dword [esp + 0xe8]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], edi
mov word [esp + 0xe8], cx
mov dword [esp + 0x168], 0xffffffff
cmp dword [esp + 0xe0], 8
jb 0x47ccd0
mov edx, dword [esp + 0xcc]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0xe0], ebx
mov word [esp + 0xcc], ax
mov dword [esp + 0x14], 0
mov dword [esp + 0x168], 0xd
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x14]
push ecx
push 0x4c0a10
push 1
push 0
push 0x4c415c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x47cd4c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47cd45
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
jmp 0x47cea6
mov ebx, 8
cmp dword [esi + 0x14], ebx
jb 0x47cd58
mov esi, dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push esi
push eax
call edx
cmp dword [edi + 0x14], ebx
jb 0x47cd6e
mov ecx, dword [edi]
jmp 0x47cd70
mov ecx, edi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x14], ebx
jb 0x47cd88
mov ecx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 0x14], ebx
jb 0x47cda0
mov ecx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x14], ebx
jb 0x47cdb8
mov ecx, dword [ecx]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 0
push ecx
push eax
mov eax, dword [edx + 0x44]
call eax
mov dword [esp + 0x18], 0
mov byte [esp + 0x168], 0x12
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x4c416c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jns 0x47ce2d
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x168], 0xd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47ce0e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47ce29
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
jmp 0x47cea6
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x14], ebx
jb 0x47ce38
mov ecx, dword [ecx]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jns 0x47ce6b
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x168], 0xd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47ce69
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x47ce0e
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x168], 0xd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47ce89
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x168], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47cea4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret