Function at 0x4549db
Capabilities:
Check if file exists
Delete file
Get common file path
Set registry value

Disassembly:
push 0x27c
mov eax, 0x5ba7f1
call fcn.005870c4
lea esi, [ebp - 0x288]
call fcn.0047a7b0
xor ebx, ebx
mov dword [ebp - 4], ebx
xor eax, eax
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
call fcn.0057e5e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00408518
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
push 0x67af54
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x25c]
call fcn.00408559
push dword [ebp - 0x268]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454d7a
lea eax, [ebp - 0x264]
push eax
call fcn.004740f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x25c]
mov dword [esp], 0x67af74
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 5
push dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x25c]
call fcn.00408559
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00408559
lea eax, [ebp - 0x264]
push eax
call fcn.004740f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x25c]
mov dword [esp], 0x67af80
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 7
push dword [eax]
call esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x25c]
call fcn.00408559
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00408559
lea eax, [ebp - 0x264]
push eax
call fcn.004740f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x25c]
mov dword [esp], 0x67af94
push ecx
mov ecx, eax
call fcn.0040fcd8
pop ecx
pop ecx
mov byte [ebp - 4], 9
push dword [eax]
call esi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x25c]
call fcn.00408559
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00408559
push dword [ebp - 0x268]
call esi
push 0x67afa8
mov edx, 0x67afc0
lea ecx, [ebp - 0x258]
call fcn.00422f7b
pop ecx
mov byte [ebp - 4], 0xa
xor edi, edi
lea eax, [ebp - 0x258]
call fcn.00425dd6
mov esi, eax
mov byte [ebp - 0x25d], 0
lea eax, [ebp - 0x280]
push eax
call fcn.00413a77
mov byte [ebp - 4], 0xb
cmp word [esi], bx
je 0x454d58
mov ecx, 0x67b024
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x454be4
cmp dx, bx
je 0x454be0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x454be4
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x454bbe
xor eax, eax
jmp 0x454be9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x454bf6
mov byte [ebp - 0x25d], 1
jmp 0x454c3f
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.00408518
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x280]
call fcn.00413ad9
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x25c]
call fcn.00408559
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x454c2d
sub eax, edx
sar eax, 1
lea edi, [edi + eax + 1]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x454c44
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x454bb7
cmp byte [ebp - 0x25d], 0
je 0x454d58
inc edi
push edi
lea esi, [ebp - 0x23c]
call fcn.0042c1b4
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x270]
sub eax, dword [ebp - 0x274]
mov dword [ebp - 0x25c], ebx
sar eax, 2
mov dword [ebp - 0x264], ebx
test eax, eax
jbe 0x454d18
xor edi, edi
lea eax, [ebp - 0x23c]
call fcn.00425dd6
mov edi, dword [ebp - 0x264]
mov ebx, eax
add ebx, dword [ebp - 0x25c]
lea esi, [ebp - 0x280]
call fcn.00413f62
mov eax, dword [eax]
movzx ecx, word [eax]
inc eax
mov word [ebx], cx
inc eax
inc ebx
inc ebx
test cx, cx
jne 0x454cc4
mov edi, dword [ebp - 0x264]
lea esi, [ebp - 0x280]
call fcn.00413f62
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebp - 0x25c]
inc dword [ebp - 0x264]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x270]
sub eax, dword [ebp - 0x274]
sar eax, 2
cmp dword [ebp - 0x264], eax
jb 0x454c9c
xor ebx, ebx
mov eax, dword [ebp - 0x228]
add eax, eax
push eax
xor edi, edi
lea eax, [ebp - 0x23c]
call fcn.00425dd6
push eax
push 7
push 0x67b034
push 0x67b050
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 0xb
push ebx
push 1
lea esi, [ebp - 0x23c]
call fcn.00409bf1
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x280]
push eax
call fcn.00413aaf
mov byte [ebp - 4], 3
push ebx
push 1
lea esi, [ebp - 0x258]
call fcn.00409bf1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.00408559
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x288]
call fcn.0047a7f0
call fcn.00587147
ret