Function at 0x42b550
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00426720
test al, al
jne 0x42b5e0
call fcn.0042c430
mov ecx, dword [ebx]
lea edx, [ebp - 0x38]
lea ebx, [ebp - 0x30]
mov esi, 0x6576
mov dword [esp + 0x10], str.File_Path__s_is_not_exists
mov dword [esp + 0xc], 0x7c
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp + 0x14], ecx
mov dword [esp], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], 0x6f6d6552
mov word [ebp - 0x2c], si
mov dword [ebp - 0x34], 6
mov byte [ebp - 0x2a], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x42b5cd
mov dword [esp], eax
call fcn.004ed8c0
mov esi, 1
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
lea edi, [ebp - 0x60]
call fcn.0042a360
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], eax
add eax, edx
setne cl
test edx, edx
sete al
and cl, al
mov esi, ecx
jne 0x42b853
cmp dword [ebp - 0x6c], 0xf
ja 0x42b734
cmp dword [ebp - 0x6c], 1
je 0x42b780
mov ecx, dword [ebp - 0x6c]
mov eax, edi
test ecx, ecx
jne 0x42b75c
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], ecx
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0x64]
mov edx, eax
mov dword [ebp - 0x6c], eax
mov eax, 0x7fffffff
sub eax, edx
cmp eax, 1
jbe 0x42b7f3
lea ecx, [edx + 2]
mov edx, dword [ebp - 0x68]
mov eax, 0xf
mov dword [ebp - 0x70], ecx
cmp edx, edi
cmovne eax, dword [ebp - 0x60]
cmp ecx, eax
ja 0x42b7c2
mov eax, dword [ebp - 0x6c]
mov word [edx + eax], 0x2a5c
mov eax, ecx
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov byte [eax + edx + 2], 0
xor edx, edx
xor eax, eax
mov dword [ebp + eax - 0x38], edx
add eax, 4
cmp eax, 0x1c
jb 0x42b686
xor edx, edx
mov ecx, 0x614
mov dword [ebp - 0x34], 3
mov word [ebp + eax - 0x38], dx
mov eax, dword [ebp - 0x68]
mov word [ebp - 0x28], cx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
sub esp, 4
test eax, eax
mov dword [ebp - 0x6c], eax
je 0x42b790
call fcn.0042c430
mov dword [esp], eax
mov eax, 0x6576
mov ecx, dword [ebx]
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x50]
lea ebx, [ebp - 0x48]
mov dword [esp + 0x10], str.Remove__s_failed__error_id_is__d
mov dword [esp + 0xc], 0x8b
mov dword [esp + 0x14], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x18], eax
mov dword [esp + 4], 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], 0x6f6d6552
mov dword [ebp - 0x4c], 6
mov byte [ebp - 0x42], 0
call fcn.0042ce70
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x42b7a5
mov dword [esp], eax
call fcn.004ed8c0
jmp 0x42b7a5
mov eax, dword [ebp - 0x6c]
test eax, eax
js 0x42b863
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
add eax, 1
mov dword [esp], eax
call fcn.004ed900
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x68]
jmp 0x42b62b
movzx eax, byte [edx]
mov byte [ebp - 0x60], al
mov eax, edi
jmp 0x42b62b
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
sub esp, 4
test eax, eax
setne al
mov esi, eax
mov eax, dword [ebp - 0x68]
cmp eax, edi
je 0x42b5d2
mov dword [esp], eax
call fcn.004ed8c0
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x68]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0x4fda75
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004ce110
sub esp, 0x10
mov eax, dword [ebp - 0x70]
jmp 0x42b674
mov dword [esp], 0x4fda06
call fcn.004e7d10
mov edx, dword [ebp - 0x68]
mov ebx, eax
cmp edx, edi
je 0x42b810
mov dword [esp], edx
call fcn.004ed8c0
mov dword [esp], ebx
call fcn.0043f8d0
mov esi, eax
mov eax, dword [ebp - 0x50]
cmp eax, ebx
je 0x42b829
mov dword [esp], eax
call fcn.004ed8c0
mov eax, dword [ebp - 0x68]
cmp eax, edi
je 0x42b838
mov dword [esp], eax
call fcn.004ed8c0
mov dword [esp], esi
call fcn.0043f8d0
mov edx, dword [ebp - 0x38]
mov esi, eax
cmp edx, ebx
je 0x42b838
mov dword [esp], edx
call fcn.004ed8c0
jmp 0x42b838
mov dword [esp], 0x4fd9dc
call fcn.004e7b80
mov esi, eax
jmp 0x42b829
mov dword [esp], 0x4fd98c
call fcn.004e7d10
nop