Function at 0x469070
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5072e1
mov eax, dword fs:[0]
push eax
mov eax, 0x71e4
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x71f0], ebx
call fcn.00478840
test al, al
je 0x469339
push ebx
call fcn.00469860
test al, al
je 0x469339
movzx eax, word [ebx]
push eax
push 0x50fac4
lea eax, [ebp - 0x2010]
push 0x800
push eax
call fcn.004028e0
movzx eax, word [ebp - 0x2010]
lea ecx, [ebp - 0x205c]
add esp, 0x10
mov dword [ebp - 0x201c], 0
mov dword [ebp - 0x2014], 0x7f
mov dword [ebp - 0x203c], eax
mov dword [ebp - 0x2018], 1
call fcn.00490250
lea ecx, [ebp - 0x20b8]
call fcn.0048e750
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x20b8]
call fcn.0048e7f0
push 2
push 0
push 2
lea eax, [ebp - 0x20b8]
push eax
lea ecx, [ebp - 0x71ec]
call fcn.0048a9b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3100]
push eax
lea ecx, [ebp - 0x71ec]
mov dword [ebp - 0x20f0], 0
mov dword [ebp - 0x20ec], 0
mov dword [ebp - 0x20e8], 0
mov dword [ebp - 0x20e4], 0
mov dword [ebp - 0x20e0], 0
mov dword [ebp - 0x20dc], 0
call fcn.0048b630
test eax, eax
jne 0x469310
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea esp, [esp]
mov ax, word [ebp - 0x3100]
cmp ax, word [ebx]
jne 0x469310
cmp word [ebp - 0x30fe], 0x3a
jne 0x469310
push 0
lea eax, [ebp - 0x3100]
push eax
call esi
test eax, eax
setne al
test al, al
jne 0x469219
push 0x800
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3100]
push eax
call fcn.004785a0
test al, al
je 0x469219
push 0
lea eax, [ebp - 0x1010]
push eax
call esi
cmp byte [ebp - 0x20f4], 0
lea eax, [ebp - 0x3100]
push eax
je 0x469266
call edi
test eax, eax
setne al
test al, al
jne 0x4692f6
push 0x800
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3100]
push eax
call fcn.004785a0
test al, al
je 0x4692f6
lea eax, [ebp - 0x1010]
push eax
call edi
jmp 0x4692f6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test bl, bl
jne 0x4692f0
push 0x800
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x3100]
push eax
call fcn.004785a0
test al, al
je 0x4692a3
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
test bl, bl
jne 0x4692f0
lea eax, [ebp - 0x3100]
mov dword [ebp - 0x2018], 0
lea ecx, [ebp - 0x205c]
mov dword [ebp - 0x2014], 0xe
mov dword [ebp - 0x205c], 0
mov dword [ebp - 0x2058], eax
mov dword [ebp - 0x201c], 2
call fcn.00490250
mov ecx, 0x56df60
call fcn.00463320
mov ebx, dword [ebp - 0x71f0]
lea eax, [ebp - 0x3100]
push eax
lea ecx, [ebp - 0x71ec]
call fcn.0048b630
test eax, eax
je 0x4691c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x71ec]
call fcn.0048aaa0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20b8]
test eax, eax
je 0x469339
push eax
call fcn.004f252e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ebbd8
mov esp, ebp
pop ebp
ret 4