Function at 0x45a0e0
Capabilities:
Copy file
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eead3
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x45a129
mov eax, dword [edi + 0x14e4]
mov dword [ebp - 0x58], eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x54]
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
call fcn.005dc5e0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jne 0x45a2ed
test ebx, 1
jne 0x45a204
push esi
push 0
call dword [sym.imp.sfc.dll_SfcIsFileProtected]
test eax, eax
je 0x45a204
push 0
lea edx, [ebp - 0x54]
mov ecx, esi
call fcn.005e65a0
add esp, 4
test eax, eax
jne 0x45a207
test bl, 8
je 0x45a1ec
sub esp, 8
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push str._r_n_r_nUVK_skipped_the_removal_of_this_file.
push esi
push str.This_is_a_genuine_system_protected_file:_r_n
call fcn.005dc520
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
push 0x8c
push 0x190
push 0
push dword [ebp - 0x58]
push 4
call fcn.005dc190
push eax
mov ecx, edi
call fcn.0043e2e0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.005dc430
push 0
push 0
push esi
push str.Skipped_removal_of_system_protected_file:
mov ecx, edi
call fcn.0045a700
xor ebx, ebx
jmp 0x45a63d
or eax, 0xffffffff
test bl, 4
je 0x45a2cb
cmp eax, 0xffffffff
jne 0x45a224
push 0
lea edx, [ebp - 0x54]
mov ecx, esi
call fcn.005e65a0
add esp, 4
test eax, eax
jne 0x45a2cb
push 9
push 1
push 1
push 1
push 0x624a04
lea ecx, [ebp - 0x54]
call fcn.005daa70
cmp eax, 1
jne 0x45a2cb
test bl, 8
je 0x45a2d4
sub esp, 8
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._r_n_r_nAre_you_sure_you_want_to_remove_it_
push esi
push str.This_file_is_digitally_signed_by_Microsoft:_r_n
call fcn.005dc520
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push 0xaa
push 0x1a4
push 0
push dword [ebp - 0x58]
push 1
call fcn.005dc190
push eax
mov ecx, edi
call fcn.0043e2e0
lea ecx, [ebp - 0x30]
test eax, eax
jne 0x45a2c2
call fcn.005dc430
or ebx, 0xffffffff
jmp 0x45a63d
mov byte [ebp - 4], 0
call fcn.005dc430
mov ecx, esi
call fcn.005cc690
jmp 0x45a2f4
push 0
push 0
push esi
push str.Skipped_removal_of_Microsoft_genuine_file:
mov ecx, edi
call fcn.0045a700
or ebx, 0xffffffff
jmp 0x45a63d
mov ecx, esi
call fcn.005cc160
mov eax, ebx
and eax, 2
mov dword [ebp - 0x58], eax
je 0x45a30a
push 0
push esi
call fcn.005771e0
mov ebx, eax
jmp 0x45a317
sub esp, 8
mov ecx, esi
call fcn.005e1650
movzx ebx, al
test ebx, ebx
jne 0x45a45a
push 0x1a
lea ecx, [ebp - 0x5c]
call fcn.005d8190
mov byte [ebp - 4], 3
lea edx, [ebx + 1]
push dword [ebp - 0x5c]
mov ecx, esi
push 1
call fcn.005d7570
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x58], ebx
je 0x45a35e
push ebx
push esi
call fcn.005771e0
mov ebx, eax
jmp 0x45a36b
sub esp, 8
mov ecx, esi
call fcn.005e1650
movzx ebx, al
test ebx, ebx
je 0x45a3a8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.005d8100
cmp dword [ebp - 0x58], 0
mov eax, str.delete
mov ecx, str.recycle
cmove eax, ecx
mov ecx, ebx
cmp ebx, 1
jne 0x45a625
push esi
push str.d_file_object:
push eax
push str.Successfully
jmp 0x45a636
cmp dword [ebp - 0x18], 0
jne 0x45a438
sub esp, 8
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..temp
push esi
call fcn.005dc520
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.005dc190
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
test eax, eax
setne bl
test eax, eax
je 0x45a428
cmp dword [ebp - 0x58], 0
jne 0x45a428
push 0
push esi
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
sub esp, 8
mov ecx, esi
call fcn.005e1650
movzx ebx, al
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.005dc430
test ebx, ebx
jne 0x45a44e
test byte [ebp - 0x60], 0x10
jne 0x45a44e
cmp dword [ebp - 0x58], 0
je 0x45a484
push 1
push esi
call fcn.005771e0
mov ebx, eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.005d8100
cmp dword [ebp - 0x58], 0
mov eax, str.delete
mov ecx, str.recycle
cmove eax, ecx
test ebx, ebx
jne 0x45a38c
push esi
push str._file_object:
push eax
push str.Failed_to
jmp 0x45a636
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.005dc5e0
push 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push esi
movq qword [ebp - 0x48], xmm0
call fcn.005dc570
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x24], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x3c], xmm0
call fcn.005dc5e0
push str.HKLMSoftwareMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.005dc510
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d6a80
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.005d6a00
test eax, eax
jne 0x45a551
lea ecx, [ebp - 0x18]
call fcn.005d69e0
lea ecx, [ebp - 0x3c]
call fcn.005dc430
lea ecx, [ebp - 0x24]
call fcn.005dc430
lea ecx, [ebp - 0x48]
call fcn.005dc430
lea ecx, [ebp - 0x30]
call fcn.005dc430
jmp 0x45a44e
push 0
mov edx, 0x14a
lea ecx, [ebp - 0x48]
call fcn.0058e5e0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str._OnNextReboot
lea ecx, [ebp - 0x48]
call fcn.005dc190
push eax
push str.Delete
lea ecx, [ebp - 0x48]
call fcn.005dc200
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x624388
push esi
push 0x629d60
lea ecx, [edi + 0x1184]
call fcn.005dc190
push eax
push 0x624388
lea ecx, [ebp - 0x24]
call fcn.005dc200
push 0
lea ecx, [ebp - 0x24]
call fcn.005dc190
push eax
push 1
lea ecx, [ebp - 0x48]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x18]
call fcn.005d5f20
test al, al
je 0x45a524
mov ebx, 2
call fcn.0045a670
lea ecx, [ebp - 0x18]
call fcn.005d69e0
lea ecx, [ebp - 0x3c]
call fcn.005dc430
lea ecx, [ebp - 0x24]
call fcn.005dc430
lea ecx, [ebp - 0x48]
call fcn.005dc430
lea ecx, [ebp - 0x30]
call fcn.005dc430
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.005d8100
jmp 0x45a62c
mov ebx, ecx
cmp ecx, 2
jne 0x45a63d
push 0
push 0
push esi
push str.Scheduled_for_removal_on_reboot:
mov ecx, edi
call fcn.0045a700
lea ecx, [ebp - 0x54]
call fcn.005dc430
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc