Function at 0x49b320
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x890
mov eax, dword [0x4f6fc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax]
test edx, edx
je 0x49b37d
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b5f60
add esp, 4
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
jne 0x49b37d
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4f366c
lea edx, [ebp - 0x404]
push edx
call fcn.004b6e08
add esp, 0x10
jmp 0x49b399
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4f3674
lea edx, [ebp - 0x404]
push edx
call fcn.004b6e08
add esp, 0x10
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + eax]
test edx, edx
je 0x49b3e3
mov eax, dword [ebp + 0x10]
push eax
call fcn.004b5f60
add esp, 4
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx + eax - 1]
cmp edx, 0x5c
jne 0x49b3e3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x4f367c
lea edx, [ebp - 0x204]
push edx
call fcn.004b6e08
add esp, 0x10
jmp 0x49b3ff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x4f3684
lea edx, [ebp - 0x204]
push edx
call fcn.004b6e08
add esp, 0x10
lea eax, [ebp - 0x884]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x88c], eax
cmp dword [ebp - 0x88c], 0xffffffff
jne 0x49b429
xor eax, eax
jmp 0x49b67c
mov edx, dword [ebp - 0x88c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x14], 1
jne 0x49b4aa
lea eax, [ebp - 0x744]
push eax
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x88c], eax
cmp dword [ebp - 0x88c], 0xffffffff
je 0x49b4aa
mov edx, dword [ebp - 0x88c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x72c]
cmp eax, dword [ebp - 0x86c]
jbe 0x49b484
mov eax, 1
jmp 0x49b67c
mov ecx, dword [ebp - 0x72c]
cmp ecx, dword [ebp - 0x86c]
jne 0x49b4aa
mov edx, dword [ebp - 0x730]
cmp edx, dword [ebp - 0x870]
jne 0x49b4aa
mov eax, 1
jmp 0x49b67c
movsd xmm0, qword [0x4f2cf8]
movsd qword [0x552e68], xmm0
cmp dword [0x4e1450], 1
je 0x49b4f0
cmp dword [0x4e1450], 2
je 0x49b4f0
cmp dword [0x4e1450], 3
je 0x49b4f0
cmp dword [0x4e1450], 6
je 0x49b4f0
cmp dword [0x4e1450], 7
je 0x49b4f0
cmp dword [0x4e145c], 1
jne 0x49b50e
push 0
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x888], eax
jmp 0x49b533
push 0
push 0
push 0
push 0x49ecb0
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0
je 0x49b569
lea ecx, [ebp - 0x404]
push ecx
push 5
call fcn.00440830
add esp, 8
push 0x80
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
jmp 0x49b67c
push 0x80
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [0x4e1450], 1
je 0x49b5b1
cmp dword [0x4e1450], 2
je 0x49b5b1
cmp dword [0x4e1450], 3
je 0x49b5b1
cmp dword [0x4e1450], 6
je 0x49b5b1
cmp dword [0x4e1450], 7
je 0x49b5b1
cmp dword [0x4e145c], 1
jne 0x49b5cf
push 0
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x404]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x888], eax
jmp 0x49b5f4
push 0
push 0
push 0
push 0x49ecb0
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0
je 0x49b627
lea edx, [ebp - 0x404]
push edx
push 5
call fcn.00440830
add esp, 8
push 0x80
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
jmp 0x49b67c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x890], eax
mov ecx, dword [ebp - 0x890]
push ecx
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x404]
push eax
push str.source:_s__destin:_s__error_d_
lea ecx, [ebp - 0x604]
push ecx
call fcn.004b6e08
add esp, 0x14
lea edx, [ebp - 0x604]
push edx
push 0x552e61
push 0x4f36ac
push str.MSG_Message_ErrorCopyingFiles
call fcn.00458fb0
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b6253
mov esp, ebp
pop ebp
ret