Function at 0x45aec0
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e1857
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x7b088c]
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 esi, ecx
mov dword [ebp - 0x58], esi
push 3
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00455f70
push 0x5c
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0045bb80
push 0x2a
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.0045bb80
add esp, 8
mov dword [ebp - 0x74], 0xffffffff
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004554e0
mov byte [ebp - 4], 5
push dword [ebp - 0x80]
call fcn.00682d6d
add esp, 4
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x74]
push eax
call fcn.0045c310
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test al, al
je 0x45b089
mov edx, 2
nop dword [eax + eax]
mov edi, dword [ebp - 0x60]
xor esi, esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], esi
add edi, 1
je 0x45afb3
xor ecx, ecx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00682d64
mov esi, eax
mov dword [ebp - 0x4c], edi
add esp, 4
mov dword [ebp - 0x54], esi
xor eax, eax
mov word [esi], ax
mov edx, dword [ebp - 0x64]
mov ecx, esi
nop dword [eax + eax]
movzx eax, word [edx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
lea edx, [edx + 2]
test ax, ax
jne 0x45afc0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x28]
shr eax, 4
test al, 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
je 0x45b021
lea eax, [ebp - 0x8c]
push eax
call fcn.0045bb10
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0045aec0
push dword [ebp - 0x8c]
mov bl, al
call fcn.00682d6d
push esi
mov byte [ebp - 4], 5
call fcn.00682d6d
add esp, 0x14
jmp 0x45b063
lea eax, [ebp - 0x98]
push eax
call fcn.0045bb10
add esp, 0xc
mov edi, dword [eax]
push 0
push edi
call ebx
test eax, eax
jne 0x45b03f
xor bl, bl
jmp 0x45b04b
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
push dword [ebp - 0x98]
call fcn.00682d6d
push esi
mov byte [ebp - 4], 5
call fcn.00682d6d
add esp, 8
test bl, bl
je 0x45b0b9
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x74]
call fcn.0045c310
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, 2
test al, al
jne 0x45af80
mov esi, dword [ebp - 0x58]
push dword [ebp - 0x70]
call fcn.00682d6d
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
je 0x45b0a7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
mov byte [ebp - 4], 1
push dword [esi]
call ebx
test eax, eax
jne 0x45b0db
xor bl, bl
jmp 0x45b0e8
push dword [ebp - 0x70]
call fcn.00682d6d
add esp, 4
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
je 0x45b0b5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
jmp 0x45b0e8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
push dword [ebp - 0x64]
call fcn.00682d6d
push dword [ebp - 0x20]
call fcn.00682d6d
add esp, 8
mov al, bl
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.00682c16
mov esp, ebp
pop ebp
ret