Function at 0x41c9b0
Capabilities:
Copy file
Move file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449dfc
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x4640b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], ebx
call fcn.0040df00
mov ecx, eax
test ecx, ecx
je 0x41d18a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], ebx
call fcn.0040df00
mov ecx, eax
test ecx, ecx
je 0x41d194
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x80], eax
push dword [esi + 0x10]
lea edi, [esi + 0x10]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x84]
mov dword [ebp - 0x7c], edi
push str.DB__s_wird_gespeichert..._r_n
push eax
call fcn.00422a30
push dword [edi]
lea eax, [ebp - 0x80]
push 0x44feb8
push eax
call fcn.00422a30
add esp, 0x18
call fcn.0040df00
mov ecx, eax
test ecx, ecx
je 0x41d19e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
push str..bak
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00409740
test al, al
jne 0x41ca95
push str..bak
lea ecx, [ebp - 0x5c]
call fcn.00418a40
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.00422540
add esp, 0xc
push eax
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 4
call fcn.004090e0
mov edx, dword [ebp - 0x68]
or edi, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cad8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5c]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41caf6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040df00
mov ecx, eax
test ecx, ecx
je 0x41d1a8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
push str..bak2
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00409740
test al, al
jne 0x41cb32
push str..bak2
lea ecx, [ebp - 0x5c]
call fcn.00418a40
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00422540
add esp, 0xc
push eax
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 7
call fcn.004090e0
mov edx, dword [ebp - 0x68]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cb75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5c]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cb93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040df00
mov ecx, eax
test ecx, ecx
je 0x41d1b2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
push 0x44ff10
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00409740
test al, al
jne 0x41cbcf
push 0x44ff10
lea ecx, [ebp - 0x5c]
call fcn.00418a40
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00422540
add esp, 0xc
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xa
push eax
mov dword [ebp - 0x60], ecx
call fcn.004090e0
mov edx, dword [ebp - 0x68]
mov eax, edi
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cc15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5c]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41cc33
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x74]
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call fcn.004206a0
test eax, eax
jne 0x41cc4c
xor esi, esi
jmp 0x41d12a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x70]
mov esi, eax
mov ecx, dword [ecx + 4]
call sub.tls7012d.dll_public:_bool___thiscall_RWFile::Flush_void_
test esi, esi
jne 0x41cc89
mov eax, dword [ebp - 0x60]
push esi
push dword [eax]
mov eax, dword [ebp - 0x70]
push dword [eax + 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x41cd3b
cmp dword [ebp - 0x68], 0
mov esi, dword [ebp - 0x70]
je 0x41cc9c
push dword [ebp - 0x74]
mov ecx, esi
call fcn.00420f90
mov eax, dword [esi + 0x48]
test eax, eax
je 0x41ccb1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x48], 0
push 1
push dword [esi + 0x10]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x41cd1e
push 0
push 0x8000000
push 3
push 0
push 2
push 0x40000000
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x41cd1e
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x41cd15
lea eax, [ebp - 0x6c]
push eax
push eax
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x74]
mov ecx, esi
mov dword [ebp - 0x5c], eax
call fcn.00421770
cmp dword [ebp - 0x60], 0
jne 0x41d0fa
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
push 0x1c
mov byte [ebp - 4], 0xb
call sub.mfc140u.dll_operator_2
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x41cdb4
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x41cd8b
push dword [eax - 0xc]
mov ecx, ebx
call fcn.0040a080
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ea20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xd
mov ebx, 1
mov ecx, esi
push eax
mov dword [ebp - 0x78], ebx
call dword [sym.imp.SystemToolsCPP.dll_public:_void___thiscall_gmg::SystemTools::StringFormattable::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esi], vtable.gmg::SystemTools::StringFormattable.0
jmp 0x41cdb6
xor esi, esi
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x64]
push dword [ebp - 0x60]
mov dword [ebp - 4], 0xe
push esi
mov dword [ebp - 0x64], 0
call fcn.004221f0
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x90]
call fcn.00422bf0
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x41ce13
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41ce13
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41ce13
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0xb
test bl, 1
je 0x41ce61
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffe
mov dword [ebp - 0x78], ebx
cmp edx, 8
jb 0x41ce61
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ce57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41ce57
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00445a54
add esp, 8
push 8
call sub.mfc140u.dll_operator_2
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 0x10
test esi, esi
je 0x41ce8b
push dword [ebp - 0x5c]
mov ecx, esi
call dword [sym.imp.SystemToolsCPP.dll_public:_void___thiscall_gmg::SystemTools::WinOS::SystemErrorFormattable::constructor_unsigned_long_int_]
mov dword [esi], vtable.gmg::SystemTools::WinOS::SystemErrorFormattable.0
jmp 0x41ce8d
xor esi, esi
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x64]
push dword [ebp - 0x60]
mov byte [ebp - 4], 0xb
push esi
mov dword [ebp - 0x64], 0
call fcn.00422280
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x90]
call fcn.00422bf0
mov esi, dword [ebp - 0x60]
mov byte [ebp - 4], 0xb
test esi, esi
je 0x41cee8
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41cee8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41cee8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x64
call sub.mfc140u.dll_operator_2
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 0x12
test esi, esi
je 0x41cf63
push 0x44ff18
lea ecx, [ebp - 0x28]
call fcn.0040ea20
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x40]
or ebx, 0xe
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x78], ebx
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push 2
call dword [sym.imp.SystemToolsCPP.dll___0LocalizableStatusMessage_SystemTools_gmg__QAE_W4Severity_StatusMessage_12_ABV__basic_string__WU__cha]
mov dword [esi], vtable.gmg::SystemTools::LocalizableStatusMessage.0
jmp 0x41cf6a
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 4], 0x18
call dword [sym.imp.SystemToolsCPP.dll_public:_class_std::shared_ptr_class_gmg::SystemTools::StatusMessageCollector____thiscall_gmg::SystemTools::TaskFace::GetStatusMessageCollector_void_]
mov esi, dword [eax]
sub esp, 8
mov ecx, esp
mov dword [ebp - 4], 0x19
push dword [ebp - 0x60]
mov dword [ecx], 0
push dword [ebp - 0x5c]
mov dword [ecx + 4], 0
call fcn.004220d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x41cfd1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41cfd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x41cfd1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 0x17
test bl, 8
je 0x41d030
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x41d01c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d012
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d012
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00445a54
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0x16
test bl, 4
je 0x41d08f
mov edx, dword [ebp - 0x44]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x41d07b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d071
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d071
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00445a54
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xb
test bl, 2
je 0x41d0eb
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41d0d7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41d0cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d0cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00445a54
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x90]
call fcn.00422490
xor esi, esi
jmp 0x41d12a
mov eax, dword [ebp - 0x7c]
push ecx
mov dword [esi + 0x34], 0
mov esi, esp
mov dword [ebp - 0x60], esi
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00409c60
mov ecx, dword [ebp - 0x70]
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.00421be0
mov esi, 1
mov edx, dword [ebp - 0x80]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41d148
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41d16a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00445a43
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040ea90
push 0x80004005
call fcn.0040ea90
push 0x80004005
call fcn.0040ea90
push 0x80004005
call fcn.0040ea90
push 0x80004005
call fcn.0040ea90
int3