Function at 0x401bd0
Capabilities:
Copy file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Get process heap flags
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x278
mov dword [ebp - 0x230], eax
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x250
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x24c], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x248], edx
mov dword [esp], eax
call ebx
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], 0x208
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [ebp - 0x22c], eax
mov dword [esp + 8], 0x208
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x22c]
mov ebx, dword [ebp - 0x230]
mov dword [ebp - 0x23c], eax
sub esp, 0xc
xor eax, eax
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x401c78
mov edx, dword [ebp - 0x22c]
cmp word [edx], 0
je 0x402680
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x401ca0
mov ebx, dword [ebp - 0x248]
xor eax, eax
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401cb8
mov eax, dword [ebp - 0x22c]
mov dword [esp + 4], edi
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x250], eax
call eax
mov dword [ebp - 0x228], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x4020a8
mov dword [ebp - 0x244], 0
lea ebx, [edi + 0x2c]
jmp 0x401d33
test byte [0x405004], 8
jne 0x402070
mov eax, dword [ebp - 0x228]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x4020a8
mov dword [esp + 4], 0x40611a
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401d08
mov dword [esp + 4], 0x40611e
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401d08
mov eax, dword [edi]
and eax, 0x10
mov dword [ebp - 0x234], eax
jne 0x401d08
mov ecx, dword [ebp - 0x230]
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ecx + eax]
add eax, 2
mov word [eax + 0x40c23e], dx
test dx, dx
jne 0x401d80
mov ecx, dword [ebp + 0xc]
movzx eax, word [0x40c240]
mov edx, 0x40c240
and ecx, 0x200
je 0x402228
test ax, ax
je 0x401dc1
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x401db8
xor eax, eax
lea esi, [esi]
nop
movzx esi, word [edi + eax + 0x234]
mov word [edx + eax], si
add eax, 2
test si, si
jne 0x401dc8
mov esi, dword [ebp - 0x24c]
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
add eax, 2
mov word [eax + 0x40c01e], dx
test dx, dx
jne 0x401de8
mov eax, dword [ebp + 8]
movzx edx, word [0x40c020]
cmp word [eax], 0
jne 0x402488
test ecx, ecx
jne 0x4023b0
mov eax, 0x40c020
test dx, dx
je 0x401e38
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401e28
lea esi, [esi]
movzx edx, word [edi + ecx + 0x2c]
mov word [eax + ecx], dx
add ecx, 2
test dx, dx
jne 0x401e38
test byte [0x405004], 8
jne 0x4023f1
mov eax, dword [ebp + 0xc]
and eax, 0x20
or eax, dword [ebp - 0x244]
je 0x402445
mov dword [esp], 0x40c240
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov dword [ebp - 0x238], eax
sub esp, 4
test byte [0x405004], 8
jne 0x402458
mov dword [ebp - 0x240], 0
test byte [ebp - 0x238], 6
je 0x401eb0
mov eax, dword [ebp + 0xc]
shr eax, 0xc
xor eax, 1
and eax, 1
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x238]
and eax, 0x20
mov dword [ebp - 0x25c], eax
jne 0x401ece
test dword [ebp + 0xc], 0x8000
jne 0x4024c8
mov dword [esp], 0x40c020
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov dword [ebp - 0x258], eax
sub esp, 4
test byte [0x405004], 8
jne 0x4025c0
mov ecx, dword [ebp - 0x240]
test ecx, ecx
jne 0x401d15
test dword [ebp + 0xc], 0x40000
jne 0x40262b
cmp dword [ebp - 0x258], 0xffffffff
setne byte [ebp - 0x254]
movzx eax, byte [ebp - 0x254]
test dword [ebp + 0xc], 0x80000
je 0x401f32
test al, al
jne 0x402518
test dword [ebp + 0xc], 0x20000
jne 0x40268b
test dword [ebp + 0xc], 0x4000
jne 0x4028d7
cmp byte [ebp - 0x254], 0
je 0x4029de
test dword [ebp + 0xc], 0x100
je 0x4027a1
test byte [ebp + 0xc], 8
jne 0x401f92
test byte [ebp + 0xc], 0x10
je 0x402788
mov dword [esp + 8], 0x40c020
mov dword [esp + 4], 0x40c240
mov dword [esp], str._1_____2_n
call sym._XCOPY_wprintf
test byte [ebp - 0x258], 1
je 0x401fc8
test dword [ebp + 0xc], 0x800
je 0x401fc8
mov eax, dword [ebp - 0x258]
mov dword [esp], 0x40c020
and eax, 0xfffffffe
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
sub esp, 8
lea esi, [esi]
mov dword [ebp - 0x244], 1
test byte [ebp + 0xc], 0xa0
jne 0x401d15
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40c020
mov dword [esp], 0x40c240
call dword [sym.imp.kernel32.dll_CopyFileW]
sub esp, 0xc
test eax, eax
je 0x402ad4
test dword [ebp + 0xc], 0x100000
jne 0x402a12
mov dword [esp], 0x40c020
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
and eax, 0xfffffffe
mov dword [esp + 4], eax
mov esi, dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov dword [esp], 0x40c020
call esi
mov eax, dword [ebp - 0x25c]
sub esp, 8
test eax, eax
je 0x402051
test dword [ebp + 0xc], 0x10000
jne 0x402b53
add dword [0x40c454], 1
mov dword [ebp - 0x244], 1
jmp 0x401d15
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Skipping_directory__._or_..___s__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401d15
mov eax, dword [ebp - 0x228]
mov esi, dword [sym.imp.kernel32.dll_FindClose]
mov dword [esp], eax
call esi
xor edx, edx
sub esp, 4
test byte [ebp + 0xc], 2
je 0x4021a5
mov eax, dword [ebp + 0xc]
and eax, 0x24
cmp eax, 4
je 0x402778
mov ecx, dword [ebp - 0x22c]
mov ebx, dword [ebp - 0x230]
xor eax, eax
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4020e8
mov edx, dword [ebp - 0x22c]
cmp word [edx], 0
je 0x402a07
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x402110
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x40621c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402120
test byte [0x405004], 8
jne 0x4025f3
mov eax, dword [ebp - 0x22c]
mov dword [esp + 4], edi
lea ebx, [edi + 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x250]
call eax
mov dword [ebp - 0x228], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x402195
mov dword [ebp - 0x234], esi
mov esi, dword [ebp - 0x228]
test byte [edi], 0x10
jne 0x402260
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x402172
mov esi, dword [ebp - 0x234]
mov eax, dword [ebp - 0x228]
mov dword [esp], eax
call esi
xor edx, edx
sub esp, 4
mov dword [esp + 8], edi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword fs:[0x18]
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x228], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x22c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x23c]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x228]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
test ax, ax
je 0x402239
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x402230
xor eax, eax
lea esi, [esi]
nop
movzx esi, word [edi + eax + 0x2c]
mov word [edx + eax], si
add eax, 2
test si, si
jne 0x402240
jmp 0x401ddc
mov dword [esp + 4], 0x40611a
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40217b
mov dword [esp + 4], 0x40611e
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40217b
test byte [0x405004], 8
jne 0x402a20
mov dword [ebp - 0x238], edi
mov ecx, dword [ebp - 0x22c]
xor eax, eax
mov edi, dword [ebp - 0x230]
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4022c0
mov edx, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x238]
cmp word [edx], 0
je 0x402abe
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4022f0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [edi + eax + 0x2c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402300
mov edx, dword [ebp - 0x22c]
cmp word [edx], 0
je 0x402ab3
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x402328
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x406258]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402338
mov dword [ebp - 0x238], edi
mov ecx, dword [ebp - 0x23c]
xor eax, eax
mov edi, dword [ebp - 0x24c]
nop
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x402360
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x238]
cmp word [eax], 0
je 0x402a54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x248]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x22c]
call sym._XCOPY_DoCopy
jmp 0x40217b
test dx, dx
mov edx, 0x40c020
je 0x4023c9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4023c0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [edi + eax + 0x234]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4023d0
test byte [0x405004], 8
je 0x401e56
mov eax, 0x40c020
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, 0x40c240
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.ACTION:_Copy__s_____s_n
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp + 0xc]
and eax, 0x20
or eax, dword [ebp - 0x244]
jne 0x401e68
mov eax, dword [ebp - 0x24c]
call sym._XCOPY_CreateDirectory
jmp 0x401e68
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Source_attribs:__ld_n
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401e8b
mov ecx, 0x40c020
test dx, dx
je 0x4024a1
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x402498
mov esi, dword [ebp + 8]
xor eax, eax
lea esi, [esi]
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4024b0
jmp 0x401e49
mov dword [esp], 0x40c020
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
test byte [0x405004], 8
je 0x401d15
mov eax, dword [ebp - 0x238]
mov dword [esp + 0xc], str.Dest_attribs:__ld_n
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401d15
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x80000000
mov dword [esp], 0x40c020
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x401f32
lea esi, [ebp - 0x214]
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x260], eax
call dword [sym.imp.kernel32.dll_GetFileTime]
lea eax, [edi + 0x14]
sub esp, 0x10
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
mov edx, dword [ebp - 0x260]
sub esp, 8
test eax, eax
jle 0x402b39
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x401f32
mov eax, dword [ebp - 0x238]
mov dword [esp + 0xc], str.Dest_attribs:__ld_n
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401ef1
mov eax, dword [ebp - 0x22c]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Processing_subdirs_with_spec:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x402140
lea eax, [edi + 0x14]
mov dword [esp + 4], 0x40c448
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
sub esp, 8
test eax, eax
jns 0x401f0c
test byte [0x405004], 8
je 0x401d15
mov dword [esp + 0xc], str.Skipping_file_as_modified_date_too_old_n
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401d15
mov edx, dword [ebp - 0x22c]
jmp 0x401ca9
mov edx, dword [0x40c450]
xor eax, eax
lea esi, [ebp - 0x214]
lea esi, [esi]
movzx ecx, word [eax + 0x40c240]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x4026a0
cmp word [ebp - 0x214], 0
je 0x4026d3
mov eax, esi
nop
add eax, 2
cmp word [eax], 0
jne 0x4026c0
sub eax, esi
sar eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x260], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_CharUpperBuffW]
mov edx, dword [ebp - 0x260]
sub esp, 8
test edx, edx
je 0x401f3f
mov dword [ebp - 0x234], ebx
mov ebx, edx
jmp 0x40271a
mov ebx, dword [ebx]
test ebx, ebx
je 0x402ac9
mov eax, dword [ebx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_wcsstr]
test eax, eax
je 0x402710
mov edx, ebx
mov ebx, dword [ebp - 0x234]
test byte [0x405004], 8
je 0x401d15
mov eax, dword [edx + 4]
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Skipping_file_as_matches_exclude__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401d15
mov eax, dword [ebp - 0x24c]
call sym._XCOPY_CreateDirectory
jmp 0x4020d7
mov dword [esp + 4], 0x40c240
mov dword [esp], 0x4060ce
call sym._XCOPY_wprintf
jmp 0x401f92
mov eax, 0x70
call sym._XCOPY_LoadMessage
mov esi, dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp + 4], eax
lea eax, [ebp - 0x220]
mov dword [esp], eax
call esi
mov eax, 0x72
call sym._XCOPY_LoadMessage
mov dword [esp + 4], eax
lea eax, [ebp - 0x21c]
mov dword [esp], eax
call esi
mov eax, 0x71
call sym._XCOPY_LoadMessage
mov dword [esp + 4], eax
lea eax, [ebp - 0x218]
mov dword [esp], eax
call esi
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov ecx, dword [sym.imp.ucrtbase.dll_toupper]
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x254], edi
lea esi, [ebp - 0x214]
mov dword [ebp - 0x234], eax
mov eax, dword [sym.imp.kernel32.dll_ReadFile]
mov edi, ecx
mov ebx, eax
mov eax, 0x6c
call sym._XCOPY_LoadMessage
mov dword [esp + 4], 0x40c020
mov dword [esp], eax
call sym._XCOPY_wprintf
mov dword [esp], 0xfffffff6
mov eax, dword [ebp - 0x234]
call eax
lea ecx, [ebp - 0x224]
sub esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xa
mov dword [esp + 4], esi
mov dword [esp], eax
call ebx
movsx eax, byte [ebp - 0x214]
sub esp, 0x14
mov dword [esp], eax
call edi
movzx edx, word [ebp - 0x21c]
cmp eax, edx
je 0x4028ae
movzx edx, word [ebp - 0x218]
cmp eax, edx
je 0x4028c6
movzx edx, word [ebp - 0x220]
cmp eax, edx
jne 0x40281e
mov ebx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x254]
jmp 0x401f66
or dword [ebp + 0xc], 0x100
mov ebx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x254]
jmp 0x401f66
mov ebx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x254]
jmp 0x401d15
mov eax, 0x70
call sym._XCOPY_LoadMessage
mov esi, dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp + 4], eax
lea eax, [ebp - 0x21c]
mov dword [esp], eax
call esi
mov eax, 0x71
call sym._XCOPY_LoadMessage
mov dword [esp + 4], eax
lea eax, [ebp - 0x218]
mov dword [esp], eax
call esi
lea ecx, [ebp - 0x220]
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ecx
mov ecx, dword [sym.imp.kernel32.dll_ReadFile]
lea esi, [ebp - 0x214]
mov dword [ebp - 0x268], edi
mov edi, eax
mov dword [ebp - 0x234], ecx
mov ecx, dword [sym.imp.ucrtbase.dll_toupper]
mov ebx, ecx
jmp 0x40295f
movzx edx, word [ebp - 0x21c]
cmp eax, edx
je 0x402b28
mov eax, 0x6b
call sym._XCOPY_LoadMessage
mov dword [esp + 4], 0x40c240
mov dword [esp], eax
call sym._XCOPY_wprintf
mov dword [esp], 0xfffffff6
call edi
mov ecx, dword [ebp - 0x260]
sub esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x234]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xa
mov dword [esp + 4], esi
call eax
movsx eax, byte [ebp - 0x214]
sub esp, 0x14
mov dword [esp], eax
call ebx
movzx edx, word [ebp - 0x218]
cmp eax, edx
jne 0x402950
mov dword [ebp - 0x240], 1
mov ebx, dword [ebp - 0x264]
mov edi, dword [ebp - 0x268]
cmp dword [ebp - 0x258], 0xffffffff
jne 0x4029f4
test dword [ebp + 0xc], 0x400
jne 0x401d15
mov edx, dword [ebp - 0x240]
test edx, edx
je 0x401f66
jmp 0x401d15
mov edx, dword [ebp - 0x22c]
jmp 0x402119
mov eax, dword [ebp - 0x238]
or eax, 0x20
jmp 0x402024
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0xc], str.Handling_subdir:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4022a5
mov edx, dword [ebp - 0x23c]
cmp word [edx], 0
je 0x402bae
add edx, 2
cmp word [edx], 0
jne 0x402a64
xor eax, eax
movzx ecx, word [edi + eax + 0x2c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402a6f
mov edx, dword [ebp - 0x23c]
cmp word [edx], 0
je 0x402ba3
add edx, 2
cmp word [edx], 0
jne 0x402a90
xor eax, eax
movzx ecx, word [eax + 0x406258]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402a9b
jmp 0x402383
mov edx, dword [ebp - 0x22c]
jmp 0x402331
mov edx, dword [ebp - 0x22c]
jmp 0x4022f9
mov ebx, dword [ebp - 0x234]
jmp 0x401f3f
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, 0x6d
call sym._XCOPY_LoadMessage
mov dword [esp + 8], 0x40c020
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x40c240
mov dword [esp], eax
call sym._XCOPY_wprintf
mov eax, esi
call sym._XCOPY_FailMessage
test dword [ebp + 0xc], 0x2000
jne 0x401d15
mov edx, 5
jmp 0x4021a5
mov ebx, dword [ebp - 0x264]
mov edi, dword [ebp - 0x268]
jmp 0x401f4c
test byte [0x405004], 8
jne 0x402b71
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x401d15
mov eax, dword [ebp - 0x238]
mov dword [esp], 0x40c240
and eax, 0xffffffdf
mov dword [esp + 4], eax
call esi
sub esp, 8
jmp 0x402051
mov dword [esp + 0xc], str.Skipping_file_as_dest_newer_or_same_date_n
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405004
mov dword [esp], 3
mov dword [ebp - 0x234], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x234]
jmp 0x402b42
mov edx, dword [ebp - 0x23c]
jmp 0x402a99
mov edx, dword [ebp - 0x23c]
jmp 0x402a6d