Function at 0x4014d0
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, 0x29c
mov dword [ebp - 0x244], eax
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 8], 0x250
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x260], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x25c], edx
mov dword [esp], eax
call edi
sub esp, 0xc
mov ebx, 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 edi
sub esp, 0xc
mov dword [ebp - 0x240], 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 edi
mov ecx, dword [ebp - 0x240]
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x250], eax
sub esp, 0xc
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x401578
mov edx, dword [ebp - 0x240]
cmp word [edx], 0
je 0x401f80
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x4015a0
mov esi, dword [ebp - 0x25c]
xor eax, eax
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4015b8
mov eax, dword [ebp - 0x240]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
call eax
mov dword [ebp - 0x23c], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x4019a8
mov dword [ebp - 0x258], 0
lea edi, [ebx + 0x2c]
jmp 0x401633
test byte [0x405030], 8
jne 0x401970
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x4019a8
mov dword [esp + 4], 0x40a11a
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401608
mov dword [esp + 4], 0x40a11e
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401608
mov eax, dword [ebx]
and eax, 0x10
mov dword [ebp - 0x248], eax
jne 0x401608
mov ecx, dword [ebp - 0x244]
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ecx + eax]
add eax, 2
mov word [eax + 0x40503e], dx
test dx, dx
jne 0x401680
mov ecx, dword [ebp + 0xc]
movzx eax, word [0x405040]
mov edx, 0x405040
and ecx, 0x200
je 0x401b10
test ax, ax
je 0x4016c1
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x4016b8
xor eax, eax
lea esi, [esi]
nop
movzx esi, word [ebx + eax + 0x234]
mov word [edx + eax], si
add eax, 2
test si, si
jne 0x4016c8
mov esi, dword [ebp - 0x260]
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
add eax, 2
mov word [eax + 0x40525e], dx
test dx, dx
jne 0x4016e8
mov eax, dword [ebp + 8]
movzx edx, word [0x405260]
movzx eax, word [eax]
test ax, ax
jne 0x401d78
test ecx, ecx
jne 0x401ca0
mov eax, 0x405260
test dx, dx
je 0x401738
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x401728
lea esi, [esi]
movzx edx, word [ebx + ecx + 0x2c]
mov word [eax + ecx], dx
add ecx, 2
test dx, dx
jne 0x401738
test byte [0x405030], 8
jne 0x401ce1
mov eax, dword [ebp + 0xc]
and eax, 0x20
or eax, dword [ebp - 0x258]
je 0x401d35
mov dword [esp], 0x405040
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov dword [ebp - 0x24c], eax
sub esp, 4
test byte [0x405030], 8
jne 0x401d48
mov dword [ebp - 0x254], 0
test byte [ebp - 0x24c], 6
je 0x4017b0
mov eax, dword [ebp + 0xc]
shr eax, 0xc
xor eax, 1
and eax, 1
mov dword [ebp - 0x254], eax
mov eax, dword [ebp - 0x24c]
and eax, 0x20
mov dword [ebp - 0x270], eax
jne 0x4017ce
test dword [ebp + 0xc], 0x8000
jne 0x401dc0
mov dword [esp], 0x405260
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov dword [ebp - 0x26c], eax
sub esp, 4
test byte [0x405030], 8
jne 0x401ec0
mov ecx, dword [ebp - 0x254]
test ecx, ecx
jne 0x401615
test dword [ebp + 0xc], 0x40000
jne 0x401f2b
cmp dword [ebp - 0x26c], 0xffffffff
setne byte [ebp - 0x268]
movzx eax, byte [ebp - 0x268]
test dword [ebp + 0xc], 0x80000
je 0x401832
test al, al
jne 0x401e10
test dword [ebp + 0xc], 0x20000
jne 0x401f8b
test dword [ebp + 0xc], 0x4000
jne 0x4021bd
cmp byte [ebp - 0x268], 0
je 0x4022be
test dword [ebp + 0xc], 0x100
je 0x4020a1
test byte [ebp + 0xc], 8
jne 0x401892
test byte [ebp + 0xc], 0x10
je 0x402088
mov dword [esp + 8], 0x405260
mov dword [esp + 4], 0x405040
mov dword [esp], str._1_____2_n
call sym._XCOPY_wprintf
test byte [ebp - 0x26c], 1
je 0x4018c8
test dword [ebp + 0xc], 0x800
je 0x4018c8
mov eax, dword [ebp - 0x26c]
mov dword [esp], 0x405260
and eax, 0xfffffffe
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
sub esp, 8
lea esi, [esi]
mov dword [ebp - 0x258], 1
test byte [ebp + 0xc], 0xa0
jne 0x401615
mov dword [esp + 8], 0
mov dword [esp + 4], 0x405260
mov dword [esp], 0x405040
call dword [sym.imp.kernel32.dll_CopyFileW]
sub esp, 0xc
test eax, eax
je 0x4023bb
test dword [ebp + 0xc], 0x100000
jne 0x4022f2
mov dword [esp], 0x405260
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], 0x405260
call esi
mov eax, dword [ebp - 0x270]
sub esp, 8
test eax, eax
je 0x401951
test dword [ebp + 0xc], 0x10000
jne 0x40243b
inc dword [0x405494]
mov dword [ebp - 0x258], 1
jmp 0x401615
mov eax, edi
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401615
mov eax, dword [ebp - 0x23c]
xor edi, edi
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_FindClose]
mov dword [ebp - 0x23c], eax
call eax
sub esp, 4
test byte [ebp + 0xc], 2
je 0x401a97
mov eax, dword [ebp + 0xc]
and eax, 0x24
cmp eax, 4
je 0x402078
mov ecx, dword [ebp - 0x240]
mov esi, dword [ebp - 0x244]
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4019f0
mov edx, dword [ebp - 0x240]
cmp word [edx], 0
je 0x4022e7
add edx, 2
cmp word [edx], 0
jne 0x401a10
xor eax, eax
mov ecx, 0x2a
jmp 0x401a2f
movzx ecx, word [eax + 0x40a21c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401a28
test byte [0x405030], 8
jne 0x401ef3
mov eax, dword [ebp - 0x240]
mov dword [esp + 4], ebx
lea edi, [ebx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x264]
call eax
sub esp, 8
mov esi, eax
cmp eax, 0xffffffff
je 0x401a87
test byte [ebx], 0x10
jne 0x401b40
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x401a6a
mov dword [esp], esi
mov eax, dword [ebp - 0x23c]
xor edi, edi
call eax
sub esp, 4
mov dword [esp + 8], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword fs:[0x18]
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x240]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x250]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, edi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test ax, ax
je 0x401b21
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x401b18
xor eax, eax
lea esi, [esi]
nop
movzx esi, word [ebx + eax + 0x2c]
mov word [edx + eax], si
add eax, 2
test si, si
jne 0x401b28
jmp 0x4016dc
mov dword [esp + 4], 0x40a11a
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401a73
mov dword [esp + 4], 0x40a11e
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401a73
test byte [0x405030], 8
jne 0x402300
mov dword [ebp - 0x248], ebx
mov ecx, dword [ebp - 0x240]
xor eax, eax
mov ebx, dword [ebp - 0x244]
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x401ba0
mov edx, dword [ebp - 0x240]
mov ebx, dword [ebp - 0x248]
cmp word [edx], 0
je 0x4023a5
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x401bd0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax + 0x2c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401be0
mov edx, dword [ebp - 0x240]
cmp word [edx], 0
je 0x40239a
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x401c08
xor eax, eax
mov ecx, 0x5c
jmp 0x401c27
movzx ecx, word [eax + 0x40a258]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401c20
mov dword [ebp - 0x248], ebx
mov ecx, dword [ebp - 0x250]
xor eax, eax
mov ebx, dword [ebp - 0x260]
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x401c50
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x248]
cmp word [eax], 0
je 0x402334
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x250]
mov edx, dword [ebp - 0x25c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x240]
call sym._XCOPY_DoCopy
jmp 0x401a73
test dx, dx
mov edx, 0x405260
je 0x401cb9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x401cb0
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [ebx + eax + 0x234]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401cc0
test byte [0x405030], 8
je 0x401756
mov eax, 0x405260
call sym._wine_dbgstr_wn.constprop.0
mov esi, eax
mov eax, 0x405040
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
mov eax, dword [ebp + 0xc]
and eax, 0x20
or eax, dword [ebp - 0x258]
jne 0x401768
mov eax, dword [ebp - 0x260]
call sym._XCOPY_CreateDirectory
jmp 0x401768
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x40178b
mov ecx, 0x405260
test dx, dx
je 0x401d91
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x401d88
mov edx, dword [ebp + 8]
jmp 0x401da3
movzx eax, word [edx]
add ecx, 2
add edx, 2
mov word [ecx - 2], ax
test ax, ax
jne 0x401da0
jmp 0x401749
mov dword [esp], 0x405260
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
test byte [0x405030], 8
je 0x401615
mov eax, dword [ebp - 0x24c]
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401615
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], 0x405260
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x401832
lea esi, [ebp - 0x220]
mov dword [esp + 8], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x274], eax
call dword [sym.imp.kernel32.dll_GetFileTime]
lea eax, [ebx + 0x14]
sub esp, 0x10
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
mov edx, dword [ebp - 0x274]
sub esp, 8
test eax, eax
jle 0x402421
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x401832
mov eax, dword [ebp - 0x24c]
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x4017f1
mov eax, dword [ebp - 0x240]
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401a48
lea eax, [ebx + 0x14]
mov dword [esp + 4], 0x405480
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CompareFileTime]
sub esp, 8
test eax, eax
jns 0x40180c
test byte [0x405030], 8
je 0x401615
mov dword [esp + 0xc], str.Skipping_file_as_modified_date_too_old_n
mov dword [esp + 8], str.XCOPY_DoCopy
mov dword [esp + 4], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401615
mov edx, dword [ebp - 0x240]
jmp 0x4015a9
mov edx, dword [0x405490]
xor eax, eax
lea esi, [ebp - 0x220]
lea esi, [esi]
movzx ecx, word [eax + 0x405040]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x401fa0
cmp word [ebp - 0x220], 0
je 0x401fd3
mov eax, esi
nop
add eax, 2
cmp word [eax], 0
jne 0x401fc0
sub eax, esi
sar eax, 1
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x274], edx
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_CharUpperBuffW]
mov edx, dword [ebp - 0x274]
sub esp, 8
test edx, edx
je 0x40183f
mov dword [ebp - 0x248], ebx
mov ebx, edx
jmp 0x40201a
mov ebx, dword [ebx]
test ebx, ebx
je 0x4023b0
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 0x402010
mov edx, ebx
mov ebx, dword [ebp - 0x248]
test byte [0x405030], 8
je 0x401615
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401615
mov eax, dword [ebp - 0x260]
call sym._XCOPY_CreateDirectory
jmp 0x4019dc
mov dword [esp + 4], 0x405040
mov dword [esp], 0x40a0ce
call sym._XCOPY_wprintf
jmp 0x401892
mov eax, 0x70
call sym._XCOPY_LoadMessage
mov esi, dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp + 4], eax
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call esi
mov eax, 0x72
call sym._XCOPY_LoadMessage
mov dword [esp + 4], eax
lea eax, [ebp - 0x228]
mov dword [esp], eax
call esi
mov eax, 0x71
call sym._XCOPY_LoadMessage
mov dword [esp + 4], eax
lea eax, [ebp - 0x224]
mov dword [esp], eax
call esi
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
lea esi, [ebp - 0x220]
mov dword [ebp - 0x254], eax
mov eax, dword [sym.imp.kernel32.dll_ReadFile]
mov dword [ebp - 0x248], eax
mov eax, dword [sym.imp.ucrtbase.dll_toupper]
mov dword [ebp - 0x268], eax
mov eax, 0x6c
call sym._XCOPY_LoadMessage
mov dword [esp + 4], 0x405260
mov dword [esp], eax
call sym._XCOPY_wprintf
mov dword [esp], 0xfffffff6
mov eax, dword [ebp - 0x254]
call eax
lea ecx, [ebp - 0x230]
sub esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x248]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xa
mov dword [esp + 4], esi
call eax
movsx eax, byte [ebp - 0x220]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [ebp - 0x268]
call eax
movzx edx, word [ebp - 0x228]
cmp eax, edx
je 0x4021b1
movzx edx, word [ebp - 0x224]
cmp eax, edx
je 0x401615
movzx edx, word [ebp - 0x22c]
cmp eax, edx
jne 0x402119
jmp 0x401866
or dword [ebp + 0xc], 0x100
jmp 0x401866
mov eax, 0x70
call sym._XCOPY_LoadMessage
mov esi, dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp + 4], eax
lea eax, [ebp - 0x228]
mov dword [esp], eax
call esi
mov eax, 0x71
call sym._XCOPY_LoadMessage
mov dword [esp + 4], eax
lea eax, [ebp - 0x224]
mov dword [esp], eax
call esi
lea ecx, [ebp - 0x22c]
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x274], ecx
mov ecx, dword [sym.imp.kernel32.dll_ReadFile]
lea esi, [ebp - 0x220]
mov dword [ebp - 0x27c], ebx
mov ebx, eax
mov dword [ebp - 0x248], ecx
mov ecx, dword [sym.imp.ucrtbase.dll_toupper]
mov edi, ecx
jmp 0x40223f
movzx edx, word [ebp - 0x228]
cmp eax, edx
je 0x402410
mov eax, 0x6b
call sym._XCOPY_LoadMessage
mov dword [esp + 4], 0x405040
mov dword [esp], eax
call sym._XCOPY_wprintf
mov dword [esp], 0xfffffff6
call ebx
mov ecx, dword [ebp - 0x274]
sub esp, 4
mov dword [esp + 0xc], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x248]
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0xa
mov dword [esp + 4], esi
call eax
movsx eax, byte [ebp - 0x220]
sub esp, 0x14
mov dword [esp], eax
call edi
movzx edx, word [ebp - 0x224]
cmp eax, edx
jne 0x402230
mov dword [ebp - 0x254], 1
mov edi, dword [ebp - 0x278]
mov ebx, dword [ebp - 0x27c]
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x4022d4
test dword [ebp + 0xc], 0x400
jne 0x401615
mov edx, dword [ebp - 0x254]
test edx, edx
je 0x401866
jmp 0x401615
mov edx, dword [ebp - 0x240]
jmp 0x401a19
mov eax, dword [ebp - 0x24c]
or eax, 0x20
jmp 0x401924
mov eax, edi
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], 0x405030
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401b85
mov edx, dword [ebp - 0x250]
cmp word [edx], 0
je 0x402496
add edx, 2
cmp word [edx], 0
jne 0x402344
xor eax, eax
movzx ecx, word [ebx + eax + 0x2c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x40234f
mov edx, dword [ebp - 0x250]
cmp word [edx], 0
je 0x40248b
add edx, 2
cmp word [edx], 0
jne 0x402370
xor eax, eax
mov ecx, 0x5c
jmp 0x402389
movzx ecx, word [eax + 0x40a258]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402382
jmp 0x401c73
mov edx, dword [ebp - 0x240]
jmp 0x401c11
mov edx, dword [ebp - 0x240]
jmp 0x401bd9
mov ebx, dword [ebp - 0x248]
jmp 0x40183f
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, 0x6d
call sym._XCOPY_LoadMessage
mov dword [esp + 8], 0x405260
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x405040
mov dword [esp], eax
call sym._XCOPY_wprintf
mov eax, esi
call sym._XCOPY_FailMessage
test dword [ebp + 0xc], 0x2000
jne 0x401615
mov edi, 5
jmp 0x401a97
mov edi, dword [ebp - 0x278]
mov ebx, dword [ebp - 0x27c]
jmp 0x40184c
test byte [0x405030], 8
jne 0x402459
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x401615
mov eax, dword [ebp - 0x24c]
mov dword [esp], 0x405040
and eax, 0xffffffdf
mov dword [esp + 4], eax
call esi
sub esp, 8
jmp 0x401951
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], 0x405030
mov dword [esp], 3
mov dword [ebp - 0x248], edx
call sym._wine_dbg_log.constprop.0
mov edx, dword [ebp - 0x248]
jmp 0x40242a
mov edx, dword [ebp - 0x250]
jmp 0x402379
mov edx, dword [ebp - 0x250]
jmp 0x40234d