Function at 0x40690c
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x48
mov eax, 0x460b5b
call fcn.0043f4b0
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x54], edi
cmp byte [edi + 0x18], 0
mov dword [ebp - 4], 1
jne 0x406b37
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x406a2b
lea ebx, [esi + 4]
cmp dword [ebx + 0x14], 8
jb 0x406949
mov eax, dword [ebx]
jmp 0x40694b
mov eax, ebx
push eax
push 0
lea eax, [ebp - 0x41]
push eax
push 0x46a6e8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004065c0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x50], esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.DeleterDeleteFile
mov byte [ebp - 4], 2
call fcn.004067ae
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 3
call fcn.004067ae
mov byte [ebp - 4], 2
call fcn.00430fac
add esp, 0x68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
xor edi, edi
push 0xc
sub esp, 0x30
mov ecx, esp
push 0
push esi
mov dword [ecx], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
call fcn.00432e24
add esp, 0x34
test al, al
je 0x406a19
cmp dword [ebx + 0x14], 8
jb 0x4069fa
mov eax, dword [ebx]
jmp 0x4069fc
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x406a19
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x406a19
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4069c8
mov edi, dword [ebp - 0x4c]
add esi, 0x30
add ebx, 0x30
cmp esi, dword [edi + 4]
jne 0x40693f
mov esi, dword [edi + 0x10]
cmp esi, dword [edi + 0xc]
je 0x406b29
lea ebx, [esi - 0x2c]
cmp dword [ebx + 0x14], 8
jb 0x406a44
mov eax, dword [ebx]
jmp 0x406a46
mov eax, ebx
push eax
push 0
lea eax, [ebp - 0x41]
push eax
push str.Folder_s
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x46be90
mov dword [ebp - 0x18], 0x46c540
call fcn.004065c0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x48], esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.DeleterDeleteFolder
mov byte [ebp - 4], 4
call fcn.004067ae
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 5
call fcn.004067ae
mov byte [ebp - 4], 4
call fcn.00430fac
add esp, 0x68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
xor edi, edi
push 0xc
sub esp, 0x30
mov ecx, esp
push 0
lea eax, [ebx - 4]
push eax
mov dword [ecx], 0x46be90
mov dword [ecx + 0x28], 0x46c540
call fcn.004064d5
call fcn.00432e24
add esp, 0x34
test al, al
je 0x406b17
cmp dword [ebx + 0x14], 8
jb 0x406af8
mov eax, dword [ebx]
jmp 0x406afa
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406b17
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x406b17
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406ac3
mov edi, dword [ebp - 0x4c]
sub esi, 0x30
sub ebx, 0x30
cmp esi, dword [edi + 0xc]
jne 0x406a3a
cmp byte [edi + 0x19], 0
je 0x406b37
push 1
call fcn.00406be6
pop ecx
lea ecx, [edi + 0xc]
call fcn.0040711a
mov ecx, edi
call fcn.0040711a
call fcn.0043f45f
ret