Function at 0x10011a97
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Get process heap force flags
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x284
push ebx
push esi
push edi
call fcn.10011f76
push 2
pop edi
cmp eax, edi
jne 0x10011d06
call fcn.10010fce
push eax
lea ecx, [ebp - 8]
call fcn.10010df9
call fcn.10010fce
push eax
lea ecx, [ebp - 4]
call fcn.10010df9
push 0x250
lea eax, [ebp - 0x280]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0xc]
push 0x10019494
call fcn.1001087d
pop ecx
lea ecx, [ebp - 0x280]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0xc]
mov ebx, eax
add ecx, 0xfffffff0
call fcn.100110af
cmp ebx, 0xffffffff
je 0x10011cf0
test byte [ebp - 0x280], 0x10
je 0x10011bb0
lea ecx, [ebp - 0x254]
call fcn.1001144c
test al, al
jne 0x10011cd3
push ecx
mov esi, esp
lea edx, [ebp + 0xc]
mov eax, ecx
lea ecx, [ebp - 0x14]
push 0x1001d034
push eax
call fcn.1001087d
pop ecx
mov edx, eax
mov ecx, esi
call fcn.1001087d
mov esi, esp
lea eax, [ebp - 0x254]
push 0x1001d034
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1001087d
pop ecx
mov edx, eax
mov ecx, esi
call fcn.1001087d
pop ecx
call fcn.10011a97
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.100110af
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100110af
test esi, esi
je 0x10011cd3
mov edi, esi
jmp 0x10011cd3
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.1001087d
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.10010ca5
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.100110af
lea eax, [ebp - 0x254]
push eax
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.1001087d
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.10010ca5
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100110af
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call fcn.1001146f
test eax, eax
je 0x10011c1c
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edi, eax
jmp 0x10011cd3
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
call fcn.1001146f
test eax, eax
jne 0x10011c0e
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x10011c40
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
je 0x10011cd3
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60001
jb 0x10011c74
push 0x11
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10011cd3
jmp 0x10011c8f
push 0
push 0xffffffffffffffff
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ktmw32.dll_CreateTransaction]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10011c99
call fcn.10011404
jmp 0x10011c15
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileTransactedW]
test eax, eax
je 0x10011cc5
push esi
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateHardLinkTransactedW]
test eax, eax
je 0x10011cc5
push esi
call dword [sym.imp.ktmw32.dll_CommitTransactionAsync]
test eax, eax
jne 0x10011ccc
call fcn.10011404
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x280]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10011b1e
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.100110af
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.100110af
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.100110af
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.100110af
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret