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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec38d
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x104
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x16c], esi
mov dword [ebp - 0x168], 0
call fcn.004b8fe0
mov dword [esi + 0x10], 0
add esp, 0xc
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x160], 0
mov dword [esi + 0x10], 0
jb 0x469540
mov eax, dword [esi]
jmp 0x469542
mov eax, esi
push 0
push 0x507250
mov ecx, esi
mov byte [eax], 0
call fcn.00409aa0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x15c]
push 0
push 0x507250
mov dword [ebp - 0x168], 1
mov dword [ebp - 0x148], 0xf
mov dword [ebp - 0x14c], 0
mov byte [ebp - 0x15c], 0
call fcn.00409aa0
mov dword [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x50cab0]
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x134], 0x4f4b5a7d
mov word [ebp - 0x130], 0x43
nop dword [eax + eax]
movzx eax, byte [ebp + ecx - 0x143]
xor al, byte [ebp - 0x144]
mov byte [ebp + ecx - 0x12e], al
movzx eax, byte [ebp + ecx - 0x142]
xor al, byte [ebp - 0x144]
mov byte [ebp + ecx - 0x12d], al
movzx eax, byte [ebp + ecx - 0x141]
xor al, byte [ebp - 0x144]
mov byte [ebp + ecx - 0x12c], al
movzx eax, byte [ebp + ecx - 0x140]
xor al, byte [ebp - 0x144]
mov byte [ebp + ecx - 0x12b], al
movzx eax, byte [ebp + ecx - 0x13f]
xor al, byte [ebp - 0x144]
mov byte [ebp + ecx - 0x12a], al
add ecx, 5
cmp ecx, 0x14
jb 0x4695c0
lea eax, [ebp - 0x160]
mov byte [ebp - 0x11a], 0
push eax
push 0x20019
push 0
lea eax, [ebp - 0x12e]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x469756
mov eax, dword [edi]
lea ecx, [ebp - 0x130]
push ecx
mov ecx, edi
mov dword [ebp - 0x164], 0x103
call dword [eax + 8]
cmp dword [eax + 0x14], 0x10
jb 0x469680
mov eax, dword [eax]
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x160]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [ebp - 0x11c]
sete bl
cmp eax, 0x10
jb 0x4696c2
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.00409950
test bl, bl
je 0x469756
mov eax, dword [ebp - 0x164]
cmp eax, 0x104
jae 0x469794
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x4696f0
xor ecx, ecx
jmp 0x469709
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469700
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x15c]
call fcn.00409aa0
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
push 0
cmovae eax, dword [ebp - 0x15c]
push eax
call fcn.004c2ac4
add esp, 8
cmp eax, 0xffffffff
je 0x469756
lea eax, [ebp - 0x15c]
cmp esi, eax
je 0x469756
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00409640
mov ecx, dword [ebp - 0x148]
cmp ecx, 0x10
jb 0x469774
inc ecx
push ecx
push dword [ebp - 0x15c]
lea ecx, [ebp - 0x15c]
call fcn.00409950
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049fc55
mov esp, ebp
pop ebp
ret 4
call fcn.004a03c5
int3