Function at 0x1003b620
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018154f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x3a8
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x378], ecx
mov dword [ebp - 0x3a4], 0
call fcn.10002de0
push str._MergeDstFolderBySrcFolder:_START_merging_the_folders
push 0x101a53f8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x4c]
mov ecx, esi
call dword [0x1018a4d4]
call esi
add esp, 0xc
call fcn.10002de0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1003b6a4
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003b6c9
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1003b6b9
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
mov cl, 1
setne al
jmp 0x1003b6cd
xor cl, cl
mov al, cl
xor edx, edx
movzx eax, al
test cl, cl
cmove eax, edx
test al, al
jne 0x1003b6f4
mov ecx, dword [ebp - 0x378]
push edx
push edx
push edx
push edx
mov edx, edi
call fcn.1003a030
add esp, 0x10
jmp 0x1003c330
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], dl
mov esi, dword [ebp - 0x378]
mov ecx, esi
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x1003b718
mov ecx, dword [esi]
push 0
lea edx, [ebp - 0x60]
call fcn.100e5460
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.100e0fc0
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
push 0
cmovae ecx, dword [ebp - 0x60]
mov edx, esi
call fcn.100e5620
add esp, 4
mov ecx, edi
cmp dword [edi + 0x14], 8
jb 0x1003b74e
mov ecx, dword [edi]
push 0
lea edx, [ebp - 0x60]
call fcn.100e5460
add esp, 4
lea ecx, [ebp - 0x60]
call fcn.100e0fc0
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x60]
push 0
cmovae ecx, dword [ebp - 0x60]
mov edx, edi
call fcn.100e5620
xor eax, eax
mov dword [ebp - 0x80], 0
add esp, 4
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
mov byte [ebp - 4], 1
push 8
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], eax
call fcn.1014d1eb
lea ecx, [ebp - 0x38c]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x38c], eax
mov dword [eax], ecx
mov byte [ebp - 4], 2
push 8
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 0
call fcn.1014d1eb
lea ecx, [ebp - 0x3a0]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x3a0], eax
mov dword [eax], ecx
mov dword [ebp - 0x3b4], 0
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3ac], 0
mov byte [ebp - 4], 4
call fcn.10002de0
push str.Function_:MergeOrCopyDstFolderBySrcFolder_n
push 0x101a55a8
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x1018a4d4]
call esi
mov edx, dword [ebp - 0x378]
add esp, 0xc
cmp dword [edx + 0x14], 8
jb 0x1003b879
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b892
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10001c20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x38c]
call fcn.1003de80
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10001bc0
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x1003b8d4
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b8f0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10001c20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x3a0]
call fcn.1003de80
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10001bc0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x3b0], 0
jb 0x1003b93a
mov edi, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003b953
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.10001c20
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
push 0
lea ecx, [ebp - 0x3b4]
call fcn.10019670
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x37c]
test ecx, ecx
je 0x1003c1a7
mov edi, dword [ebp - 0x3a4]
mov eax, dword [ebp - 0x380]
lea edx, [ebp - 0x38c]
add eax, ecx
lea esi, [ebp - 0x3a0]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x3a4], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x78]
cmp ecx, eax
je 0x1003ba10
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1003ba04
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x78]
call fcn.10001c20
mov eax, dword [ebp - 0x394]
add eax, dword [ebp - 0x390]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x3a4], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0xa8]
cmp ecx, eax
je 0x1003ba52
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1003ba43
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xa8]
call fcn.10001c20
push 0x101a4ae8
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10019410
add esp, 0xc
push 1
push 0x101bb9d0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.10001d30
xor ecx, ecx
or edi, 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp - 0x90]
movq qword [ebp - 0x3a8], xmm0
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
call fcn.10001bc0
movups xmm0, xmmword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc4], 7
movups xmmword [ebp - 0x90], xmm0
mov word [ebp - 0xd8], ax
movq xmm0, qword [ebp - 0x3a8]
movq qword [ebp - 0x80], xmm0
call fcn.10001bc0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10001bc0
mov eax, dword [ebp - 0x380]
mov ecx, dword [ebp - 0x37c]
dec eax
mov edx, dword [ebp - 0x384]
add ecx, eax
mov eax, dword [ebp - 0x388]
dec edx
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.10001bc0
sub dword [ebp - 0x37c], 1
mov ecx, 0
mov eax, dword [ebp - 0x380]
mov edx, dword [ebp - 0x398]
cmove eax, ecx
mov ecx, dword [ebp - 0x390]
dec edx
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x394]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x39c]
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.10001bc0
sub dword [ebp - 0x390], 1
mov ecx, 0
mov eax, dword [ebp - 0x394]
cmove eax, ecx
cmp dword [ebp - 0x7c], 8
mov dword [ebp - 0x394], eax
lea ecx, [ebp - 0x370]
lea eax, [ebp - 0x90]
cmovae eax, dword [ebp - 0x90]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x378], eax
cmp eax, 0xffffffff
je 0x1003c2fc
mov esi, eax
nop dword [eax + eax]
mov edx, 0x101bb564
lea ecx, [ebp - 0x344]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1003bbf6
test ax, ax
je 0x1003bbf2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x1003bbf6
add ecx, 4
add edx, 4
test ax, ax
jne 0x1003bbd0
xor eax, eax
jmp 0x1003bbfb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003c16d
mov eax, 0x101bb568
lea ecx, [ebp - 0x344]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1003bc36
test dx, dx
je 0x1003bc32
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1003bc36
add ecx, 4
add eax, 4
test dx, dx
jne 0x1003bc10
xor eax, eax
jmp 0x1003bc3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003c16d
test byte [ebp - 0x370], 0x10
lea eax, [ebp - 0x78]
push 0x101a4ae8
push eax
je 0x1003bfaa
lea eax, [ebp - 0xc0]
push eax
call fcn.10019410
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0xb
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003bc77
sub ecx, esi
lea eax, [ebp - 0x344]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001d30
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xe0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x38c]
call fcn.1003de80
lea ecx, [ebp - 0xf0]
call fcn.10001bc0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.10001bc0
push 0x101a4ae8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10019410
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0xd
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003bd20
sub ecx, esi
lea eax, [ebp - 0x344]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001d30
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x108], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x3a0]
call fcn.1003de80
lea ecx, [ebp - 0x108]
call fcn.10001bc0
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 9
call fcn.10001bc0
push 0x101a4ae8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10019410
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0xf
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003bdc2
sub ecx, esi
lea eax, [ebp - 0x344]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001d30
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x11
call fcn.10001bc0
push 0x101a4ae8
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.10019410
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x12
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003be50
sub ecx, esi
lea eax, [ebp - 0x344]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001d30
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
or edi, 0x1e
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x14
call fcn.10001bc0
call fcn.10002de0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003bee8
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
mov cl, 1
setne al
jmp 0x1003beec
xor cl, cl
mov al, cl
xor edx, edx
movzx eax, al
test cl, cl
cmove eax, edx
test al, al
jne 0x1003bf9a
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.1003a030
add esp, 0x10
test al, al
je 0x1003c224
mov eax, dword [ebp - 0x380]
mov ecx, dword [ebp - 0x37c]
dec eax
mov edx, dword [ebp - 0x384]
add ecx, eax
mov eax, dword [ebp - 0x388]
dec edx
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.10001bc0
sub dword [ebp - 0x37c], 1
mov ecx, 0
mov eax, dword [ebp - 0x380]
mov edx, dword [ebp - 0x398]
cmove eax, ecx
mov ecx, dword [ebp - 0x390]
dec edx
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x394]
dec eax
add ecx, eax
mov eax, dword [ebp - 0x39c]
and edx, ecx
mov ecx, dword [eax + edx*4]
call fcn.10001bc0
sub dword [ebp - 0x390], 1
mov ecx, 0
mov eax, dword [ebp - 0x394]
cmove eax, ecx
mov dword [ebp - 0x394], eax
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
lea ecx, [ebp - 0x48]
jmp 0x1003c15e
lea eax, [ebp - 0x120]
push eax
call fcn.10019410
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x15
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003bfd0
sub ecx, esi
lea eax, [ebp - 0x344]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001d30
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0x17
call fcn.10001bc0
push 0x101a4ae8
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.10019410
add esp, 0xc
mov edx, eax
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x18
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1003c060
sub ecx, esi
lea eax, [ebp - 0x344]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10001d30
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x34], 0
or edi, 0x60
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0x1a
call fcn.10001bc0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003c153
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
push 0
cmovae ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1003c264
cmp dword [ebp - 0x38], 0
je 0x1003c13f
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0
cmovae eax, dword [ebp - 0x48]
push 0xa0000080
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003c13f
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push 0
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x48]
call fcn.10001bc0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.10001bc0
mov esi, dword [ebp - 0x378]
lea eax, [ebp - 0x370]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003bbc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
cmp eax, 0x12
jne 0x1003c2c7
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x37c]
test ecx, ecx
jne 0x1003b9cc
mov byte [ebp - 0x371], 1
lea ecx, [ebp - 0xa8]
call fcn.10001bc0
lea ecx, [ebp - 0x78]
call fcn.10001bc0
lea ecx, [ebp - 0x3b4]
call fcn.1000a6f0
lea ecx, [ebp - 0x3a0]
call fcn.1003df20
lea ecx, [ebp - 0x38c]
call fcn.1003df20
lea ecx, [ebp - 0x90]
call fcn.10001bc0
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x1003c32a
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c320
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c34e
jmp 0x1003c320
push str.Failed_to_create_folder_n
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.100037f0
add esp, 0xc
push dword [ebp - 0x378]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
lea ecx, [ebp - 0x48]
call fcn.10001bc0
mov byte [ebp - 0x371], 0
jmp 0x1003c1ae
cmp dword [ebp - 0x34], 8
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CopyFile__error___d_n_srcPath:_ls_to_destPath_:_ls
push 0x101a53f8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.10003e20
add esp, 0x18
push dword [ebp - 0x378]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x48]
call fcn.10001bc0
lea ecx, [ebp - 0x2c]
call fcn.10001bc0
mov byte [ebp - 0x371], 0
jmp 0x1003c1ae
call dword [sym.imp.KERNEL32.dll_FindClose]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_Occured_:_d_n
push 0x101a55a8
push ecx
call fcn.10002de0
add esp, 4
push eax
call fcn.100037f0
add esp, 0x10
mov byte [ebp - 0x371], 0
jmp 0x1003c1ae
push str.Failed_to_get_handle_n
push 0x101a55a8
call fcn.10002de0
push eax
call fcn.100037f0
add esp, 0xc
mov byte [ebp - 0x371], 0
jmp 0x1003c1ae
push edx
push ecx
call fcn.1014d535
add esp, 8
mov al, byte [ebp - 0x371]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10158895
int3