Function at 0x100c63f0
Capabilities:
Create shortcut via ishelllink
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1024ea29
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x10], 0
je 0x100c686d
mov edi, dword [ebp + 0x14]
cmp dword [edi + 0x10], 0
je 0x100c686d
xor eax, eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x100c653e
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100c6455
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.1001a600
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
push edi
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFileSystemUtils::GetOnlyName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 8
test al, al
je 0x100c683b
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x100c683b
lea eax, [ebp - 0x3c]
push eax
push edi
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFileSystemUtils::GetOnlyDirPrefix_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 8
test al, al
je 0x100c683b
lea eax, [ebp - 0x3c]
push 0x20
push eax
call sym.WMCommon.dll_public:_static_void___cdecl_WM::GMFileName::NormalizePath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____unsigned_int_
lea eax, [ebp - 0x3c]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
test al, al
jne 0x100c64f3
lea eax, [ebp - 0x3c]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::CreateDirectories_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
je 0x100c683b
lea eax, [ebp - 0x3c]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
je 0x100c683b
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
cmp ecx, edx
jae 0x100c6578
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
mov dword [eax + ecx*2], 0x5c
jmp 0x100c658a
lea eax, [ebp - 0x84]
push eax
push esi
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFileSystemUtils::GetOnlyDirPrefix_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 8
test al, al
jne 0x100c6471
lea ecx, [ebp - 0x84]
xor bl, bl
call fcn.1001a5a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
push 0x5c
mov byte [ebp + 0x20], 0
push dword [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.1001d8e0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.1001a380
mov byte [ebp - 4], 3
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x24]
push ebx
cmovae eax, dword [ebp - 0x6c]
push eax
call fcn.1001a7c0
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp + 8]
push eax
push 0x10255dc0
push 1
push 0
push 0x10255df0
mov dword [ebp + 8], 0
mov dword [ebp + 0x14], 0
call edi
test eax, eax
js 0x100c65e2
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x100c661e
cmp eax, 0x800401f0
jne 0x100c682f
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp + 8]
push eax
push 0x10255dc0
push 1
push 0
push 0x10255df0
call edi
test eax, eax
js 0x100c682f
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100c682f
mov eax, dword [ecx]
lea edx, [ebp + 0x14]
push edx
push 0x10255e20
push ecx
call dword [eax]
test eax, eax
js 0x100c6826
cmp dword [ebp + 0x14], 0
je 0x100c6826
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
mov eax, esi
jb 0x100c6650
mov eax, dword [esi]
push eax
push ecx
call edx
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x70], 8
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0x84]
cmovae eax, dword [ebp - 0x84]
push eax
push edx
call ecx
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x10], 0
je 0x100c668c
cmp dword [ecx + 0x14], 8
mov edx, dword [ebp + 8]
mov eax, dword [edx]
jb 0x100c6687
mov ecx, dword [ecx]
push 0
push ecx
jmp 0x100c66a2
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
js 0x100c66a6
cmp dword [esi + 0x14], 8
mov edx, dword [ebp + 8]
mov eax, dword [edx]
jb 0x100c66a0
mov esi, dword [esi]
push ecx
push esi
push edx
call dword [eax + 0x44]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
jb 0x100c66b9
mov eax, dword [eax]
push eax
push ecx
call edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x100c66d0
mov eax, dword [eax]
push eax
push ecx
call edx
push str..lnk
lea ecx, [ebp - 0x54]
call fcn.1001a2f0
push 0xffffffffffffffff
push 0x2e
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.100201d0
lea ecx, [ebp - 0x24]
cmp eax, 0xffffffff
jne 0x100c670f
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x54]
push eax
call fcn.1001a7c0
jmp 0x100c675f
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.1001ce30
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xb4]
push eax
call sym.WMCommon.dll_public:_static_int___cdecl_WM::GMStringUtils::CompareNoCase_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
test eax, eax
je 0x100c6750
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
push dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x24]
push eax
call fcn.1001a7c0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
call fcn.1001a5a0
cmp byte [ebp + 0x24], 0
je 0x100c6787
lea eax, [ebp - 0x24]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExists_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
je 0x100c6787
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x24]
xor bl, bl
push eax
lea ecx, [ebp - 0x9c]
call fcn.1001a380
mov byte [ebp - 4], 6
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
cmovae eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x100c67c8
and eax, 0xfffffffe
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
push eax
cmovae ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp + 0x14]
cmp dword [ebp - 0x88], 8
push 1
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
lea eax, [ebp - 0x9c]
cmovae eax, dword [ebp - 0x9c]
push eax
push edx
call ecx
test eax, eax
movzx ebx, bl
mov eax, dword [ebp + 0x14]
mov ecx, 1
cmovns ebx, ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x9c]
call fcn.1001a5a0
lea ecx, [ebp - 0x54]
call fcn.1001a5a0
lea ecx, [ebp - 0x24]
call fcn.1001a5a0
jmp 0x100c683d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x24]
xor bl, bl
call fcn.1001a5a0
jmp 0x100c683d
xor bl, bl
lea ecx, [ebp - 0x6c]
call fcn.1001a5a0
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
lea ecx, [ebp - 0x84]
call fcn.1001a5a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20