Function at 0x4db2f0
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d479f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3fc
mov eax, dword [0x671330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.00402d20
push eax
lea ecx, [ebp - 0x130]
call fcn.00404b20
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
call fcn.00475520
mov byte [ebp - 0x71], al
lea ecx, [ebp - 0x130]
call fcn.00402d30
movzx eax, byte [ebp - 0x71]
test eax, eax
je 0x4db3bf
push 0x5ed2f0
lea ecx, [ebp - 0x16c]
call fcn.0040bdb0
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x138]
push edx
lea ecx, [ebp - 0x154]
call fcn.0040b380
push 0x638088
lea eax, [ebp - 0x154]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x16c]
call fcn.0040b3b0
push 4
lea ecx, [ebp - 0x18]
call fcn.004029d0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0042bc30
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 2
push 0x5ed310
lea ecx, [ebp - 0x18]
call fcn.0040e010
lea ecx, [ebp - 0x18]
call fcn.00402d50
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
call fcn.00541000
add esp, 4
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x4db5ff
mov eax, dword [ebp - 0x78]
push eax
call fcn.005405b0
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x4db5ff
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0x90], eax
push 0xfa0
mov ecx, dword [ebp - 0x90]
call fcn.0040a130
mov byte [ebp - 0x72], al
movzx ecx, byte [ebp - 0x72]
test ecx, ecx
jne 0x4db461
jmp 0x4db5ee
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
push edx
call fcn.004048b0
add esp, 4
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x98]
call fcn.00402ad0
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa0]
call fcn.00402a30
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
call fcn.00402d20
mov dword [ebp - 0xa8], eax
push 0x5ed368
mov edx, dword [ebp - 0xa8]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xac], eax
push 0x5ed364
mov eax, dword [ebp - 0xac]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xb0], eax
push 0x5ed34c
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xb4], eax
push 0x5ed344
mov edx, dword [ebp - 0xb4]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xb8], eax
push str.Failed_to_create_folder__
mov eax, dword [ebp - 0xb8]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
call fcn.0040a4b0
add esp, 8
mov dword [ebp - 0xc0], eax
push 0x5ed324
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xc4], eax
push 0x5ed31c
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xc8], eax
push 0x416260
mov ecx, dword [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0xcc]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov dword [ebp - 0xd0], eax
push 0x5ed318
mov edx, dword [ebp - 0xd0]
push edx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x214]
call fcn.00402a50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040c680
jmp 0x4dbb16
mov eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
or ecx, 2
or ecx, 4
or ecx, 0x2000
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x80], 0xffffffff
je 0x4db7f2
mov edx, dword [ebp - 0x80]
cmp edx, dword [ebp - 0x84]
je 0x4db7f2
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4db7f2
call dword [sym.imp.Dbglog.dll_struct_boost::logging::level::holder_no_ts____cdecl_g_l_filter_void_]
mov dword [ebp - 0xd4], eax
push 0xbb8
mov ecx, dword [ebp - 0xd4]
call fcn.0040a130
mov byte [ebp - 0x73], al
movzx edx, byte [ebp - 0x73]
test edx, edx
jne 0x4db67f
jmp 0x4db7f2
call dword [sym.imp.Dbglog.dll_struct_boost::logging::logger_holder_struct_boost::logging::logger_format_write_struct_boost::logging::default___struct_boost::logging::default___struct_boost::logging::writer::threading::ts_write__struct_boost::logging::default___struct_boost::logging::lock_resource_finder::single_thread______cdecl_g_l_void_]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
push eax
call fcn.004048b0
add esp, 4
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x2bc]
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.00402ad0
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xe4]
call fcn.00402a30
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
call fcn.00402d20
mov dword [ebp - 0xec], eax
push 0x5ed3c8
mov eax, dword [ebp - 0xec]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xf0], eax
push 0x5ed3c4
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xf4], eax
push 0x5ed3ac
mov edx, dword [ebp - 0xf4]
push edx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xf8], eax
push 0x5ed3a4
mov eax, dword [ebp - 0xf8]
push eax
call fcn.00409d00
add esp, 8
mov dword [ebp - 0xfc], eax
push str.Failed_to_set_atrributes_to_folder__
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x100]
push eax
call fcn.0040a4b0
add esp, 8
mov dword [ebp - 0x104], eax
push 0x5ed374
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.00409d00
add esp, 8
mov dword [ebp - 0x108], eax
push 0x416260
mov ecx, dword [ebp - 0x108]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x10c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x10c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov dword [ebp - 0x110], eax
push 0x5ed370
mov edx, dword [ebp - 0x110]
push edx
call fcn.00409d00
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2bc]
call fcn.00402a50
mov ecx, dword [ebp - 0x7c]
add ecx, 4
call fcn.00416470
movzx eax, al
test eax, eax
jne 0x4db91f
lea ecx, [ebp - 0x18]
call fcn.0040e030
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 4
push ecx
call fcn.004d90f0
add esp, 8
mov byte [ebp - 0x74], al
movzx edx, byte [ebp - 0x74]
test edx, edx
je 0x4db91f
mov eax, dword [ebp - 0x7c]
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00408360
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 5
push 0
lea ecx, [ebp - 0x50]
call fcn.00416300
mov ecx, dword [ebp + 8]
call fcn.0040e030
push eax
lea ecx, [ebp - 0x38]
call fcn.0040b2a0
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x38]
call fcn.00416300
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x70], 0
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x54], cx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 1
lea ecx, [ebp - 0x50]
call fcn.0040bfe0
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x38]
call fcn.0040bfe0
mov dword [ebp - 0x64], eax
mov edx, 0x614
mov word [ebp - 0x60], dx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x5e], eax
mov dword [ebp - 0x5a], 0
mov dword [ebp - 0x56], 0
push 1
mov ecx, dword [ebp - 0x7c]
add ecx, 0x20
push ecx
lea ecx, [ebp - 0x20]
call fcn.004d92b0
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
lea ecx, [ebp - 0x20]
call fcn.004d95d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.0040a7f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
call fcn.0040a7f0
lea ecx, [ebp - 0x18]
call fcn.0040e030
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 4
call fcn.00414b50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040c680
jmp 0x4dbafb
mov dword [ebp - 4], 0xffffffff
jmp 0x4dbb0d
jmp 0x4dbb16
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00544286
mov esp, ebp
pop ebp
ret 4