Function at 0x409a80
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, 0x4e84
call fcn.00401050
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp + 4], 0x435980
mov dword [ebp - 0x4e60], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcsstr]
mov dword [esp], 0x430580
mov dword [ebp - 0x4e5c], eax
call eax
test eax, eax
je 0x40a630
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 0x409ae4
movzx eax, word [ecx + 6]
lea ebx, [ecx + 6]
cmp ax, 0x2f
je 0x409b38
test ax, ax
je 0x409b38
nop
cmp ax, 0x2d
je 0x409d40
movzx eax, word [ebx]
cmp ax, 0x52
je 0x409d78
ja 0x409d30
cmp ax, 0x41
je 0x409da0
cmp ax, 0x48
jne 0x409d80
or edi, 2
mov eax, ebx
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
test ax, ax
je 0x409b38
cmp ax, 0x2f
jne 0x409af0
mov dword [esp + 4], 0x435980
mov eax, dword [ebp - 0x4e5c]
mov dword [esp], ebx
call eax
mov ecx, eax
test eax, eax
jne 0x409ad0
mov ebx, edi
mov ecx, dword [ebp - 0x4e60]
xor eax, eax
nop
movzx edx, word [ecx + eax]
mov word [ebp + eax - 0x4e44], dx
add eax, 2
test dx, dx
jne 0x409b60
test byte [0x423010], 8
jne 0x409ed9
mov dword [esp + 4], 0x4359ac
mov eax, dword [ebp - 0x4e5c]
mov dword [esp], 0x430580
call eax
test eax, eax
je 0x40a512
lea eax, [ebp - 0x400c]
xor edi, edi
mov dword [ebp - 0x4e60], eax
mov eax, dword [ebp - 0x4e60]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4e44]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x4e6c], eax
call eax
mov dword [ebp - 0x4e64], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x409cd5
lea eax, [ebp - 0x4e44]
mov dword [esp + 4], 0x2a
mov edi, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [esp], eax
call edi
test eax, eax
je 0x40a799
xor eax, eax
lea edi, [ebp - 0x4c3c]
lea esi, [esi]
movzx edx, word [ebp + eax - 0x4e44]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x409c10
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
or esi, 0x10
mov dword [ebp - 0x4e68], 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 0x409dd5
xor edx, edx
cmp word [ebp - 0x4c3c], 0
mov word [eax + 2], dx
mov edx, edi
je 0x409c71
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x409c68
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebp + eax - 0x3fe0]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x409c78
mov eax, dword [ebp - 0x400c]
mov edx, eax
and edx, ebx
cmp edx, ebx
je 0x409e06
mov eax, dword [ebp - 0x4e60]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4e64]
mov dword [esp], eax
call esi
sub esp, 8
test eax, eax
jne 0x409c38
mov eax, dword [ebp - 0x4e64]
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 - 0x4e5c]
mov dword [esp], 0x430580
call eax
test eax, eax
je 0x409d22
lea eax, [ebp - 0x4a34]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x4e44]
mov dword [esp + 4], 0x104
mov dword [esp], eax
call sym._WCMD_get_fullpath
test eax, eax
jne 0x40a158
xor edi, edi
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x53
jne 0x409d80
or edi, 4
jmp 0x409b24
movzx eax, word [ebx + 2]
cmp ax, 0x52
je 0x409db0
ja 0x409d68
cmp ax, 0x41
je 0x409dd0
cmp ax, 0x48
jne 0x409db8
or esi, 2
lea eax, [ebx + 2]
jmp 0x409b26
cmp ax, 0x53
jne 0x409db8
or esi, 4
jmp 0x409d5b
or edi, 1
jmp 0x409b24
mov dword [esp], 0x3f3
call sym._WCMD_LoadMessage
mov dword [esp], eax
call sym._WCMD_output_stderr
jmp 0x409b24
or edi, 0x20
jmp 0x409b24
or esi, 1
jmp 0x409d5b
mov dword [esp], 0x3f3
call sym._WCMD_LoadMessage
mov dword [esp], eax
call sym._WCMD_output_stderr
jmp 0x409d5b
or esi, 0x20
jmp 0x409d5b
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebp + eax - 0x3fe0]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x409de0
mov eax, dword [ebp - 0x400c]
mov edx, eax
and edx, ebx
cmp edx, ebx
jne 0x409c9e
test dword [ebp - 0x4e68], eax
jne 0x409c9e
mov dword [esp + 4], 0x4359b2
mov eax, dword [ebp - 0x4e5c]
mov dword [esp], 0x430580
call eax
test eax, eax
je 0x409e78
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 - 0x4e74], eax
call sym._WCMD_ask_confirm.constprop.0
mov ecx, dword [ebp - 0x4e74]
mov dword [ebp - 0x4e70], eax
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_LocalFree]
mov ecx, dword [ebp - 0x4e70]
sub esp, 4
test ecx, ecx
je 0x409c9e
mov eax, dword [ebp - 0x400c]
test al, 1
je 0x409ebb
test bl, 1
jne 0x409ea8
mov dword [esp + 4], 0x4359d0
mov eax, dword [ebp - 0x4e5c]
mov dword [esp], 0x430580
call eax
test eax, eax
je 0x409ebb
mov eax, dword [ebp - 0x400c]
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 0x409c9e
call sym._WCMD_print_error
jmp 0x409c9e
mov eax, 0x430580
mov edi, eax
shr edi, 0x10
je 0x40a639
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x430580
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x4e60], 0x4350cb
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x409fff
movzx eax, word [0x430580]
test ax, ax
je 0x40a6eb
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [edx + edx + 0x430582], 0
jne 0x409f28
mov ecx, 0x224c
mov dword [ebp - 0x4e60], ebx
lea edi, [ebp - 0x400a]
mov word [ebp - 0x400c], cx
mov ecx, 0x430580
mov ebx, ecx
jmp 0x409f96
cmp ax, 9
je 0x40a481
cmp ax, 0xa
jne 0x40a4b0
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea esi, [esi]
lea ecx, [edx - 1]
test edx, edx
jle 0x409fc7
lea eax, [ebp - 0x3eea]
cmp edi, eax
ja 0x409fc7
movzx eax, word [ebx]
mov edx, ecx
add ebx, 2
cmp ax, 0xd
je 0x40a470
jbe 0x409f59
cmp ax, 0x22
je 0x40a501
cmp ax, 0x5c
jne 0x40a4a3
mov ecx, 0x5c5c
add edi, 2
mov word [edi - 2], cx
jmp 0x409f80
mov byte [edi], 0x22
mov ebx, dword [ebp - 0x4e60]
test ecx, ecx
jle 0x40a704
mov edx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x400c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x4e60], eax
lea eax, [ebp - 0x4e44]
shr eax, 0x10
je 0x40a661
lea eax, [ebp - 0x4e44]
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 0x40a121
movzx eax, word [ebp - 0x4e44]
test ax, ax
je 0x40a70c
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebp + edx*2 - 0x4e42], 0
jne 0x40a050
mov ecx, 0x224c
mov dword [ebp - 0x4e64], ebx
lea edi, [ebp - 0x400a]
mov word [ebp - 0x400c], cx
lea ecx, [ebp - 0x4e44]
mov ebx, ecx
jmp 0x40a0be
cmp ax, 9
je 0x40a3f0
cmp ax, 0xa
jne 0x40a40e
mov eax, 0x6e5c
add edi, 2
mov word [edi - 2], ax
lea esi, [esi]
lea eax, [ebp - 0x3eea]
lea ecx, [edx - 1]
cmp edi, eax
ja 0x40a0ef
test edx, edx
jle 0x40a0ef
movzx eax, word [ebx]
mov edx, ecx
add ebx, 2
cmp ax, 0xd
je 0x40a492
jbe 0x40a082
cmp ax, 0x22
je 0x40a45f
cmp ax, 0x5c
jne 0x40a401
mov eax, 0x5c5c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0a8
mov byte [edi], 0x22
mov ebx, dword [ebp - 0x4e64]
test ecx, ecx
jle 0x40a725
mov ecx, 0x2e2e
mov byte [edi + 3], 0x2e
lea eax, [edi + 4]
mov word [edi + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x400c]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov edi, dword [ebp - 0x4e60]
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 0x409b81
lea eax, [ebp - 0x441c]
lea ebx, [ebp - 0x482c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x4624]
lea esi, [ebp - 0x4e58]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x4a34]
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 - 0x4a34], dx
add eax, 2
test dx, dx
jne 0x40a198
cmp word [ebp - 0x4a34], 0
lea edx, [ebp - 0x4a34]
je 0x40a1c9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x40a1c0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40a1d0
cmp word [ebp - 0x4a34], 0
je 0x40a94f
lea eax, [ebp - 0x4a34]
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40a1f8
lea esi, [ebp - 0x4a34]
sub eax, esi
sar eax, 1
mov ebx, eax
lea esi, [eax + 1]
test byte [0x423010], 8
jne 0x40a72d
mov eax, 0x2a
mov word [ebp + ebx*2 - 0x4a34], ax
xor eax, eax
mov word [ebp + esi*2 - 0x4a34], ax
mov eax, dword [ebp - 0x4e60]
mov dword [esp + 4], eax
lea eax, [ebp - 0x4a34]
mov dword [esp], eax
mov eax, dword [ebp - 0x4e6c]
call eax
xor edx, edx
mov dword [ebp - 0x4e70], eax
sub esp, 8
mov word [ebp + ebx*2 - 0x4a34], dx
cmp eax, 0xffffffff
je 0x409d22
xor ebx, ebx
mov dword [ebp - 0x4e74], edi
mov esi, dword [sym.imp.kernel32.dll_FindNextFileW]
mov dword [ebp - 0x4e5c], ebx
mov ebx, eax
mov dword [ebp - 0x4e64], 0
jmp 0x40a2aa
mov eax, dword [ebp - 0x4e60]
mov dword [esp], ebx
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
je 0x40a699
test byte [ebp - 0x400c], 0x10
je 0x40a290
lea eax, [ebp - 0x3fe0]
mov dword [esp + 4], 0x4359fc
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40a290
lea eax, [ebp - 0x3fe0]
mov dword [esp + 4], 0x435a02
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40a290
lea eax, [ebp - 0x4a34]
mov edi, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [esp], eax
call edi
lea ecx, [ebp - 0x3fe0]
mov dword [esp], ecx
mov dword [ebp - 0x4e68], eax
call edi
lea ecx, [ebp - 0x4624]
add eax, dword [ebp - 0x4e68]
mov dword [esp], ecx
mov dword [ebp - 0x4e68], eax
call edi
lea ecx, [ebp - 0x441c]
mov dword [ebp - 0x4e6c], eax
mov dword [esp], ecx
call edi
mov edi, dword [ebp - 0x4e68]
mov edx, eax
mov eax, dword [ebp - 0x4e6c]
lea eax, [edi + eax + 1]
add eax, edx
cmp eax, 0x103
jbe 0x40a845
test byte [0x423010], 8
je 0x40a290
lea eax, [ebp - 0x441c]
call sym._wine_dbgstr_wn.constprop.0
mov edi, eax
lea eax, [ebp - 0x4624]
call sym._wine_dbgstr_wn.constprop.0
mov dword [ebp - 0x4e6c], eax
lea eax, [ebp - 0x3fe0]
call sym._wine_dbgstr_wn.constprop.0
lea ecx, [ebp - 0x4a34]
mov dword [ebp - 0x4e68], eax
mov eax, ecx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x4e6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov edi, dword [ebp - 0x4e68]
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 0x40a290
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0a8
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40a691
mov ecx, eax
mov byte [edi], 0x5c
add edi, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + 0x438310]
mov byte [edi - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + 0x438310]
mov byte [edi - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + 0x438310]
and ecx, 0xf
movzx ecx, byte [ecx + 0x438310]
mov byte [edi - 1], al
mov byte [edi - 2], cl
jmp 0x40a0a8
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0a8
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x409f80
mov eax, 0x745c
add edi, 2
mov word [edi - 2], ax
jmp 0x409f80
mov eax, 0x725c
add edi, 2
mov word [edi - 2], ax
jmp 0x40a0a8
lea ecx, [eax - 0x20]
cmp cx, 0x5e
jbe 0x40a689
mov ecx, eax
mov byte [edi], 0x5c
add edi, 5
shr cx, 0xc
movzx ecx, cx
movzx ecx, byte [ecx + 0x438310]
mov byte [edi - 4], cl
mov ecx, eax
shr cx, 8
and ecx, 0xf
movzx ecx, byte [ecx + 0x438310]
mov byte [edi - 3], cl
mov ecx, eax
and eax, 0xf
shr cx, 4
movzx eax, byte [eax + 0x438310]
and ecx, 0xf
movzx ecx, byte [ecx + 0x438310]
mov byte [edi - 1], al
mov byte [edi - 2], cl
jmp 0x409f80
mov eax, 0x225c
add edi, 2
mov word [edi - 2], ax
jmp 0x409f80
mov dword [esp + 4], 0x4359b2
mov eax, dword [ebp - 0x4e5c]
mov dword [esp], 0x430580
call eax
test eax, eax
jne 0x409ba0
lea eax, [ebp - 0x4214]
lea edi, [ebp - 0x4e44]
mov dword [esp + 0xc], 0
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x104
mov dword [ebp - 0x4e68], eax
call sym._WCMD_get_fullpath
mov edi, eax
test eax, eax
je 0x409d22
mov eax, dword [ebp - 0x4e68]
lea edx, [ebp - 0x482c]
lea ecx, [ebp - 0x441c]
mov dword [esp + 8], edx
lea edi, [ebp - 0x4624]
lea edx, [ebp - 0x4a34]
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 0x409ba0
cmp word [ebp - 0x441c], 0
lea ecx, [ebp - 0x441c]
je 0x40a5e6
mov dword [esp + 4], 0x4359c4
mov dword [esp], ecx
call edi
sub esp, 8
test eax, eax
jne 0x409ba0
mov eax, dword [ebp - 0x4e68]
mov dword [esp + 4], 0x4359bc
mov dword [esp + 8], eax
lea eax, [ebp - 0x400c]
mov edi, eax
mov dword [ebp - 0x4e60], 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 0x409d22
mov edi, 1
jmp 0x409bae
xor esi, esi
xor ebx, ebx
jmp 0x409b57
movzx eax, ax
mov dword [esp], 0x4350be
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
mov dword [ebp - 0x4e60], eax
lea eax, [ebp - 0x4e44]
shr eax, 0x10
jne 0x40a00e
lea eax, [ebp - 0x4e44]
mov dword [esp], 0x4350be
mov dword [ebp - 0x4e64], eax
movzx eax, word [ebp - 0x4e64]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
jmp 0x40a121
mov byte [edi], al
inc edi
jmp 0x409f80
mov byte [edi], al
inc edi
jmp 0x40a0a8
mov eax, dword [ebp - 0x4e70]
mov ebx, dword [ebp - 0x4e5c]
mov edi, dword [ebp - 0x4e74]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test ebx, ebx
je 0x409d22
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 0x40a6bf
jmp 0x409d22
mov byte [ebp - 0x400a], 0x22
mov edi, 0x224c
mov word [ebp - 0x400c], di
lea edi, [ebp - 0x400a]
lea eax, [edi + 1]
jmp 0x409fe8
mov byte [ebp - 0x400a], 0x22
mov edi, 0x224c
mov word [ebp - 0x400c], di
lea edi, [ebp - 0x400a]
lea eax, [edi + 1]
jmp 0x40a110
lea eax, [ebp - 0x4a34]
shr eax, 0x10
je 0x40a81d
lea eax, [ebp - 0x4a34]
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 0x40a76c
lea eax, [ebp - 0x4a34]
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 0x40a21d
lea eax, [ebp - 0x4e44]
mov dword [esp + 4], 0x3f
mov dword [esp], eax
call edi
test eax, eax
jne 0x409c01
test byte [ebp - 0x400c], 0x10
je 0x409c01
lea esi, [ebp - 0x4214]
mov dword [ebp - 0x4e68], esi
movzx edx, word [ebp + eax - 0x4e44]
mov esi, dword [ebp - 0x4e68]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x40a7cd
mov dword [esp + 4], 0x4359ca
mov edi, 1
mov dword [esp], esi
call sym._lstrcatW_8
mov eax, dword [ebp - 0x4e64]
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 0x409cd5
lea eax, [ebp - 0x4a34]
mov dword [esp], 0x4350be
mov dword [ebp - 0x4e5c], eax
movzx eax, word [ebp - 0x4e5c]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_1
jmp 0x40a76c
xor eax, eax
lea edi, [ebp - 0x4214]
movzx edx, word [ebp + eax - 0x4a34]
mov word [edi + eax], dx
add eax, 2
test dx, dx
jne 0x40a84d
lea eax, [ebp - 0x3fe0]
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 - 0x4624]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._lstrcatW_8
lea eax, [ebp - 0x441c]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._lstrcatW_8
sub esp, 8
test byte [0x423010], 8
jne 0x40a95b
mov dword [esp], 0xc
call sym._xalloc
mov ecx, eax
mov eax, dword [ebp - 0x4e5c]
test eax, eax
cmove eax, ecx
mov dword [ebp - 0x4e5c], eax
mov eax, dword [ebp - 0x4e64]
test eax, eax
je 0x40a8eb
mov dword [eax], ecx
cmp word [ebp - 0x4214], 0
mov dword [ecx], 0
je 0x40a98f
mov eax, edi
add eax, 2
cmp word [eax], 0
jne 0x40a901
sub eax, edi
lea edx, [eax + 2]
mov dword [esp], edx
mov dword [ebp - 0x4e68], ecx
mov dword [ebp - 0x4e64], edx
call sym._xalloc
mov edx, dword [ebp - 0x4e64]
mov dword [esp + 4], edi
mov dword [esp], eax
mov edi, eax
mov dword [esp + 8], edx
call sym._memcpy
mov ecx, dword [ebp - 0x4e68]
mov dword [ecx + 4], edi
mov dword [ebp - 0x4e64], ecx
jmp 0x40a290
xor ebx, ebx
mov esi, 1
jmp 0x40a210
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 0x40a8c0
mov edx, 2
jmp 0x40a90f