Function at 0x428c90
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 0x4898d5
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x4acab8]
xor eax, esp
mov dword [esp + 0x2b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4acab8]
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 0x429141
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.0040b360
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x2d4], edi
cmp eax, edi
jbe 0x428d58
cmp esi, eax
jbe 0x428d1b
call fcn.004707a2
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov ebx, 0x10
cmp dword [esp + 0x58], ebx
jae 0x428d2e
lea ecx, [esp + 0x44]
cmp byte [ecx + esi], 0x2f
jne 0x428d53
cmp esi, eax
jbe 0x428d3d
call fcn.004707a2
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebx
jae 0x428d4b
lea eax, [esp + 0x44]
mov byte [eax + esi], 0x5c
mov eax, dword [esp + 0x54]
inc esi
cmp esi, eax
jb 0x428d1b
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.00427f10
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x428dbe
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne bl
cmp esi, edi
je 0x428da3
push esi
call fcn.00470041
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x428db7
mov edx, dword [esp + 0x44]
push edx
call fcn.0046fa18
add esp, 4
mov al, bl
jmp 0x429143
test al, 0x10
je 0x4290e1
mov eax, dword [esp + 0x54]
lea esi, [eax - 1]
mov bl, 1
mov byte [esp + 0x17], 0
cmp esi, eax
jbe 0x428ddd
call fcn.004707a2
mov eax, dword [esp + 0x44]
mov ebp, 0x10
cmp dword [esp + 0x58], ebp
jae 0x428df0
lea eax, [esp + 0x44]
cmp byte [eax + esi], 0x5c
je 0x428e06
push 1
push 0x492cc8
lea ecx, [esp + 0x48]
call fcn.0040b440
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00427f10
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.0046fe26
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 0x428e40
mov ecx, dword [0x492ec4]
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 0x429058
mov edi, 0xf
jmp 0x428e80
mov ecx, 0x492ec0
lea eax, [esp + 0xa4]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428eb6
test dx, dx
je 0x428eb2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428eb6
add eax, 4
add ecx, 4
test dx, dx
jne 0x428e90
xor eax, eax
jmp 0x428ebb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x429040
mov ecx, 0x492eb8
lea eax, [esp + 0xa4]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428ef6
test dx, dx
je 0x428ef2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428ef6
add eax, 4
add ecx, 4
test dx, dx
jne 0x428ed0
xor eax, eax
jmp 0x428efb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x429040
test byte [esp + 0x78], 0x10
je 0x428f9b
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00428bf0
push eax
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x2e8], 2
call fcn.0040be70
mov ecx, dword [esp + 0x2f4]
push ecx
push eax
mov byte [esp + 0x2f0], 3
call fcn.00428c90
add esp, 0x1c
and bl, al
cmp dword [esp + 0x74], ebp
jb 0x428f66
mov edx, dword [esp + 0x60]
push edx
call fcn.0046fa18
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 0x429040
mov eax, dword [esp + 0x28]
push eax
call fcn.0046fa18
add esp, 4
jmp 0x429040
cmp byte [esp + 0x2e0], 0
je 0x42903b
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00428bf0
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x2e8], 4
call fcn.0040be70
add esp, 0x14
mov byte [esp + 0x2d4], 1
cmp dword [esp + 0x3c], ebp
jb 0x428ff1
mov edx, dword [esp + 0x28]
push edx
call fcn.0046fa18
add esp, 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
call fcn.00427f10
mov esi, dword [esp + 0x20]
add esp, 8
test byte [esp + 0x78], 1
je 0x42901a
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 0x429040
mov edx, dword [esp + 0x60]
push edx
call fcn.0046fa18
add esp, 4
jmp 0x429040
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 0x428e80
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x12
je 0x42908a
test esi, esi
je 0x429070
push esi
call fcn.00470041
add esp, 4
cmp dword [esp + 0x58], ebp
jb 0x429083
mov edx, dword [esp + 0x44]
push edx
call fcn.0046fa18
add esp, 4
xor al, al
jmp 0x429143
mov eax, dword [esp + 0x20]
cmp eax, 0xffffffff
je 0x42909a
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
test bl, bl
je 0x429063
cmp byte [esp + 0x17], 0
jne 0x429063
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00427f10
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 0x4290d4
push esi
call fcn.00470041
add esp, 4
lea ecx, [esp + 0x40]
call fcn.0040ae10
mov al, bl
jmp 0x429143
cmp byte [esp + 0x2e0], 0
je 0x429120
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne bl
cmp esi, edi
je 0x429104
push esi
call fcn.00470041
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x428db7
mov eax, dword [esp + 0x44]
push eax
call fcn.0046fa18
add esp, 4
mov al, bl
jmp 0x429143
cmp esi, edi
je 0x42912d
push esi
call fcn.00470041
add esp, 4
cmp dword [esp + 0x58], 0x10
jb 0x429141
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0046fa18
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.00470538
add esp, 0x2c4
ret