Function at 0x431db0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x125c
call fcn.00465640
mov eax, dword [0x4bdbb0]
xor eax, esp
mov dword [esp + 0x1258], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x126c]
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x272]
push ecx
mov word [esp + 0x274], ax
call fcn.00463850
xor edx, edx
push 0x7fe
push edx
lea eax, [esp + 0xa7e]
push eax
mov word [esp + 0xa80], dx
call fcn.00463850
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x431e15
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x431e3a
push 0x4a2058
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea ecx, [esp + 0xa6c]
push ecx
call ebx
push 0x48dca4
lea edx, [esp + 0xa6c]
push edx
call edi
push 0x250
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00463850
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xa6c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebp, 0xffffffff
je 0x432099
test ebp, ebp
je 0x432099
lea ebx, [ebx]
mov ecx, 0x48e754
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431ed6
test dx, dx
je 0x431ed2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431ed6
add eax, 4
add ecx, 4
test dx, dx
jne 0x431eb0
xor eax, eax
jmp 0x431edb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x432073
mov ecx, 0x48dc88
lea eax, [esp + 0x44]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431f16
test dx, dx
je 0x431f12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431f16
add eax, 4
add ecx, 4
test dx, dx
jne 0x431ef0
xor eax, eax
jmp 0x431f1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x432073
push esi
lea eax, [esp + 0x26c]
push eax
call ebx
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x26c]
push edx
call edi
lea eax, [esp + 0x268]
push eax
lea ecx, [esp + 0x18]
call fcn.00411f40
mov ecx, dword [esp + 0x14]
push 0x2e
push ecx
call fcn.0046450c
add esp, 8
test eax, eax
je 0x43200b
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43200b
mov edx, dword [ecx - 0xc]
sub edx, eax
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00411640
lea ecx, [esp + 0x10]
call fcn.004196b0
mov ecx, eax
call fcn.004184b0
lea ecx, [esp + 0x10]
call fcn.004183a0
lea ecx, [esp + 0x10]
push ecx
push str..dat
call fcn.00417470
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x431fef
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431fd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x432067
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43200b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x43202f
lea edx, [esp + 0x268]
push edx
call fcn.00431db0
add esp, 4
jmp 0x432053
test al, 1
je 0x432045
and eax, 0xfffffffe
push eax
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432073
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431ea0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov al, 1
jmp 0x43209b
xor al, al
mov ecx, dword [esp + 0x1268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004644d0
add esp, 0x125c
ret