Function at 0x10013b90
Capabilities:
Check for time delay via gettickcount
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002146d
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push esi
push edi
mov eax, dword [0x1002e018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10156b98]
cmp eax, 0x927c0
jb 0x10013bd7
call esi
mov dword [0x10156b98], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
mov esi, 1
push ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], ebx
push 8
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCR100D.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
cmp eax, ebx
je 0x10013db5
mov dword [ebp - 0x20], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x20]
mov dword [eax], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0x14
mov ecx, edx
push ecx
mov dword [ebp - 4], esi
call fcn.10012c20
test al, al
jne 0x10013c4a
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x18]
jne 0x10013d40
lea eax, [ebp - 0x20]
push eax
call fcn.10013e60
cmp dword [0x10156af8], ebx
je 0x10013d40
push 0x32
lea ecx, [ebp - 0x20]
push ecx
call fcn.10012c20
lea edx, [ebp - 0x100]
push edx
call fcn.10014010
lea esi, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.10015110
push ebx
test eax, eax
jne 0x10013ca4
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
push 2
lea ecx, [ebp + ecx - 0x100]
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x10013cbb
mov ecx, dword [ebp - 0x100]
mov ecx, dword [ecx + 4]
push ebx
lea ecx, [ebp + ecx - 0x100]
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push ebx
push eax
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.10013310
push eax
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP100D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea edx, [ebp - 0x100]
push edx
call fcn.100140d0
push 2
push str.image.jpeg
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.100040a0
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x48], eax
mov dword [ebp + edx - method.std::basic_fstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 3
call fcn.10014140
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP100D.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP100D.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov dword [ebp - 4], 4
mov esi, dword [sym.imp.MSVCR100D.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x1c], ebx
je 0x10013d6e
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Container_base12::_Orphan_all_void_]
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 5
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Container_base12::_Orphan_all_void_]
mov edx, dword [ebp - 0x20]
push edx
call esi
add esp, 4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.MSVCP100D.dll_public:_void___thiscall_std::_Container_base12::_Orphan_all_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], ebx
call dword [sym.imp.MSVCR100D.dll_public:_void___thiscall_std::exception::constructor_char_const__const_const__]
push 0x10029968
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], vtable.std::bad_alloc.0
call sub.MSVCR100D.dll__CxxThrowException
int3