Function at 0x34003ef1
Capabilities:
Move file
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3413ad91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.34003d75
add esp, 0x10
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.34003e33
add esp, 0x10
mov byte [ebp - 4], 1
push 3
lea ecx, [ebp - 0x18]
call fcn.340020c0
push eax
lea ecx, [ebp - 0x14]
call fcn.340020c0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x340040cf
mov dword [ebp - 0x3c], 0
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.340020c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x34004086
mov word [ebp - 0x54], 0
xor ecx, ecx
mov dword [ebp - 0x52], ecx
mov dword [ebp - 0x4e], ecx
mov dword [ebp - 0x4a], ecx
mov word [ebp - 0x46], cx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
push 0
push 0
push 3
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x18]
call fcn.340020c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
je 0x34004086
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x341a3e58
call fcn.3408c1f3
test eax, eax
je 0x34004086
lea ecx, [ebp - 0x60]
call fcn.340994ba
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x4e]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x52]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x54]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x18]
push eax
push str.CConfigMgr::BackupRegBackupFile___s____lu___lu___lu__SetFileTime__lu_
push 0x3416faa4
push 8
push 0x341a3e5c
call fcn.34090e9e
add esp, 0x24
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.340994e1
mov ecx, 0x341a3e58
call fcn.3408c1f3
test eax, eax
je 0x340040cd
lea ecx, [ebp - 0x64]
call fcn.340994ba
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str.CConfigMgr::BackupRegBackupFile___s_______s__backup_reg_file
push 0x3416fb30
push 8
push 0x341a3e5c
call fcn.34090e9e
add esp, 0x18
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.340994e1
jmp 0x34004123
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x68], eax
mov ecx, 0x341a3e58
call fcn.3408c1f3
test eax, eax
je 0x34004123
lea ecx, [ebp - 0x6c]
call fcn.340994ba
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str.CConfigMgr::BackupRegBackupFile___s_______s__MoveFileExW_fail_err__lu_
push 0x3416fbd0
push 8
push 0x341a3e5c
call fcn.34090e9e
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.340994e1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.340a7330
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.340a7330
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret