Function at 0x42a9f0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48da55
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0x2cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2dc]
mov ecx, dword [eax + 0x14]
xor edi, edi
cmp ecx, edi
je 0x42aea1
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], edi
mov byte [esp + 0x50], 0
call fcn.0040b380
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x2d4], edi
cmp eax, edi
jbe 0x42aab8
cmp esi, eax
jbe 0x42aa7b
call fcn.004746d2
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov ebx, 0x10
cmp dword [esp + 0x58], ebx
jae 0x42aa8e
lea ecx, [esp + 0x44]
cmp byte [ecx + esi], 0x2f
jne 0x42aab3
cmp esi, eax
jbe 0x42aa9d
call fcn.004746d2
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x42aaab
lea eax, [esp + 0x44]
mov byte [eax + esi], 0x5c
mov eax, dword [esp + 0x54]
inc esi
cmp esi, eax
jb 0x42aa7b
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x2dc], 1
call fcn.00429c40
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42ab1e
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne bl
cmp esi, edi
je 0x42ab03
push esi
call fcn.00473f71
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x42ab17
mov edx, dword [esp + 0x44]
push edx
call fcn.00473948
add esp, 4
mov al, bl
jmp 0x42aea3
test al, 0x10
je 0x42ae41
mov eax, dword [esp + 0x54]
lea esi, [eax - 1]
mov bl, 1
mov byte [esp + 0x17], 0
cmp esi, eax
jbe 0x42ab3d
call fcn.004746d2
mov eax, dword [esp + 0x44]
mov ebp, 0x10
cmp dword [esp + 0x58], ebp
jae 0x42ab50
lea eax, [esp + 0x44]
cmp byte [eax + esi], 0x5c
je 0x42ab66
push 1
push 0x497080
lea ecx, [esp + 0x48]
call fcn.0040b460
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00429c40
mov eax, dword [esp + 0x24]
inc eax
lea edx, [eax + eax]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00473d56
mov esi, eax
mov edi, esi
add esp, 0x10
mov dword [esp + 0x18], esi
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42aba0
mov ecx, dword [0x497280]
lea edx, [esp + 0x78]
push edx
push esi
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x42adb8
mov edi, 0xf
jmp 0x42abe0
mov ecx, 0x49727c
lea eax, [esp + 0xa4]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ac16
test dx, dx
je 0x42ac12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ac16
add eax, 4
add ecx, 4
test dx, dx
jne 0x42abf0
xor eax, eax
jmp 0x42ac1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42ada0
mov ecx, 0x497274
lea eax, [esp + 0xa4]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42ac56
test dx, dx
je 0x42ac52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42ac56
add eax, 4
add ecx, 4
test dx, dx
jne 0x42ac30
xor eax, eax
jmp 0x42ac5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42ada0
test byte [esp + 0x78], 0x10
je 0x42acfb
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0042a950
push eax
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x2e8], 2
call fcn.0040be40
mov ecx, dword [esp + 0x2f4]
push ecx
push eax
mov byte [esp + 0x2f0], 3
call fcn.0042a9f0
add esp, 0x1c
and bl, al
cmp dword [esp + 0x74], ebp
jb 0x42acc6
mov edx, dword [esp + 0x60]
push edx
call fcn.00473948
add esp, 4
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov byte [esp + 0x2d4], 1
cmp dword [esp + 0x3c], ebp
jb 0x42ada0
mov eax, dword [esp + 0x28]
push eax
call fcn.00473948
add esp, 4
jmp 0x42ada0
cmp byte [esp + 0x2e0], 0
je 0x42ad9b
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0042a950
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x2e8], 4
call fcn.0040be40
add esp, 0x14
mov byte [esp + 0x2d4], 1
cmp dword [esp + 0x3c], ebp
jb 0x42ad51
mov edx, dword [esp + 0x28]
push edx
call fcn.00473948
add esp, 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00429c40
mov esi, dword [esp + 0x20]
add esp, 8
test byte [esp + 0x78], 1
je 0x42ad7a
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test bl, al
setne bl
cmp dword [esp + 0x74], ebp
jb 0x42ada0
mov edx, dword [esp + 0x60]
push edx
call fcn.00473948
add esp, 4
jmp 0x42ada0
mov byte [esp + 0x17], 1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x42abe0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
je 0x42adea
test esi, esi
je 0x42add0
push esi
call fcn.00473f71
add esp, 4
cmp dword [esp + 0x58], ebp
jb 0x42ade3
mov edx, dword [esp + 0x44]
push edx
call fcn.00473948
add esp, 4
xor al, al
jmp 0x42aea3
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42adfa
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
test bl, bl
je 0x42adc3
cmp byte [esp + 0x17], 0
jne 0x42adc3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00429c40
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne bl
test esi, esi
je 0x42ae34
push esi
call fcn.00473f71
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0040ae00
mov al, bl
jmp 0x42aea3
cmp byte [esp + 0x2e0], 0
je 0x42ae80
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne bl
cmp esi, edi
je 0x42ae64
push esi
call fcn.00473f71
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x42ab17
mov eax, dword [esp + 0x44]
push eax
call fcn.00473948
add esp, 4
mov al, bl
jmp 0x42aea3
cmp esi, edi
je 0x42ae8d
push esi
call fcn.00473f71
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x42aea1
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00473948
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2b4]
xor ecx, esp
call fcn.00474468
add esp, 0x2c4
ret