Function at 0x401be0
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 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 - 0x260], ecx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x25c], 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 - 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 ebx
mov ecx, dword [ebp - 0x240]
mov ebx, dword [ebp - 0x244]
mov dword [ebp - 0x250], 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 0x401c88
mov edx, dword [ebp - 0x240]
cmp word [edx], 0
je 0x402690
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x401cb0
mov ebx, dword [ebp - 0x25c]
xor eax, eax
lea esi, [esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401cc8
mov eax, dword [ebp - 0x240]
mov dword [esp + 4], edi
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 0x4020b8
mov dword [ebp - 0x258], 0
lea ebx, [edi + 0x2c]
jmp 0x401d43
test byte [0x405004], 8
jne 0x402080
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x4020b8
mov dword [esp + 4], 0x40611a
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401d18
mov dword [esp + 4], 0x40611e
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x401d18
mov eax, dword [edi]
and eax, 0x10
mov dword [ebp - 0x248], eax
jne 0x401d18
mov ecx, dword [ebp - 0x244]
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ecx + eax]
add eax, 2
mov word [eax + 0x40c23e], dx
test dx, dx
jne 0x401d90
mov ecx, dword [ebp + 0xc]
movzx eax, word [0x40c240]
mov edx, 0x40c240
and ecx, 0x200
je 0x402238
test ax, ax
je 0x401dd1
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x401dc8
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 0x401dd8
mov esi, dword [ebp - 0x260]
xor eax, eax
lea esi, [esi]
movzx edx, word [esi + eax]
add eax, 2
mov word [eax + 0x40c01e], dx
test dx, dx
jne 0x401df8
mov eax, dword [ebp + 8]
movzx edx, word [0x40c020]
cmp word [eax], 0
jne 0x402498
test ecx, ecx
jne 0x4023c0
mov eax, 0x40c020
test dx, dx
je 0x401e48
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401e38
lea esi, [esi]
movzx edx, word [edi + ecx + 0x2c]
mov word [eax + ecx], dx
add ecx, 2
test dx, dx
jne 0x401e48
test byte [0x405004], 8
jne 0x402401
mov eax, dword [ebp + 0xc]
and eax, 0x20
or eax, dword [ebp - 0x258]
je 0x402455
mov dword [esp], 0x40c240
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov dword [ebp - 0x24c], eax
sub esp, 4
test byte [0x405004], 8
jne 0x402468
mov dword [ebp - 0x254], 0
test byte [ebp - 0x24c], 6
je 0x401ec0
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 0x401ede
test dword [ebp + 0xc], 0x8000
jne 0x4024d8
mov dword [esp], 0x40c020
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov dword [ebp - 0x26c], eax
sub esp, 4
test byte [0x405004], 8
jne 0x4025d0
mov ecx, dword [ebp - 0x254]
test ecx, ecx
jne 0x401d25
test dword [ebp + 0xc], 0x40000
jne 0x40263b
cmp dword [ebp - 0x26c], 0xffffffff
setne byte [ebp - 0x268]
movzx eax, byte [ebp - 0x268]
test dword [ebp + 0xc], 0x80000
je 0x401f42
test al, al
jne 0x402528
test dword [ebp + 0xc], 0x20000
jne 0x40269b
test dword [ebp + 0xc], 0x4000
jne 0x4028e7
cmp byte [ebp - 0x268], 0
je 0x4029ee
test dword [ebp + 0xc], 0x100
je 0x4027b1
test byte [ebp + 0xc], 8
jne 0x401fa2
test byte [ebp + 0xc], 0x10
je 0x402798
mov dword [esp + 8], 0x40c020
mov dword [esp + 4], 0x40c240
mov dword [esp], str._1_____2_n
call fcn.00401520
test byte [ebp - 0x26c], 1
je 0x401fd8
test dword [ebp + 0xc], 0x800
je 0x401fd8
mov eax, dword [ebp - 0x26c]
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 - 0x258], 1
test byte [ebp + 0xc], 0xa0
jne 0x401d25
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 0x402ae4
test dword [ebp + 0xc], 0x100000
jne 0x402a22
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 - 0x270]
sub esp, 8
test eax, eax
je 0x402061
test dword [ebp + 0xc], 0x10000
jne 0x402b63
add dword [0x40c454], 1
mov dword [ebp - 0x258], 1
jmp 0x401d25
mov eax, ebx
call fcn.00401250
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 fcn.004014d0
jmp 0x401d25
mov eax, dword [ebp - 0x23c]
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 0x4021b5
mov eax, dword [ebp + 0xc]
and eax, 0x24
cmp eax, 4
je 0x402788
mov ecx, dword [ebp - 0x240]
mov ebx, dword [ebp - 0x244]
xor eax, eax
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4020f8
mov edx, dword [ebp - 0x240]
cmp word [edx], 0
je 0x402a17
lea esi, [esi]
nop
add edx, 2
cmp word [edx], 0
jne 0x402120
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x40621c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402130
test byte [0x405004], 8
jne 0x402603
mov eax, dword [ebp - 0x240]
mov dword [esp + 4], edi
lea ebx, [edi + 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0x264]
call eax
mov dword [ebp - 0x23c], eax
sub esp, 8
cmp eax, 0xffffffff
je 0x4021a5
mov dword [ebp - 0x248], esi
mov esi, dword [ebp - 0x23c]
test byte [edi], 0x10
jne 0x402270
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x402182
mov esi, dword [ebp - 0x248]
mov eax, dword [ebp - 0x23c]
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 - 0x23c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
mov eax, dword [ebp - 0x240]
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 - 0x250]
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 - 0x23c]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
test ax, ax
je 0x402249
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x402240
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 0x402250
jmp 0x401dec
mov dword [esp + 4], 0x40611a
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40218b
mov dword [esp + 4], 0x40611e
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
je 0x40218b
test byte [0x405004], 8
jne 0x402a30
mov dword [ebp - 0x24c], edi
mov ecx, dword [ebp - 0x240]
xor eax, eax
mov edi, dword [ebp - 0x244]
lea esi, [esi]
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4022d0
mov edx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x24c]
cmp word [edx], 0
je 0x402ace
lea esi, [esi]
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x402300
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 0x402310
mov edx, dword [ebp - 0x240]
cmp word [edx], 0
je 0x402ac3
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x402338
xor eax, eax
lea esi, [esi]
nop
movzx ecx, word [eax + 0x406258]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402348
mov dword [ebp - 0x24c], edi
mov ecx, dword [ebp - 0x250]
xor eax, eax
mov edi, dword [ebp - 0x260]
nop
movzx edx, word [edi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x402370
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x24c]
cmp word [eax], 0
je 0x402a64
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 fcn.00401be0
jmp 0x40218b
test dx, dx
mov edx, 0x40c020
je 0x4023d9
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4023d0
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 0x4023e0
test byte [0x405004], 8
je 0x401e66
mov eax, 0x40c020
call fcn.00401250
mov esi, eax
mov eax, 0x40c240
call fcn.00401250
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 fcn.004014d0
mov eax, dword [ebp + 0xc]
and eax, 0x20
or eax, dword [ebp - 0x258]
jne 0x401e78
mov eax, dword [ebp - 0x260]
call fcn.00401080
jmp 0x401e78
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 fcn.004014d0
jmp 0x401e9b
mov ecx, 0x40c020
test dx, dx
je 0x4024b1
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x4024a8
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 0x4024c0
jmp 0x401e59
mov dword [esp], 0x40c020
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
test byte [0x405004], 8
je 0x401d25
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], 0x405004
mov dword [esp], 3
call fcn.004014d0
jmp 0x401d25
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 0x401f42
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, [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 - 0x274]
sub esp, 8
test eax, eax
jle 0x402b49
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x401f42
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], 0x405004
mov dword [esp], 3
call fcn.004014d0
jmp 0x401f01
mov eax, dword [ebp - 0x240]
call fcn.00401250
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 fcn.004014d0
jmp 0x402150
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 0x401f1c
test byte [0x405004], 8
je 0x401d25
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 fcn.004014d0
jmp 0x401d25
mov edx, dword [ebp - 0x240]
jmp 0x401cb9
mov edx, dword [0x40c450]
xor eax, eax
lea esi, [ebp - 0x220]
lea esi, [esi]
movzx ecx, word [eax + 0x40c240]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x4026b0
cmp word [ebp - 0x220], 0
je 0x4026e3
mov eax, esi
nop
add eax, 2
cmp word [eax], 0
jne 0x4026d0
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 0x401f4f
mov dword [ebp - 0x248], ebx
mov ebx, edx
jmp 0x40272a
mov ebx, dword [ebx]
test ebx, ebx
je 0x402ad9
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 0x402720
mov edx, ebx
mov ebx, dword [ebp - 0x248]
test byte [0x405004], 8
je 0x401d25
mov eax, dword [edx + 4]
call fcn.00401250
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 fcn.004014d0
jmp 0x401d25
mov eax, dword [ebp - 0x260]
call fcn.00401080
jmp 0x4020e7
mov dword [esp + 4], 0x40c240
mov dword [esp], 0x4060ce
call fcn.00401520
jmp 0x401fa2
mov eax, 0x70
call fcn.004018e0
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 fcn.004018e0
mov dword [esp + 4], eax
lea eax, [ebp - 0x228]
mov dword [esp], eax
call esi
mov eax, 0x71
call fcn.004018e0
mov dword [esp + 4], eax
lea eax, [ebp - 0x224]
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 - 0x254], ebx
mov dword [ebp - 0x268], edi
lea esi, [ebp - 0x220]
mov dword [ebp - 0x248], eax
mov eax, dword [sym.imp.kernel32.dll_ReadFile]
mov edi, ecx
mov ebx, eax
mov eax, 0x6c
call fcn.004018e0
mov dword [esp + 4], 0x40c020
mov dword [esp], eax
call fcn.00401520
mov dword [esp], 0xfffffff6
mov eax, dword [ebp - 0x248]
call eax
lea ecx, [ebp - 0x230]
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 - 0x220]
sub esp, 0x14
mov dword [esp], eax
call edi
movzx edx, word [ebp - 0x228]
cmp eax, edx
je 0x4028be
movzx edx, word [ebp - 0x224]
cmp eax, edx
je 0x4028d6
movzx edx, word [ebp - 0x22c]
cmp eax, edx
jne 0x40282e
mov ebx, dword [ebp - 0x254]
mov edi, dword [ebp - 0x268]
jmp 0x401f76
or dword [ebp + 0xc], 0x100
mov ebx, dword [ebp - 0x254]
mov edi, dword [ebp - 0x268]
jmp 0x401f76
mov ebx, dword [ebp - 0x254]
mov edi, dword [ebp - 0x268]
jmp 0x401d25
mov eax, 0x70
call fcn.004018e0
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 fcn.004018e0
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], ebx
mov dword [ebp - 0x274], ecx
mov ecx, dword [sym.imp.kernel32.dll_ReadFile]
lea esi, [ebp - 0x220]
mov dword [ebp - 0x27c], edi
mov edi, eax
mov dword [ebp - 0x248], ecx
mov ecx, dword [sym.imp.ucrtbase.dll_toupper]
mov ebx, ecx
jmp 0x40296f
movzx edx, word [ebp - 0x228]
cmp eax, edx
je 0x402b38
mov eax, 0x6b
call fcn.004018e0
mov dword [esp + 4], 0x40c240
mov dword [esp], eax
call fcn.00401520
mov dword [esp], 0xfffffff6
call edi
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 ebx
movzx edx, word [ebp - 0x224]
cmp eax, edx
jne 0x402960
mov dword [ebp - 0x254], 1
mov ebx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x27c]
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x402a04
test dword [ebp + 0xc], 0x400
jne 0x401d25
mov edx, dword [ebp - 0x254]
test edx, edx
je 0x401f76
jmp 0x401d25
mov edx, dword [ebp - 0x240]
jmp 0x402129
mov eax, dword [ebp - 0x24c]
or eax, 0x20
jmp 0x402034
mov eax, ebx
call fcn.00401250
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 fcn.004014d0
jmp 0x4022b5
mov edx, dword [ebp - 0x250]
cmp word [edx], 0
je 0x402bbe
add edx, 2
cmp word [edx], 0
jne 0x402a74
xor eax, eax
movzx ecx, word [edi + eax + 0x2c]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402a7f
mov edx, dword [ebp - 0x250]
cmp word [edx], 0
je 0x402bb3
add edx, 2
cmp word [edx], 0
jne 0x402aa0
xor eax, eax
movzx ecx, word [eax + 0x406258]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402aab
jmp 0x402393
mov edx, dword [ebp - 0x240]
jmp 0x402341
mov edx, dword [ebp - 0x240]
jmp 0x402309
mov ebx, dword [ebp - 0x248]
jmp 0x401f4f
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
mov eax, 0x6d
call fcn.004018e0
mov dword [esp + 8], 0x40c020
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x40c240
mov dword [esp], eax
call fcn.00401520
mov eax, esi
call fcn.00401810
test dword [ebp + 0xc], 0x2000
jne 0x401d25
mov edx, 5
jmp 0x4021b5
mov ebx, dword [ebp - 0x278]
mov edi, dword [ebp - 0x27c]
jmp 0x401f5c
test byte [0x405004], 8
jne 0x402b81
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
jmp 0x401d25
mov eax, dword [ebp - 0x24c]
mov dword [esp], 0x40c240
and eax, 0xffffffdf
mov dword [esp + 4], eax
call esi
sub esp, 8
jmp 0x402061
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 - 0x248], edx
call fcn.004014d0
mov edx, dword [ebp - 0x248]
jmp 0x402b52
mov edx, dword [ebp - 0x250]
jmp 0x402aa9
mov edx, dword [ebp - 0x250]
jmp 0x402a7d