Function at 0x409ae0
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 0x40a690
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 0x409b44
movzx eax, word [ecx + 6]
lea ebx, [ecx + 6]
cmp ax, 0x2f
je 0x409b98
test ax, ax
je 0x409b98
nop
cmp ax, 0x2d
je 0x409da0
movzx eax, word [ebx]
cmp ax, 0x52
je 0x409dd8
ja 0x409d90
cmp ax, 0x41
je 0x409e00
cmp ax, 0x48
jne 0x409de0
or edi, 2
mov eax, ebx
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
test ax, ax
je 0x409b98
cmp ax, 0x2f
jne 0x409b50
mov dword [esp + 4], 0x435980
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], ebx
call eax
mov ecx, eax
test eax, eax
jne 0x409b30
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 0x409bc0
test byte [0x423010], 8
jne 0x409f39
mov dword [esp + 4], 0x4359ac
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
je 0x40a572
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 0x409d35
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 0x40a7f9
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 0x409c70
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 0x409e35
xor edx, edx
cmp word [ebp - 0x4c48], 0
mov word [eax + 2], dx
mov edx, edi
je 0x409cd1
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x409cc8
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 0x409cd8
mov eax, dword [ebp - 0x4018]
mov edx, eax
and edx, ebx
cmp edx, ebx
je 0x409e66
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 0x409c98
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 0x409d82
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 0x40a1b8
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x53
jne 0x409de0
or edi, 4
jmp 0x409b84
movzx eax, word [ebx + 2]
cmp ax, 0x52
je 0x409e10
ja 0x409dc8
cmp ax, 0x41
je 0x409e30
cmp ax, 0x48
jne 0x409e18
or esi, 2
lea eax, [ebx + 2]
jmp 0x409b86
cmp ax, 0x53
jne 0x409e18
or esi, 4
jmp 0x409dbb
or edi, 1
jmp 0x409b84
mov dword [esp], 0x3f3
call sym._WCMD_LoadMessage
mov dword [esp], eax
call sym._WCMD_output_stderr
jmp 0x409b84
or edi, 0x20
jmp 0x409b84
or esi, 1
jmp 0x409dbb
mov dword [esp], 0x3f3
call sym._WCMD_LoadMessage
mov dword [esp], eax
call sym._WCMD_output_stderr
jmp 0x409dbb
or esi, 0x20
jmp 0x409dbb
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 0x409e40
mov eax, dword [ebp - 0x4018]
mov edx, eax
and edx, ebx
cmp edx, ebx
jne 0x409cfe
test dword [ebp - 0x4e78], eax
jne 0x409cfe
mov dword [esp + 4], 0x4359b2
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
je 0x409ed8
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 0x409cfe
mov eax, dword [ebp - 0x4018]
test al, 1
je 0x409f1b
test bl, 1
jne 0x409f08
mov dword [esp + 4], 0x4359d0
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
je 0x409f1b
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 0x409cfe
call sym._WCMD_print_error
jmp 0x409cfe
mov eax, 0x430420
mov edi, eax
shr edi, 0x10
je 0x40a699
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 0x40a05f
movzx eax, word [0x430420]
test ax, ax
je 0x40a74b
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [edx + edx + 0x430422], 0
jne 0x409f88
mov ecx, 0x224c
mov dword [ebp - 0x4e70], ebx
lea edi, [ebp - 0x4016]
mov word [ebp - 0x4018], cx
mov ecx, 0x430420
mov ebx, ecx
jmp 0x409ff6
cmp ax, 9
je 0x40a4e1
cmp ax, 0xa
jne 0x40a510
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea esi, [esi]
lea ecx, [edx - 1]
test edx, edx
jle 0x40a027
lea eax, [ebp - 0x3ef6]
cmp edi, eax
ja 0x40a027
movzx eax, word [ebx]
mov edx, ecx
add ebx, 2
cmp ax, 0xd
je 0x40a4d0
jbe 0x409fb9
cmp ax, 0x22
je 0x40a561
cmp ax, 0x5c
jne 0x40a503
mov ecx, 0x5c5c
add edi, 2
mov word [edi - 2], cx
jmp 0x409fe0
mov byte [edi], 0x22
mov ebx, dword [ebp - 0x4e70]
test ecx, ecx
jle 0x40a764
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 0x40a6c1
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 0x40a181
movzx eax, word [ebp - 0x4e50]
test ax, ax
je 0x40a76c
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebp + edx*2 - 0x4e4e], 0
jne 0x40a0b0
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 0x40a11e
cmp ax, 9
je 0x40a450
cmp ax, 0xa
jne 0x40a46e
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 0x40a14f
test edx, edx
jle 0x40a14f
movzx eax, word [ebx]
mov edx, ecx
add ebx, 2
cmp ax, 0xd
je 0x40a4f2
jbe 0x40a0e2
cmp ax, 0x22
je 0x40a4bf
cmp ax, 0x5c
jne 0x40a461
mov eax, 0x5c5c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a108
mov byte [edi], 0x22
mov ebx, dword [ebp - 0x4e74]
test ecx, ecx
jle 0x40a785
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 0x409be1
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 0x40a1f8
cmp word [ebp - 0x4a40], 0
lea edx, [ebp - 0x4a40]
je 0x40a229
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x40a220
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40a230
cmp word [ebp - 0x4a40], 0
je 0x40a9af
lea eax, [ebp - 0x4a40]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40a258
lea esi, [ebp - 0x4a40]
sub eax, esi
sar eax, 1
mov ebx, eax
lea esi, [eax + 1]
test byte [0x423010], 8
jne 0x40a78d
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 0x409d82
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 0x40a30a
mov eax, dword [ebp - 0x4e70]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
je 0x40a6f9
test byte [ebp - 0x4018], 0x10
je 0x40a2f0
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 0x40a2f0
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 0x40a2f0
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 0x40a8a5
test byte [0x423010], 8
je 0x40a2f0
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 0x40a2f0
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a108
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40a6f1
mov ecx, eax
mov byte [edi], 0x5c
add edi, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + 0x4382d0]
mov byte [edi - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + 0x4382d0]
mov byte [edi - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + 0x4382d0]
and ecx, 0xf
movzx ecx, byte [ecx + 0x4382d0]
mov byte [edi - 1], al
mov byte [edi - 2], cl
jmp 0x40a108
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a108
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x409fe0
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x409fe0
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a108
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40a6e9
mov ecx, eax
mov byte [edi], 0x5c
add edi, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + 0x4382d0]
mov byte [edi - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + 0x4382d0]
mov byte [edi - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + 0x4382d0]
and ecx, 0xf
movzx ecx, byte [ecx + 0x4382d0]
mov byte [edi - 1], al
mov byte [edi - 2], cl
jmp 0x409fe0
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x409fe0
mov dword [esp + 4], 0x4359b2
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], 0x430420
call eax
test eax, eax
jne 0x409c00
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 0x409d82
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 0x409c00
cmp word [ebp - 0x4428], 0
lea ecx, [ebp - 0x4428]
je 0x40a646
mov dword [esp + 4], 0x4359c4
mov dword [esp], ecx
call edi
sub esp, 8
test eax, eax
jne 0x409c00
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 0x409d82
mov edi, 1
jmp 0x409c0e
xor esi, esi
xor ebx, ebx
jmp 0x409bb7
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 0x40a06e
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 0x40a181
mov byte [edi], al
inc edi
jmp 0x409fe0
mov byte [edi], al
inc edi
jmp 0x40a108
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 0x409d82
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 0x40a71f
jmp 0x409d82
mov byte [ebp - 0x4016], 0x22
mov edi, 0x224c
mov word [ebp - 0x4018], di
lea edi, [ebp - 0x4016]
lea eax, [edi + 1]
jmp 0x40a048
mov byte [ebp - 0x4016], 0x22
mov edi, 0x224c
mov word [ebp - 0x4018], di
lea edi, [ebp - 0x4016]
lea eax, [edi + 1]
jmp 0x40a170
lea eax, [ebp - 0x4a40]
shr eax, 0x10
je 0x40a87d
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 0x40a7cc
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 0x40a27d
lea eax, [ebp - 0x4e50]
mov dword [esp + 4], 0x3f
mov dword [esp], eax
call edi
test eax, eax
jne 0x409c61
test byte [ebp - 0x4018], 0x10
je 0x409c61
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 0x40a82d
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 0x409d35
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 0x40a7cc
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 0x40a8ad
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 0x40a9bb
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 0x40a94b
mov dword [eax], ecx
cmp word [ebp - 0x4220], 0
mov dword [ecx], 0
je 0x40a9ef
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x40a961
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 0x40a2f0
xor ebx, ebx
mov esi, 1
jmp 0x40a270
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 0x40a920
mov edx, 2
jmp 0x40a96f