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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
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 - 0x270], ebx
mov dword [ebp - 0x274], ebx
call fcn.005161d0
mov dword [ebp - 0x274], 1
mov eax, 0xe903
mov dword [ebp - 0x278], 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 0x4502c1
mov eax, dword [str.SOFTWAREYxhGamebox]
mov ecx, 0x70ad
xor eax, 0x7090
mov ebx, dword [ebp - 0x270]
mov word [ebp - 0x26c], ax
mov eax, 0x7092
xor ax, word [0x573b82]
mov word [ebp - 0x26a], ax
mov eax, dword [0x573b84]
xor eax, 0x709c
mov word [ebp - 0x268], ax
mov eax, 0x709a
xor ax, word [0x573b86]
mov word [ebp - 0x266], ax
mov eax, dword [0x573b88]
xor eax, 0x709a
mov word [ebp - 0x264], ax
mov eax, 0x709f
xor ax, word [0x573b8a]
mov word [ebp - 0x262], ax
mov eax, dword [0x573b8c]
xor eax, 0x70ad
mov word [ebp - 0x260], ax
mov eax, 0x70af
xor ax, word [0x573b8e]
mov word [ebp - 0x25e], ax
mov eax, dword [str.__restrict]
xor eax, 0x70a4
mov word [ebp - 0x25c], ax
mov eax, ecx
xor ax, word [0x573b92]
mov word [ebp - 0x25a], ax
mov eax, dword [0x573b94]
xor eax, ecx
xor cx, word [0x573b96]
mov word [ebp - 0x258], ax
mov eax, dword [0x573b98]
xor eax, 0x70a7
mov word [ebp - 0x256], cx
mov word [ebp - 0x254], ax
mov ecx, 0x70aa
mov eax, 0x70a7
xor ax, word [0x573b9a]
mov word [ebp - 0x252], ax
mov eax, dword [0x573b9c]
xor eax, 0x70ae
mov word [ebp - 0x250], ax
mov eax, ecx
xor ax, word [0x573b9e]
xor cx, word [0x573ba6]
mov word [ebp - 0x24e], ax
mov eax, dword [0x573ba0]
xor eax, 0x70a0
mov word [ebp - 0x24c], ax
mov eax, 0x70a2
xor ax, word [0x573ba2]
mov word [ebp - 0x24a], ax
mov eax, dword [0x573ba4]
xor eax, 0x70ac
xor edi, edi
mov word [ebp - 0x248], ax
mov word [ebp - 0x246], cx
mov ax, word [ebp - 0x26c]
nop word [eax + eax]
mov ax, word [ebp + edi*2 - 0x26c]
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 - 0x26c], cx
inc edi
cmp edi, 0x14
jb 0x450480
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x26c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x45051e
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
push 0x5726b4
jmp 0x4506e7
mov eax, dword [str.YxhGametray.exe]
mov ecx, 0x140e
xor eax, 0x13f0
mov ebx, 0xf
mov word [ebp - 0x244], ax
mov eax, 0x13f4
xor ax, word [0x573ae2]
mov word [ebp - 0x242], ax
mov eax, dword [0x573ae4]
xor eax, 0x13ff
mov word [ebp - 0x240], ax
mov eax, 0x13fc
xor ax, word [0x573ae6]
mov word [ebp - 0x23e], ax
mov eax, dword [0x573ae8]
xor eax, 0x13f7
mov word [ebp - 0x23c], ax
mov eax, 0x13f3
xor ax, word [0x573aea]
mov word [ebp - 0x23a], ax
mov eax, dword [0x573aec]
xor eax, 0x1404
mov word [ebp - 0x238], ax
mov eax, ecx
xor ax, word [0x573aee]
xor cx, word [0x573af2]
mov word [ebp - 0x236], ax
mov eax, dword [0x573af0]
xor eax, 0x1406
mov word [ebp - 0x234], ax
mov eax, dword [0x573af4]
xor eax, 0x1406
mov word [ebp - 0x232], cx
mov word [ebp - 0x230], ax
mov ecx, 0x1404
mov eax, ecx
xor cx, word [0x573afe]
xor ax, word [0x573af6]
mov word [ebp - 0x22e], ax
mov eax, dword [0x573af8]
xor eax, 0x1400
mov word [ebp - 0x22c], ax
mov eax, 0x1409
xor ax, word [0x573afa]
mov word [ebp - 0x22a], ax
mov eax, dword [0x573afc]
xor eax, 0x140c
xor edi, edi
mov word [ebp - 0x228], ax
mov word [ebp - 0x226], cx
mov ax, word [ebp - 0x244]
nop word [eax + eax]
mov ax, word [ebp + edi*2 - 0x244]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xf4c913fa
mov edx, 0xd4e612d4
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
and ax, 0xf
lea ecx, [edi + 0x13fa]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x244], ax
inc edi
cmp edi, 0x10
jb 0x450650
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ebx, dword [ebp - 0x270]
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 word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4506d0
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