Function at 0x10bb0c0
Capabilities:
Delete file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x10e607c]
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x25c], eax
lea eax, [ebx + 4]
cmp dword [eax], ecx
push edi
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x268], ecx
je 0x10bb10a
push eax
push ecx
push 1
push ecx
push ecx
push ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_BackupRead]
lea eax, [edi + 0x70]
push eax
lea eax, [edi + 0x68]
push eax
lea eax, [edi + 0x60]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp word [esi + 4], 1
jne 0x10bb1c0
lea eax, [edi + 0x44]
cmp word [eax], 0
je 0x10bb1c0
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
test eax, eax
jne 0x10bb1c0
push eax
push 1
lea eax, [ebp - 0x258]
push eax
mov eax, dword [edi + 0x7c]
push dword [eax + 0x18]
mov eax, dword [ebp - 0x25c]
push dword [eax + 0xc]
push eax
call fcn.010bab05
test ax, ax
jne 0x10bb2ce
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x260], eax
je 0x10bb1b5
lea eax, [edi + 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10bb1a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x268], eax
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x25c]
call fcn.010ba429
mov eax, dword [ebx]
cmp eax, 0xffffffff
jne 0x10bb1d8
mov word [ebx + 0x266], 1
xor ax, ax
jmp 0x10bb34f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10bb1f2
mov dword [ebp - 0x264], 0xfffffe0b
jmp 0x10bb274
mov ax, word [esi + 4]
cmp ax, 1
je 0x10bb21a
test ax, ax
jne 0x10bb274
test dword [edi + 0x40], 0xffffffdf
je 0x10bb274
mov eax, dword [ebp - 0x25c]
mov eax, dword [eax + 0x14]
cmp word [eax + 0x18], 0
je 0x10bb274
push 0
push 1
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x25c]
push 0
push dword [eax + 0xc]
push eax
call fcn.010bab05
test ax, ax
je 0x10bb244
or dword [ebp - 0x264], 0xffffffff
jmp 0x10bb274
cmp word [esi + 4], 1
mov edi, dword [edi + 0x40]
je 0x10bb251
and edi, 0xffffffdf
test edi, edi
jne 0x10bb25c
push 0x80
jmp 0x10bb25d
push edi
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x25c]
call fcn.010ba429
mov ebx, dword [ebx + 0x24c]
test ebx, ebx
je 0x10bb28c
cmp word [esi + 4], 1
je 0x10bb28c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x264]
xor ecx, ecx
cmp ax, cx
je 0x10bb2a3
cmp ax, 0xfeb4
jne 0x10bb34f
cmp dword [ebp - 0x268], ecx
je 0x10bb34f
push ecx
push 1
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x25c]
push ecx
push dword [eax + 0xc]
push eax
call fcn.010bab05
test ax, ax
je 0x10bb2d4
or ax, 0xffff
jmp 0x10bb34f
mov esi, dword [sym.imp.msvcrt.dll_wcsncmp]
push 8
push 0x1012740
push dword [ebp - 0x258]
call esi
add esp, 0xc
test eax, eax
jne 0x10bb305
add dword [ebp - 0x258], 0xc
mov eax, dword [ebp - 0x258]
mov dword [eax], 0x5c005c
jmp 0x10bb322
push 4
push 0x1005efc
push dword [ebp - 0x258]
call esi
add esp, 0xc
test eax, eax
jne 0x10bb322
add dword [ebp - 0x258], 8
push dword [ebp - 0x258]
push 0x233a
push dword [ebp - 0x268]
push 0
push dword [ebp - 0x25c]
call fcn.0108dc85
push dword [ebp - 0x25c]
call fcn.010ba429
mov ax, 0xfe3f
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01078836
leave
ret