Function at 0x452040
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.00516260
mov dword [ebp - 0x268], 1
mov ecx, 0x3b23
mov dword [ebp - 0x264], 0x104
mov eax, 0x3b3a
mov word [ebp - 0x260], cx
mov edx, 0x3b3e
mov word [ebp - 0x25e], ax
add esp, 0xc
mov word [ebp - 0x25c], dx
mov eax, 0x3b2d
mov word [ebp - 0x25a], cx
xor edi, edi
mov word [ebp - 0x258], ax
mov ebx, 0xf
mov eax, 0x3b39
mov word [ebp - 0x256], ax
mov eax, 0x3b2c
mov word [ebp - 0x254], ax
mov eax, 0x3b25
mov word [ebp - 0x252], dx
mov word [ebp - 0x250], ax
mov eax, 0x3b30
mov word [ebp - 0x24e], ax
mov eax, 0x3b31
mov word [ebp - 0x24c], ax
mov eax, 0x3b2a
mov word [ebp - 0x24a], ax
mov eax, 0x3b3c
mov word [ebp - 0x248], ax
mov eax, 0x3b1c
mov word [ebp - 0x246], ax
mov eax, 0x3b14
mov word [ebp - 0x244], ax
mov eax, 0x3be5
mov word [ebp - 0x242], ax
mov eax, 0x3bc3
mov word [ebp - 0x240], ax
mov eax, 0x3be0
mov word [ebp - 0x23e], ax
mov eax, 0x3be6
mov word [ebp - 0x23c], ax
mov eax, 0x3bf3
mov word [ebp - 0x23a], ax
mov eax, 0x3bef
mov word [ebp - 0x238], ax
mov eax, 0x3bfa
mov word [ebp - 0x236], ax
mov eax, 0x3b8e
mov word [ebp - 0x234], ax
mov ax, word [ebp - 0x260]
nop dword [eax + eax]
mov ax, word [ebp + edi*2 - 0x260]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x39ef3b71
mov edx, 0x6365e60
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi + 0x3b71]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x260], ax
inc edi
cmp edi, 0x17
jb 0x4521a0
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 0x452227
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c16d
mov esp, ebp
pop ebp
ret
mov eax, 0x9a0c
mov ecx, 0x9a06
mov word [ebp - 0x230], ax
xor esi, esi
mov word [ebp - 0x22e], cx
mov eax, 0x9a1e
mov word [ebp - 0x22c], ax
mov eax, 0x9a20
mov word [ebp - 0x22a], cx
mov ecx, 0x9a28
mov word [ebp - 0x228], ax
mov eax, 0x9a25
mov word [ebp - 0x226], cx
mov word [ebp - 0x224], ax
mov eax, 0x9a0d
mov word [ebp - 0x222], ax
mov eax, 0x9a24
mov word [ebp - 0x220], ax
mov eax, 0x9a2a
mov word [ebp - 0x21e], ax
mov eax, 0x9a3a
mov word [ebp - 0x21c], ax
mov eax, 0x9a3b
mov word [ebp - 0x21a], ax
mov eax, 0x9a7b
mov word [ebp - 0x218], cx
mov word [ebp - 0x216], ax
mov eax, 0x9a38
mov word [ebp - 0x214], ax
mov eax, 0x9a21
mov word [ebp - 0x212], ax
mov eax, 0x9a35
mov word [ebp - 0x210], ax
mov eax, 0x9a52
mov word [ebp - 0x20e], ax
mov ax, word [ebp - 0x230]
nop
mov ax, word [ebp + esi*2 - 0x230]
mov ecx, esi
and ecx, ebx
movzx edi, ax
cmp ecx, ebx
mov eax, 0x2bf89a45
mov edx, 0xde7be1ac
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [esi - 0x65bb]
xor ax, cx
xor ax, di
mov word [ebp + esi*2 - 0x230], ax
inc esi
cmp esi, 0x12
jb 0x452300
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.0046c16d
mov esp, ebp
pop ebp
ret