Function at 0x4466f0
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x4af8ec
call fcn.00483228
sub esp, 0x30
push ebx
push esi
push edi
push ecx
lea eax, [ebp + 8]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.0049d64d
call fcn.00449e37
cmp eax, ebx
pop ecx
jne 0x446948
lea ecx, [ebp - 0x3c]
call fcn.0049835d
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 1
call fcn.0049d64d
lea eax, [ebp - 0x10]
push eax
call fcn.00447404
add esp, 4
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x20], esp
push 1
pop edi
push edi
push 0x5c
call fcn.00496af4
push ecx
lea ecx, [ebp - 0x10]
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [ebp - 4], 3
call fcn.0044cc8b
add esp, 0xc
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
call fcn.0044cebc
add esp, 0xc
lea eax, [ebp - 0x3c]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 4
call fcn.0049d64d
call fcn.0044d661
add esp, 0xc
xor esi, esi
cmp dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], ebx
jle 0x446853
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.0040cbcf
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0049d64d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 5
call fcn.0049d64d
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0049d9c5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
call fcn.00449e37
cmp eax, ebx
pop ecx
jne 0x446844
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
call fcn.00446d96
cmp eax, ebx
pop ecx
je 0x446850
inc dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
inc esi
cmp esi, dword [ebp - 0x34]
jl 0x4467ba
jmp 0x446853
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], ebx
je 0x4468cb
cmp dword [ebp - 0x14], ebx
je 0x4468cb
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.1234567890.tmp
call fcn.0049d946
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 7
call fcn.0049d64d
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 4
push eax
call fcn.00447f34
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4468b3
mov dword [ebp - 0x14], ebx
jmp 0x4468c3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
mov esi, dword [ebp - 0x18]
cmp esi, ebx
jle 0x446911
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.0049d64d
lea eax, [ebp + 0xc]
push eax
call fcn.00447289
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0049d9c5
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.0049d8d8
dec esi
jne 0x4468d2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0049d8d8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0049d8d8
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00498390
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov eax, dword [ebp - 0x14]
jmp 0x446a0e
cmp dword [ebp + 0xc], ebx
je 0x446996
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.1234567890.tmp
call fcn.0049d946
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 9
call fcn.0049d64d
lea eax, [ebp + 0xc]
mov byte [ebp - 4], bl
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
jmp 0x4469c3
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0049d64d
lea eax, [ebp + 0xc]
push eax
call fcn.004470fc
pop ecx
pop ecx
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0049d8d8
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x4469ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x446a00
push 1
pop ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0049d8d8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret