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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x10]
push esi
mov esi, dword [eax + 0x14]
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 - 0x18], ecx
mov ecx, dword [edi + 0x34]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], esi
je 0x10a8477
cmp dword [esi + 0x90], edx
jne 0x10a8477
mov word [ebx + 0x266], 1
cmp word [eax + 4], 1
jne 0x10a8444
push eax
call fcn.0109a0cd
mov edi, eax
jmp 0x10a844e
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 0x10a8b1e
lea ecx, [ebx + 4]
cmp dword [ecx], edx
je 0x10a8494
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 + 8]
xor edx, edx
mov ecx, dword [ebx]
cmp ecx, edx
je 0x10a8564
cmp word [eax + 4], 1
jne 0x10a8531
cmp word [esi + 0x44], dx
je 0x10a8521
lea eax, [esi + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
test eax, eax
jne 0x10a8521
push eax
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010a7a67
test ax, ax
jne 0x10a8abc
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x10a851b
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x10a8512
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.010a7422
lea eax, [esi + 0x70]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x60]
push eax
push dword [ebx]
jmp 0x10a8543
mov eax, dword [edi + 4]
test byte [eax + 0x60], 8
je 0x10a8549
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 0x10a8561
mov dword [ebp - 8], 0xfffffe0b
jmp 0x10a8616
mov eax, dword [ebp + 8]
cmp word [eax + 4], 1
jne 0x10a85c3
push 0x1011c24
push dword [edi + 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10a85c3
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 0x7c]
push 0x1011d38
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0x14
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0x24]
push edi
call fcn.01099d30
test eax, eax
je 0x10a85c3
push eax
push dword [ebp + 8]
call fcn.0109a5ec
test ax, ax
mov dword [ebp - 8], eax
jne 0x10a8616
mov eax, dword [ebp + 8]
call fcn.010a8314
test ax, ax
mov dword [ebp - 8], eax
jne 0x10a8616
mov eax, dword [ebp + 8]
cmp word [eax + 4], 1
jne 0x10a8616
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x80], 4
jne 0x10a8616
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010a7a67
test ax, ax
jne 0x10a8616
push dword [ebp - 4]
call fcn.0109959f
push edi
mov dword [ebp - 8], eax
call fcn.010a7422
mov eax, dword [ebx + 0x24c]
test eax, eax
je 0x10a8908
mov ecx, dword [ebp + 8]
cmp word [ecx + 4], 1
je 0x10a8648
cmp word [ebx + 0x24a], 0
jne 0x10a88f4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10a88f4
cmp word [ebp - 8], 0
jne 0x10a88f4
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010a7a67
test ax, ax
jne 0x10a88f4
cmp word [ebx + 0x24a], ax
je 0x10a8834
mov eax, dword [esi + 0x7c]
push 0x100bc5c
push dword [eax + 0x18]
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
jne 0x10a8729
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10a86b5
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 - 4]
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 0x10a8abc
push dword [ebp - 4]
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 0x10a871a
push dword [ebx + 0x24c]
push eax
call edi
pop ecx
pop ecx
mov dword [ebp - 8], 0xfffffeb4
jmp 0x10a88e6
push dword [esi + 0x38]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x10a8abc
cmp word [ebx + 0x24a], 0
je 0x10a8834
push 0x1011c58
push dword [ebp - 4]
call fcn.010a0850
mov esi, eax
test esi, esi
je 0x10a882b
push esi
push dword [ebp - 4]
call fcn.010a64c7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push dword [ebx + 0x24c]
push dword [ebp - 4]
push dword [eax + 4]
call fcn.0108d789
cmp ax, 0xfeb4
mov dword [ebp - 8], eax
je 0x10a88e6
xor eax, eax
cmp word [ebp - 8], ax
jne 0x10a88df
mov ecx, dword [ebp - 0xc]
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 0x10a87a5
lea eax, [esi + 8]
push eax
jmp 0x10a87a6
push esi
call edi
push esi
call dword [sym.imp.msvcrt.dll_free]
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
mov dword [esp], 0x1005b14
call esi
push dword [ebx + 0x24c]
mov dword [ebp - 0x18], eax
call esi
mov ecx, dword [ebp - 0x18]
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 0x10a870e
push dword [ebx + 0x24c]
push esi
call dword [sym.imp.msvcrt.dll_wcscpy]
push 0x1005b14
push esi
call dword [sym.imp.msvcrt.dll_wcscat]
mov eax, dword [ebp - 0xc]
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 0x10a881c
lea eax, [esi + 8]
push eax
jmp 0x10a881d
push esi
call edi
push esi
call dword [sym.imp.msvcrt.dll_free]
jmp 0x10a870d
or dword [ebp - 8], 0xffffffff
jmp 0x10a88e6
cmp word [ebx + 0x268], 1
jne 0x10a884f
push dword [ebx + 0x24c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10a88df
mov esi, dword [esi + 0x40]
test esi, esi
jne 0x10a885d
push 0x80
jmp 0x10a885e
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 0x10a8892
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebx + 0x24c]
add eax, 8
push eax
jmp 0x10a889b
push dword [ebp - 4]
push dword [ebx + 0x24c]
call esi
xor edi, edi
cmp ax, di
jne 0x10a870e
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x5c]
cmp word [eax + 4], di
push edi
je 0x10a88cb
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebx + 0x24c]
add eax, 8
push eax
jmp 0x10a88d4
push dword [ebp - 4]
push dword [ebx + 0x24c]
call esi
cmp ax, di
jne 0x10a870e
mov dword [ebp - 8], 0xfffffe05
push dword [ebp - 0xc]
call fcn.010a7422
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0xc]
push dword [ebx + 0x24c]
call dword [sym.imp.msvcrt.dll_free]
and dword [ebx + 0x24c], 0
pop ecx
xor ecx, ecx
cmp word [ebp - 8], cx
je 0x10a891c
cmp word [ebp - 8], 0xfeb4
jne 0x10a8a2f
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
cmp ax, 1
je 0x10a894f
cmp ax, cx
jne 0x10a8a2f
test byte [esi + 0x40], 0x20
je 0x10a8a2f
cmp ax, 1
je 0x10a894f
mov eax, dword [edi + 0x14]
cmp word [eax + 0x18], cx
je 0x10a8a2f
mov eax, dword [edi + 0x14]
test byte [eax + 0x9f], 4
je 0x10a89cd
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010a7a67
test ax, ax
jne 0x10a8abc
lea eax, [ebp - 0x274]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and dword [ebp - 0x10], 0
cmp eax, 0xffffffff
je 0x10a89bd
mov edi, dword [ebp - 0x1c]
push 2
add edi, 0x70
pop ecx
lea esi, [ebp - 0x260]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x10a89b0
mov dword [ebp - 0x10], 1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0xc]
push edi
call fcn.010a7422
xor ecx, ecx
inc ecx
cmp word [ebp - 0x10], 0
je 0x10a8a2f
push 0
push ecx
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010a7a67
test ax, ax
jne 0x10a8abc
mov ecx, dword [ebp + 8]
cmp word [ecx + 4], 0
mov eax, dword [esi + 0x40]
jne 0x10a8a07
test ah, 4
je 0x10a8a07
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp + 8]
cmp word [ecx + 4], 1
je 0x10a8a14
and eax, 0xffffffdf
test eax, eax
jne 0x10a8a1f
push 0x80
jmp 0x10a8a20
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call fcn.010a7422
mov eax, dword [ebp + 8]
cmp word [eax + 4], 0
jne 0x10a8a88
cmp dword [esi + 0x9c], 1
jbe 0x10a8a88
mov word [ebx + 0x266], 1
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push edi
call fcn.01099d30
test eax, eax
jne 0x10a8a88
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.01099ffa
mov eax, dword [ebp - 8]
test ax, ax
je 0x10a8a9a
cmp ax, 0xfeb4
jne 0x10a8b1e
cmp dword [ebp - 0x14], 0
je 0x10a8b1e
push 0
push 1
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x7c]
push dword [eax + 0x18]
push dword [edi + 0xc]
push edi
call fcn.010a7a67
test ax, ax
je 0x10a8ac2
or ax, 0xffff
jmp 0x10a8b1e
mov esi, dword [sym.imp.msvcrt.dll_wcsncmp]
push 8
push 0x1011d74
push dword [ebp - 4]
call esi
add esp, 0xc
test eax, eax
jne 0x10a8aea
add dword [ebp - 4], 0xc
mov eax, dword [ebp - 4]
mov dword [eax], 0x5c005c
jmp 0x10a8b01
push 4
push 0x1005e34
push dword [ebp - 4]
call esi
add esp, 0xc
test eax, eax
jne 0x10a8b01
add dword [ebp - 4], 8
push dword [ebp - 4]
push 0x233a
push dword [ebp - 0x14]
push 0
push edi
call fcn.0107f1b8
push edi
call fcn.010a7422
mov ax, 0xfe3f
pop edi
pop esi
pop ebx
leave
ret 4