Function at 0x452130
Capabilities:
Check if file exists
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556346
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5ec3c8]
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, edx
mov dword [ebp - 0x44], edi
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45216e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452374
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x452187
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x452191
mov eax, dword [esi]
push 9
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x452374
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x12]
nop
mov eax, 0xcccccccd
sub edi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [edi], cx
mov ecx, edx
test ecx, ecx
jne 0x4521b0
push ecx
lea eax, [ebp - 0x12]
push eax
push edi
lea ecx, [ebp - 0xd4]
call fcn.00431c60
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 0xe
jb 0x452391
cmp dword [esi + 0x14], 8
jb 0x452203
mov esi, dword [esi]
push ecx
push esi
push 0xe
push str.Error_moving_
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0xbc]
call fcn.00420d00
push 6
push 0x5cc96c
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.0041ff00
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45227c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0041ff00
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x5c]
push 0xa
push 0x5cc954
mov byte [ebp - 4], 3
call fcn.0041ff00
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x10], 0
xor ecx, ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x8c]
call fcn.004263b0
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x8c]
call fcn.004196c0
lea ecx, [ebp - 0xa4]
call fcn.004196c0
lea ecx, [ebp - 0x5c]
call fcn.004196c0
lea ecx, [ebp - 0x74]
call fcn.004196c0
lea ecx, [ebp - 0xbc]
call fcn.004196c0
lea ecx, [ebp - 0xd4]
call fcn.004196c0
xor al, al
jmp 0x452376
mov al, 1
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.0050a47b
mov esp, ebp
pop ebp
ret
call fcn.00417d10
int3