Function at 0x472720
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cad75
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x502054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x472780
lea ecx, [ebp - 0x24]
push ecx
call eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
test ebx, ebx
je 0x4728d8
mov edx, esi
lea ecx, [ebp - 0x14]
call fcn.00472090
mov byte [ebp - 4], 1
xor bl, bl
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 1
jl 0x47291a
cmp word [eax + 2], 0x3a
mov esi, 1
jne 0x4727ca
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
movzx ebx, bl
mov eax, dword [ebp - 0x14]
cmovne ebx, esi
push eax
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4727de
test al, 0x10
jne 0x472817
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jl 0x472804
push str.hkey_
push eax
call fcn.004ab595
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x472804
sub ecx, eax
sar ecx, 1
je 0x47281a
mov ecx, eax
call fcn.00472240
movzx ecx, byte [ebp - 0xd]
test al, al
cmovne ecx, esi
mov byte [ebp - 0xd], cl
mov eax, dword [ebp - 0x14]
cmp byte [ebp + 8], 0
mov esi, dword [ebp + 0x10]
je 0x47282e
push dword [esi]
push eax
call fcn.00467e60
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x472859
test al, 0x10
je 0x472859
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xd]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push dword [ebp + 8]
push eax
call fcn.00472930
add esp, 0x14
jmp 0x472870
push 0x80
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
je 0x472890
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x472890
push 4
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x472896
cmp byte [ebp - 0xd], 0
je 0x4728b9
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4728b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x4728da
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4728d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x472907
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x472907
push dword [ebp - 0x24]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00456c70
int3