Function at 0x10009bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d6c26
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
mov edi, ecx
push str.thumbnailItem.xml
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x124], eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
lea ecx, [edi + 0x4fc]
mov dword [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CMarkup____thiscall_DuiLib::CDialogBuilder::GetMarkup_void_]
mov ecx, eax
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CMarkup::IsValid_void_const]
push 0
test al, al
lea eax, [edi + 0x2c]
push eax
push 0
jne 0x10009c5f
push 0
lea ecx, [ebp - 0x120]
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
push eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::STRINGorID::constructor_wchar_t_const__]
lea ecx, [edi + 0x4fc]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::STRINGorID__wchar_t_const___class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
jmp 0x10009c6b
lea ecx, [edi + 0x4fc]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CDialogBuilder::Create_class_DuiLib::IDialogBuilderCallback___class_DuiLib::CPaintManagerUI___class_DuiLib::CControlUI__]
mov esi, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
lea ecx, [ebp - 0x9c]
mov ebx, eax
call esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x124]
push eax
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::GetUnicode_void_]
push eax
lea ecx, [edi + 0x648]
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::GetData_void_const]
push eax
lea ecx, [ebp - 0x9c]
push str._s_s__d.png
push ecx
call dword [sym.imp.szutils.dll_public:_int___cdecl_TCommon::TString::Format_wchar_t_const__]
add esp, 0x14
test byte [0x10268774], 1
jne 0x10009ce1
or dword [0x10268774], 1
mov ecx, 0x102686e8
mov byte [ebp - 4], 2
call esi
push 0x101d8bb0
call fcn.101cebcb
add esp, 4
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x124]
lea ecx, [esi + 0x120]
call dword [sym.imp.szutils.dll_public:_unsigned_long_int___thiscall_TCommon::TBuffer::GetLength_void_const]
lea ecx, [esi + 0x120]
mov dword [ebp - 0x124], eax
call dword [sym.imp.szutils.dll_public:_unsigned_char____thiscall_TCommon::TBuffer::GetData_void_const]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x128], eax
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10009d66
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x128]
push 0
lea edx, [ebp - 0x12c]
push edx
push eax
push ecx
push esi
mov dword [ebp - 0x12c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
mov ecx, ebx
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CThumbnailItemUI::SetImagePath_wchar_t_const__]
push str.itemText
push ebx
lea ecx, [edi + 0x2c]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindSubControlByName_class_DuiLib::CControlUI___wchar_t_const__const]
mov ecx, dword [edi + 0x644]
mov edx, dword [ecx + 0x658]
mov eax, dword [edx + 0x14]
add ecx, 0x658
push ebx
call eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 4