Function at 0x7cff696d
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd24
mov ax, word [0x7d04b1c0]
push ebx
push esi
push edi
push 1
mov word [ebp - 0x8c], ax
pop eax
xor ebx, ebx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x90], eax
xor eax, eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x64], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x34], ebx
or dword [ebp - 0x80], 0xffffffff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
or dword [ebp - 0x6c], 0xffffffff
or dword [ebp - 0x94], 0xffffffff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 8], ecx
mov ecx, eax
mov dx, word [0x7d04b1d2]
dec ecx
push dword [0x7d04cdfc]
neg ecx
sbb ecx, ecx
mov word [ebp - 0x78], dx
mov dx, word [0x7d04b1c8]
add ecx, 0xa1
dec eax
push ecx
neg eax
sbb eax, eax
mov dword [ebp - 0x88], ebx
add eax, 0x1742
mov dword [ebp - 0x74], ebx
push eax
mov word [ebp - 0xa0], dx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x38], ebx
call fcn.7cfb1957
cmp eax, ebx
mov dword [ebp - 0x34], eax
mov esi, 0x104
je 0x7cff6a88
mov edi, dword [ebp - 8]
push ebx
push 2
push ebx
push dword [edi + 8]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x70c]
push esi
push eax
mov eax, dword [edi + 0x18]
dec eax
neg eax
sbb eax, eax
add eax, 0x175a
push eax
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [ebp - 0x34]
push ebx
lea edx, [ebp - 0x70c]
push ebx
mov ecx, dword [eax]
push edx
push 2
push eax
call dword [ecx + 0x28]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x78]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0xc]
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x7cff6aa9
mov dword [ebp - 0x38], 1
jmp 0x7cff6abd
mov eax, dword [edi]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push edi
call dword [eax + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
jl 0x7cff7042
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
push dword [ebp - 0x48]
mov dword [ebp - 0xd4], ebx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x40], ebx
call edi
push 0x7f02
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0x34], ebx
mov dword [ebp - 0x58], eax
je 0x7cff6b45
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call fcn.7cff6786
push dword [ebp - 0xc]
call fcn.7cff6809
test eax, eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
jne 0x7cff6b3e
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x34], ebx
jmp 0x7cff6b45
push ebx
push 1
push eax
call dword [ecx + 0x30]
lea eax, [ebp - 0xf4]
push eax
call fcn.7cfaa0f8
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x64]
push edx
lea edx, [ebp - 0xa0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 0x54], eax
jl 0x7cff6b7e
push dword [ebp - 0x60]
call edi
mov dword [ebp - 0xa8], eax
add dword [ebp - 0xa8], 8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], ebx
cmp dword [eax], ebx
jbe 0x7cff6fe4
lea eax, [ebp - 0x504]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call fcn.7cff6689
mov edi, eax
mov eax, dword [ebp - 8]
push esi
mov dword [ebp - 0x10], edi
push dword [eax + 0xc]
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push dword [ebp - 0x14]
lea eax, [ebp - 0x504]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0xc]
call fcn.7cff67bf
test eax, eax
je 0x7cff6c4b
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
push dword [ebp - 0x18]
inc dword [ebp - 0x3c]
push eax
push 0x7cf4343c
lea eax, [ebp - 0xd24]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0x14
push dword [ebp - 0x18]
call edi
mov edx, eax
lea eax, [ebp - 0xd24]
push eax
mov dword [ebp - 0x50], edx
call edi
mov edi, eax
mov eax, dword [ebp - 0x50]
sub edi, eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, esi
sub ecx, eax
cmp ecx, edi
jle 0x7cff6c48
lea eax, [ebp - 0xd24]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x2fc]
push eax
call sym.SHELL32.dll_PathCleanupSpec
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
lea eax, [ebp - 0x504]
push eax
je 0x7cff6cb5
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x504]
push 0x5c
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
jne 0x7cff6cb0
lea eax, [ebp - 0x504]
push 0x2f
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x7cff6cc9
mov dword [ebp - 0x18], ebx
jmp 0x7cff6cd0
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x18], 1
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.7cfaa1bf
test eax, eax
jne 0x7cff6f42
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_IUnknown_GetWindow]
test eax, eax
jge 0x7cff6d05
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
test byte [edi], 4
je 0x7cff6d17
test byte [edi + 0x24], 0x10
mov dword [ebp - 0x10], 1
jne 0x7cff6d1a
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x2fc]
push 5
push eax
push ebx
push dword [ebp - 0x1c]
call sym.SHELL32.dll_SHPathPrepareForWriteW
mov dword [ebp - 4], eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x2fc]
push eax
push edi
push dword [ebp - 0x1c]
call fcn.7cf80926
dec eax
dec eax
je 0x7cff706d
sub eax, 5
je 0x7cff7062
cmp dword [ebp - 0x34], ebx
je 0x7cff6df8
mov eax, dword [ebp - 8]
push esi
cmp dword [eax + 0x18], 1
lea eax, [ebp - 0x70c]
push eax
jne 0x7cff6d78
push 0x1756
jmp 0x7cff6d7d
push 0x1758
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0xb1c]
push esi
push eax
lea eax, [ebp - 0x504]
push eax
call dword [sym.imp.SHLWAPI.dll_SHUnicodeToUnicode]
lea eax, [ebp - 0xb1c]
push eax
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x914]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov eax, dword [ebp - 0x34]
add esp, 0x10
lea edx, [ebp - 0x914]
mov ecx, dword [eax]
push ebx
push ebx
push edx
push 1
push eax
call dword [ecx + 0x28]
lea eax, [ebp - 0x914]
push esi
push eax
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
call fcn.7cff6744
mov eax, dword [ebp - 0x34]
push ebx
lea edx, [ebp - 0x914]
push ebx
mov ecx, dword [eax]
push edx
push 2
push eax
call dword [ecx + 0x28]
cmp dword [ebp - 0x10], ebx
je 0x7cff6e1f
lea eax, [ebp - 0x2fc]
push 1
push eax
push ebx
push dword [ebp - 0x1c]
call sym.SHELL32.dll_SHPathPrepareForWriteW
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x7cff6fde
jmp 0x7cff6ec2
cmp dword [ebp - 4], ebx
jl 0x7cff6f59
test byte [edi], 0x40
je 0x7cff6e32
mov eax, dword [edi + 0x44]
jmp 0x7cff6e34
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push eax
lea eax, [ebp - 0x2fc]
push eax
movzx eax, word [0x7d04b1be]
push dword [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.7cfdc3aa
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x7cff6f59
test byte [edi], 0x38
je 0x7cff6ec2
push ebx
push ebx
push 3
push ebx
push 1
lea eax, [ebp - 0x2fc]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x7cff6ec2
mov eax, dword [edi]
lea edx, [edi + 0x38]
mov ecx, eax
and cl, 0x20
neg cl
sbb ecx, ecx
and ecx, edx
lea edx, [edi + 0x30]
push ecx
mov ecx, eax
and cl, 0x10
neg cl
sbb ecx, ecx
and al, 8
and ecx, edx
neg al
push ecx
lea ecx, [edi + 0x28]
sbb eax, eax
and eax, ecx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x7cff6ef1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], ebx
je 0x7cff6ef1
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0xa4], ecx
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0x2fc]
push ecx
push dword [eax + 8]
call fcn.7cf908ce
inc dword [ebp - 0x40]
test byte [edi], 4
je 0x7cff6f0c
mov eax, dword [edi + 0x24]
and eax, 0xffffffef
je 0x7cff6f0c
push eax
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x7cff6f42
mov eax, dword [edi + 0x40]
mov edi, dword [edi + 0x44]
push dword [ebp - 0x20]
add dword [ebp - 0x2c], edi
push dword [ebp - 0x24]
adc dword [ebp - 0x28], eax
mov eax, dword [ecx]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ecx
call dword [eax + 0x24]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jne 0x7cff6fe4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ecx]
jb 0x7cff6b8c
jmp 0x7cff6fe4
cmp dword [ebp - 4], 0x800704c7
je 0x7cff6fde
lea eax, [ebp - 0xb1c]
push esi
push eax
push 0x1702
push dword [0x7d04cdfc]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x7cff6fde
mov edi, dword [ebp - 4]
push ebx
lea eax, [ebp - 0x70c]
push esi
and edi, 0xffff
push eax
push ebx
push edi
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
jne 0x7cff6fc2
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x70c]
push esi
push eax
xor eax, eax
cmp dword [ecx + 0x18], 1
sete al
push eax
push edi
call fcn.7cff65a2
test eax, eax
je 0x7cff6fde
lea eax, [ebp - 0xb1c]
push 0x1010
push eax
lea eax, [ebp - 0x70c]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], ebx
lea eax, [ebp - 0xf4]
push eax
call fcn.7cfaa108
cmp dword [ebp - 0x54], ebx
jl 0x7cff6fff
lea eax, [ebp - 0x64]
push eax
push ebx
call fcn.7cfdc243
cmp dword [ebp - 4], ebx
jl 0x7cff702d
mov esi, dword [ebp - 8]
movzx eax, word [0x7d04b1d6]
push dword [esi + 0x18]
push eax
push dword [ebp + 8]
call fcn.7cfdc0e5
movzx eax, word [0x7d04b1e8]
push dword [esi + 0x18]
push eax
push dword [ebp + 8]
call fcn.7cfdc0e5
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0xc]
call fcn.7cfdc243
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x7cff7058
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], ebx
jmp 0x7cff6f42
mov eax, dword [ebp - 8]
mov dword [ebp - 4], 0x800704c7
mov dword [eax + 0x18], ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
jmp 0x7cff6f45