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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x4e98
call fcn.00401050
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp + 4], 0x435980
mov dword [ebp - 0x4e70], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcsstr]
mov dword [esp], 0x430420
mov dword [ebp - 0x4e6c], eax
call eax
test eax, eax
je 0x40a650
xor ebx, ebx
mov ecx, eax
xor esi, esi
mov edi, ebx
lea esi, [esi]
nop
movzx eax, word [ecx + 4]
lea ebx, [ecx + 4]
cmp ax, 0x3a
jne 0x409b04
movzx eax, word [ecx + 6]
lea ebx, [ecx + 6]
cmp ax, 0x2f
je 0x409b58
test ax, ax
je 0x409b58
nop
cmp ax, 0x2d
je 0x409d60
movzx eax, word [ebx]
cmp ax, 0x52
je 0x409d98
ja 0x409d50
cmp ax, 0x41
je 0x409dc0
cmp ax, 0x48
jne 0x409da0
or edi, 2
mov eax, ebx
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
test ax, ax
je 0x409b58
cmp ax, 0x2f
jne 0x409b10
mov dword [esp + 4], 0x435980
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], ebx
call eax
mov ecx, eax
test eax, eax
jne 0x409af0
mov ebx, edi
mov ecx, dword [ebp - 0x4e70]
xor eax, eax
nop
movzx edx, word [ecx + eax]
mov word [ebp + eax - 0x4e50], dx
add eax, 2
test dx, dx
jne 0x409b80
test byte [0x423010], 8
jne 0x409ef9
mov dword [esp + 4], 0x4359ac
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
je 0x40a532
lea eax, [ebp - 0x4018]
xor edi, edi
mov dword [ebp - 0x4e70], eax
mov eax, dword [ebp - 0x4e70]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4e50]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x4e7c], eax
call eax
mov dword [ebp - 0x4e74], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x409cf5
lea eax, [ebp - 0x4e50]
mov dword [esp + 4], 0x2a
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [esp], eax
call edi
test eax, eax
je 0x40a7b9
xor eax, eax
lea edi, [ebp - 0x4c48]
lea esi, [esi]
movzx edx, word [ebp + eax - 0x4e50]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x409c30
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
or esi, 0x10
mov dword [ebp - 0x4e78], esi
mov esi, eax
lea esi, [esi]
mov dword [esp + 4], 0x5c
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x409df5
xor edx, edx
cmp word [ebp - 0x4c48], 0
mov word [eax + 2], dx
mov edx, edi
je 0x409c91
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x409c88
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebp + eax - 0x3fec]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x409c98
mov eax, dword [ebp - 0x4018]
mov edx, eax
and edx, ebx
cmp edx, ebx
je 0x409e26
mov eax, dword [ebp - 0x4e70]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4e74]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
jne 0x409c58
mov eax, dword [ebp - 0x4e74]
mov edi, 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
mov dword [esp + 4], 0x4359d6
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
je 0x409d42
lea eax, [ebp - 0x4a40]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x4e50]
mov dword [esp + 4], 0x104
mov dword [esp], eax
call sym._WCMD_get_fullpath
test eax, eax
jne 0x40a178
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x53
jne 0x409da0
or edi, 4
jmp 0x409b44
movzx eax, word [ebx + 2]
cmp ax, 0x52
je 0x409dd0
ja 0x409d88
cmp ax, 0x41
je 0x409df0
cmp ax, 0x48
jne 0x409dd8
or esi, 2
lea eax, [ebx + 2]
jmp 0x409b46
cmp ax, 0x53
jne 0x409dd8
or esi, 4
jmp 0x409d7b
or edi, 1
jmp 0x409b44
mov dword [esp], 0x3f3
call sym._WCMD_LoadMessage
mov dword [esp], eax
call sym._WCMD_output_stderr
jmp 0x409b44
or edi, 0x20
jmp 0x409b44
or esi, 1
jmp 0x409d7b
mov dword [esp], 0x3f3
call sym._WCMD_LoadMessage
mov dword [esp], eax
call sym._WCMD_output_stderr
jmp 0x409d7b
or esi, 0x20
jmp 0x409d7b
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebp + eax - 0x3fec]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x409e00
mov eax, dword [ebp - 0x4018]
mov edx, eax
and edx, ebx
cmp edx, ebx
jne 0x409cbe
test dword [ebp - 0x4e78], eax
jne 0x409cbe
mov dword [esp + 4], 0x4359b2
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
je 0x409e98
mov dword [esp], 0x3ff
call sym._WCMD_LoadMessage
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._WCMD_format_string
xor edx, edx
mov dword [ebp - 0x4e84], eax
call sym._WCMD_ask_confirm.constprop.0
mov ecx, dword [ebp - 0x4e84]
mov dword [ebp - 0x4e80], eax
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_LocalFree]
mov ecx, dword [ebp - 0x4e80]
sub esp, 4
test ecx, ecx
je 0x409cbe
mov eax, dword [ebp - 0x4018]
test al, 1
je 0x409edb
test bl, 1
jne 0x409ec8
mov dword [esp + 4], 0x4359d0
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
je 0x409edb
mov eax, dword [ebp - 0x4018]
and eax, 0xfffffffe
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
sub esp, 8
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x409cbe
call sym._WCMD_print_error
jmp 0x409cbe
mov eax, 0x430420
mov edi, eax
shr edi, 0x10
je 0x40a659
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x430420
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x4e70], 0x4350cb
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x40a01f
movzx eax, word [0x430420]
test ax, ax
je 0x40a70b
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [edx + edx + 0x430422], 0
jne 0x409f48
mov ecx, 0x224c
mov dword [ebp - 0x4e70], ebx
lea edi, [ebp - 0x4016]
mov word [ebp - 0x4018], cx
mov ecx, 0x430420
mov ebx, ecx
jmp 0x409fb6
cmp ax, 9
je 0x40a4a1
cmp ax, 0xa
jne 0x40a4d0
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea esi, [esi]
lea ecx, [edx - 1]
test edx, edx
jle 0x409fe7
lea eax, [ebp - 0x3ef6]
cmp edi, eax
ja 0x409fe7
movzx eax, word [ebx]
mov edx, ecx
add ebx, 2
cmp ax, 0xd
je 0x40a490
jbe 0x409f79
cmp ax, 0x22
je 0x40a521
cmp ax, 0x5c
jne 0x40a4c3
mov ecx, 0x5c5c
add edi, 2
mov word [edi - 2], cx
jmp 0x409fa0
mov byte [edi], 0x22
mov ebx, dword [ebp - 0x4e70]
test ecx, ecx
jle 0x40a724
mov edx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x4018]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x4e70], eax
lea eax, [ebp - 0x4e50]
shr eax, 0x10
je 0x40a681
lea eax, [ebp - 0x4e50]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x4350cb
test ecx, ecx
jne 0x40a141
movzx eax, word [ebp - 0x4e50]
test ax, ax
je 0x40a72c
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebp + edx*2 - 0x4e4e], 0
jne 0x40a070
mov ecx, 0x224c
mov dword [ebp - 0x4e74], ebx
lea edi, [ebp - 0x4016]
mov word [ebp - 0x4018], cx
lea ecx, [ebp - 0x4e50]
mov ebx, ecx
jmp 0x40a0de
cmp ax, 9
je 0x40a410
cmp ax, 0xa
jne 0x40a42e
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea esi, [esi]
lea eax, [ebp - 0x3ef6]
lea ecx, [edx - 1]
cmp edi, eax
ja 0x40a10f
test edx, edx
jle 0x40a10f
movzx eax, word [ebx]
mov edx, ecx
add ebx, 2
cmp ax, 0xd
je 0x40a4b2
jbe 0x40a0a2
cmp ax, 0x22
je 0x40a47f
cmp ax, 0x5c
jne 0x40a421
mov eax, 0x5c5c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0c8
mov byte [edi], 0x22
mov ebx, dword [ebp - 0x4e74]
test ecx, ecx
jle 0x40a745
mov ecx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x4018]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edi, dword [ebp - 0x4e70]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.del:_Processing_arg__s__quals:_s__n
mov dword [esp + 0x14], edi
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x423010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x409ba1
lea eax, [ebp - 0x4428]
lea ebx, [ebp - 0x4838]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x4630]
lea esi, [ebp - 0x4e64]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x4a40]
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
call dword [sym.imp.ucrtbase.dll__wsplitpath]
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ebp + eax - 0x4a40], dx
add eax, 2
test dx, dx
jne 0x40a1b8
cmp word [ebp - 0x4a40], 0
lea edx, [ebp - 0x4a40]
je 0x40a1e9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x40a1e0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40a1f0
cmp word [ebp - 0x4a40], 0
je 0x40a96f
lea eax, [ebp - 0x4a40]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40a218
lea esi, [ebp - 0x4a40]
sub eax, esi
sar eax, 1
mov ebx, eax
lea esi, [eax + 1]
test byte [0x423010], 8
jne 0x40a74d
mov eax, 0x2a
mov word [ebp + ebx*2 - 0x4a40], ax
xor eax, eax
mov word [ebp + esi*2 - 0x4a40], ax
mov eax, dword [ebp - 0x4e70]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4a40]
mov dword [esp], eax
mov eax, dword [ebp - 0x4e7c]
call eax
xor edx, edx
mov dword [ebp - 0x4e80], eax
sub esp, 8
mov word [ebp + ebx*2 - 0x4a40], dx
cmp eax, 0xffffffff
je 0x409d42
xor ebx, ebx
mov dword [ebp - 0x4e84], edi
mov esi, dword [sym.imp.kernel32.dll_FindNextFileW]
mov dword [ebp - 0x4e6c], ebx
mov ebx, eax
mov dword [ebp - 0x4e74], 0
jmp 0x40a2ca
mov eax, dword [ebp - 0x4e70]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
je 0x40a6b9
test byte [ebp - 0x4018], 0x10
je 0x40a2b0
lea eax, [ebp - 0x3fec]
mov dword [esp + 4], 0x4359fc
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40a2b0
lea eax, [ebp - 0x3fec]
mov dword [esp + 4], 0x435a02
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40a2b0
lea eax, [ebp - 0x4a40]
mov edi, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp], eax
call edi
lea ecx, [ebp - 0x3fec]
mov dword [esp], ecx
mov dword [ebp - 0x4e78], eax
call edi
lea ecx, [ebp - 0x4630]
add eax, dword [ebp - 0x4e78]
mov dword [esp], ecx
mov dword [ebp - 0x4e78], eax
call edi
lea ecx, [ebp - 0x4428]
mov dword [ebp - 0x4e7c], eax
mov dword [esp], ecx
call edi
mov edi, dword [ebp - 0x4e78]
mov edx, eax
mov eax, dword [ebp - 0x4e7c]
lea eax, [edi + eax + 1]
add eax, edx
cmp eax, 0x103
jbe 0x40a865
test byte [0x423010], 8
je 0x40a2b0
lea eax, [ebp - 0x4428]
call sym._wine_dbgstr_wn.constprop.0
mov edi, eax
lea eax, [ebp - 0x4630]
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x4e7c], eax
lea eax, [ebp - 0x3fec]
call sym._wine_dbgstr_wn.constprop.0
lea ecx, [ebp - 0x4a40]
mov dword [ebp - 0x4e78], eax
mov eax, ecx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x4e7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x4e78]
mov dword [esp + 0xc], str.Skipping_path_too_long__s_s_s_s_n
mov dword [esp + 0x14], edi
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x423010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40a2b0
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0c8
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40a6b1
mov ecx, eax
mov byte [edi], 0x5c
add edi, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + 0x438130]
mov byte [edi - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + 0x438130]
mov byte [edi - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + 0x438130]
and ecx, 0xf
movzx ecx, byte [ecx + 0x438130]
mov byte [edi - 1], al
mov byte [edi - 2], cl
jmp 0x40a0c8
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0c8
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x409fa0
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x409fa0
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0c8
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40a6a9
mov ecx, eax
mov byte [edi], 0x5c
add edi, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + 0x438130]
mov byte [edi - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + 0x438130]
mov byte [edi - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + 0x438130]
and ecx, 0xf
movzx ecx, byte [ecx + 0x438130]
mov byte [edi - 1], al
mov byte [edi - 2], cl
jmp 0x409fa0
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x409fa0
mov dword [esp + 4], 0x4359b2
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
jne 0x409bc0
lea eax, [ebp - 0x4220]
lea edi, [ebp - 0x4e50]
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x104
mov dword [ebp - 0x4e78], eax
call sym._WCMD_get_fullpath
mov edi, eax
test eax, eax
je 0x409d42
mov eax, dword [ebp - 0x4e78]
lea edx, [ebp - 0x4838]
lea ecx, [ebp - 0x4428]
mov dword [esp + 8], edx
lea edi, [ebp - 0x4630]
lea edx, [ebp - 0x4a40]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wsplitpath]
mov dword [esp], edi
mov edi, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [esp + 4], 0x4359b8
call edi
sub esp, 8
test eax, eax
jne 0x409bc0
cmp word [ebp - 0x4428], 0
lea ecx, [ebp - 0x4428]
je 0x40a606
mov dword [esp + 4], 0x4359c4
mov dword [esp], ecx
call edi
sub esp, 8
test eax, eax
jne 0x409bc0
mov eax, dword [ebp - 0x4e78]
mov dword [esp + 4], 0x4359bc
mov dword [esp + 8], eax
lea eax, [ebp - 0x4018]
mov edi, eax
mov dword [ebp - 0x4e70], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
mov eax, edi
mov edx, 1
call sym._WCMD_ask_confirm.constprop.0
mov edi, eax
test eax, eax
je 0x409d42
mov edi, 1
jmp 0x409bce
xor esi, esi
xor ebx, ebx
jmp 0x409b77
movzx eax, ax
mov dword [esp], 0x4350be
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov dword [ebp - 0x4e70], eax
lea eax, [ebp - 0x4e50]
shr eax, 0x10
jne 0x40a02e
lea eax, [ebp - 0x4e50]
mov dword [esp], 0x4350be
mov dword [ebp - 0x4e74], eax
movzx eax, word [ebp - 0x4e74]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
jmp 0x40a141
mov byte [edi], al
inc edi
jmp 0x409fa0
mov byte [edi], al
inc edi
jmp 0x40a0c8
mov eax, dword [ebp - 0x4e80]
mov ebx, dword [ebp - 0x4e6c]
mov edi, dword [ebp - 0x4e84]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test ebx, ebx
je 0x409d42
mov esi, ebx
mov ebx, dword [ebx]
mov eax, dword [esi + 4]
call sym._WCMD_delete_one
or edi, eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
test ebx, ebx
jne 0x40a6df
jmp 0x409d42
mov byte [ebp - 0x4016], 0x22
mov edi, 0x224c
mov word [ebp - 0x4018], di
lea edi, [ebp - 0x4016]
lea eax, [edi + 1]
jmp 0x40a008
mov byte [ebp - 0x4016], 0x22
mov edi, 0x224c
mov word [ebp - 0x4018], di
lea edi, [ebp - 0x4016]
lea eax, [edi + 1]
jmp 0x40a130
lea eax, [ebp - 0x4a40]
shr eax, 0x10
je 0x40a83d
lea eax, [ebp - 0x4a40]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, 0x4350cb
test edx, edx
jne 0x40a78c
lea eax, [ebp - 0x4a40]
call sym._wine_dbgstr_wn.part.0.constprop.0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Searching_recursively_in__s_n
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x423010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40a23d
lea eax, [ebp - 0x4e50]
mov dword [esp + 4], 0x3f
mov dword [esp], eax
call edi
test eax, eax
jne 0x409c21
test byte [ebp - 0x4018], 0x10
je 0x409c21
lea esi, [ebp - 0x4220]
mov dword [ebp - 0x4e78], esi
movzx edx, word [ebp + eax - 0x4e50]
mov esi, dword [ebp - 0x4e78]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x40a7ed
mov dword [esp + 4], 0x4359ca
mov edi, 1
mov dword [esp], esi
call sym._lstrcatW_8
mov eax, dword [ebp - 0x4e74]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, esi
sub esp, 4
call sym._WCMD_delete_one
jmp 0x409cf5
lea eax, [ebp - 0x4a40]
mov dword [esp], 0x4350be
mov dword [ebp - 0x4e6c], eax
movzx eax, word [ebp - 0x4e6c]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
jmp 0x40a78c
xor eax, eax
lea edi, [ebp - 0x4220]
movzx edx, word [ebp + eax - 0x4a40]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x40a86d
lea eax, [ebp - 0x3fec]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._lstrcatW_8
sub esp, 8
mov dword [esp + 4], 0x435a2a
mov dword [esp], edi
call sym._lstrcatW_8
lea eax, [ebp - 0x4630]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._lstrcatW_8
lea eax, [ebp - 0x4428]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._lstrcatW_8
sub esp, 8
test byte [0x423010], 8
jne 0x40a97b
mov dword [esp], 0xc
call sym._xalloc
mov ecx, eax
mov eax, dword [ebp - 0x4e6c]
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x4e6c], eax
mov eax, dword [ebp - 0x4e74]
test eax, eax
je 0x40a90b
mov dword [eax], ecx
cmp word [ebp - 0x4220], 0
mov dword [ecx], 0
je 0x40a9af
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x40a921
sub eax, edi
lea edx, [eax + 2]
mov dword [esp], edx
mov dword [ebp - 0x4e78], ecx
mov dword [ebp - 0x4e74], edx
call sym._xalloc
mov edx, dword [ebp - 0x4e74]
mov dword [esp + 4], edi
mov dword [esp], eax
mov edi, eax
mov dword [esp + 8], edx
call sym._memcpy
mov ecx, dword [ebp - 0x4e78]
mov dword [ecx + 4], edi
mov dword [ebp - 0x4e74], ecx
jmp 0x40a2b0
xor ebx, ebx
mov esi, 1
jmp 0x40a230
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], 0x435a30
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x423010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x40a8e0
mov edx, 2
jmp 0x40a92f