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

Disassembly:
push 0x27c
mov eax, 0x5b3ba7
call fcn.00580bb4
lea esi, [ebp - 0x288]
call fcn.00475c10
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.005780d0
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.0040852d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
push 0x673758
push ecx
mov ecx, eax
call fcn.0040fc0a
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x25c]
call fcn.0040856e
push dword [ebp - 0x268]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45385c
lea eax, [ebp - 0x264]
push eax
call fcn.0046f4e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x25c]
mov dword [esp], 0x673778
push ecx
mov ecx, eax
call fcn.0040fc0a
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.0040856e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.0040856e
lea eax, [ebp - 0x264]
push eax
call fcn.0046f4e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x25c]
mov dword [esp], 0x673784
push ecx
mov ecx, eax
call fcn.0040fc0a
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.0040856e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.0040856e
lea eax, [ebp - 0x264]
push eax
call fcn.0046f4e0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x25c]
mov dword [esp], 0x673798
push ecx
mov ecx, eax
call fcn.0040fc0a
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.0040856e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.0040856e
push dword [ebp - 0x268]
call esi
push 0x6737ac
mov edx, 0x6737d8
lea ecx, [ebp - 0x258]
call fcn.00423077
pop ecx
mov byte [ebp - 4], 0xa
xor edi, edi
lea eax, [ebp - 0x258]
call fcn.00425dbf
mov esi, eax
mov byte [ebp - 0x25d], 0
lea eax, [ebp - 0x280]
push eax
call fcn.00413cf5
mov byte [ebp - 4], 0xb
cmp word [esi], bx
je 0x45383a
mov ecx, 0x67383c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4536c6
cmp dx, bx
je 0x4536c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4536c6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4536a0
xor eax, eax
jmp 0x4536cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4536d8
mov byte [ebp - 0x25d], 1
jmp 0x453721
push esi
lea eax, [ebp - 0x25c]
push eax
call fcn.0040852d
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x280]
call fcn.004138ba
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x25c]
call fcn.0040856e
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x45370f
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 0x453726
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
cmp word [esi], bx
jne 0x453699
cmp byte [ebp - 0x25d], 0
je 0x45383a
inc edi
push edi
lea esi, [ebp - 0x23c]
call fcn.00425d9d
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 0x4537fa
xor edi, edi
lea eax, [ebp - 0x23c]
call fcn.00425dbf
mov edi, dword [ebp - 0x264]
mov ebx, eax
add ebx, dword [ebp - 0x25c]
lea esi, [ebp - 0x280]
call fcn.004138a1
mov eax, dword [eax]
movzx ecx, word [eax]
inc eax
mov word [ebx], cx
inc eax
inc ebx
inc ebx
test cx, cx
jne 0x4537a6
mov edi, dword [ebp - 0x264]
lea esi, [ebp - 0x280]
call fcn.004138a1
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 0x45377e
xor ebx, ebx
mov eax, dword [ebp - 0x228]
add eax, eax
push eax
xor edi, edi
lea eax, [ebp - 0x23c]
call fcn.00425dbf
push eax
push 7
push 0x67384c
push 0x673880
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.00409bbf
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x280]
push eax
call fcn.00413877
mov byte [ebp - 4], 3
push ebx
push 1
lea esi, [ebp - 0x258]
call fcn.00409bbf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.0040856e
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x288]
call fcn.00475c50
call fcn.00580c37
ret