Function at 0x10002bc0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x10047140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
push str._SKUtil__DeleteDirectoryW_start_sPath___s
mov dword [ebp - 0x668], ebx
call fcn.100010e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.100105b0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.100105b0
lea edx, [ebp - 0x414]
add esp, 0x20
mov ecx, ebx
sub edx, ebx
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002c30
lea ecx, [ebp - 0x414]
add ecx, 0xfffffffe
jmp 0x10002c50
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002c50
mov eax, dword [0x10036b78]
mov dword [ecx], eax
mov ax, word [0x10036b7c]
lea edx, [ebp - 0x20c]
mov word [ecx + 4], ax
mov ecx, ebx
sub edx, ebx
jmp 0x10002c80
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002c80
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
jmp 0x10002ca0
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10002ca0
mov eax, dword [0x10036a24]
mov dword [edi], eax
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10002e66
xor edx, edx
jmp 0x10002ce0
movzx ecx, word [ebp + edx - 0x20c]
mov word [ebp + edx - 0x414], cx
lea edx, [edx + 2]
test cx, cx
jne 0x10002ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, edi
lea eax, [ebp - 0x664]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10002e47
lea eax, [ebp - 0x638]
push eax
call fcn.10003730
add esp, 4
test eax, eax
jne 0x10002d00
lea edx, [ebp - 0x638]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10002d31
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
jmp 0x10002d50
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10002d50
mov eax, dword [ebp - 0x664]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test al, 0x10
je 0x10002ddd
lea eax, [ebp - 0x20c]
push eax
call fcn.10002bc0
add esp, 4
test eax, eax
je 0x10002e2d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10002db8
call esi
push eax
push dword [ebp - 0x668]
push str._SKUtil__RemoveDirectoryW__s_Fail__Error_Code___d
call fcn.100010e0
add esp, 0xc
xor ecx, ecx
lea ebx, [ebx]
movzx eax, word [ebp + ecx - 0x414]
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x10002dc0
jmp 0x10002d00
test al, 1
je 0x10002df5
lea eax, [ebp - 0x20c]
push 0x80
push eax
call fcn.1000f980
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10002e2d
xor eax, eax
jmp 0x10002e10
movzx ecx, word [ebp + eax - 0x414]
mov word [ebp + eax - 0x20c], cx
lea eax, [eax + 2]
test cx, cx
jne 0x10002e10
jmp 0x10002cf8
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000db11
mov esp, ebp
pop ebp
ret
call esi
push ebx
cmp eax, 0x12
jne 0x10002e2e
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x10002e66
push str._SKUtil__Couldnt_close_search_handle.
call fcn.100010e0
add esp, 4
push str._SKUtil__DeleteDirectoryW_end
call fcn.100010e0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.1000db11
mov esp, ebp
pop ebp
ret