Function at 0x450710
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x26c], ebx
call fcn.005161d0
mov dword [ebp - 0x26c], 1
mov eax, 0xe903
mov dword [ebp - 0x270], 0x104
add esp, 0xc
mov word [ebp - 0x224], ax
xor edi, edi
mov eax, 0xe931
mov ebx, 0xf
mov word [ebp - 0x222], ax
mov eax, 0xe92f
mov word [ebp - 0x220], ax
mov eax, 0xe928
mov word [ebp - 0x21e], ax
mov eax, 0xe923
mov word [ebp - 0x21c], ax
mov eax, 0xe977
mov word [ebp - 0x21a], ax
mov eax, 0xe90d
mov word [ebp - 0x218], ax
mov eax, 0xe93d
mov word [ebp - 0x216], ax
mov eax, 0xe929
mov word [ebp - 0x214], ax
mov eax, 0xe936
mov word [ebp - 0x212], ax
mov eax, 0xe953
mov word [ebp - 0x210], ax
mov ax, word [ebp - 0x224]
mov ax, word [ebp + edi*2 - 0x224]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xbb27e950
mov edx, 0x22ef975
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi - 0x16b0]
and cx, bx
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x224], cx
inc edi
cmp edi, 0xb
jb 0x4507f1
mov eax, dword [str.SOFTWAREYxhGamebox]
mov ecx, 0x70ad
xor eax, 0x7090
mov ebx, dword [ebp - 0x268]
mov word [ebp - 0x264], ax
mov eax, 0x7092
xor ax, word [0x573b82]
mov word [ebp - 0x262], ax
mov eax, dword [0x573b84]
xor eax, 0x709c
mov word [ebp - 0x260], ax
mov eax, 0x709a
xor ax, word [0x573b86]
mov word [ebp - 0x25e], ax
mov eax, dword [0x573b88]
xor eax, 0x709a
mov word [ebp - 0x25c], ax
mov eax, 0x709f
xor ax, word [0x573b8a]
mov word [ebp - 0x25a], ax
mov eax, dword [0x573b8c]
xor eax, 0x70ad
mov word [ebp - 0x258], ax
mov eax, 0x70af
xor ax, word [0x573b8e]
mov word [ebp - 0x256], ax
mov eax, dword [str.__restrict]
xor eax, 0x70a4
mov word [ebp - 0x254], ax
mov eax, ecx
xor ax, word [0x573b92]
mov word [ebp - 0x252], ax
mov eax, dword [0x573b94]
xor eax, ecx
xor cx, word [0x573b96]
mov word [ebp - 0x250], ax
mov eax, dword [0x573b98]
xor eax, 0x70a7
mov word [ebp - 0x24e], cx
mov word [ebp - 0x24c], ax
mov ecx, 0x70aa
mov eax, 0x70a7
xor ax, word [0x573b9a]
mov word [ebp - 0x24a], ax
mov eax, dword [0x573b9c]
xor eax, 0x70ae
mov word [ebp - 0x248], ax
mov eax, ecx
xor ax, word [0x573b9e]
xor cx, word [0x573ba6]
mov word [ebp - 0x246], ax
mov eax, dword [0x573ba0]
xor eax, 0x70a0
mov word [ebp - 0x244], ax
mov eax, 0x70a2
xor ax, word [0x573ba2]
mov word [ebp - 0x242], ax
mov eax, dword [0x573ba4]
xor eax, 0x70ac
xor edi, edi
mov word [ebp - 0x240], ax
mov word [ebp - 0x23e], cx
mov ax, word [ebp - 0x264]
nop word [eax + eax]
mov ax, word [ebp + edi*2 - 0x264]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x360189e6
cmovae ecx, eax
mov eax, 0xed04709a
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi + 0x709a]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x264], cx
inc edi
cmp edi, 0x14
jb 0x4509b0
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x264]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x450a4e
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
push 0x5726b4
jmp 0x450bb7
mov eax, dword [str.uninst.exe]
mov ebx, 0xf
xor eax, 0xe950
mov word [ebp - 0x23c], ax
mov eax, 0xe954
xor ax, word [0x573b22]
mov word [ebp - 0x23a], ax
mov eax, dword [0x573b24]
xor eax, 0xe95b
mov word [ebp - 0x238], ax
mov eax, 0xe95d
xor ax, word [0x573b26]
mov word [ebp - 0x236], ax
mov eax, dword [0x573b28]
xor eax, 0xe953
mov word [ebp - 0x234], ax
mov eax, 0xe957
xor ax, word [0x573b2a]
mov word [ebp - 0x232], ax
mov eax, dword [0x573b2c]
xor eax, 0xe95d
mov word [ebp - 0x230], ax
mov eax, 0xe95c
xor ax, word [0x573b2e]
mov word [ebp - 0x22e], ax
mov eax, dword [0x573b30]
xor eax, 0xe95d
mov word [ebp - 0x22c], ax
mov eax, 0xe95e
xor ax, word [0x573b32]
mov word [ebp - 0x22a], ax
mov eax, 0xe953
xor ax, word [0x573b34]
xor edi, edi
mov word [ebp - 0x228], ax
mov ax, word [ebp - 0x23c]
mov ax, word [ebp + edi*2 - 0x23c]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xbb27e950
mov edx, 0x22ef975
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi - 0x16b0]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x23c], ax
inc edi
cmp edi, 0xb
jb 0x450b23
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [ebp - 0x268]
lea ecx, [ebp - 0x20c]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450ba0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004211e0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c10d
mov esp, ebp
pop ebp
ret