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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c596
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x60b3c4]
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 0x45ee3e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f044
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x45ee57
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45ee61
mov eax, dword [esi]
push 9
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x45f044
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 0x45ee80
push ecx
lea eax, [ebp - 0x12]
push eax
push edi
lea ecx, [ebp - 0xd4]
call fcn.0044fb10
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 0xe
jb 0x45f061
cmp dword [esi + 0x14], 8
jb 0x45eed3
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.0041c800
push 6
push 0x5ed230
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.0041b8d0
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 0x45ef4c
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0041b8d0
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 0x5ed218
mov byte [ebp - 4], 3
call fcn.0041b8d0
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.0044f960
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.00417680
lea ecx, [ebp - 0xa4]
call fcn.00417680
lea ecx, [ebp - 0x5c]
call fcn.00417680
lea ecx, [ebp - 0x74]
call fcn.00417680
lea ecx, [ebp - 0xbc]
call fcn.00417680
lea ecx, [ebp - 0xd4]
call fcn.00417680
xor al, al
jmp 0x45f046
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.0050fd4b
mov esp, ebp
pop ebp
ret
call fcn.00415cd0
int3