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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x825078
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x93bf44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov edx, 4
movups xmm0, xmmword [0x903624]
mov edi, dword [0x1816094]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [0x903634]
movups xmmword [ebp - 0x50], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x4857a3
xor edx, edx
mov dword [ebp - 0x64], edx
cmp edi, 2
jl 0x485770
movaps xmm0, xmmword [0x903730]
mov eax, 4
movaps xmm4, xmmword [0x9036b0]
xor ecx, ecx
movaps xmm3, xmmword [0x903740]
movaps xmm6, xmmword [0x9036f0]
movd xmm5, eax
mov eax, 0x1f
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x40]
movd xmm7, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x60]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x60], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x5c]
pxor xmm1, xmm0
movd dword [ebp + ecx - 0x5c], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x485670
jmp 0x48579e
mov eax, 0x4bda12f7
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x64]
movsx eax, al
mov cl, dl
imul eax, eax, 0x36
sub cl, al
add cl, 0x38
xor byte [ebp + edx - 0x60], cl
inc edx
mov dword [ebp - 0x64], edx
cmp edx, 0x20
jl 0x485770
mov edx, 4
cmp byte [0x903623], 0
movq xmm0, qword [str.uXYSUS_x5_Ckvoklz]
mov eax, dword [0x903620]
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
je 0x485908
xor ecx, ecx
cmp edi, 2
jl 0x4858e0
movaps xmm2, xmmword [0x9036b0]
mov eax, 0x1f
movaps xmm5, xmmword [0x903740]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
movd xmm6, edx
psrad xmm1, xmm6
movd xmm7, eax
mov eax, dword [0x903730]
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x9036c0]
paddd xmm2, xmmword [0x9036b0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.uXYSUS_x5_Ckvoklz]
pxor xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x3c], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x9036f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
pand xmm1, xmmword [0x903720]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x38]
pxor xmm1, xmm0
movd dword [ebp - 0x38], xmm1
nop dword [eax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x38
xor byte [ebp + ecx - 0x3c], dl
inc ecx
cmp ecx, 0xc
jl 0x4858e0
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0
push eax
push 0x20119
push 0
lea eax, [ebp - 0x60]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4859d9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x64]
call edi
test eax, eax
jne 0x4859d0
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
ja 0x485974
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + ecx], 0
jmp 0x485981
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404080
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x64]
call edi
test eax, eax
jne 0x4859d0
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
dec ecx
cmp ecx, eax
ja 0x4859c3
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + ecx], 0
jmp 0x4859d0
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404080
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c22ca
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret