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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
lea eax, [ebp - 0x25c]
sub esp, 0x480
mov word [ebp - 0x472], cx
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x46c], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x1000e727
test ebx, ebx
je 0x1000e5a5
sub esi, 1
jns 0x1000e575
jmp 0x1000e5a5
sub esi, 1
jb 0x1000e5a5
movzx eax, word [ebx + esi*2]
cmp ax, 0x2f
je 0x1000e570
cmp ax, 0x5c
je 0x1000e570
lea esi, [esi]
movzx eax, word [ebx + esi*2]
cmp ax, 0x2f
je 0x1000e769
cmp ax, 0x5c
je 0x1000e769
sub esi, 1
jae 0x1000e588
mov dword [ebp - 0x470], 0
lea edx, [ebp - 0x464]
mov dword [ebp - 0x478], edx
mov dword [ebp - 0x468], edx
jmp 0x1000e60c
movzx eax, word [ebp - 0x22e]
test ax, ax
je 0x1000e5e8
cmp ax, 0x2e
jne 0x1000e62b
cmp word [ebp - 0x22c], 0
jne 0x1000e62b
lea esi, [esi]
lea eax, [ebp - 0x25c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x1000e860
test byte [ebp - 0x25c], 0x10
je 0x1000e5e8
movzx eax, word [ebp - 0x230]
cmp ax, 0x2e
je 0x1000e5c8
test ax, ax
je 0x1000e890
lea edx, [ebp - 0x230]
mov eax, edx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x1000e638
sub eax, edx
mov edi, dword [ebp - 0x470]
mov ebx, eax
sar ebx, 1
add ebx, edi
lea edx, [ebx + 3]
cmp edx, 0x103
ja 0x1000e8a7
lea esi, [ebp - 0x230]
cmp eax, 4
jae 0x1000e7f0
test eax, eax
je 0x1000e688
movzx edx, byte [ebp - 0x230]
mov edi, dword [ebp - 0x478]
mov byte [edi], dl
test al, 2
jne 0x1000e8c8
xor esi, esi
mov edx, 0x5c
lea edi, [ebx + 2]
mov ecx, 0x2a
mov word [ebp + ebx*2 - 0x464], dx
mov eax, dword [ebp - 0x468]
mov edx, edi
mov word [ebp + ebx*2 - 0x462], cx
mov word [ebp + edi*2 - 0x464], si
movsx esi, word [ebp - 0x472]
mov ecx, esi
call sym._delete_file
test eax, eax
js 0x1000e860
mov eax, dword [ebp - 0x468]
mov ecx, esi
mov edx, edi
call sym._delete_folder
test eax, eax
js 0x1000e860
xor eax, eax
mov word [ebp + ebx*2 - 0x464], ax
test byte [0x10012028], 8
jne 0x1000e820
mov eax, dword [ebp - 0x468]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
sub esp, 4
test eax, eax
jne 0x1000e5e8
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
cmp eax, 5
je 0x1000e93d
ja 0x1000e8e0
mov ecx, 0x800a0035
cmp eax, 2
je 0x1000e87e
mov ecx, 0x800a004c
cmp eax, 3
je 0x1000e87e
jmp 0x1000e8ec
sub esi, 1
jb 0x1000e5a5
movzx eax, word [ebx + esi*2]
cmp ax, 0x2f
je 0x1000e760
cmp ax, 0x5c
je 0x1000e760
cmp word [ebx + esi*2], 0x3a
lea edx, [esi + esi]
jne 0x1000e78c
cmp esi, 1
je 0x1000e91f
lea eax, [esi + 2]
lea edi, [esi + 1]
mov dword [ebp - 0x470], eax
cmp eax, 0x103
ja 0x1000e8a7
lea eax, [edx + 2]
lea esi, [edx + 4]
lea edx, [ebp - 0x464]
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [ebp - 0x468], edx
call sym._memcpy
mov edx, dword [ebp - 0x468]
mov eax, 0x5c
mov word [ebp + edi*2 - 0x464], ax
lea eax, [edx + esi]
mov dword [ebp - 0x478], eax
jmp 0x1000e5bb
mov ecx, dword [ebp - 0x478]
mov edx, dword [ebp - 0x230]
lea edi, [ecx + 4]
mov dword [ecx], edx
mov edx, dword [ebp + eax - 0x234]
and edi, 0xfffffffc
mov dword [ecx + eax - 4], edx
sub ecx, edi
sub esi, ecx
lea ecx, [eax + ecx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x1000e688
mov eax, dword [ebp - 0x468]
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], str.deleting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.delete_folder
mov dword [esp + 4], 0x10012028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000e6fb
mov dword [ebp - 0x468], eax
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x468]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [ebp - 0x470]
xor eax, eax
lea edx, [ebx + 3]
cmp edx, 0x103
jbe 0x1000e65e
mov eax, dword [ebp - 0x46c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
lea esp, [ebp - 0xc]
mov ecx, 0x80004005
pop ebx
mov eax, ecx
pop esi
pop edi
pop ebp
ret
movzx edx, word [ebp + eax - 0x232]
mov edi, dword [ebp - 0x478]
mov word [edi + eax - 2], dx
jmp 0x1000e688
cmp eax, 0x50
je 0x1000e947
cmp eax, 0xb7
je 0x1000e947
test byte [0x10012028], 1
je 0x1000e8b9
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unsupported_error_code:__ld_n
mov dword [esp + 8], str.create_error
mov dword [esp + 4], 0x10012028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x1000e8b9
mov esi, 8
mov eax, 6
mov edi, 3
mov dword [ebp - 0x470], 4
jmp 0x1000e7a9
mov ecx, 0x800a0046
jmp 0x1000e87e
mov ecx, 0x800a003a
jmp 0x1000e87e