Function at 0x86fdc0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x574
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x570], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, edx
mov edx, dword [0xb56578]
mov dword [esp + 0x1c], eax
push 0xb55508
lea eax, [esp + 0x16c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], edx
mov ebx, 1
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test esi, esi
je 0x86fe7b
cmp byte [esp + 0x168], 0
je 0x86fe68
lea eax, [esp + 0x168]
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x86fe30
lea ecx, [esp + 0x168]
sub eax, ecx
je 0x86fe68
cmp byte [esp + eax + 0x167], 0x5c
je 0x86fe68
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0xaa1564
mov edx, ecx
push edx
call edi
push esi
lea eax, [esp + 0x16c]
push eax
call edi
jmp 0x86fe94
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
lea eax, [esp + 0x16c]
push eax
call edi
jmp 0x86fe94
lea edi, [esp + 0x370]
lea ecx, [esp + 0x168]
call fcn.00959920
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [esp + 0x14], 0
je 0x86feb2
lea ecx, [esp + 0x168]
push ecx
push str._EUI__FindFiles___s_
push 0
call fcn.0096a780
add esp, 0xc
lea esi, [esp + 0x28]
lea ecx, [esp + 0x168]
call fcn.0094df40
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x87002b
nop
test ebx, ebx
je 0x870007
test byte [esp + 0x28], 0x10
jne 0x86fff3
cmp dword [esp + 0x20], 0
je 0x86ff18
push 0xb55508
lea edx, [esp + 0x16c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x168], 0
je 0x86ff65
lea eax, [esp + 0x168]
mov edi, edi
inc eax
cmp byte [eax], 0
jne 0x86ff10
jmp 0x86ff46
lea edx, [esp + 0x370]
push edx
lea eax, [esp + 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esp + 0x168], 0
je 0x86ff65
lea eax, [esp + 0x168]
nop
inc eax
cmp byte [eax], 0
jne 0x86ff40
lea ecx, [esp + 0x168]
sub eax, ecx
je 0x86ff65
cmp byte [esp + eax + 0x167], 0x5c
je 0x86ff65
push 0xaa1564
mov edx, ecx
push edx
call edi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x16c]
push ecx
call edi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x86ff9e
mov eax, dword [esp + 0x28]
mov edx, eax
and edx, 0x20
push edx
push eax
lea eax, [esp + 0x170]
push eax
push str._EUI__mstr:__s___Att:_0x_x___Arch:_d
push 0
call fcn.0096a780
add esp, 0x14
test byte [esp + 0x28], 0x20
je 0x86fff3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x86ffba
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x86ffc8
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
test esi, esi
je 0x86ffdb
push str._EUI__setting_rval_to_TRUE...
push 0
call fcn.0096a780
add esp, 8
push 0
lea edx, [esp + 0x16c]
push edx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x28]
call fcn.0094e160
mov ebx, eax
jmp 0x86fed0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x570]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], 0
je 0x870041
push str._EUI__No_files_found
push 0
call fcn.0096a780
add esp, 8
mov ecx, dword [esp + 0x57c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret