Function at 0x4552e0
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 0x4d6952
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c8
mov eax, dword [0x5060c0]
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.004a2383
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.004a2383
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 0x455462
push esi
lea ecx, [ebp - 0x6d4]
call fcn.00425cf0
lea eax, [ebp - 0x6d4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x450]
call fcn.00459b60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c0]
cmp ecx, 7
jbe 0x455462
mov edx, dword [ebp - 0x6d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x455458
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455dc4
push ecx
push edx
call fcn.004a23b3
add esp, 8
push esi
lea ecx, [ebp - 0x6d4]
call fcn.00425cf0
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.00459b60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c0]
cmp ecx, 7
jbe 0x4554c2
mov edx, dword [ebp - 0x6d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4554b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455dba
push ecx
push edx
call fcn.004a23b3
add esp, 8
cmp dword [ebp - 0x42c], 0
je 0x455a6b
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 0x455512
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x455dbf
cmp esi, 7
ja 0x455542
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x468], xmm0
jmp 0x4555af
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x455555
mov eax, SysReAllocString
jmp 0x455560
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.00426130
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.004a3d80
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.00425e10
sub dword [ebp - 0x42c], 1
jne 0x4555d9
mov dword [ebp - 0x430], 0
jmp 0x4555df
inc dword [ebp - 0x430]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a4300
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 0x4ed148
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x4ee244
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.004a4300
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 0x455a1a
nop dword [eax + eax]
cmp word [ebp - 0x68c], 0x2e
je 0x4559fd
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a4300
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 0x4ee24c
push eax
call edi
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x4559f0
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 0x4556f2
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x455dbf
cmp esi, 7
ja 0x455747
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.004a3d80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x6d4], ax
jmp 0x4557b1
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45575a
mov eax, SysReAllocString
jmp 0x455765
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.00426130
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.004a3d80
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 0x4557e0
push ecx
lea ecx, [ebp - 0x43c]
call fcn.0045a030
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 0x45582b
push 0x18
call fcn.004a2383
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 0x455880
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x455dbf
cmp esi, 7
ja 0x4558d5
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.004a3d80
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x6d4], ax
jmp 0x45593f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4558e8
mov eax, SysReAllocString
jmp 0x4558f3
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.00426130
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.004a3d80
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 0x45596e
push ecx
lea ecx, [ebp - 0x450]
call fcn.0045a030
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 0x4559b9
push 0x18
call fcn.004a2383
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 0x4559fd
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 0x455670
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x455a5e
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x455a54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455dba
push ecx
push edx
call fcn.004a23b3
add esp, 8
cmp dword [ebp - 0x42c], 0
jne 0x4554d0
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x455c31
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 0x455ac2
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x455dbf
cmp esi, 7
ja 0x455af2
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x468], xmm0
jmp 0x455b5f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x455b05
mov eax, SysReAllocString
jmp 0x455b10
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.00426130
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.004a3d80
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.00425e10
sub dword [ebp - 0x440], 1
jne 0x455b85
mov dword [ebp - 0x444], 0
jmp 0x455b8b
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 0x455be6
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x455bdc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455dba
push ecx
push edx
call fcn.004a23b3
add esp, 8
mov ecx, dword [ebp - 0x440]
test ecx, ecx
jne 0x455a80
jmp 0x455c31
mov ecx, dword [ebp - 0x44c]
test ecx, ecx
je 0x455ca8
mov esi, dword [ebp - 0x448]
test esi, esi
jle 0x455c69
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x455c5f
push 0x18
push eax
call fcn.004a23b3
mov ecx, dword [ebp - 0x44c]
add esp, 8
test esi, esi
jg 0x455c45
mov esi, dword [ebp - 0x448]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x455c8a
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455dc4
push esi
push ecx
call fcn.004a23b3
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.004a23b3
mov ecx, dword [ebp - 0x42c]
add esp, 8
test ecx, ecx
je 0x455d0b
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.00425e10
mov ecx, dword [ebp - 0x42c]
sub ecx, 1
mov dword [ebp - 0x42c], ecx
jne 0x455cd0
mov dword [ebp - 0x430], 0
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x455d7f
mov esi, dword [ebp - 0x434]
test esi, esi
jle 0x455d44
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x455d3a
push 0x18
push eax
call fcn.004a23b3
mov ecx, dword [ebp - 0x438]
add esp, 8
test esi, esi
jg 0x455d20
mov esi, dword [ebp - 0x434]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x455d61
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455dc4
push esi
push ecx
call fcn.004a23b3
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.004a23b3
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.004a2700
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004a78df
call fcn.004253f0
call fcn.004a78df
int3