Function at 0x10086af0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024a9c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0xc]
lea eax, [esi + 0x24]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFileName::IsCompletedPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
jne 0x10086b83
lea eax, [esi + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_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__
mov esi, eax
add esp, 0xc
mov eax, dword [ebp + 0xc]
add eax, 0x24
mov dword [ebp + 8], eax
cmp eax, esi
je 0x10086b78
mov ecx, eax
call fcn.1001a5a0
movups xmm0, xmmword [esi]
mov eax, dword [ebp + 8]
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x38]
call fcn.1001a5a0
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x88], 0
je 0x10086bd3
cmp dword [esi + 0x60], 3
jne 0x10086dfa
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
cmp dword [edx + 8], eax
je 0x10086bc2
mov dword [eax], esi
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x10086bb9
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
add dword [edx + 4], 8
jmp 0x10086dfa
lea ecx, [ebp + 0xc]
push ecx
push eax
mov ecx, edx
call fcn.10021400
jmp 0x10086dfa
lea eax, [esi + 0x24]
push eax
call sym.WMCommon.dll_public:_static_bool___cdecl_WM::GMFilePathUtils::IsExistsFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 4
test al, al
jne 0x10086c0a
mov eax, dword [ebp + 0xc]
add eax, 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
jne 0x10086c46
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp + 0xc]
add eax, 0x24
push eax
call edx
test al, al
jne 0x10086c46
mov eax, dword [edi]
mov ecx, edi
mov edx, dword [eax + 0x30]
mov eax, dword [ebp + 0xc]
add eax, 0x24
push eax
push 0xb7
call edx
test al, al
jne 0x10086dfa
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov edx, dword [edi]
add eax, 0x24
push 0xb7
push eax
push 0x10000001
call dword [edx + 0x34]
xor dl, dl
jmp 0x10086dfc
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp + 8], ecx
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
test eax, eax
je 0x10086d22
cmp byte [edi + 0xf4], 0
jne 0x10086d2b
mov eax, dword [edx]
mov esi, dword [eax + ecx*8 + 4]
mov edx, dword [eax + ecx*8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x10086c8d
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
push dword [ebp + 0x14]
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
sub esp, 8
add eax, 0x24
mov dword [ebp - 0x10], eax
mov eax, esp
mov dword [eax], edx
mov dword [eax + 4], esi
test esi, esi
je 0x10086cb7
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
push dword [ebp - 0x10]
mov ecx, edi
call sym.WMCommon.dll_protected:_bool___thiscall_WM::GMUnpacker::GetSolidNodeInfo_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____class_boost::shared_ptr_class_WM::GMTocNode___class_std::vector_class_boost::shared_ptr_class_WM::GMTocNode___class_std::allocator_class_boost::shared_ptr_class_WM::GMTocNode_____
test al, al
je 0x10086d32
mov byte [ebp - 4], 0
test esi, esi
je 0x10086d08
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x10086d08
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x10086d08
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x10086e64
push 1
call dword [edx]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp + 8], ecx
mov eax, dword [edx + 4]
sub eax, dword [edx]
sar eax, 3
cmp ecx, eax
jb 0x10086c61
cmp byte [edi + 0xf4], 0
je 0x10086d79
xor dl, dl
jmp 0x10086dfc
test esi, esi
je 0x10086d2b
or edi, 0xffffffff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x10086d2b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x10086d2b
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x10086e6b
push 1
call dword [edx]
xor dl, dl
jmp 0x10086dfc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x54]
add eax, 0x24
cmp dword [eax + 0x14], 8
jb 0x10086d8a
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x10086d9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x44]
mov dword [ebp + 0x14], ecx
lea esi, [eax + 0x4c]
lea ecx, [eax + 0x3c]
add eax, 0x24
mov dword [ebp + 8], ecx
cmp dword [eax + 0x14], 8
jb 0x10086db9
mov eax, dword [eax]
push 0
push 0x2000000
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10086df4
push esi
push dword [ebp + 0x14]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x10086dfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dl, 1
mov esi, dword [ebp + 0x10]
mov byte [ebp + 0x17], dl
test esi, esi
je 0x10086e50
or edi, 0xffffffff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x10086e50
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x10086e3b
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x10086e71
push edi
call dword [edx]
mov al, byte [ebp + 0x17]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov al, dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
call eax
jmp 0x10086d08
call eax
xor dl, dl
jmp 0x10086dfc
call eax
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0x17]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10