Function at 0x10008a50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d7d72
mov eax, dword fs:[0]
push eax
sub esp, 0x140
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 edi, dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
push 0xffffffffffffffff
mov esi, ecx
push 0x1024d710
lea ecx, [ebp - 0x9c]
call edi
push 0xffffffffffffffff
push 0x1024d710
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call edi
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov byte [ebp - 4], 1
call fcn.10013f00
add esp, 8
test eax, eax
jne 0x10008c9a
lea edx, [ebp - 0x9c]
push edx
lea ecx, [esi + 0x634]
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_class_TCommon::TString_const__]
mov ebx, dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
lea edi, [esi + 0x588]
mov ecx, edi
call ebx
push eax
call dword [sym.imp.szutils.dll_int___cdecl_TCommon::TDeleteFile_wchar_t_const__]
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esi + 0x4fc]
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::GetData_void_const]
push eax
push str._s_d.jpg
push edi
call dword [sym.imp.szutils.dll_public:_int___cdecl_TCommon::TString::Format_wchar_t_const__]
add esp, 0x10
lea ecx, [ebp - 0x14c]
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TBuffer::constructor_void_]
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 2
call ebx
push eax
lea ecx, [ebp - 0x14c]
call dword [sym.imp.szutils.dll_public:_int___thiscall_TCommon::TBuffer::Base64Decode_wchar_t_const__]
test byte [0x10268774], 1
jne 0x10008b72
or dword [0x10268774], 1
mov ecx, 0x102686e8
mov byte [ebp - 4], 3
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_void_]
push 0x101d8bb0
call fcn.101cebcb
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14c]
call dword [sym.imp.szutils.dll_public:_unsigned_long_int___thiscall_TCommon::TBuffer::GetLength_void_const]
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x138], eax
call dword [sym.imp.szutils.dll_public:_unsigned_char____thiscall_TCommon::TBuffer::GetData_void_const]
mov ecx, edi
mov dword [ebp - 0x134], eax
call ebx
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x12c], eax
cmp eax, 0xffffffff
je 0x10008bf3
mov edx, dword [ebp - 0x138]
push 0
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x134]
push edx
push ecx
push eax
mov dword [ebp - 0x130], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x624]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push 1
call edx
mov ecx, dword [esi + 0x628]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push 0
call edx
mov ecx, dword [esi + 0x62c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe4]
push 0
call edx
mov ecx, edi
call ebx
mov ecx, dword [esi + 0x620]
push eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CControlUI::SetBkImage_wchar_t_const__]
mov ecx, dword [esi + 0x618]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0x1024da18
call edx
mov ecx, dword [esi + 0x618]
push 0xb888
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CLabelUI::SetTextColor_unsigned_long_int_]
mov ecx, dword [esi + 0x61c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push 0x1024da24
call edx
push 0
push 0x1f4
push 0x2001
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TBuffer::destructor_void_]
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0x128]
call esi
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call esi
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