Function at 0x405180
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x4e84
call fcn.004246d8
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp + 4], 0x4274c4
mov dword [ebp - 0x4e64], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcsstr]
mov dword [esp], 0x438700
mov dword [ebp - 0x4e60], eax
call eax
test eax, eax
je 0x405e58
mov edx, eax
xor ebx, ebx
xor edi, edi
lea esi, [esi]
lea esi, [esi]
movzx eax, word [edx + 4]
lea esi, [edx + 4]
cmp ax, 0x3a
jne 0x4051e4
movzx eax, word [edx + 6]
lea esi, [edx + 6]
test ax, ax
je 0x405281
cmp ax, 0x2f
je 0x405281
mov edx, ebx
jmp 0x40523f
movzx eax, word [esi]
cmp ax, 0x48
je 0x4054b0
jbe 0x405490
cmp ax, 0x52
je 0x4054e5
cmp ax, 0x53
jne 0x4054c0
or edi, 4
mov eax, ebx
mov ebx, esi
mov esi, eax
movzx eax, word [ebx + 2]
test ax, ax
je 0x40527f
cmp ax, 0x2f
je 0x40527f
lea ebx, [esi + 2]
cmp ax, 0x2d
jne 0x405200
movzx eax, word [esi + 2]
cmp ax, 0x48
je 0x4054f0
jbe 0x4054a0
cmp ax, 0x52
je 0x405525
cmp ax, 0x53
jne 0x405500
or edx, 4
movzx eax, word [ebx + 2]
add esi, 4
test ax, ax
jne 0x405239
mov ebx, edx
mov dword [esp + 4], 0x4274c4
mov eax, dword [ebp - 0x4e60]
mov dword [esp], esi
call eax
mov edx, eax
test eax, eax
jne 0x4051d0
mov ecx, dword [ebp - 0x4e64]
xor eax, eax
lea esi, [ebp - 0x4e44]
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x4052b0
test byte [0x425010], 8
jne 0x405642
mov dword [esp + 4], 0x4274f0
mov eax, dword [ebp - 0x4e60]
mov dword [esp], 0x438700
call eax
test eax, eax
je 0x405ce3
mov dword [ebp - 0x4e68], 0
lea eax, [ebp - 0x400c]
mov dword [ebp - 0x4e5c], eax
mov eax, dword [ebp - 0x4e5c]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x4e6c], eax
call eax
sub esp, 8
mov dword [ebp - 0x4e64], eax
cmp eax, 0xffffffff
je 0x40542e
mov edx, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [esp + 4], 0x2a
mov dword [esp], esi
mov dword [ebp - 0x4e68], edx
call edx
mov edx, dword [ebp - 0x4e68]
test eax, eax
je 0x405ed3
xor eax, eax
lea ecx, [ebp - 0x4c3c]
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x405360
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
or ebx, 0x10
mov dword [ebp - 0x4e70], ebx
mov dword [ebp - 0x4e68], eax
mov dword [esp], ecx
mov dword [esp + 4], 0x5c
call dword [sym.imp.ucrtbase.dll_wcsrchr]
lea ecx, [ebp - 0x4c3c]
test eax, eax
je 0x405530
xor ebx, ebx
cmp word [ebp - 0x4c3c], 0
mov edx, ecx
mov word [eax + 2], bx
je 0x4053be
add edx, 2
cmp word [edx], 0
jne 0x4053b5
xor eax, eax
movzx ebx, word [ebp + eax - 0x3fe0]
mov word [edx + eax], bx
add eax, 2
test bx, bx
jne 0x4053c0
mov eax, dword [ebp - 0x400c]
mov edx, eax
and edx, edi
cmp edx, edi
je 0x405558
mov eax, dword [ebp - 0x4e5c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4e64]
mov dword [esp], eax
mov eax, dword [ebp - 0x4e68]
call eax
lea ecx, [ebp - 0x4c3c]
sub esp, 8
test eax, eax
jne 0x405384
mov eax, dword [ebp - 0x4e64]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x4e68], 1
sub esp, 4
mov dword [esp + 4], 0x42751a
mov eax, dword [ebp - 0x4e60]
mov dword [esp], 0x438700
call eax
test eax, eax
je 0x40547d
lea eax, [ebp - 0x4a34]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x104
mov dword [esp], esi
call sym._WCMD_get_fullpath
test eax, eax
jne 0x4058b3
mov dword [ebp - 0x4e68], 0
mov eax, dword [ebp - 0x4e68]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x41
jne 0x4054c0
or edi, 0x20
jmp 0x40522a
cmp ax, 0x41
jne 0x405500
or edx, 0x20
jmp 0x405273
or edi, 2
jmp 0x40522a
mov dword [esp], 0x3f3
mov dword [ebp - 0x4e5c], edx
call sym._WCMD_LoadMessage
mov dword [esp], eax
call dbg.WCMD_output_stderr
mov edx, dword [ebp - 0x4e5c]
jmp 0x40522a
or edi, 1
jmp 0x40522a
or edx, 2
jmp 0x405273
mov dword [esp], 0x3f3
mov dword [ebp - 0x4e5c], edx
call sym._WCMD_LoadMessage
mov dword [esp], eax
call dbg.WCMD_output_stderr
mov edx, dword [ebp - 0x4e5c]
jmp 0x405273
or edx, 1
jmp 0x405273
xor eax, eax
movzx edx, word [ebp + eax - 0x3fe0]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x405532
mov eax, dword [ebp - 0x400c]
mov edx, eax
and edx, edi
cmp edx, edi
jne 0x4053e6
test dword [ebp - 0x4e70], eax
jne 0x4053e6
mov dword [esp + 4], 0x4274f6
mov eax, dword [ebp - 0x4e60]
mov dword [esp], 0x438700
call eax
lea ecx, [ebp - 0x4c3c]
test eax, eax
je 0x4055d2
mov dword [esp], 0x3ff
call sym._WCMD_LoadMessage
lea ecx, [ebp - 0x4c3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dbg.WCMD_format_string
xor edx, edx
mov ebx, eax
call sym._WCMD_ask_confirm.constprop.4
mov dword [esp], ebx
mov dword [ebp - 0x4e74], eax
call dword [sym.imp.kernel32.dll_LocalFree]
mov edx, dword [ebp - 0x4e74]
lea ecx, [ebp - 0x4c3c]
sub esp, 4
test edx, edx
je 0x4053e6
mov eax, dword [ebp - 0x400c]
test al, 1
je 0x405624
test edi, 1
jne 0x40560b
mov dword [esp + 4], 0x427514
mov eax, dword [ebp - 0x4e60]
mov dword [esp], 0x438700
call eax
lea ecx, [ebp - 0x4c3c]
test eax, eax
je 0x405624
mov eax, dword [ebp - 0x400c]
and eax, 0xfffffffe
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x4c3c]
sub esp, 8
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x4053e6
call dbg.WCMD_print_error
jmp 0x4053e6
mov eax, 0x438700
mov ecx, eax
shr ecx, 0x10
je 0x405e3a
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x438700
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x4e64], 0x427175
sub esp, 8
test eax, eax
jne 0x405770
cmp word [0x438700], 0
je 0x40569e
lea esi, [esi]
lea esi, [esi]
add eax, 1
cmp word [eax + eax + 0x438700], 0
jne 0x405690
mov ecx, 0x438700
mov dword [ebp - 0x4e64], edi
mov edx, 0x224c
mov dword [ebp - 0x4e5c], ecx
mov dword [ebp - 0x4e68], ebx
mov word [ebp - 0x400c], dx
lea edx, [ebp - 0x400a]
lea esi, [esi]
nop
lea ebx, [eax - 1]
test eax, eax
jle 0x405730
lea eax, [ebp - 0x3eea]
cmp edx, eax
ja 0x405730
add dword [ebp - 0x4e5c], 2
mov eax, dword [ebp - 0x4e5c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x405be0
ja 0x405b70
cmp ax, 9
je 0x405bf3
cmp ax, 0xa
jne 0x405c83
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4056d0
mov eax, ebx
mov edi, dword [ebp - 0x4e64]
mov ebx, dword [ebp - 0x4e68]
mov byte [edx], 0x22
test eax, eax
jle 0x405ec3
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x400c]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [ebp - 0x4e64], eax
mov eax, esi
shr eax, 0x10
je 0x405e20
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x427175
sub esp, 8
test eax, eax
jne 0x40587c
cmp word [ebp - 0x4e44], 0
je 0x4057ba
lea esi, [esi]
lea esi, [esi]
add eax, 1
cmp word [esi + eax*2], 0
jne 0x4057b0
mov dword [ebp - 0x4e5c], esi
mov edx, 0x224c
mov dword [ebp - 0x4e68], edi
mov dword [ebp - 0x4e6c], ebx
mov word [ebp - 0x400c], dx
lea edx, [ebp - 0x400a]
nop
lea ecx, [ebp - 0x3eea]
lea ebx, [eax - 1]
cmp edx, ecx
ja 0x405840
test eax, eax
jle 0x405840
add dword [ebp - 0x4e5c], 2
mov eax, dword [ebp - 0x4e5c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x405bc3
ja 0x405b40
cmp ax, 9
je 0x405b93
cmp ax, 0xa
jne 0x405c23
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4057e0
mov eax, ebx
mov edi, dword [ebp - 0x4e68]
mov ebx, dword [ebp - 0x4e6c]
mov byte [edx], 0x22
test eax, eax
jle 0x405ecb
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x400c]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x4e64]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.del:_Processing_arg__s__quals:_s__n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x4052cd
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 0x4058f0
cmp word [ebp - 0x4a34], 0
lea edx, [ebp - 0x4a34]
je 0x40591d
add edx, 2
cmp word [edx], 0
jne 0x405914
xor eax, eax
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x405920
cmp word [ebp - 0x4a34], 0
je 0x405faa
lea eax, [ebp - 0x4a34]
add eax, 2
cmp word [eax], 0
jne 0x405944
lea ecx, [ebp - 0x4a34]
sub eax, ecx
sar eax, 1
mov esi, eax
lea ebx, [eax + 1]
test byte [0x425010], 8
jne 0x405f72
mov eax, 0x2a
mov edi, dword [ebp - 0x4e5c]
xor edx, edx
mov word [ebp + esi*2 - 0x4a34], ax
lea eax, [ebp - 0x4a34]
mov word [ebp + ebx*2 - 0x4a34], dx
mov dword [esp], eax
mov eax, dword [ebp - 0x4e6c]
mov dword [esp + 4], edi
call eax
xor ecx, ecx
sub esp, 8
mov ebx, eax
mov word [ebp + esi*2 - 0x4a34], cx
cmp eax, 0xffffffff
je 0x40547d
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
xor esi, esi
mov dword [ebp - 0x4e64], 0
mov dword [ebp - 0x4e5c], esi
mov esi, eax
jmp 0x4059e4
mov dword [esp + 4], edi
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
je 0x405e79
test byte [ebp - 0x400c], 0x10
je 0x4059d0
lea eax, [ebp - 0x3fe0]
mov dword [esp + 4], 0x427540
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x4059d0
lea eax, [ebp - 0x3fe0]
mov dword [esp + 4], 0x427546
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x4059d0
lea eax, [ebp - 0x4a34]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0x4e60], eax
call eax
lea ecx, [ebp - 0x3fe0]
mov dword [ebp - 0x4e6c], eax
mov eax, dword [ebp - 0x4e60]
mov dword [esp], ecx
call eax
mov ecx, dword [ebp - 0x4e6c]
lea edx, [ebp - 0x4624]
mov dword [esp], edx
add ecx, eax
mov eax, dword [ebp - 0x4e60]
mov dword [ebp - 0x4e6c], ecx
call eax
lea edx, [ebp - 0x441c]
mov dword [ebp - 0x4e70], eax
mov eax, dword [ebp - 0x4e60]
mov dword [esp], edx
call eax
mov ecx, dword [ebp - 0x4e6c]
mov edx, dword [ebp - 0x4e70]
lea edx, [ecx + edx + 1]
add edx, eax
cmp edx, 0x103
jbe 0x405fb6
test byte [0x425010], 8
je 0x4059d0
lea eax, [ebp - 0x441c]
call sym._wine_dbgstr_wn.constprop.5
mov dword [ebp - 0x4e60], eax
lea eax, [ebp - 0x4624]
call sym._wine_dbgstr_wn.constprop.5
mov dword [ebp - 0x4e70], eax
lea eax, [ebp - 0x3fe0]
call sym._wine_dbgstr_wn.constprop.5
mov dword [ebp - 0x4e6c], eax
lea eax, [ebp - 0x4a34]
call sym._wine_dbgstr_wn.constprop.5
mov ecx, dword [ebp - 0x4e60]
mov edx, dword [ebp - 0x4e6c]
mov dword [esp + 0xc], str.Skipping_path_too_long__s_s_s_s_n
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp - 0x4e70]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x4059d0
cmp ax, 0x22
je 0x405c10
cmp ax, 0x5c
jne 0x405c23
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x4057e0
cmp ax, 0x22
je 0x405bb0
cmp ax, 0x5c
jne 0x405c83
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x4056d0
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4057e0
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4056d0
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4057e0
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4056d0
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4056d0
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x4057e0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x405e61
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and edi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x4057e0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x405e6d
mov edi, eax
mov byte [edx], 0x5c
add edx, 5
shr di, 0xc
movzx edi, di
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [edx - 4], cl
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefWCMD_choice]
and edi, 0xf
mov byte [edx - 3], cl
movzx ecx, byte [edi + str.0123456789abcdefWCMD_choice]
mov byte [edx - 1], al
mov eax, ebx
mov byte [edx - 2], cl
jmp 0x4056d0
mov dword [esp + 4], 0x4274f6
mov eax, dword [ebp - 0x4e60]
mov dword [esp], 0x438700
call eax
test eax, eax
jne 0x4052ec
lea eax, [ebp - 0x4214]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x104
mov dword [esp], esi
mov dword [ebp - 0x4e70], eax
call sym._WCMD_get_fullpath
mov dword [ebp - 0x4e68], eax
test eax, eax
je 0x40547d
lea eax, [ebp - 0x482c]
lea edx, [ebp - 0x441c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x4a34]
lea ecx, [ebp - 0x4624]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4e70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wsplitpath]
lea ecx, [ebp - 0x4624]
mov dword [esp + 4], 0x4274fc
mov dword [esp], ecx
mov ecx, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [ebp - 0x4e5c], ecx
call ecx
sub esp, 8
test eax, eax
jne 0x4052ec
cmp word [ebp - 0x441c], 0
mov ecx, dword [ebp - 0x4e5c]
lea edx, [ebp - 0x441c]
je 0x405dc7
mov dword [esp + 4], 0x427508
mov dword [esp], edx
call ecx
sub esp, 8
test eax, eax
jne 0x4052ec
mov eax, dword [ebp - 0x4e70]
mov dword [esp + 4], 0x427500
mov dword [esp + 8], eax
lea eax, [ebp - 0x400c]
mov dword [ebp - 0x4e5c], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
mov eax, dword [ebp - 0x4e5c]
mov edx, 1
call sym._WCMD_ask_confirm.constprop.4
mov dword [ebp - 0x4e68], eax
test eax, eax
je 0x40547d
mov dword [ebp - 0x4e68], 1
jmp 0x405302
movzx eax, si
mov dword [esp], 0x427168
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.9
mov edx, eax
jmp 0x40587c
movzx eax, ax
mov dword [esp], 0x427168
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.9
mov dword [ebp - 0x4e64], eax
jmp 0x405770
xor ebx, ebx
xor edi, edi
jmp 0x40529e
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x4057e0
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x4056d0
mov esi, dword [ebp - 0x4e5c]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test esi, esi
je 0x40547d
mov ebx, dword [sym.imp.ucrtbase.dll_free]
mov edi, esi
mov eax, dword [edi + 4]
mov esi, dword [edi]
call dbg.WCMD_delete_one
or dword [ebp - 0x4e68], eax
mov eax, dword [edi + 4]
mov dword [esp], eax
call ebx
mov dword [esp], edi
mov edi, esi
call ebx
test esi, esi
jne 0x405e9b
jmp 0x40547d
lea eax, [edx + 1]
jmp 0x405759
lea eax, [edx + 1]
jmp 0x405869
mov dword [esp + 4], 0x3f
mov dword [esp], esi
call edx
test eax, eax
jne 0x405355
test byte [ebp - 0x400c], 0x10
je 0x405355
lea ecx, [ebp - 0x4214]
mov dword [ebp - 0x4e70], ecx
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x405f01
cmp word [ebp - 0x4214], 0
mov eax, dword [ebp - 0x4e70]
je 0x405f2a
add eax, 2
cmp word [eax], 0
jne 0x405f21
xor edx, edx
mov ecx, 0x5c
jmp 0x405f3a
movzx ecx, word [edx + 0x42750e]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x405f33
mov eax, dword [ebp - 0x4e64]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x4e70]
sub esp, 4
call dbg.WCMD_delete_one
mov dword [ebp - 0x4e68], 1
jmp 0x40542e
lea eax, [ebp - 0x4a34]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], str.Searching_recursively_in__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x405969
xor esi, esi
mov ebx, 1
jmp 0x40595c
lea ecx, [ebp - 0x4214]
xor eax, eax
mov dword [ebp - 0x4e60], ecx
movzx edx, word [ebp + eax - 0x4a34]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x405fc4
cmp word [ebp - 0x4214], 0
mov edx, dword [ebp - 0x4e60]
je 0x405ff1
add edx, 2
cmp word [edx], 0
jne 0x405fe8
xor eax, eax
movzx ecx, word [ebp + eax - 0x3fe0]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x405ff3
cmp word [ebp - 0x4214], 0
mov edx, dword [ebp - 0x4e60]
je 0x406020
add edx, 2
cmp word [edx], 0
jne 0x406017
xor eax, eax
mov ecx, 0x5c
jmp 0x406030
movzx ecx, word [eax + 0x42756e]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x406029
cmp word [ebp - 0x4214], 0
mov edx, dword [ebp - 0x4e60]
je 0x406055
add edx, 2
cmp word [edx], 0
jne 0x40604c
xor eax, eax
movzx ecx, word [ebp + eax - 0x4624]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x406057
cmp word [ebp - 0x4214], 0
mov edx, dword [ebp - 0x4e60]
je 0x406084
add edx, 2
cmp word [edx], 0
jne 0x40607b
xor eax, eax
movzx ecx, word [ebp + eax - 0x441c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x406086
test byte [0x425010], 8
jne 0x406151
mov dword [esp], 0xc
call dbg.xalloc
mov edx, eax
mov eax, dword [ebp - 0x4e5c]
test eax, eax
cmove eax, edx
mov dword [ebp - 0x4e5c], eax
mov eax, dword [ebp - 0x4e64]
test eax, eax
je 0x4060d2
mov dword [eax], edx
cmp word [ebp - 0x4214], 0
mov dword [edx], 0
je 0x406189
mov eax, dword [ebp - 0x4e60]
add eax, 2
cmp word [eax], 0
jne 0x4060ec
sub eax, dword [ebp - 0x4e60]
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [esp], ecx
mov dword [ebp - 0x4e6c], edx
mov dword [ebp - 0x4e64], ecx
call dbg.xalloc
mov ecx, dword [ebp - 0x4e64]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x4e60]
mov dword [ebp - 0x4e60], eax
mov dword [esp + 4], ecx
call sym._memcpy
mov edx, dword [ebp - 0x4e6c]
mov eax, dword [ebp - 0x4e60]
mov dword [ebp - 0x4e64], edx
mov dword [edx + 4], eax
jmp 0x4059d0
mov eax, dword [ebp - 0x4e60]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], 0x427574
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.WCMD_delete_one
mov dword [esp + 4], 0x425010
mov dword [esp], 3
call sym._wine_dbg_log.constprop.6
jmp 0x4060a7
mov ecx, 2
jmp 0x406101