Function at 0x10bb755
Capabilities:
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x10e607c]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
push edi
mov edi, dword [eax]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x5c]
xor edx, edx
cmp word [esi + 0xa0], dx
mov dword [ebp - 0x274], ecx
mov ecx, dword [edi + 0x34]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x270], esi
je 0x10bb803
cmp dword [esi + 0x90], edx
jne 0x10bb803
mov word [ebx + 0x266], 1
cmp word [eax + 4], 1
jne 0x10bb7d0
push eax
call fcn.010abe20
mov edi, eax
jmp 0x10bb7da
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea esi, [ebx + 0x254]
push dword [esi]
call dword [sym.imp.msvcrt.dll_free]
xor eax, eax
mov dword [esi], eax
mov word [ebx + 0x250], ax
mov word [ebx + 0x258], ax
pop ecx
mov ax, di
jmp 0x10bbf9d
lea ecx, [ebx + 4]
cmp dword [ecx], edx
je 0x10bb823
push ecx
xor eax, eax
push eax
push 1
push eax
push eax
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_BackupRead]
mov eax, dword [ebp - 0x260]
xor edx, edx
mov ecx, dword [ebx]
cmp ecx, edx
je 0x10bb90c
cmp word [eax + 4], 1
jne 0x10bb8d3
cmp word [esi + 0x44], dx
je 0x10bb8c3
lea eax, [esi + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
test eax, eax
jne 0x10bb8c3
push eax
push 1
lea eax, [ebp - 0x258]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010bab05
test ax, ax
jne 0x10bbf26
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x268], eax
je 0x10bb8bd
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10bb8b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x26c], eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.010ba429
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x60]
push eax
push dword [ebx]
jmp 0x10bb8e5
mov eax, dword [edi + 4]
test byte [eax + 0x60], 8
je 0x10bb8eb
push 0
lea eax, [esi + 0x68]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10bb906
mov dword [ebp - 0x25c], 0xfffffe0b
jmp 0x10bb9eb
mov eax, dword [ebp - 0x260]
cmp word [eax + 4], 1
jne 0x10bb983
push 0x10125f0
push dword [edi + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10bb983
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x27c]
push eax
mov eax, dword [esi + 0x7c]
push 0x1012704
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x14
push dword [ebp - 0x268]
push dword [ebp - 0x25c]
push dword [ebp - 0x27c]
push edi
call fcn.010ab9f3
test eax, eax
je 0x10bb983
push eax
push dword [ebp - 0x260]
call fcn.010ac357
test ax, ax
mov dword [ebp - 0x25c], eax
jne 0x10bb9eb
mov eax, dword [ebp - 0x260]
call fcn.010bb67a
test ax, ax
mov dword [ebp - 0x25c], eax
jne 0x10bb9eb
mov eax, dword [ebp - 0x260]
cmp word [eax + 4], 1
jne 0x10bb9eb
mov eax, dword [ebp - 0x278]
cmp dword [eax + 0x80], 4
jne 0x10bb9eb
push 0
push 0
lea eax, [ebp - 0x258]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010bab05
test ax, ax
jne 0x10bb9eb
push dword [ebp - 0x258]
call fcn.010ab050
push edi
mov dword [ebp - 0x25c], eax
call fcn.010ba429
mov eax, dword [ebx + 0x24c]
test eax, eax
je 0x10bbd2e
mov ecx, dword [ebp - 0x260]
cmp word [ecx + 4], 1
je 0x10bba20
cmp word [ebx + 0x24a], 0
jne 0x10bbd1a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10bbd1a
cmp word [ebp - 0x25c], 0
jne 0x10bbd1a
push 0
push 0
lea eax, [ebp - 0x258]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010bab05
test ax, ax
jne 0x10bbd1a
cmp word [ebx + 0x24a], ax
je 0x10bbc3f
mov eax, dword [esi + 0x7c]
push 0x100c024
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10bbb13
mov esi, dword [ebp - 0x274]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10bba96
mov edi, dword [sym.imp.msvcrt.dll_free]
push eax
call edi
push dword [esi + 0x3c]
call edi
pop ecx
pop ecx
push dword [ebp - 0x258]
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 0x38], eax
je 0x10bbf26
push dword [ebp - 0x258]
mov edi, dword [sym.imp.msvcrt.dll_wcscpy]
push eax
call edi
push dword [ebx + 0x24c]
call dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [eax + eax + 2]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 0x10
test eax, eax
mov dword [esi + 0x3c], eax
je 0x10bbb04
push dword [ebx + 0x24c]
push eax
call edi
pop ecx
pop ecx
mov dword [ebp - 0x25c], 0xfffffeb4
jmp 0x10bbd03
push dword [esi + 0x38]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x10bbf26
cmp word [ebx + 0x24a], 0
je 0x10bbc3f
push 0x1012624
push dword [ebp - 0x258]
call fcn.010b2fb3
mov esi, eax
test esi, esi
je 0x10bbc33
push esi
push dword [ebp - 0x258]
call fcn.010b9498
mov eax, dword [ebp - 0x260]
mov eax, dword [eax]
push esi
push dword [ebx + 0x24c]
push dword [ebp - 0x258]
push dword [eax + 4]
call fcn.0109e2d3
cmp ax, 0xfeb4
mov dword [ebp - 0x25c], eax
je 0x10bbd03
xor eax, eax
cmp word [ebp - 0x25c], ax
jne 0x10bbcf9
mov ecx, dword [ebp - 0x264]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + 0x5c]
cmp word [ecx + 4], ax
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 5
push eax
je 0x10bbba4
lea eax, [esi + 8]
push eax
jmp 0x10bbba5
push esi
call edi
push esi
call dword [sym.imp.msvcrt.dll_free]
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
mov dword [esp], 0x1005bdc
call esi
push dword [ebx + 0x24c]
mov dword [ebp - 0x274], eax
call esi
mov ecx, dword [ebp - 0x274]
add ecx, eax
lea eax, [ecx + ecx + 4]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10bbaf5
push dword [ebx + 0x24c]
push esi
call dword [sym.imp.msvcrt.dll_wcscpy]
push 0x1005bdc
push esi
call dword [sym.imp.msvcrt.dll_wcscat]
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x5c]
add esp, 0x10
xor eax, eax
cmp word [ecx + 4], ax
push 5
push eax
je 0x10bbc24
lea eax, [esi + 8]
push eax
jmp 0x10bbc25
push esi
call edi
push esi
call dword [sym.imp.msvcrt.dll_free]
jmp 0x10bbaf4
or dword [ebp - 0x25c], 0xffffffff
jmp 0x10bbd03
cmp word [ebx + 0x268], 1
jne 0x10bbc5a
push dword [ebx + 0x24c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10bbcf9
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x10bbc68
push 0x80
jmp 0x10bbc69
push esi
push dword [ebx + 0x24c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x5c]
cmp word [eax + 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 5
je 0x10bbca0
mov eax, dword [ebp - 0x258]
add eax, 8
push eax
mov eax, dword [ebx + 0x24c]
add eax, 8
push eax
jmp 0x10bbcac
push dword [ebp - 0x258]
push dword [ebx + 0x24c]
call esi
xor edi, edi
cmp ax, di
jne 0x10bbaf5
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c]
cmp word [eax + 4], di
push edi
je 0x10bbce2
mov eax, dword [ebp - 0x258]
add eax, 8
push eax
mov eax, dword [ebx + 0x24c]
add eax, 8
push eax
jmp 0x10bbcee
push dword [ebp - 0x258]
push dword [ebx + 0x24c]
call esi
cmp ax, di
jne 0x10bbaf5
mov dword [ebp - 0x25c], 0xfffffe05
push dword [ebp - 0x264]
call fcn.010ba429
mov esi, dword [ebp - 0x270]
mov edi, dword [ebp - 0x264]
push dword [ebx + 0x24c]
call dword [sym.imp.msvcrt.dll_free]
and dword [ebx + 0x24c], 0
pop ecx
xor ecx, ecx
cmp word [ebp - 0x25c], cx
je 0x10bbd48
cmp word [ebp - 0x25c], 0xfeb4
jne 0x10bbe89
mov eax, dword [ebp - 0x260]
mov ax, word [eax + 4]
cmp ax, 1
je 0x10bbd7e
cmp ax, cx
jne 0x10bbe89
test byte [esi + 0x40], 0x20
je 0x10bbe89
cmp ax, 1
je 0x10bbd7e
mov eax, dword [edi + 0x14]
cmp word [eax + 0x18], cx
je 0x10bbe89
mov eax, dword [edi + 0x14]
test byte [eax + 0x9f], 4
je 0x10bbe18
push 0
push 0
lea eax, [ebp - 0x258]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010bab05
test ax, ax
jne 0x10bbf26
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and dword [ebp - 0x268], 0
cmp eax, 0xffffffff
je 0x10bbe05
mov edi, dword [ebp - 0x270]
push 2
add edi, 0x70
pop ecx
lea esi, [ebp - 0x240]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x10bbdf2
mov dword [ebp - 0x268], 1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x270]
mov edi, dword [ebp - 0x264]
push edi
call fcn.010ba429
xor ecx, ecx
inc ecx
cmp word [ebp - 0x268], 0
je 0x10bbe89
push 0
push ecx
lea eax, [ebp - 0x258]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010bab05
test ax, ax
jne 0x10bbf26
mov ecx, dword [ebp - 0x260]
cmp word [ecx + 4], 0
mov eax, dword [esi + 0x40]
jne 0x10bbe5b
test ah, 4
je 0x10bbe5b
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x260]
cmp word [ecx + 4], 1
je 0x10bbe6b
and eax, 0xffffffdf
test eax, eax
jne 0x10bbe76
push 0x80
jmp 0x10bbe77
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call fcn.010ba429
mov eax, dword [ebp - 0x260]
cmp word [eax + 4], 0
jne 0x10bbee5
cmp dword [esi + 0x9c], 1
jbe 0x10bbee5
mov word [ebx + 0x266], 1
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push edi
call fcn.010ab9f3
test eax, eax
jne 0x10bbee5
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push edi
call fcn.010abd3c
mov eax, dword [ebp - 0x25c]
test ax, ax
je 0x10bbefa
cmp ax, 0xfeb4
jne 0x10bbf9d
cmp dword [ebp - 0x26c], 0
je 0x10bbf9d
push 0
push 1
lea eax, [ebp - 0x258]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010bab05
test ax, ax
je 0x10bbf2c
or ax, 0xffff
jmp 0x10bbf9d
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 0x10bbf5d
add dword [ebp - 0x258], 0xc
mov eax, dword [ebp - 0x258]
mov dword [eax], 0x5c005c
jmp 0x10bbf7a
push 4
push 0x1005efc
push dword [ebp - 0x258]
call esi
add esp, 0xc
test eax, eax
jne 0x10bbf7a
add dword [ebp - 0x258], 8
push dword [ebp - 0x258]
push 0x233a
push dword [ebp - 0x26c]
push 0
push edi
call fcn.0108dc85
push edi
call fcn.010ba429
mov ax, 0xfe3f
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01078836
leave
ret 4