Function at 0x4286e0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd50
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x940]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [ebp - 0xb48]
rep stosd dword es:[edi], eax
mov eax, dword [0x452f58]
test eax, eax
jne 0x42876b
lea eax, [ebp - 0x940]
push eax
push 0
call fcn.00428670
lea ecx, [ebp - 0x940]
push 3
lea edx, [ebp - 0xb48]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
lea eax, [ebp - 0xb48]
push eax
call fcn.00428690
mov edi, dword [0x452f58]
mov ecx, dword [ebp + 8]
inc edi
push ecx
mov dword [0x452f58], edi
call fcn.004286e0
lea edx, [ebp - 0x940]
push edx
call fcn.00428690
add esp, 0x20
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x328]
push ebx
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [ebp - 0x328]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp - 0x328]
test al, al
je 0x4287f4
lea edi, [ebp - 0x328]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x329], 0x5c
je 0x4287f4
mov edi, 0x43fe58
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x328]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x440200
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x328]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0xd50]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x328]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0xd50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x120]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__findfirst]
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
mov dword [ebp - 8], edi
je 0x428cb3
test byte [ebp - 0x120], 7
je 0x42888e
lea eax, [ebp - 0x10c]
push 0x80
push eax
call dword [sym.imp.MSVCRT.dll__chmod]
add esp, 8
test byte [ebp - 0x120], 0x10
je 0x428931
mov esi, 0x43ffb8
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4288ce
test cl, cl
je 0x4288ca
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4288ce
add eax, 2
add esi, 2
test cl, cl
jne 0x4288a6
xor eax, eax
jmp 0x4288d3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x428941
mov esi, 0x43ffb4
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x42890a
test cl, cl
je 0x428906
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x42890a
add eax, 2
add esi, 2
test cl, cl
jne 0x4288e2
xor eax, eax
jmp 0x42890f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x428941
lea eax, [ebp - 0x10c]
push eax
call fcn.004286e0
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCRT.dll__rmdir]
add esp, 8
jmp 0x428941
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
lea eax, [ebp - 0x120]
push eax
push edi
call dword [sym.imp.MSVCRT.dll__findnext]
add esp, 8
test eax, eax
jne 0x428cb3
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test byte [ebp - 0x120], 7
je 0x428a60
mov edx, dword [ebp + 8]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x530]
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [ebp - 0x530]
sub edi, ecx
mov eax, ecx
mov dword [ebp - 4], esi
mov esi, edi
mov edi, dword [ebp - 4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x530]
not ecx
sub edi, ecx
mov eax, esi
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp - 0x530]
test al, al
je 0x428a21
lea edi, [ebp - 0x530]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x531], 0x5c
je 0x428a21
mov edi, 0x43fe58
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x530]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x530]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x80
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x530]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
test byte [ebp - 0x120], 0x10
je 0x428bcc
mov esi, 0x43ffb8
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x428a9c
test cl, cl
je 0x428a98
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x428a9c
add eax, 2
add esi, 2
test cl, cl
jne 0x428a78
xor eax, eax
jmp 0x428aa1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x428c94
mov esi, 0x43ffb4
lea eax, [ebp - 0x10c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x428ad8
test cl, cl
je 0x428ad4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x428ad8
add eax, 2
add esi, 2
test cl, cl
jne 0x428ab4
xor eax, eax
jmp 0x428add
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x428c94
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x328]
lea edx, [ebp - 0x328]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp - 0x328]
test al, al
je 0x428b6c
lea edi, [ebp - 0x328]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x329], 0x5c
je 0x428b6c
mov edi, 0x43fe58
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x328]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x328]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x328]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004286e0
add esp, 4
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x428c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x428c94
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x738]
lea edx, [ebp - 0x738]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp - 0x738]
test al, al
je 0x428c53
lea edi, [ebp - 0x738]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x739], 0x5c
je 0x428c53
mov edi, 0x43fe58
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x738]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x738]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x738]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x120]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__findnext]
add esp, 8
test eax, eax
je 0x428960
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.MSVCRT.dll__findclose]
add esp, 4
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret