Function at 0x450290
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.00516260
mov dword [ebp - 0x274], 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
mov cx, ax
lea eax, [edi + 0x4b39]
and cx, bx
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x224], cx
inc edi
cmp edi, 0xb
jb 0x450370
mov eax, dword [str.SOFTWAREYxhGamebox]
xor eax, 0xf1f0
mov ebx, dword [ebp - 0x270]
mov word [ebp - 0x26c], ax
mov eax, 0xf1f9
xor ax, word [0x573ba2]
mov word [ebp - 0x26a], ax
mov eax, dword [0x573ba4]
xor eax, 0xf1f6
mov word [ebp - 0x268], ax
mov eax, 0xf1f7
xor ax, word [0x573ba6]
mov word [ebp - 0x266], ax
mov eax, dword [0x573ba8]
xor eax, 0xf1f1
mov word [ebp - 0x264], ax
mov eax, 0xf1f5
xor ax, word [0x573baa]
mov word [ebp - 0x262], ax
mov eax, dword [0x573bac]
xor eax, 0xf1fe
mov word [ebp - 0x260], ax
mov eax, 0xf1f2
xor ax, word [0x573bae]
mov word [ebp - 0x25e], ax
mov eax, dword [0x573bb0]
xor eax, 0xf1f0
mov word [ebp - 0x25c], ax
mov eax, 0xf1f6
xor ax, word [0x573bb2]
mov word [ebp - 0x25a], ax
mov eax, dword [0x573bb4]
xor eax, 0xf1f0
mov word [ebp - 0x258], ax
mov eax, 0xf20b
xor ax, word [0x573bb6]
mov word [ebp - 0x256], ax
mov eax, dword [0x573bb8]
xor eax, 0xf20e
mov word [ebp - 0x254], ax
mov eax, 0xf200
xor ax, word [0x573bba]
mov word [ebp - 0x252], ax
mov eax, dword [0x573bbc]
xor eax, 0xf209
mov word [ebp - 0x250], ax
mov eax, 0xf205
xor ax, word [0x573bbe]
mov word [ebp - 0x24e], ax
mov eax, dword [0x573bc0]
xor eax, 0xf200
mov word [ebp - 0x24c], ax
mov eax, 0xf209
xor ax, word [0x573bc2]
mov word [ebp - 0x24a], ax
mov eax, dword [0x573bc4]
xor eax, 0xf206
mov word [ebp - 0x248], ax
mov eax, 0xf207
xor ax, word [0x573bc6]
xor edi, edi
mov word [ebp - 0x246], ax
mov ax, word [ebp - 0x26c]
nop dword [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, 0x1a2fbf8d
cmovae ecx, eax
mov eax, 0xe5f8f1f5
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [edi - 0xe0b]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x26c], cx
inc edi
cmp edi, 0x14
jb 0x450530
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 0x4505ce
xor eax, eax
mov dword [ebx + 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
push 0x5726b4
jmp 0x450787
mov eax, dword [str.YxhGametray.exe]
mov ecx, 0x8ba0
xor eax, 0x8b90
mov ebx, 0xf
mov word [ebp - 0x244], ax
mov eax, 0x8b97
xor ax, word [0x573b02]
mov word [ebp - 0x242], ax
mov eax, dword [0x573b04]
xor eax, 0x8b94
mov word [ebp - 0x240], ax
mov eax, 0x8ba8
xor ax, word [0x573b06]
mov word [ebp - 0x23e], ax
mov eax, dword [0x573b08]
xor eax, 0x8ba6
mov word [ebp - 0x23c], ax
mov eax, 0x8ba2
xor ax, word [0x573b0a]
mov word [ebp - 0x23a], ax
mov eax, dword [0x573b0c]
xor eax, 0x8ba6
mov word [ebp - 0x238], ax
mov eax, ecx
xor ax, word [0x573b0e]
mov word [ebp - 0x236], ax
mov eax, dword [str.ns_fv]
xor eax, 0x8baa
mov word [ebp - 0x234], ax
mov eax, ecx
xor ax, word [0x573b12]
mov word [ebp - 0x232], ax
mov eax, dword [0x573b14]
xor eax, 0x8ba1
mov word [ebp - 0x230], ax
mov eax, 0x8bab
xor ax, word [0x573b16]
mov word [ebp - 0x22e], ax
mov eax, dword [0x573b18]
xor eax, 0x8ba2
mov word [ebp - 0x22c], ax
mov eax, ecx
xor ax, word [0x573b1a]
xor cx, word [0x573b1e]
mov word [ebp - 0x22a], ax
mov eax, dword [0x573b1c]
xor eax, 0x8bac
xor edi, edi
mov word [ebp - 0x228], ax
mov word [ebp - 0x226], cx
mov ax, word [ebp - 0x244]
mov ax, word [ebp + edi*2 - 0x244]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0x45078b9d
mov edx, 0xc7ab366f
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [edi - 0x7463]
xor ax, cx
xor ax, si
mov word [ebp + edi*2 - 0x244], ax
inc edi
cmp edi, 0x10
jb 0x4506f3
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 dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450770
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00421290
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046c16d
mov esp, ebp
pop ebp
ret