Function at 0x40bfe0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43084a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x446054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x40c17b
mov eax, dword [esi]
cmp dword [eax + 4], 0
je 0x40c17b
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_static_class_kso_qt::QDir___cdecl_kso_qt::QDir::temp_void_]
add esp, 4
push edi
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QString___thiscall_kso_qt::QDir::absoluteFilePath_class_kso_qt::QString_const__]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call dword [sym.imp.Qt5CoreKso.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_kso_qt::QString::toStdWString_void_]
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_kso_qt::QString::toStdWString_void_]
cmp dword [esi + 0x14], 8
jb 0x40c075
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x40c07d
mov eax, dword [eax]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c0bd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c0b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c101
push edx
push ecx
call fcn.0042d5b4
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x40c111
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c107
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c107
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042d5b4
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.Qt5CoreKso.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_kso_qt::QString::toStdWString_void_]
cmp dword [eax + 0x14], 8
jb 0x40c126
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40c169
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c15f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042d5b4
add esp, 8
lea ecx, [ebp - 0x44]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x48]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QDir::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d821
mov esp, ebp
pop ebp
ret