Function at 0x454420
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ccd82
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c8
mov eax, dword [0x4f80c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x42c], 0
push 8
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
call fcn.004989e3
lea ecx, [ebp - 0x43c]
mov dword [eax + 4], 0
mov dword [ebp - 0x43c], eax
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x440], 0
push 8
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x440], 0
call fcn.004989e3
lea ecx, [ebp - 0x450]
add esp, 8
mov dword [eax + 4], 0
mov dword [ebp - 0x450], eax
mov dword [eax], ecx
cmp dword [ebx + 0xc], 0
mov byte [ebp - 4], 1
jne 0x4545a2
push esi
lea ecx, [ebp - 0x6d4]
call fcn.00426000
lea eax, [ebp - 0x6d4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x450]
call fcn.00458920
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c0]
cmp ecx, 7
jbe 0x4545a2
mov edx, dword [ebp - 0x6d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454598
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454f04
push ecx
push edx
call fcn.00498a13
add esp, 8
push esi
lea ecx, [ebp - 0x6d4]
call fcn.00426000
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.00458920
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c0]
cmp ecx, 7
jbe 0x454602
mov edx, dword [ebp - 0x6d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4545f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454efa
push ecx
push edx
call fcn.00498a13
add esp, 8
cmp dword [ebp - 0x42c], 0
je 0x454bab
nop
mov ecx, dword [ebp - 0x434]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x430]
mov esi, dword [ebp - 0x438]
lea eax, [ecx - 1]
and eax, edx
mov esi, dword [esi + eax*4]
mov edi, esi
movups xmmword [ebp - 0x468], xmm0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
cmp dword [esi + 0x14], 7
jbe 0x454652
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x454eff
cmp esi, 7
ja 0x454682
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x468], xmm0
jmp 0x4546ef
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x454695
mov eax, SysReAllocString
jmp 0x4546a0
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x6bc], eax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00426440
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x454], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x458], esi
call fcn.0049a3e0
mov edx, dword [ebp - 0x430]
add esp, 0x14
mov ecx, dword [ebp - 0x434]
dec ecx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x438]
and ecx, edx
mov ecx, dword [eax + ecx*4]
call fcn.00426120
sub dword [ebp - 0x42c], 1
jne 0x454719
mov dword [ebp - 0x430], 0
jmp 0x45471f
inc dword [ebp - 0x430]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0049a960
cmp dword [ebp - 0x454], 7
lea eax, [ebp - 0x468]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
cmova eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x428]
push 0x4e10a8
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x4e1f84
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.0049a960
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x6d8], esi
cmp esi, 0xffffffff
je 0x454b5a
nop dword [eax + eax]
cmp word [ebp - 0x68c], 0x2e
je 0x454b3d
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0049a960
cmp dword [ebp - 0x454], 7
lea ecx, [ebp - 0x68c]
push ecx
lea eax, [ebp - 0x468]
cmova eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0x220]
push 0x4e1f8c
push eax
call edi
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x454b30
xorps xmm0, xmm0
mov dword [ebp - 0x6c4], 0
lea esi, [ebp - 0x220]
mov dword [ebp - 0x6c0], 0
movups xmmword [ebp - 0x6d4], xmm0
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x454832
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x454eff
cmp esi, 7
ja 0x454887
mov dword [ebp - 0x6c4], esi
lea eax, [ebp - 0x220]
add esi, esi
mov dword [ebp - 0x6c0], 7
push esi
push eax
lea eax, [ebp - 0x6d4]
push eax
call fcn.0049a3e0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x6d4], ax
jmp 0x4548f1
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45489a
mov eax, SysReAllocString
jmp 0x4548a5
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x6bc], eax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x6d4]
push eax
call fcn.00426440
mov ecx, dword [ebp - 0x6bc]
mov edi, eax
mov dword [ebp - 0x6c4], esi
lea eax, [ebp - 0x220]
add esi, esi
mov dword [ebp - 0x6d4], edi
push esi
push eax
push edi
mov dword [ebp - 0x6c0], ecx
call fcn.0049a3e0
add esp, 0x14
xor eax, eax
mov word [edi + esi], ax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
lea eax, [esi + 1]
cmp edx, eax
ja 0x454920
push ecx
lea ecx, [ebp - 0x43c]
call fcn.00458df0
mov esi, dword [ebp - 0x42c]
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x430], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x438]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x45496b
push 0x18
call fcn.004989e3
mov ecx, dword [ebp - 0x438]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x438]
movups xmm0, xmmword [ebp - 0x6d4]
lea eax, [edx - 1]
and eax, edi
lea esi, [ebp - 0x220]
mov eax, dword [ecx + eax*4]
lea ecx, [esi + 2]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6c4]
movq qword [eax + 0x10], xmm0
xorps xmm0, xmm0
inc dword [ebp - 0x42c]
mov byte [ebp - 4], 4
movups xmmword [ebp - 0x6d4], xmm0
mov dword [ebp - 0x6c4], 0
mov dword [ebp - 0x6c0], 0
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4549c0
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x454eff
cmp esi, 7
ja 0x454a15
mov dword [ebp - 0x6c4], esi
lea eax, [ebp - 0x220]
add esi, esi
mov dword [ebp - 0x6c0], 7
push esi
push eax
lea eax, [ebp - 0x6d4]
push eax
call fcn.0049a3e0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x6d4], ax
jmp 0x454a7f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x454a28
mov eax, SysReAllocString
jmp 0x454a33
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x6bc], eax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x6d4]
push eax
call fcn.00426440
mov ecx, dword [ebp - 0x6bc]
mov edi, eax
mov dword [ebp - 0x6c4], esi
lea eax, [ebp - 0x220]
add esi, esi
mov dword [ebp - 0x6d4], edi
push esi
push eax
push edi
mov dword [ebp - 0x6c0], ecx
call fcn.0049a3e0
add esp, 0x14
xor eax, eax
mov word [edi + esi], ax
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
lea eax, [esi + 1]
cmp edx, eax
ja 0x454aae
push ecx
lea ecx, [ebp - 0x450]
call fcn.00458df0
mov esi, dword [ebp - 0x440]
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x444]
lea eax, [edx - 1]
and ecx, eax
lea eax, [edx - 1]
mov dword [ebp - 0x444], ecx
lea edi, [ecx + esi]
mov ecx, dword [ebp - 0x44c]
and eax, edi
lea esi, [eax*4]
cmp dword [esi + ecx], 0
jne 0x454af9
push 0x18
call fcn.004989e3
mov ecx, dword [ebp - 0x44c]
add esp, 4
mov dword [esi + ecx], eax
mov edx, dword [ebp - 0x448]
mov ecx, dword [ebp - 0x44c]
movups xmm0, xmmword [ebp - 0x6d4]
mov esi, dword [ebp - 0x6d8]
lea eax, [edx - 1]
and eax, edi
mov eax, dword [ecx + eax*4]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x6c4]
movq qword [eax + 0x10], xmm0
inc dword [ebp - 0x440]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x454b3d
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x6b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4547b0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x454b9e
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454b94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454efa
push ecx
push edx
call fcn.00498a13
add esp, 8
cmp dword [ebp - 0x42c], 0
jne 0x454610
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x454d71
nop dword [eax]
mov ecx, dword [ebp - 0x448]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x444]
mov esi, dword [ebp - 0x44c]
lea eax, [ecx - 1]
and eax, edx
mov esi, dword [esi + eax*4]
mov edi, esi
movups xmmword [ebp - 0x468], xmm0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
cmp dword [esi + 0x14], 7
jbe 0x454c02
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x454eff
cmp esi, 7
ja 0x454c32
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x468], xmm0
jmp 0x454c9f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x454c45
mov eax, SysReAllocString
jmp 0x454c50
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x6bc], eax
lea eax, [ebp - 0x6bc]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00426440
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x454], ecx
lea ecx, [esi*2 + 2]
push ecx
push edi
push eax
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x458], esi
call fcn.0049a3e0
mov edx, dword [ebp - 0x444]
add esp, 0x14
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x44c]
dec ecx
and ecx, edx
mov ecx, dword [eax + ecx*4]
call fcn.00426120
sub dword [ebp - 0x440], 1
jne 0x454cc5
mov dword [ebp - 0x444], 0
jmp 0x454ccb
inc dword [ebp - 0x444]
cmp dword [ebp - 0x454], 7
lea eax, [ebp - 0x468]
cmova eax, dword [ebp - 0x468]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x454d26
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x454d1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454efa
push ecx
push edx
call fcn.00498a13
add esp, 8
mov ecx, dword [ebp - 0x440]
test ecx, ecx
jne 0x454bc0
jmp 0x454d71
mov ecx, dword [ebp - 0x44c]
test ecx, ecx
je 0x454de8
mov esi, dword [ebp - 0x448]
test esi, esi
jle 0x454da9
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x454d9f
push 0x18
push eax
call fcn.00498a13
mov ecx, dword [ebp - 0x44c]
add esp, 8
test esi, esi
jg 0x454d85
mov esi, dword [ebp - 0x448]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x454dca
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454f04
push esi
push ecx
call fcn.00498a13
add esp, 8
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov eax, dword [ebp - 0x450]
push 8
push eax
mov dword [ebp - 0x450], 0
call fcn.00498a13
mov ecx, dword [ebp - 0x42c]
add esp, 8
test ecx, ecx
je 0x454e4b
nop dword [eax]
mov eax, dword [ebp - 0x430]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x434]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax + ecx*4]
call fcn.00426120
mov ecx, dword [ebp - 0x42c]
sub ecx, 1
mov dword [ebp - 0x42c], ecx
jne 0x454e10
mov dword [ebp - 0x430], 0
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x454ebf
mov esi, dword [ebp - 0x434]
test esi, esi
jle 0x454e84
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x454e7a
push 0x18
push eax
call fcn.00498a13
mov ecx, dword [ebp - 0x438]
add esp, 8
test esi, esi
jg 0x454e60
mov esi, dword [ebp - 0x434]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x454ea1
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x454f04
push esi
push ecx
call fcn.00498a13
add esp, 8
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov eax, dword [ebp - 0x43c]
push 8
push eax
mov dword [ebp - 0x43c], 0
call fcn.00498a13
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00498d60
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.0049df3f
call fcn.00425700
call fcn.0049df3f
int3