Function at 0x10b5dce
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 [0x10de03c]
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 0x10b5e7c
cmp dword [esi + 0x90], edx
jne 0x10b5e7c
mov word [ebx + 0x266], 1
cmp word [eax + 4], 1
jne 0x10b5e49
push eax
call fcn.010a69b7
mov edi, eax
jmp 0x10b5e53
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 0x10b6616
lea ecx, [ebx + 4]
cmp dword [ecx], edx
je 0x10b5e9c
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 0x10b5f85
cmp word [eax + 4], 1
jne 0x10b5f4c
cmp word [esi + 0x44], dx
je 0x10b5f3c
lea eax, [esi + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
test eax, eax
jne 0x10b5f3c
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.010b5387
test ax, ax
jne 0x10b659f
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 0x10b5f36
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 0x10b5f2a
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.010b4ca9
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x60]
push eax
push dword [ebx]
jmp 0x10b5f5e
mov eax, dword [edi + 4]
test byte [eax + 0x60], 8
je 0x10b5f64
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 0x10b5f7f
mov dword [ebp - 0x25c], 0xfffffe0b
jmp 0x10b6064
mov eax, dword [ebp - 0x260]
cmp word [eax + 4], 1
jne 0x10b5ffc
push 0x1011c9c
push dword [edi + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10b5ffc
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x27c]
push eax
mov eax, dword [esi + 0x7c]
push 0x1011db0
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.010a65a0
test eax, eax
je 0x10b5ffc
push eax
push dword [ebp - 0x260]
call fcn.010a6eee
test ax, ax
mov dword [ebp - 0x25c], eax
jne 0x10b6064
mov eax, dword [ebp - 0x260]
call fcn.010b5cf3
test ax, ax
mov dword [ebp - 0x25c], eax
jne 0x10b6064
mov eax, dword [ebp - 0x260]
cmp word [eax + 4], 1
jne 0x10b6064
mov eax, dword [ebp - 0x278]
cmp dword [eax + 0x80], 4
jne 0x10b6064
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.010b5387
test ax, ax
jne 0x10b6064
push dword [ebp - 0x258]
call fcn.010a5c4e
push edi
mov dword [ebp - 0x25c], eax
call fcn.010b4ca9
mov eax, dword [ebx + 0x24c]
test eax, eax
je 0x10b63a7
mov ecx, dword [ebp - 0x260]
cmp word [ecx + 4], 1
je 0x10b6099
cmp word [ebx + 0x24a], 0
jne 0x10b6393
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10b6393
cmp word [ebp - 0x25c], 0
jne 0x10b6393
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.010b5387
test ax, ax
jne 0x10b6393
cmp word [ebx + 0x24a], ax
je 0x10b62b8
mov eax, dword [esi + 0x7c]
push 0x100bbe4
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10b618c
mov esi, dword [ebp - 0x274]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10b610f
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 0x10b659f
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 0x10b617d
push dword [ebx + 0x24c]
push eax
call edi
pop ecx
pop ecx
mov dword [ebp - 0x25c], 0xfffffeb4
jmp 0x10b637c
push dword [esi + 0x38]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x10b659f
cmp word [ebx + 0x24a], 0
je 0x10b62b8
push 0x1011cd0
push dword [ebp - 0x258]
call fcn.010ad833
mov esi, eax
test esi, esi
je 0x10b62ac
push esi
push dword [ebp - 0x258]
call fcn.010b3d18
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.01099062
cmp ax, 0xfeb4
mov dword [ebp - 0x25c], eax
je 0x10b637c
xor eax, eax
cmp word [ebp - 0x25c], ax
jne 0x10b6372
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 0x10b621d
lea eax, [esi + 8]
push eax
jmp 0x10b621e
push esi
call edi
push esi
call dword [sym.imp.msvcrt.dll_free]
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
mov dword [esp], 0x1005a94
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 0x10b616e
push dword [ebx + 0x24c]
push esi
call dword [sym.imp.msvcrt.dll_wcscpy]
push 0x1005a94
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 0x10b629d
lea eax, [esi + 8]
push eax
jmp 0x10b629e
push esi
call edi
push esi
call dword [sym.imp.msvcrt.dll_free]
jmp 0x10b616d
or dword [ebp - 0x25c], 0xffffffff
jmp 0x10b637c
cmp word [ebx + 0x268], 1
jne 0x10b62d3
push dword [ebx + 0x24c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10b6372
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x10b62e1
push 0x80
jmp 0x10b62e2
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 0x10b6319
mov eax, dword [ebp - 0x258]
add eax, 8
push eax
mov eax, dword [ebx + 0x24c]
add eax, 8
push eax
jmp 0x10b6325
push dword [ebp - 0x258]
push dword [ebx + 0x24c]
call esi
xor edi, edi
cmp ax, di
jne 0x10b616e
mov eax, dword [ebp - 0x264]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c]
cmp word [eax + 4], di
push edi
je 0x10b635b
mov eax, dword [ebp - 0x258]
add eax, 8
push eax
mov eax, dword [ebx + 0x24c]
add eax, 8
push eax
jmp 0x10b6367
push dword [ebp - 0x258]
push dword [ebx + 0x24c]
call esi
cmp ax, di
jne 0x10b616e
mov dword [ebp - 0x25c], 0xfffffe05
push dword [ebp - 0x264]
call fcn.010b4ca9
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 0x10b63c1
cmp word [ebp - 0x25c], 0xfeb4
jne 0x10b6502
mov eax, dword [ebp - 0x260]
mov ax, word [eax + 4]
cmp ax, 1
je 0x10b63f7
cmp ax, cx
jne 0x10b6502
test byte [esi + 0x40], 0x20
je 0x10b6502
cmp ax, 1
je 0x10b63f7
mov eax, dword [edi + 0x14]
cmp word [eax + 0x18], cx
je 0x10b6502
mov eax, dword [edi + 0x14]
test byte [eax + 0x9f], 4
je 0x10b6491
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.010b5387
test ax, ax
jne 0x10b659f
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 0x10b647e
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 0x10b646b
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.010b4ca9
xor ecx, ecx
inc ecx
cmp word [ebp - 0x268], 0
je 0x10b6502
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.010b5387
test ax, ax
jne 0x10b659f
mov ecx, dword [ebp - 0x260]
cmp word [ecx + 4], 0
mov eax, dword [esi + 0x40]
jne 0x10b64d4
test ah, 4
je 0x10b64d4
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x260]
cmp word [ecx + 4], 1
je 0x10b64e4
and eax, 0xffffffdf
test eax, eax
jne 0x10b64ef
push 0x80
jmp 0x10b64f0
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call fcn.010b4ca9
mov eax, dword [ebp - 0x260]
cmp word [eax + 4], 0
jne 0x10b655e
cmp dword [esi + 0x9c], 1
jbe 0x10b655e
mov word [ebx + 0x266], 1
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push edi
call fcn.010a65a0
test eax, eax
jne 0x10b655e
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.010a68dd
mov eax, dword [ebp - 0x25c]
test ax, ax
je 0x10b6573
cmp ax, 0xfeb4
jne 0x10b6616
cmp dword [ebp - 0x26c], 0
je 0x10b6616
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.010b5387
test ax, ax
je 0x10b65a5
or ax, 0xffff
jmp 0x10b6616
mov esi, dword [sym.imp.msvcrt.dll_wcsncmp]
push 8
push 0x1011dec
push dword [ebp - 0x258]
call esi
add esp, 0xc
test eax, eax
jne 0x10b65d6
add dword [ebp - 0x258], 0xc
mov eax, dword [ebp - 0x258]
mov dword [eax], 0x5c005c
jmp 0x10b65f3
push 4
push 0x1005db4
push dword [ebp - 0x258]
call esi
add esp, 0xc
test eax, eax
jne 0x10b65f3
add dword [ebp - 0x258], 8
push dword [ebp - 0x258]
push 0x233a
push dword [ebp - 0x26c]
push 0
push edi
call fcn.01089474
push edi
call fcn.010b4ca9
mov ax, 0xfe3f
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075bbb
leave
ret 4