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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e8b7
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5c1334]
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 0x466775
mov eax, dword [ecx]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x46677f
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 0x46678f
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x466799
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 0x46632a
lea edi, [edx + 1]
jmp 0x466672
lea ecx, [edx - 1]
test ecx, ecx
js 0x46676b
cmp ecx, edx
jg 0x46676b
cmp word [eax + ecx*2], 0x5c
je 0x466356
push 1
push 0x59578c
lea ecx, [ebp - 0x268]
call fcn.00449ae0
push 0x596ed4
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x278]
call fcn.0046b7d0
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 0x4663d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4667a0
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4667a0
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp - 0x26c]
cmp edi, 0xffffffff
je 0x466656
nop dword [eax + eax]
mov ebx, dword [ebp - 0x260]
test ebx, 0x4104
jne 0x466636
mov ecx, 0x596edc
lea eax, [ebp - 0x234]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466426
test dx, dx
je 0x466422
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466426
add eax, 4
add ecx, 4
test dx, dx
jne 0x466400
xor eax, eax
jmp 0x46642b
sbb eax, eax
or eax, 1
test eax, eax
je 0x466636
mov ecx, 0x596ee0
lea eax, [ebp - 0x234]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x466466
test dx, dx
je 0x466462
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x466466
add eax, 4
add ecx, 4
test dx, dx
jne 0x466440
xor eax, eax
jmp 0x46646b
sbb eax, eax
or eax, 1
test eax, eax
je 0x466636
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x268]
push eax
test bl, 0x10
je 0x466578
lea ecx, [ebp - 0x27c]
call fcn.0046b7d0
add esp, 4
mov byte [ebp - 4], 3
lea edi, [esi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x4664e5
cmp dword [edi + 0xc], 0
jl 0x4664d0
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4664d0
push edx
call fcn.0042b060
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00421da0
add esi, 0x10
mov dword [ebp - 0x264], esi
jmp 0x4664e5
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 0x466530
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4667a7
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4667a7
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.00446aa0
cmp ax, 0x5c
je 0x46655e
push 1
push 0x59578c
lea ecx, [ebp - 0x264]
call fcn.00449ae0
mov esi, dword [ebp - 0x264]
mov ecx, esi
call fcn.00466230
test eax, eax
jne 0x466630
mov dword [ebp - 0x270], eax
jmp 0x466630
lea ecx, [ebp - 0x280]
call fcn.0046b7d0
add esp, 4
mov byte [ebp - 4], 4
lea edi, [esi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x4665d4
cmp dword [edi + 0xc], 0
jl 0x4665bf
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4665bf
push edx
call fcn.0042b060
add esp, 4
mov ecx, edi
mov esi, eax
call fcn.00421da0
add esi, 0x10
mov dword [ebp - 0x264], esi
jmp 0x4665d4
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 0x46661f
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4667b0
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4667b0
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 0x4663e0
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 0x4666b9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4667b9
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4667b9
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 0x466701
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4667c2
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4667c2
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call esi
jmp 0x466707
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 0x46674d
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 0x4667c9
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4667c9
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.00528802
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004213a0
push 0x80004005
call fcn.004213a0
call dword [eax + 0xc]
mov ecx, eax
mov dword [ebp - 0x274], eax
jmp 0x466289
push 0x80004005
call fcn.004213a0
call edx
jmp 0x4662bf
call edi
jmp 0x4663cc
mov ecx, edx
call edi
jmp 0x466530
mov ecx, edx
call edi
jmp 0x46661f
mov ecx, edx
call ebx
jmp 0x4666b6
call edx
jmp 0x466701
call edx
jmp 0x46674d