Function at 0x625cf090
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
lea eax, [ebp - 0x268]
push ebx
mov ebx, edx
sub esp, 0x49c
mov word [ebp - 0x486], cx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x47c], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x625cf201
test esi, esi
je 0x625cf0fe
dec ebx
mov edx, ebx
jns 0x625cf0e5
jmp 0x625cf0fe
sub edx, 1
jb 0x625cf0fe
movzx eax, word [esi + edx*2]
cmp ax, 0x2f
je 0x625cf0e0
cmp ax, 0x5c
jne 0x625cf246
sub edx, 1
jae 0x625cf0e5
lea ebx, [ebp - 0x470]
xor eax, eax
mov dword [ebp - 0x484], ebx
inc eax
lea esi, [ebp - 0x23c]
mov dword [ebp - 0x480], eax
jmp 0x625cf144
lea eax, [ebp - 0x268]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x47c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x625cf382
mov edx, dword [ebp - 0x268]
and edx, 0x50
jne 0x625cf120
cmp word [ebp - 0x23c], 0
je 0x625cf330
mov eax, esi
nop
add eax, 2
cmp word [eax], 0
jne 0x625cf160
sub eax, esi
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x480]
cmp edx, 0x103
ja 0x625cf344
add eax, 2
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x484]
mov dword [esp], eax
call sym._memcpy
test byte [0x625d3028], 8
jne 0x625cf2f8
mov dword [esp], ebx
mov edi, dword [sym.imp.kernel32.dll_DeleteFileW]
call edi
sub esp, 4
test eax, eax
jne 0x625cf120
cmp word [ebp - 0x486], 0
je 0x625cf1ef
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
sub esp, 8
test eax, eax
je 0x625cf1ef
mov dword [esp], ebx
call edi
sub esp, 4
test eax, eax
jne 0x625cf120
mov eax, dword [ebp - 0x47c]
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 0x625cf3b8
jbe 0x625cf365
cmp eax, 0x50
je 0x625cf229
cmp eax, 0xb7
jne 0x625cf3e5
mov edi, 0x800a003a
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x5c
je 0x625cf26d
sub edx, 1
jb 0x625cf0fe
movzx eax, word [esi + edx*2]
cmp ax, 0x2f
jne 0x625cf240
lea esi, [esi]
sub edx, 1
jb 0x625cf0fe
movzx eax, word [esi + edx*2]
cmp ax, 0x2f
je 0x625cf260
cmp ax, 0x5c
je 0x625cf260
cmp ax, 0x3a
jne 0x625cf288
cmp edx, 1
je 0x625cf3c2
lea eax, [edx + 2]
cmp eax, 0x103
ja 0x625cf344
lea ecx, [edx + 1]
mov dword [ebp - 0x484], ecx
add ecx, ecx
lea edi, [ecx + 2]
mov dword [ebp - 0x480], edi
lea ebx, [ebp - 0x470]
cmp ecx, 4
jae 0x625cf3a0
test ecx, ecx
je 0x625cf2cb
movzx edx, byte [esi]
mov byte [ebx], dl
test cl, 2
jne 0x625cf422
mov ecx, dword [ebp - 0x484]
mov edx, 0x5c
mov word [ebp + ecx*2 - 0x470], dx
mov ecx, dword [ebp - 0x480]
add ecx, ebx
mov dword [ebp - 0x484], ecx
jmp 0x625cf10c
mov eax, ebx
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_file
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625cf1a7
add edx, dword [ebp - 0x480]
xor eax, eax
cmp edx, 0x103
jbe 0x625cf181
mov eax, dword [ebp - 0x47c]
mov edi, 0x80004005
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, 0x800a0035
cmp eax, 2
je 0x625cf22e
cmp eax, 3
jne 0x625cf3e5
mov edi, 0x800a004c
jmp 0x625cf22e
mov edi, eax
mov eax, dword [ebp - 0x47c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esi + ecx - 4]
mov dword [ebp + ecx - 0x474], edi
dec ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x625cf2cb
mov edi, 0x800a0046
jmp 0x625cf22e
mov dword [ebp - 0x480], 8
mov ecx, 6
mov eax, 4
mov dword [ebp - 0x484], 3
jmp 0x625cf2aa
test byte [0x625d3028], 1
jne 0x625cf3f8
mov edi, 0x80004005
jmp 0x625cf22e
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], 0x625d3028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x625cf3ee
movzx esi, word [esi + ecx - 2]
mov word [ebx + ecx - 2], si
jmp 0x625cf2cb