Function at 0x4135f0
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x472cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48dd78]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x24], edi
mov eax, dword [0x48d130]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
mov esi, eax
mov dword [esp + 0x20], esi
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
lea ecx, [ebp + 0x418]
push ecx
mov ecx, dword [edi]
mov bl, 2
mov byte [esp + 0x38], bl
call fcn.0040acf0
test al, al
jne 0x413667
lea edx, [esi - 0xc]
cmp edx, dword [0x48d12c]
jmp 0x41386b
lea eax, [esp + 0x14]
push eax
lea ecx, [ebp + 0x210]
push ecx
mov ecx, dword [edi]
call fcn.0040acf0
test al, al
je 0x413659
mov eax, dword [esp + 0x18]
push 0x5c
push eax
call fcn.00440255
add esp, 8
test eax, eax
jne 0x413696
or eax, 0xffffffff
jmp 0x41369c
sub eax, dword [esp + 0x18]
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
call fcn.00411630
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 3
call fcn.00404fd0
mov eax, dword [esp + 0x1c]
lea edx, [eax - 0xc]
mov byte [esp + 0x30], bl
cmp edx, dword [0x48d12c]
je 0x4136eb
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4136eb
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.0043f1b9
add esp, 4
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
test eax, eax
jne 0x413716
mov edx, dword [esp + 0x14]
push eax
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x44]
call fcn.00413080
lea ecx, [esp + 0x1c]
push ecx
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0x5c
call fcn.00408a40
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + 8]
test esi, esi
jne 0x41373f
xor eax, eax
jmp 0x413742
push esi
call edi
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00408a40
push 0x47618c
push 0x47618c
call edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00408a40
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea edx, [esp + 0x38]
push edx
push 0x478698
push 1
push 0
push 0x47a7c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, dword [esp + 0x20]
test eax, eax
jl 0x413862
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
cmp word [ebp + 0x620], 0
lea eax, [ebp + 0x620]
je 0x4137cb
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x479878
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x413856
mov edi, dword [esp + 0x24]
mov ecx, dword [edi]
call fcn.004075e0
fstp dword [esp + 0x24]
mov ecx, dword [ebp + 4]
fld dword [ebp]
push ecx
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0040e560
add esp, 0xc
test al, al
je 0x41384a
mov edx, dword [esp + 0x14]
push edx
call ebx
test eax, eax
je 0x41382a
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x44]
call fcn.00413080
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esi - 0xc]
cmp eax, dword [0x48d12c]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x413886
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x413886
push esi
call fcn.0043f1b9
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48d12c]
je 0x4138af
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4138af
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0043f1b9
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48d12c]
je 0x4138d8
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4138d8
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0043f1b9
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4