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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56acf7
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5bc324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00422040
mov ecx, eax
test ecx, ecx
je 0x465b15
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b1f
lock inc dword [ecx + 0x14]
add ecx, 8
mov dword [ebp - 0x274], ecx
add ecx, 0x10
mov dword [ebp - 0x284], ecx
mov dword [ebp - 4], 0
call fcn.00422040
mov ecx, eax
test ecx, ecx
je 0x465b2f
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b39
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x264], esi
push 0x250
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x270], 1
lea ecx, [ebp - 0x268]
push edi
call fcn.00429270
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.00428f30
lea ecx, [ebp - 0x268]
call fcn.00428fe0
mov eax, dword [ebp - 0x268]
or ebx, 0xffffffff
mov edx, dword [eax - 0xc]
test edx, edx
jne 0x4656ca
lea edi, [edx + 1]
jmp 0x465a12
lea ecx, [edx - 1]
test ecx, ecx
js 0x465b0b
cmp ecx, edx
jg 0x465b0b
cmp word [eax + ecx*2], 0x5c
je 0x4656f6
push 1
push 0x5914bc
lea ecx, [ebp - 0x268]
call fcn.00449a80
push 0x592c04
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x278]
call fcn.0046aba0
add esp, 4
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x278]
mov edi, eax
mov dword [ebp - 0x26c], edi
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x465772
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b40
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x465b40
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x26c]
cmp edi, 0xffffffff
je 0x4659f6
nop dword [eax + eax]
mov ebx, dword [ebp - 0x260]
test ebx, 0x4104
jne 0x4659d6
mov ecx, 0x592c0c
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4657c6
test dx, dx
je 0x4657c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4657c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4657a0
xor eax, eax
jmp 0x4657cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4659d6
mov ecx, 0x592c10
lea eax, [ebp - 0x234]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x465806
test dx, dx
je 0x465802
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x465806
add eax, 4
add ecx, 4
test dx, dx
jne 0x4657e0
xor eax, eax
jmp 0x46580b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4659d6
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x268]
push eax
test bl, 0x10
je 0x465918
lea ecx, [ebp - 0x27c]
call fcn.0046aba0
add esp, 4
mov byte [ebp - 4], 3
lea edi, [esi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x465885
cmp dword [edi + 0xc], 0
jl 0x465870
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x465870
push edx
call fcn.0042b060
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00421db0
add esi, 0x10
mov dword [ebp - 0x264], esi
jmp 0x465885
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x264]
call fcn.0042b160
mov esi, dword [ebp - 0x264]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4658d0
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b47
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x465b47
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x264]
dec eax
push eax
call fcn.00446a40
cmp ax, 0x5c
je 0x4658fe
push 1
push 0x5914bc
lea ecx, [ebp - 0x264]
call fcn.00449a80
mov esi, dword [ebp - 0x264]
mov ecx, esi
call fcn.004655d0
test eax, eax
jne 0x4659d0
mov dword [ebp - 0x270], eax
jmp 0x4659d0
lea ecx, [ebp - 0x280]
call fcn.0046aba0
add esp, 4
mov byte [ebp - 4], 4
lea edi, [esi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x465974
cmp dword [edi + 0xc], 0
jl 0x46595f
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x46595f
push edx
call fcn.0042b060
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00421db0
add esi, 0x10
mov dword [ebp - 0x264], esi
jmp 0x465974
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x264]
call fcn.0042b160
mov esi, dword [ebp - 0x264]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov ecx, dword [ebp - 0x280]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4659bf
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b50
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x465b50
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and dword [ebp - 0x270], eax
mov edi, dword [ebp - 0x26c]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x465780
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
or ebx, 0xffffffff
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
neg eax
sbb edi, edi
mov eax, dword [ebp - 0x268]
and edi, dword [ebp - 0x270]
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 1
mov eax, ebx
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x465a59
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b59
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x465b59
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x465aa1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b62
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x465b62
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x465aa7
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x274]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x465aed
mov ebx, eax
push ebx
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x465b69
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x465b69
push 0
push dword [ecx + 4]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523a6a
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004213b0
push 0x80004005
call fcn.004213b0
call dword [eax + 0xc]
mov ecx, eax
mov dword [ebp - 0x274], eax
jmp 0x465629
push 0x80004005
call fcn.004213b0
call edx
jmp 0x46565f
call edi
jmp 0x46576c
mov ecx, edx
call edi
jmp 0x4658d0
mov ecx, edx
call edi
jmp 0x4659bf
mov ecx, edx
call ebx
jmp 0x465a56
call edx
jmp 0x465aa1
call edx
jmp 0x465aed