Function at 0x45c6f0
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 0x4db922
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6c8
mov eax, dword [0x50b0c0]
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.004a6623
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.004a6623
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 0x45c872
push esi
lea ecx, [ebp - 0x6d4]
call fcn.0042af70
lea eax, [ebp - 0x6d4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x450]
call fcn.00460f70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c0]
cmp ecx, 7
jbe 0x45c872
mov edx, dword [ebp - 0x6d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c868
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d1d4
push ecx
push edx
call fcn.004a6653
add esp, 8
push esi
lea ecx, [ebp - 0x6d4]
call fcn.0042af70
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.00460f70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6c0]
cmp ecx, 7
jbe 0x45c8d2
mov edx, dword [ebp - 0x6d4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45c8c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d1ca
push ecx
push edx
call fcn.004a6653
add esp, 8
cmp dword [ebp - 0x42c], 0
je 0x45ce7b
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 0x45c922
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x45d1cf
cmp esi, 7
ja 0x45c952
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x468], xmm0
jmp 0x45c9bf
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45c965
mov eax, SysReAllocString
jmp 0x45c970
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.0042b3b0
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.004a81b0
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.0042b090
sub dword [ebp - 0x42c], 1
jne 0x45c9e9
mov dword [ebp - 0x430], 0
jmp 0x45c9ef
inc dword [ebp - 0x430]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004a8730
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 0x4f1270
push eax
call edi
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x4f2b00
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.004a8730
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 0x45ce2a
nop dword [eax + eax]
cmp word [ebp - 0x68c], 0x2e
je 0x45ce0d
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a8730
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 0x4f2b08
push eax
call edi
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x45ce00
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 0x45cb02
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x45d1cf
cmp esi, 7
ja 0x45cb57
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.004a81b0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x6d4], ax
jmp 0x45cbc1
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45cb6a
mov eax, SysReAllocString
jmp 0x45cb75
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.0042b3b0
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.004a81b0
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 0x45cbf0
push ecx
lea ecx, [ebp - 0x43c]
call fcn.004613c0
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 0x45cc3b
push 0x18
call fcn.004a6623
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 0x45cc90
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x45d1cf
cmp esi, 7
ja 0x45cce5
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.004a81b0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x6d4], ax
jmp 0x45cd4f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45ccf8
mov eax, SysReAllocString
jmp 0x45cd03
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.0042b3b0
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.004a81b0
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 0x45cd7e
push ecx
lea ecx, [ebp - 0x450]
call fcn.004613c0
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 0x45cdc9
push 0x18
call fcn.004a6623
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 0x45ce0d
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 0x45ca80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
cmp ecx, 7
jbe 0x45ce6e
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45ce64
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d1ca
push ecx
push edx
call fcn.004a6653
add esp, 8
cmp dword [ebp - 0x42c], 0
jne 0x45c8e0
mov ecx, dword [ebp - 0x440]
test ecx, ecx
je 0x45d041
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 0x45ced2
mov edi, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 0x7ffffffe
ja 0x45d1cf
cmp esi, 7
ja 0x45cf02
mov dword [ebp - 0x458], esi
mov dword [ebp - 0x454], 7
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x468], xmm0
jmp 0x45cf6f
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x45cf15
mov eax, SysReAllocString
jmp 0x45cf20
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.0042b3b0
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.004a81b0
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.0042b090
sub dword [ebp - 0x440], 1
jne 0x45cf95
mov dword [ebp - 0x444], 0
jmp 0x45cf9b
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 0x45cff6
mov edx, dword [ebp - 0x468]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45cfec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d1ca
push ecx
push edx
call fcn.004a6653
add esp, 8
mov ecx, dword [ebp - 0x440]
test ecx, ecx
jne 0x45ce90
jmp 0x45d041
mov ecx, dword [ebp - 0x44c]
test ecx, ecx
je 0x45d0b8
mov esi, dword [ebp - 0x448]
test esi, esi
jle 0x45d079
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45d06f
push 0x18
push eax
call fcn.004a6653
mov ecx, dword [ebp - 0x44c]
add esp, 8
test esi, esi
jg 0x45d055
mov esi, dword [ebp - 0x448]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x45d09a
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d1d4
push esi
push ecx
call fcn.004a6653
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.004a6653
mov ecx, dword [ebp - 0x42c]
add esp, 8
test ecx, ecx
je 0x45d11b
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.0042b090
mov ecx, dword [ebp - 0x42c]
sub ecx, 1
mov dword [ebp - 0x42c], ecx
jne 0x45d0e0
mov dword [ebp - 0x430], 0
mov ecx, dword [ebp - 0x438]
test ecx, ecx
je 0x45d18f
mov esi, dword [ebp - 0x434]
test esi, esi
jle 0x45d154
nop
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x45d14a
push 0x18
push eax
call fcn.004a6653
mov ecx, dword [ebp - 0x438]
add esp, 8
test esi, esi
jg 0x45d130
mov esi, dword [ebp - 0x434]
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x45d171
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d1d4
push esi
push ecx
call fcn.004a6653
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.004a6653
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.004a69a0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004abd0f
call fcn.0042a670
call fcn.004abd0f
int3