Function at 0x406917
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x48
mov eax, 0x4613c8
call fcn.0043f429
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x54], edi
cmp byte [edi + 0x18], 0
mov dword [ebp - 4], 1
jne 0x406b42
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x406a36
lea ebx, [esi + 4]
cmp dword [ebx + 0x14], 8
jb 0x406954
mov eax, dword [ebx]
jmp 0x406956
mov eax, ebx
push eax
push 0
lea eax, [ebp - 0x41]
push eax
push 0x46a6a0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x47602c
mov dword [ebp - 0x18], 0x46c7e0
call fcn.004065d0
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.004067be
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 3
call fcn.004067be
mov byte [ebp - 4], 2
call fcn.00431468
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], 0x47602c
mov dword [ecx + 0x28], 0x46c7e0
call fcn.004064e5
call fcn.004333d4
add esp, 0x34
test al, al
je 0x406a24
cmp dword [ebx + 0x14], 8
jb 0x406a05
mov eax, dword [ebx]
jmp 0x406a07
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x406a24
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x406a24
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4069d3
mov edi, dword [ebp - 0x4c]
add esi, 0x30
add ebx, 0x30
cmp esi, dword [edi + 4]
jne 0x40694a
mov esi, dword [edi + 0x10]
cmp esi, dword [edi + 0xc]
je 0x406b34
lea ebx, [esi - 0x2c]
cmp dword [ebx + 0x14], 8
jb 0x406a4f
mov eax, dword [ebx]
jmp 0x406a51
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], 0x47602c
mov dword [ebp - 0x18], 0x46c7e0
call fcn.004065d0
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.004067be
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 5
call fcn.004067be
mov byte [ebp - 4], 4
call fcn.00431468
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], 0x47602c
mov dword [ecx + 0x28], 0x46c7e0
call fcn.004064e5
call fcn.004333d4
add esp, 0x34
test al, al
je 0x406b22
cmp dword [ebx + 0x14], 8
jb 0x406b03
mov eax, dword [ebx]
jmp 0x406b05
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x406b22
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x406b22
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406ace
mov edi, dword [ebp - 0x4c]
sub esi, 0x30
sub ebx, 0x30
cmp esi, dword [edi + 0xc]
jne 0x406a45
cmp byte [edi + 0x19], 0
je 0x406b42
push 1
call fcn.00406c95
pop ecx
lea ecx, [edi + 0xc]
call fcn.0042303b
mov ecx, edi
call fcn.0042303b
call fcn.0043f3d8
ret