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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x68354
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00014684
xor eax, eax
push ebp
push 0x6868b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
inc dword [eax - 4]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0001bae0
lea eax, [ebp - 0x25c]
xor ecx, ecx
mov edx, 0x250
call fcn.000129f0
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
mov ecx, 0x686a0
mov edx, dword [ebp - 8]
call fcn.00014330
mov eax, dword [ebp - 0x260]
call fcn.000142b4
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x68585
test byte [ebp - 0x25c], 0x10
jne 0x6848c
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.00014224
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00014330
push 0
mov eax, dword [ebp - 0xc]
call fcn.000142b4
mov esi, eax
push esi
call sub.kernel32.dll_SetFileAttributesW
push esi
call sub.kernel32.dll_DeleteFileW
test eax, eax
jne 0x68570
call sub.kernel32.dll_GetLastError_1
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x68570
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x686ac
call fcn.00014330
mov edx, dword [ebp - 0x26c]
lea ecx, [ebp - 0x268]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.000382b0
lea edx, [ebp - 0x274]
mov eax, esi
call fcn.00018f2c
mov edx, dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00038234
jmp 0x68570
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.00014224
mov eax, dword [ebp - 0xc]
mov edx, 0x686cc
call fcn.000143dc
je 0x68570
mov eax, dword [ebp - 0xc]
mov edx, 0x686d4
call fcn.000143dc
je 0x68570
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0x3e8
jae 0x68570
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00014330
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0006834c
pop ecx
mov eax, dword [ebp - 0xc]
call fcn.000142b4
mov edi, eax
push edi
call sub.kernel32.dll_RemoveDirectoryW
test eax, eax
jne 0x68570
call sub.kernel32.dll_GetLastError_1
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x68562
lea eax, [ebp - 0x27c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x686e0
call fcn.00014330
mov edx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x278]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.000382b0
lea edx, [ebp - 0x284]
mov eax, esi
call fcn.00018f2c
mov edx, dword [ebp - 0x284]
lea ecx, [ebp - 0x280]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00038234
push 0x10
push edi
call sub.kernel32.dll_SetFileAttributesW
push edi
call sub.kernel32.dll_RemoveDirectoryW
lea eax, [ebp - 0x25c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x683d1
cmp ebx, 0xffffffff
je 0x68590
push ebx
call sub.kernel32.dll_FindClose_1
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.000140c0
mov eax, dword [ebp - 0xc]
call fcn.000142b4
push eax
call sub.kernel32.dll_RemoveDirectoryW
test eax, eax
jne 0x68610
call sub.kernel32.dll_GetLastError_1
mov esi, eax
cmp esi, 2
je 0x68610
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x68610
lea eax, [ebp - 0x28c]
mov ecx, dword [ebp - 0xc]
mov edx, 0x686e0
call fcn.00014330
mov edx, dword [ebp - 0x28c]
lea ecx, [ebp - 0x288]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.000382b0
lea edx, [ebp - 0x294]
mov eax, esi
call fcn.00018f2c
mov edx, dword [ebp - 0x294]
lea ecx, [ebp - 0x290]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00038234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x68692
lea eax, [ebp - 0x294]
mov edx, 2
call fcn.00013a78
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.0001409c
lea eax, [ebp - 0x284]
mov edx, 2
call fcn.00013a78
lea eax, [ebp - 0x27c]
mov edx, 2
call fcn.0001409c
lea eax, [ebp - 0x274]
mov edx, 2
call fcn.00013a78
lea eax, [ebp - 0x26c]
mov edx, 4
call fcn.0001409c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0001409c
ret