Function at 0x444f80
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
sub esp, 0x670
mov eax, dword [0x47b038]
xor eax, esp
mov dword [esp + 0x66c], eax
push esi
mov esi, dword [esp + 0x678]
push esi
push str.KXAPI::RemoveDirectoryAll___s__n
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
call fcn.0043e2c0
lea edx, [esp + 0x470]
add esp, 8
mov eax, esi
sub edx, esi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x444fc0
lea eax, [esp + 0x468]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x444fe0
mov ecx, dword [0x461aa8]
mov edx, dword [0x461aac]
mov dword [eax], ecx
mov cx, word [0x461ab0]
mov dword [eax + 4], edx
push ebx
lea edx, [esp + 0x14]
mov word [eax + 8], cx
push edx
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov byte [esp + 0xb], 0
test eax, eax
je 0x44525c
push ebp
lea ebp, [esp + 0x268]
push edi
mov byte [esp + 0x13], 1
sub ebp, esi
mov eax, esi
movzx ecx, word [eax]
mov word [eax + ebp], cx
add eax, 2
test cx, cx
jne 0x445045
lea edi, [esp + 0x26c]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x445060
mov ecx, dword [0x461a8c]
lea eax, [esp + 0x48]
mov dword [edi], ecx
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445080
lea edi, [esp + 0x26c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4450a0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4450a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x461aa4
lea eax, [esp + 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4450eb
test dx, dx
je 0x4450e7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4450eb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4450c5
xor eax, eax
jmp 0x4450f0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445242
mov ecx, 0x461a9c
lea eax, [esp + 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x445127
test dx, dx
je 0x445123
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x445127
add eax, 4
add ecx, 4
test dx, dx
jne 0x445101
xor eax, eax
jmp 0x44512c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445242
test byte [esp + 0x1c], 0x10
je 0x4451c8
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x26c]
push edx
mov ecx, esi
call fcn.00444f80
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x445242
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x445185
push str.KXAPI::RemoveDirectoryAll___ERROR_FILE_NOT_FOUND_n
call fcn.0043e1d0
add esp, 4
jmp 0x445242
cmp byte [esi + 5], 0
je 0x4451a5
lea ecx, [esp + 0x26c]
push ecx
push str.WIN9X___directory___s__is_in_use__set_the_flag_to_delete_it_when_system_reboot_n
call fcn.0043e2c0
add esp, 8
jmp 0x445242
lea edx, [esp + 0x26c]
push edx
push str.WINNT___directory___s__is_in_use__set_the_flag_to_delete_it_when_system_reboot_n
call fcn.0043e2c0
add esp, 8
push 4
push 0
lea eax, [esp + 0x274]
push eax
jmp 0x44523c
push 0x80
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x26c]
push edx
call fcn.00442ba0
test eax, eax
jne 0x445242
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x44520a
push str.KXAPI::RemoveDirectoryAll___ERROR_FILE_NOT_FOUND_n
call fcn.0043e1d0
add esp, 4
jmp 0x445242
mov eax, dword [esp + 0x14]
cmp byte [eax + 5], 0
je 0x445223
push str.WIN9X___file_is_in_use__set_the_flag_to_delete_it_when_system_reboot_n
call fcn.0043e1d0
add esp, 4
jmp 0x445242
push str.WINNT___file_is_in_use__set_the_flag_to_delete_it_when_system_reboot_n
call fcn.0043e1d0
add esp, 4
push 4
push 0
lea ecx, [esp + 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea edx, [esp + 0x1c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x445043
pop edi
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop ebx
test eax, eax
jne 0x4452bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x445289
push str.KXAPI::RemoveDirectoryAll___ERROR_FILE_NOT_FOUND_n
call fcn.0043e1d0
add esp, 4
jmp 0x4452bb
mov eax, dword [esp + 8]
cmp byte [eax + 5], 0
push esi
je 0x4452a3
push 0x473038
call fcn.0043e1d0
add esp, 8
jmp 0x4452bb
push 0x472fe8
call fcn.0043e1d0
add esp, 8
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x670]
mov al, byte [esp + 7]
pop esi
xor ecx, esp
call fcn.0044ac80
add esp, 0x670
ret 4