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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c2022
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x501344]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov eax, dword [0x501344]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x20], esi
call fcn.0041f125
lea ecx, [eax + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x288], 1
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x44fbf2
lea edx, [eax - 1]
test edx, edx
jl 0x44fc9e
cmp edx, eax
jg 0x44fc9e
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x44fbf2
push 0x5c
lea edi, [esp + 0x18]
call fcn.0044f390
push 0x4d8ac0
call fcn.0049c5d2
add esp, 4
push eax
push 0x4d8ac0
lea eax, [esp + 0x1c]
call fcn.004390fc
push 0x24c
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x30], 0
call fcn.0049cb00
mov ebx, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
setne al
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x44fcb4
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esp + 0x288], 0xffffffff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44fc7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x268]
xor ecx, esp
call fcn.0049c07b
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00405c3a
jmp 0x44fcb0
mov esi, dword [esp + 0x20]
cmp word [esp + 0x50], 0x2e
jne 0x44fce7
mov ax, word [esp + 0x52]
test ax, ax
je 0x44fcd4
cmp ax, 0x2e
jne 0x44fce7
cmp word [esp + 0x54], 0
jne 0x44fce7
lea edx, [esp + 0x24]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x44fefa
test byte [esp + 0x24], 0x10
je 0x44fe27
mov esi, dword [esi]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x44fd1b
cmp eax, dword [esi]
jne 0x44fd1b
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x44fd56
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x44ff0b
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0049c08a
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x18], edi
mov byte [esp + 0x288], 3
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x44fd98
lea ecx, [eax - 1]
test ecx, ecx
jl 0x44fc9e
cmp ecx, eax
jg 0x44fc9e
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x44fd98
push 0x5c
lea edi, [esp + 0x1c]
call fcn.0044f390
lea ecx, [esp + 0x50]
push ecx
call fcn.0049c5d2
add esp, 4
push eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x20]
call fcn.004390fc
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x18]
push edx
mov esi, eax
call fcn.0044fb60
mov eax, dword [esp + 0x1c]
add esp, 4
cmp dword [eax - 4], 1
jle 0x44fdef
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00405b20
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [esp + 0x288], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44fefa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x44fefa
mov ecx, dword [esi]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x44fe7a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x44fe68
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x44fe68
call fcn.0041f125
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x44fe5f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x44fe7a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.00405c74
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx - 0xc]
test ecx, ecx
jle 0x44fea9
lea eax, [ecx - 1]
test eax, eax
jl 0x44fc9e
cmp eax, ecx
jg 0x44fc9e
movzx eax, word [ebx + eax*2]
cmp ax, 0x5c
je 0x44fea9
push 0x5c
lea edi, [esp + 0x18]
call fcn.0044f390
lea ecx, [esp + 0x50]
push ecx
call fcn.0049c5d2
add esp, 4
push eax
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x1c]
call fcn.004390fc
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 4], 1
mov esi, eax
jle 0x44fef3
mov edx, dword [ebx - 0xc]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00405b20
mov ebx, dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x1c]
test esi, esi
jne 0x44fcb0
jmp 0x44fc4c
call fcn.0043a0ae
int3