Function at 0x4067f0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x4e98
call fcn.004240d8
sub esp, eax
mov eax, dword [esp + eax]
mov dword [esp + 4], 0x4269ec
mov dword [ebp - 0x4e74], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcsstr]
mov dword [esp], 0x437480
mov dword [ebp - 0x4e70], eax
call eax
test eax, eax
je 0x4074c8
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 0x406854
movzx eax, word [edx + 6]
lea esi, [edx + 6]
test ax, ax
je 0x4068f1
cmp ax, 0x2f
je 0x4068f1
mov edx, ebx
jmp 0x4068af
movzx eax, word [esi]
cmp ax, 0x48
je 0x406b20
jbe 0x406b00
cmp ax, 0x52
je 0x406b55
cmp ax, 0x53
jne 0x406b30
or edi, 4
mov eax, ebx
mov ebx, esi
mov esi, eax
movzx eax, word [ebx + 2]
test ax, ax
je 0x4068ef
cmp ax, 0x2f
je 0x4068ef
lea ebx, [esi + 2]
cmp ax, 0x2d
jne 0x406870
movzx eax, word [esi + 2]
cmp ax, 0x48
je 0x406b60
jbe 0x406b10
cmp ax, 0x52
je 0x406b95
cmp ax, 0x53
jne 0x406b70
or edx, 4
movzx eax, word [ebx + 2]
add esi, 4
test ax, ax
jne 0x4068a9
mov ebx, edx
mov dword [esp + 4], 0x4269ec
mov eax, dword [ebp - 0x4e70]
mov dword [esp], esi
call eax
mov edx, eax
test eax, eax
jne 0x406840
mov ecx, dword [ebp - 0x4e74]
xor eax, eax
lea esi, [ebp - 0x4e50]
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x406920
test byte [0x425010], 8
jne 0x406cb2
mov dword [esp + 4], 0x426a18
mov eax, dword [ebp - 0x4e70]
mov dword [esp], 0x437480
call eax
test eax, eax
je 0x407353
mov dword [ebp - 0x4e78], 0
lea eax, [ebp - 0x4018]
mov dword [ebp - 0x4e6c], eax
mov eax, dword [ebp - 0x4e6c]
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x4e7c], eax
call eax
sub esp, 8
mov dword [ebp - 0x4e74], eax
cmp eax, 0xffffffff
je 0x406a9e
mov edx, dword [sym.imp.ucrtbase.dll_wcschr]
mov dword [esp + 4], 0x2a
mov dword [esp], esi
mov dword [ebp - 0x4e78], edx
call edx
mov edx, dword [ebp - 0x4e78]
test eax, eax
je 0x407576
xor eax, eax
lea ecx, [ebp - 0x4c48]
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4069d0
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
or ebx, 0x10
mov dword [ebp - 0x4e80], ebx
mov dword [ebp - 0x4e78], eax
mov dword [esp], ecx
mov dword [esp + 4], 0x5c
call dword [sym.imp.ucrtbase.dll_wcsrchr]
lea ecx, [ebp - 0x4c48]
test eax, eax
je 0x406ba0
xor ebx, ebx
cmp word [ebp - 0x4c48], 0
mov edx, ecx
mov word [eax + 2], bx
je 0x406a2e
add edx, 2
cmp word [edx], 0
jne 0x406a25
xor eax, eax
movzx ebx, word [ebp + eax - 0x3fec]
mov word [edx + eax], bx
add eax, 2
test bx, bx
jne 0x406a30
mov eax, dword [ebp - 0x4018]
mov edx, eax
and edx, edi
cmp edx, edi
je 0x406bc8
mov eax, dword [ebp - 0x4e6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4e74]
mov dword [esp], eax
mov eax, dword [ebp - 0x4e78]
call eax
lea ecx, [ebp - 0x4c48]
sub esp, 8
test eax, eax
jne 0x4069f4
mov eax, dword [ebp - 0x4e74]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x4e78], 1
sub esp, 4
mov dword [esp + 4], 0x426a42
mov eax, dword [ebp - 0x4e70]
mov dword [esp], 0x437480
call eax
test eax, eax
je 0x406aed
lea eax, [ebp - 0x4a40]
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 0x406f23
mov dword [ebp - 0x4e78], 0
mov eax, dword [ebp - 0x4e78]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ax, 0x41
jne 0x406b30
or edi, 0x20
jmp 0x40689a
cmp ax, 0x41
jne 0x406b70
or edx, 0x20
jmp 0x4068e3
or edi, 2
jmp 0x40689a
mov dword [esp], 0x3f3
mov dword [ebp - 0x4e6c], edx
call sym._WCMD_LoadMessage
mov dword [esp], eax
call dbg.WCMD_output_stderr
mov edx, dword [ebp - 0x4e6c]
jmp 0x40689a
or edi, 1
jmp 0x40689a
or edx, 2
jmp 0x4068e3
mov dword [esp], 0x3f3
mov dword [ebp - 0x4e6c], edx
call sym._WCMD_LoadMessage
mov dword [esp], eax
call dbg.WCMD_output_stderr
mov edx, dword [ebp - 0x4e6c]
jmp 0x4068e3
or edx, 1
jmp 0x4068e3
xor eax, eax
movzx edx, word [ebp + eax - 0x3fec]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x406ba2
mov eax, dword [ebp - 0x4018]
mov edx, eax
and edx, edi
cmp edx, edi
jne 0x406a56
test dword [ebp - 0x4e80], eax
jne 0x406a56
mov dword [esp + 4], 0x426a1e
mov eax, dword [ebp - 0x4e70]
mov dword [esp], 0x437480
call eax
lea ecx, [ebp - 0x4c48]
test eax, eax
je 0x406c42
mov dword [esp], 0x3ff
call sym._WCMD_LoadMessage
lea ecx, [ebp - 0x4c48]
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 - 0x4e84], eax
call dword [sym.imp.kernel32.dll_LocalFree]
mov edx, dword [ebp - 0x4e84]
lea ecx, [ebp - 0x4c48]
sub esp, 4
test edx, edx
je 0x406a56
mov eax, dword [ebp - 0x4018]
test al, 1
je 0x406c94
test edi, 1
jne 0x406c7b
mov dword [esp + 4], 0x426a3c
mov eax, dword [ebp - 0x4e70]
mov dword [esp], 0x437480
call eax
lea ecx, [ebp - 0x4c48]
test eax, eax
je 0x406c94
mov eax, dword [ebp - 0x4018]
and eax, 0xfffffffe
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x4c48]
sub esp, 8
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_DeleteFileW]
sub esp, 4
test eax, eax
jne 0x406a56
call dbg.WCMD_print_error
jmp 0x406a56
mov eax, 0x437480
mov ecx, eax
shr ecx, 0x10
je 0x4074aa
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x437480
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x4e74], 0x42613d
sub esp, 8
test eax, eax
jne 0x406de0
cmp word [0x437480], 0
je 0x406d0e
lea esi, [esi]
lea esi, [esi]
add eax, 1
cmp word [eax + eax + 0x437480], 0
jne 0x406d00
mov ecx, 0x437480
mov dword [ebp - 0x4e74], edi
mov edx, 0x224c
mov dword [ebp - 0x4e6c], ecx
mov dword [ebp - 0x4e78], ebx
mov word [ebp - 0x4018], dx
lea edx, [ebp - 0x4016]
lea esi, [esi]
nop
lea ebx, [eax - 1]
test eax, eax
jle 0x406da0
lea eax, [ebp - 0x3ef6]
cmp edx, eax
ja 0x406da0
add dword [ebp - 0x4e6c], 2
mov eax, dword [ebp - 0x4e6c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x407250
ja 0x4071e0
cmp ax, 9
je 0x407263
cmp ax, 0xa
jne 0x4072f3
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406d40
mov eax, ebx
mov edi, dword [ebp - 0x4e74]
mov ebx, dword [ebp - 0x4e78]
mov byte [edx], 0x22
test eax, eax
jle 0x407566
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x4018]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov dword [ebp - 0x4e74], eax
mov eax, esi
shr eax, 0x10
je 0x407490
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, 0x42613d
sub esp, 8
test eax, eax
jne 0x406eec
cmp word [ebp - 0x4e50], 0
je 0x406e2a
lea esi, [esi]
lea esi, [esi]
add eax, 1
cmp word [esi + eax*2], 0
jne 0x406e20
mov dword [ebp - 0x4e6c], esi
mov edx, 0x224c
mov dword [ebp - 0x4e78], edi
mov dword [ebp - 0x4e7c], ebx
mov word [ebp - 0x4018], dx
lea edx, [ebp - 0x4016]
nop
lea ecx, [ebp - 0x3ef6]
lea ebx, [eax - 1]
cmp edx, ecx
ja 0x406eb0
test eax, eax
jle 0x406eb0
add dword [ebp - 0x4e6c], 2
mov eax, dword [ebp - 0x4e6c]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x407233
ja 0x4071b0
cmp ax, 9
je 0x407203
cmp ax, 0xa
jne 0x407293
mov eax, 0x6e5c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406e50
mov eax, ebx
mov edi, dword [ebp - 0x4e78]
mov ebx, dword [ebp - 0x4e7c]
mov byte [edx], 0x22
test eax, eax
jle 0x40756e
mov ecx, 0x2e2e
mov byte [edx + 3], 0x2e
lea eax, [edx + 4]
mov word [edx + 1], cx
mov byte [eax], 0
lea eax, [ebp - 0x4018]
mov dword [esp], eax
call dbg.__wine_dbg_strdup
mov edx, eax
mov eax, dword [ebp - 0x4e74]
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.9
jmp 0x40693d
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 0x406f60
cmp word [ebp - 0x4a40], 0
lea edx, [ebp - 0x4a40]
je 0x406f8d
add edx, 2
cmp word [edx], 0
jne 0x406f84
xor eax, eax
nop
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x406f90
cmp word [ebp - 0x4a40], 0
je 0x40764d
lea eax, [ebp - 0x4a40]
add eax, 2
cmp word [eax], 0
jne 0x406fb4
lea ecx, [ebp - 0x4a40]
sub eax, ecx
sar eax, 1
mov esi, eax
lea ebx, [eax + 1]
test byte [0x425010], 8
jne 0x407615
mov eax, 0x2a
mov edi, dword [ebp - 0x4e6c]
xor edx, edx
mov word [ebp + esi*2 - 0x4a40], ax
lea eax, [ebp - 0x4a40]
mov word [ebp + ebx*2 - 0x4a40], dx
mov dword [esp], eax
mov eax, dword [ebp - 0x4e7c]
mov dword [esp + 4], edi
call eax
xor ecx, ecx
sub esp, 8
mov ebx, eax
mov word [ebp + esi*2 - 0x4a40], cx
cmp eax, 0xffffffff
je 0x406aed
mov eax, dword [sym.imp.kernel32.dll_FindNextFileW]
xor esi, esi
mov dword [ebp - 0x4e74], 0
mov dword [ebp - 0x4e6c], esi
mov esi, eax
jmp 0x407054
mov dword [esp + 4], edi
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
je 0x4074e9
test byte [ebp - 0x4018], 0x10
je 0x407040
lea eax, [ebp - 0x3fec]
mov dword [esp + 4], 0x426a68
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x407040
lea eax, [ebp - 0x3fec]
mov dword [esp + 4], 0x426a6e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x407040
lea eax, [ebp - 0x4a40]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcslen]
mov dword [ebp - 0x4e70], eax
call eax
lea ecx, [ebp - 0x3fec]
mov dword [ebp - 0x4e7c], eax
mov eax, dword [ebp - 0x4e70]
mov dword [esp], ecx
call eax
mov ecx, dword [ebp - 0x4e7c]
lea edx, [ebp - 0x4630]
mov dword [esp], edx
add ecx, eax
mov eax, dword [ebp - 0x4e70]
mov dword [ebp - 0x4e7c], ecx
call eax
lea edx, [ebp - 0x4428]
mov dword [ebp - 0x4e80], eax
mov eax, dword [ebp - 0x4e70]
mov dword [esp], edx
call eax
mov ecx, dword [ebp - 0x4e7c]
mov edx, dword [ebp - 0x4e80]
lea edx, [ecx + edx + 1]
add edx, eax
cmp edx, 0x103
jbe 0x407659
test byte [0x425010], 8
je 0x407040
lea eax, [ebp - 0x4428]
call sym._wine_dbgstr_wn.constprop.5
mov dword [ebp - 0x4e70], eax
lea eax, [ebp - 0x4630]
call sym._wine_dbgstr_wn.constprop.5
mov dword [ebp - 0x4e80], eax
lea eax, [ebp - 0x3fec]
call sym._wine_dbgstr_wn.constprop.5
mov dword [ebp - 0x4e7c], eax
lea eax, [ebp - 0x4a40]
call sym._wine_dbgstr_wn.constprop.5
mov ecx, dword [ebp - 0x4e70]
mov edx, dword [ebp - 0x4e7c]
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 - 0x4e80]
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.9
jmp 0x407040
cmp ax, 0x22
je 0x407280
cmp ax, 0x5c
jne 0x407293
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x406e50
cmp ax, 0x22
je 0x407220
cmp ax, 0x5c
jne 0x4072f3
mov edi, 0x5c5c
add edx, 2
mov eax, ebx
mov word [edx - 2], di
jmp 0x406d40
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406e50
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406d40
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406e50
mov eax, 0x725c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406d40
mov eax, 0x745c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406d40
mov eax, 0x225c
add edx, 2
mov word [edx - 2], ax
mov eax, ebx
jmp 0x406e50
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4074d1
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 0x406e50
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4074dd
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 0x406d40
mov dword [esp + 4], 0x426a1e
mov eax, dword [ebp - 0x4e70]
mov dword [esp], 0x437480
call eax
test eax, eax
jne 0x40695c
lea eax, [ebp - 0x4220]
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x104
mov dword [esp], esi
mov dword [ebp - 0x4e80], eax
call sym._WCMD_get_fullpath
mov dword [ebp - 0x4e78], eax
test eax, eax
je 0x406aed
lea eax, [ebp - 0x4838]
lea edx, [ebp - 0x4428]
mov dword [esp + 8], eax
lea eax, [ebp - 0x4a40]
lea ecx, [ebp - 0x4630]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x4e80]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wsplitpath]
lea ecx, [ebp - 0x4630]
mov dword [esp + 4], 0x426a24
mov dword [esp], ecx
mov ecx, dword [sym.imp.kernel32.dll_lstrcmpW]
mov dword [ebp - 0x4e6c], ecx
call ecx
sub esp, 8
test eax, eax
jne 0x40695c
cmp word [ebp - 0x4428], 0
mov ecx, dword [ebp - 0x4e6c]
lea edx, [ebp - 0x4428]
je 0x407437
mov dword [esp + 4], 0x426a30
mov dword [esp], edx
call ecx
sub esp, 8
test eax, eax
jne 0x40695c
mov eax, dword [ebp - 0x4e80]
mov dword [esp + 4], 0x426a28
mov dword [esp + 8], eax
lea eax, [ebp - 0x4018]
mov dword [esp], eax
mov dword [ebp - 0x4e6c], eax
call sym._wsprintfW
mov eax, dword [ebp - 0x4e6c]
mov edx, 1
call sym._WCMD_ask_confirm.constprop.4
mov dword [ebp - 0x4e78], eax
test eax, eax
je 0x406aed
mov dword [ebp - 0x4e78], 1
jmp 0x406972
movzx eax, si
mov dword [esp], 0x426130
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
mov edx, eax
jmp 0x406eec
movzx eax, ax
mov dword [esp], 0x426130
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.7
mov dword [ebp - 0x4e74], eax
jmp 0x406de0
xor ebx, ebx
xor edi, edi
jmp 0x40690e
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x406e50
mov byte [edx], al
add edx, 1
mov eax, ebx
jmp 0x406d40
mov esi, dword [ebp - 0x4e6c]
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindClose]
sub esp, 4
test esi, esi
je 0x406aed
mov edi, esi
mov ebx, dword fs:[0x18]
mov eax, dword [edi + 4]
mov esi, dword [edi]
call dbg.WCMD_delete_one
or dword [ebp - 0x4e78], eax
mov eax, dword [edi + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov dword [esp + 8], edi
mov edi, esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
test esi, esi
jne 0x40750c
jmp 0x406aed
lea eax, [edx + 1]
jmp 0x406dc9
lea eax, [edx + 1]
jmp 0x406ed9
mov dword [esp + 4], 0x3f
mov dword [esp], esi
call edx
test eax, eax
jne 0x4069c5
test byte [ebp - 0x4018], 0x10
je 0x4069c5
lea ecx, [ebp - 0x4220]
mov dword [ebp - 0x4e80], ecx
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4075a4
cmp word [ebp - 0x4220], 0
mov eax, dword [ebp - 0x4e80]
je 0x4075cd
add eax, 2
cmp word [eax], 0
jne 0x4075c4
xor edx, edx
mov ecx, 0x5c
jmp 0x4075dd
movzx ecx, word [edx + 0x426a36]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x4075d6
mov eax, dword [ebp - 0x4e74]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp - 0x4e80]
sub esp, 4
call dbg.WCMD_delete_one
mov dword [ebp - 0x4e78], 1
jmp 0x406a9e
lea eax, [ebp - 0x4a40]
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.9
jmp 0x406fd9
xor esi, esi
mov ebx, 1
jmp 0x406fcc
lea ecx, [ebp - 0x4220]
xor eax, eax
mov dword [ebp - 0x4e70], ecx
movzx edx, word [ebp + eax - 0x4a40]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x407667
cmp word [ebp - 0x4220], 0
mov edx, dword [ebp - 0x4e70]
je 0x407694
add edx, 2
cmp word [edx], 0
jne 0x40768b
xor eax, eax
movzx ecx, word [ebp + eax - 0x3fec]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x407696
cmp word [ebp - 0x4220], 0
mov edx, dword [ebp - 0x4e70]
je 0x4076c3
add edx, 2
cmp word [edx], 0
jne 0x4076ba
xor eax, eax
mov ecx, 0x5c
jmp 0x4076d3
movzx ecx, word [eax + 0x426a96]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4076cc
cmp word [ebp - 0x4220], 0
mov edx, dword [ebp - 0x4e70]
je 0x4076f8
add edx, 2
cmp word [edx], 0
jne 0x4076ef
xor eax, eax
movzx ecx, word [ebp + eax - 0x4630]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4076fa
cmp word [ebp - 0x4220], 0
mov edx, dword [ebp - 0x4e70]
je 0x407727
add edx, 2
cmp word [edx], 0
jne 0x40771e
xor eax, eax
movzx ecx, word [ebp + eax - 0x4428]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x407729
test byte [0x425010], 8
jne 0x4077f4
mov dword [esp], 0xc
call dbg.heap_xalloc
mov edx, eax
mov eax, dword [ebp - 0x4e6c]
test eax, eax
cmove eax, edx
mov dword [ebp - 0x4e6c], eax
mov eax, dword [ebp - 0x4e74]
test eax, eax
je 0x407775
mov dword [eax], edx
mov dword [edx], 0
cmp word [ebp - 0x4220], 0
je 0x40782c
mov eax, dword [ebp - 0x4e70]
add eax, 2
cmp word [eax], 0
jne 0x40778f
sub eax, dword [ebp - 0x4e70]
sar eax, 1
lea ecx, [eax + eax + 2]
mov dword [esp], ecx
mov dword [ebp - 0x4e7c], edx
mov dword [ebp - 0x4e74], ecx
call dbg.heap_xalloc
mov ecx, dword [ebp - 0x4e74]
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x4e70]
mov dword [ebp - 0x4e70], eax
mov dword [esp + 4], ecx
call sym._memcpy
mov edx, dword [ebp - 0x4e7c]
mov eax, dword [ebp - 0x4e70]
mov dword [ebp - 0x4e74], edx
mov dword [edx + 4], eax
jmp 0x407040
mov eax, dword [ebp - 0x4e70]
call sym._wine_dbgstr_wn.constprop.5
mov dword [esp + 0xc], 0x426a9c
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.9
jmp 0x40774a
mov ecx, 2
jmp 0x4077a4