Function at 0x1000b31c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e874
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push edi
mov word [ebp - 0x1dc], 0
xor eax, eax
mov dword [ebp - 0x1da], eax
mov dword [ebp - 0x1d6], eax
mov dword [ebp - 0x1d2], eax
mov word [ebp - 0x1ce], ax
mov byte [ebp - 0x180], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x17f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x1dc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp - 0x1d0]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x1d2]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x1d4]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x1d6]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x1da]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x1dc]
and ecx, 0xffff
push ecx
push str._04d__02d__02d__02d__02d__02d
lea edx, [ebp - 0x180]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._s_s.bmp
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [0x100951a8]
push eax
mov ecx, dword [0x100951ac]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
mov edx, dword [0x100951a4]
push edx
mov eax, dword [0x10095054]
add eax, 0xc8
push eax
mov ecx, dword [0x10095050]
add ecx, 0x168
push ecx
push 0
push 0
mov edx, dword [0x100951ac]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x140]
push eax
push 0x18
mov ecx, dword [0x100951a8]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [ebp - 0x134]
imul edx, dword [ebp - 0x138]
mov dword [ebp - 0x1ac], edx
mov eax, dword [ebp - 0x1ac]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1e0], ecx
mov word [ebp - 0x1cc], 0x4d42
mov edx, dword [ebp - 0x1ac]
add edx, 0x36
mov dword [ebp - 0x1ca], edx
mov word [ebp - 0x1c6], 0
mov word [ebp - 0x1c4], 0
mov dword [ebp - 0x1c2], 0x36
mov dword [ebp - 0x1a8], 0x28
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x1a0], ecx
mov word [ebp - 0x19c], 1
mov word [ebp - 0x19a], 0x18
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
push 0
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x1e0]
push ecx
mov edx, dword [ebp - 0x138]
push edx
push 0
mov eax, dword [0x100951a8]
push eax
mov ecx, dword [0x100951a4]
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1ec], eax
push 0
lea eax, [ebp - 0x1e4]
push eax
push 0xe
lea ecx, [ebp - 0x1cc]
push ecx
mov edx, dword [ebp - 0x1ec]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x1e4]
push eax
push 0x28
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0x1ec]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x1e4]
push eax
mov ecx, dword [ebp - 0x1ac]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x1ec]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea ecx, [ebp - 0x128]
call fcn.1000d720
push 0
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x10]
push eax
call sub.gdiplus.dll_GdiplusStartup
lea ecx, [ebp - 0x114]
push ecx
call fcn.1001c440
add esp, 4
mov dword [ebp - 0x1f0], eax
push 0x10
call fcn.1000d710
add esp, 4
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1fc], 0
je 0x1000b68f
push 0
mov edx, dword [ebp - 0x1f0]
push edx
mov ecx, dword [ebp - 0x1fc]
call fcn.1000d760
mov dword [ebp - 0x20c], eax
jmp 0x1000b699
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1e8], ecx
lea edx, [ebp - 0x1bc]
push edx
push str.image_jpeg
call fcn.1000b1bd
add esp, 8
push str..bmp
mov eax, dword [ebp - 0x1f0]
push eax
call fcn.1000d960
add esp, 8
mov word [eax], 0
push str..jpeg
mov ecx, dword [ebp - 0x1f0]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push 0
lea edx, [ebp - 0x1bc]
push edx
mov eax, dword [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0x1e8]
call fcn.1000d8e0
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x200], edx
cmp dword [ebp - 0x200], 0
je 0x1000b756
push 1
mov eax, dword [ebp - 0x200]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x200]
call dword [edx]
mov dword [ebp - 0x210], eax
jmp 0x1000b760
mov dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x10]
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret