Function at 0x409334
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x48
mov eax, 0x49ec59
call fcn.0045a4e9
mov edi, ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x54], edi
cmp byte [edi + 0x18], 0
mov dword [ebp - 4], 1
jne 0x40955f
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x409453
lea ebx, [esi + 4]
cmp dword [ebx + 0x14], 8
jb 0x409371
mov eax, dword [ebx]
jmp 0x409373
mov eax, ebx
push eax
push 0
lea eax, [ebp - 0x41]
push eax
push 0x4ac7f0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4c0f30
mov dword [ebp - 0x18], 0x4c0ed0
call fcn.00408f6d
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.004091b8
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 3
call fcn.004091b8
mov byte [ebp - 4], 2
call fcn.0043ba7b
add esp, 0x68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401b80
xor edi, edi
push 4
sub esp, 0x30
mov ecx, esp
push 0
push esi
mov dword [ecx], 0x4c0f30
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
call fcn.00441d3e
add esp, 0x34
test al, al
je 0x409441
cmp dword [ebx + 0x14], 8
jb 0x409422
mov eax, dword [ebx]
jmp 0x409424
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x409441
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x409441
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4093f0
mov edi, dword [ebp - 0x4c]
add esi, 0x30
add ebx, 0x30
cmp esi, dword [edi + 4]
jne 0x409367
mov esi, dword [edi + 0x10]
cmp esi, dword [edi + 0xc]
je 0x409551
lea ebx, [esi - 0x2c]
cmp dword [ebx + 0x14], 8
jb 0x40946c
mov eax, dword [ebx]
jmp 0x40946e
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], 0x4c0f30
mov dword [ebp - 0x18], 0x4c0ed0
call fcn.00408f6d
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.004091b8
sub esp, 0x30
mov ecx, esp
push 1
lea eax, [ebp - 0x41]
push eax
push str.ISSetupDLLOp
mov byte [ebp - 4], 5
call fcn.004091b8
mov byte [ebp - 4], 4
call fcn.0043ba7b
add esp, 0x68
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401b80
xor edi, edi
push 8
sub esp, 0x30
mov ecx, esp
push 0
lea eax, [ebx - 4]
push eax
mov dword [ecx], 0x4c0f30
mov dword [ecx + 0x28], 0x4c0ed0
call fcn.00408e82
call fcn.00441d3e
add esp, 0x34
test al, al
je 0x40953f
cmp dword [ebx + 0x14], 8
jb 0x409520
mov eax, dword [ebx]
jmp 0x409522
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x40953f
mov eax, edi
inc edi
cmp eax, 0x64
jge 0x40953f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4094eb
mov edi, dword [ebp - 0x4c]
sub esi, 0x30
sub ebx, 0x30
cmp esi, dword [edi + 0xc]
jne 0x409462
cmp byte [edi + 0x19], 0
je 0x40955f
push 1
call fcn.0040971c
pop ecx
lea ecx, [edi + 0xc]
call fcn.00409c7e
mov ecx, edi
call fcn.00409c7e
call fcn.0045a498
ret