Function at 0x451fa0
Capabilities:
Check if file exists
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005161d0
mov dword [ebp - 0x268], 1
mov esi, 0x80b3
mov dword [ebp - 0x264], 0x104
mov ecx, 0x80a0
mov word [ebp - 0x260], si
mov edx, 0x80a4
mov word [ebp - 0x25e], cx
mov eax, 0x80bf
mov word [ebp - 0x25c], dx
add esp, 0xc
mov word [ebp - 0x25a], ax
xor edi, edi
mov eax, 0x80bd
mov ebx, 0xf
mov word [ebp - 0x258], ax
mov eax, 0x80a7
mov word [ebp - 0x256], ax
mov eax, 0x80bb
mov word [ebp - 0x254], ax
mov eax, 0x80a1
mov word [ebp - 0x252], ax
mov eax, 0x80be
mov word [ebp - 0x250], ax
mov eax, 0x80a5
mov word [ebp - 0x24e], cx
mov word [ebp - 0x24c], ax
mov eax, 0x80ba
mov word [ebp - 0x24a], ax
mov eax, 0x8088
mov word [ebp - 0x248], dx
mov word [ebp - 0x246], ax
mov eax, 0x8087
mov word [ebp - 0x244], ax
mov eax, 0x8085
mov word [ebp - 0x242], ax
mov eax, 0x809a
mov word [ebp - 0x240], si
mov word [ebp - 0x23e], ax
mov eax, 0x809c
mov word [ebp - 0x23c], ax
mov eax, 0x808f
mov word [ebp - 0x23a], ax
mov eax, 0x809f
mov word [ebp - 0x238], ax
mov eax, 0x8084
mov word [ebp - 0x236], ax
mov eax, 0x80f9
mov word [ebp - 0x234], ax
mov ax, word [ebp - 0x260]
mov ax, word [ebp + edi*2 - 0x260]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x3f3e80e0
mov edx, 0xf44f2b5a
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi - 0x7f20]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x260], ax
inc edi
cmp edi, 0x17
jb 0x4520f3
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x268]
push eax
push str.Setup_Path
lea eax, [ebp - 0x260]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x45217a
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c10d
mov esp, ebp
pop ebp
ret
mov eax, 0x4e9c
mov edx, 0x4e85
mov word [ebp - 0x230], ax
mov ecx, 0x4e95
mov eax, 0x4e9e
xor esi, esi
mov word [ebp - 0x22e], ax
mov eax, 0x4e9a
mov word [ebp - 0x22c], dx
mov word [ebp - 0x22a], ax
mov eax, 0x4eb7
mov word [ebp - 0x228], ax
mov eax, 0x4eb9
mov word [ebp - 0x226], ax
mov eax, 0x4eb6
mov word [ebp - 0x224], ax
mov eax, 0x4eb4
mov word [ebp - 0x222], cx
mov word [ebp - 0x220], ax
mov eax, 0x4eba
mov word [ebp - 0x21e], ax
mov eax, 0x4e96
mov word [ebp - 0x21c], ax
mov eax, 0x4e84
mov word [ebp - 0x21a], ax
mov eax, 0x4e93
mov word [ebp - 0x218], ax
mov eax, 0x4ece
mov word [ebp - 0x216], ax
mov eax, 0x4e8d
mov word [ebp - 0x214], ax
mov eax, 0x4eea
mov word [ebp - 0x212], cx
mov word [ebp - 0x210], dx
mov word [ebp - 0x20e], ax
mov ax, word [ebp - 0x230]
mov ax, word [ebp + esi*2 - 0x230]
mov ecx, esi
and ecx, ebx
movzx edi, ax
cmp ecx, ebx
mov eax, 0xbffc4ed6
mov edx, 0x8c3302bf
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [esi + 0x4ed6]
xor ax, cx
xor ax, di
mov word [ebp + esi*2 - 0x230], ax
inc esi
cmp esi, 0x12
jb 0x452251
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0046c10d
mov esp, ebp
pop ebp
ret