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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
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 - 0x27c], 1
mov eax, 0x4b63
mov dword [ebp - 0x278], 0x104
add esp, 0xc
mov word [ebp - 0x224], ax
xor edi, edi
mov eax, 0x4b5c
mov ebx, 0xf
mov word [ebp - 0x222], ax
mov eax, 0x4b44
mov word [ebp - 0x220], ax
mov eax, 0x4b4d
mov word [ebp - 0x21e], ax
mov word [ebp - 0x21c], ax
mov eax, 0x4b15
mov word [ebp - 0x21a], ax
mov eax, 0x4b6b
mov word [ebp - 0x218], ax
mov eax, 0x4b2f
mov word [ebp - 0x216], ax
mov eax, 0x4b36
mov word [ebp - 0x214], ax
mov eax, 0x4b21
mov word [ebp - 0x212], ax
mov eax, 0x4b47
mov word [ebp - 0x210], ax
mov ax, word [ebp - 0x224]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x224]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xe4b04b39
mov edx, 0xf4744b3
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi + 0x4b39]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x224], ax
inc edi
cmp edi, 0xb
jb 0x452450
mov eax, 0xa3b3
mov ecx, 0xa3a6
mov word [ebp - 0x274], ax
xor edi, edi
mov eax, 0xa3af
mov word [ebp - 0x272], ax
mov eax, 0xa3aa
mov word [ebp - 0x270], ax
mov eax, 0xa3ae
mov word [ebp - 0x26e], ax
mov eax, 0xa3a1
mov word [ebp - 0x26c], ax
mov eax, 0xa3bb
mov word [ebp - 0x26a], ax
mov eax, 0xa3b8
mov word [ebp - 0x268], cx
mov word [ebp - 0x266], ax
mov eax, 0xa3b0
mov word [ebp - 0x264], cx
mov word [ebp - 0x262], ax
mov eax, 0xa391
mov word [ebp - 0x260], ax
mov eax, 0xa383
mov word [ebp - 0x25e], ax
mov eax, 0xa39b
mov word [ebp - 0x25c], ax
mov eax, 0xa386
mov word [ebp - 0x25a], ax
mov eax, 0xa3bd
mov word [ebp - 0x258], ax
mov eax, 0xa397
mov word [ebp - 0x256], ax
mov eax, 0xa39d
mov word [ebp - 0x254], ax
mov eax, 0xa395
mov word [ebp - 0x252], ax
mov eax, 0xa39e
mov word [ebp - 0x250], ax
mov eax, 0xa465
mov word [ebp - 0x24e], ax
mov eax, 0xa47e
mov word [ebp - 0x24c], ax
mov eax, 0xa40a
mov word [ebp - 0x24a], ax
mov ax, word [ebp - 0x274]
mov ax, word [ebp + edi*2 - 0x274]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x9787a3ed
mov edx, 0xa19d23af
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi - 0x5c13]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x274], ax
inc edi
cmp edi, 0x16
jb 0x4525a0
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x274]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x452629
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, 0x594c
mov ecx, 0x596e
mov word [ebp - 0x248], ax
mov edx, 0x5973
mov eax, 0x5967
xor edi, edi
mov word [ebp - 0x246], ax
mov eax, 0x597a
mov word [ebp - 0x244], dx
mov word [ebp - 0x242], cx
mov word [ebp - 0x240], ax
mov eax, 0x5941
mov word [ebp - 0x23e], ax
mov eax, 0x596c
mov word [ebp - 0x23c], ax
mov eax, 0x5964
mov word [ebp - 0x23a], cx
mov word [ebp - 0x238], cx
mov ecx, 0x5963
mov word [ebp - 0x236], ax
mov eax, 0x597e
mov word [ebp - 0x234], cx
mov word [ebp - 0x232], ax
mov eax, 0x5923
mov word [ebp - 0x230], ax
mov eax, 0x5971
mov word [ebp - 0x22e], cx
mov word [ebp - 0x22c], dx
mov word [ebp - 0x22a], ax
mov eax, 0x5910
mov word [ebp - 0x228], ax
mov ax, word [ebp - 0x248]
nop word [eax + eax]
mov ax, word [ebp + edi*2 - 0x248]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xba0a5901
mov edx, 0x4480a7c2
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi + 0x5901]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x248], ax
inc edi
cmp edi, 0x11
jb 0x4526f0
lea eax, [ebp - 0x248]
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