Function at 0x406b4b
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x48
mov eax, 0x463460
call fcn.004414e8
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x54], edi
cmp byte [edi + 0x18], 0
mov dword [ebp - 4], 1
jne 0x406d76
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x406c6a
lea ebx, [esi + 4]
cmp dword [ebx + 0x14], 8
jb 0x406b88
mov eax, dword [ebx]
jmp 0x406b8a
mov eax, ebx
push eax
push 0
lea eax, [ebp - 0x41]
push eax
push str.File_s
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406761
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.00406979
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 3
call fcn.00406979
mov byte [ebp - 4], 2
call fcn.004334d8
add esp, 0x68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
xor edi, edi
push 4
sub esp, 0x30
mov ecx, esp
push 0
push esi
mov dword [ecx], 0x4745e4
mov dword [ecx + 0x28], 0x46ef78
call fcn.00406676
call fcn.0043551d
add esp, 0x34
test al, al
je 0x406c58
cmp dword [ebx + 0x14], 8
jb 0x406c39
mov eax, dword [ebx]
jmp 0x406c3b
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x406c58
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x406c58
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406c07
mov edi, dword [ebp - 0x4c]
add esi, 0x30
add ebx, 0x30
cmp esi, dword [edi + 4]
jne 0x406b7e
mov esi, dword [edi + 0x10]
cmp esi, dword [edi + 0xc]
je 0x406d68
lea ebx, [esi - 0x2c]
cmp dword [ebx + 0x14], 8
jb 0x406c83
mov eax, dword [ebx]
jmp 0x406c85
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], 0x4745e4
mov dword [ebp - 0x18], 0x46ef78
call fcn.00406761
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.00406979
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 5
call fcn.00406979
mov byte [ebp - 4], 4
call fcn.004334d8
add esp, 0x68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401500
xor edi, edi
push 8
sub esp, 0x30
mov ecx, esp
push 0
lea eax, [ebx - 4]
push eax
mov dword [ecx], 0x4745e4
mov dword [ecx + 0x28], 0x46ef78
call fcn.00406676
call fcn.0043551d
add esp, 0x34
test al, al
je 0x406d56
cmp dword [ebx + 0x14], 8
jb 0x406d37
mov eax, dword [ebx]
jmp 0x406d39
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406d56
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x406d56
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406d02
mov edi, dword [ebp - 0x4c]
sub esi, 0x30
sub ebx, 0x30
cmp esi, dword [edi + 0xc]
jne 0x406c79
cmp byte [edi + 0x19], 0
je 0x406d76
push 1
call fcn.00406ee4
pop ecx
lea ecx, [edi + 0xc]
call fcn.00407216
mov ecx, edi
call fcn.00407216
call fcn.00441497
ret