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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed303
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0x104
mov dword [ebp - 4], 0
mov dword [ebp - 0x1bc], eax
lea eax, [ebp - 0x114]
push 0
mov dword [ebp - 0x1b8], 0
push eax
mov dword [ebp - 0x1c0], esi
mov dword [ebp - 0x1b0], 0
call fcn.004b98e0
add esp, 0xc
mov dword [ebp - 0x118], 0xf
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
push 0
push 0x507250
call fcn.00409af0
mov dword [ebp - 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x46c1ac
mov eax, dword [esi]
jmp 0x46c1ae
mov eax, esi
push 0
push 0x507250
mov ecx, esi
mov byte [eax], 0
call fcn.00409af0
movaps xmm0, xmmword [0x50c9b0]
movups xmmword [ebp - 0x190], xmm0
mov dword [ebp - 0x1b8], 1
movaps xmm0, xmmword [0x50c9d0]
movups xmmword [ebp - 0x180], xmm0
mov dword [ebp - 0x170], 0xb243b3b
mov byte [ebp - 0x16c], 0
mov byte [ebp - 4], 2
xor ecx, ecx
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x18f]
xor al, byte [ebp - 0x190]
mov byte [ebp + ecx - 0x16b], al
movzx eax, byte [ebp + ecx - 0x18e]
xor al, byte [ebp - 0x190]
mov byte [ebp + ecx - 0x16a], al
movzx eax, byte [ebp + ecx - 0x18d]
xor al, byte [ebp - 0x190]
mov byte [ebp + ecx - 0x169], al
movzx eax, byte [ebp + ecx - 0x18c]
xor al, byte [ebp - 0x190]
mov byte [ebp + ecx - 0x168], al
movzx eax, byte [ebp + ecx - 0x18b]
xor al, byte [ebp - 0x190]
mov byte [ebp + ecx - 0x167], al
add ecx, 5
cmp ecx, 0x23
jb 0x46c200
push dword [ebp - 0x1bc]
lea eax, [ebp - 0x16b]
mov byte [ebp - 0x148], 0
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0040e8a0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1b0]
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
push ecx
cmovae eax, dword [ebp - 0x144]
xorps xmm0, xmm0
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movups xmmword [ebp - 0x18f], xmm0
mov dword [ebp - 0x16f], 0
movups xmmword [ebp - 0x17f], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46c3e6
mov eax, dword [edi]
lea ecx, [ebp - 0x1a8]
push ecx
mov ecx, edi
mov dword [ebp - 0x1b4], 0x103
mov eax, dword [eax + 8]
call eax
cmp dword [eax + 0x14], 0x10
jb 0x46c30b
mov eax, dword [eax]
lea ecx, [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x114]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x1b0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [ebp - 0x194]
sete byte [ebp - 0x1a9]
cmp eax, 0x10
jb 0x46c351
inc eax
lea ecx, [ebp - 0x1a8]
push eax
push dword [ebp - 0x1a8]
call fcn.004099a0
cmp byte [ebp - 0x1a9], 0
je 0x46c3e6
mov eax, dword [ebp - 0x1b4]
cmp eax, 0x104
jae 0x46c45c
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x46c384
xor ecx, ecx
jmp 0x46c399
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46c390
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00409af0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.004c339f
add esp, 8
cmp eax, 0xffffffff
je 0x46c3e6
lea eax, [ebp - 0x12c]
cmp esi, eax
je 0x46c3e6
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00409690
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x46c404
inc eax
lea ecx, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
call fcn.004099a0
mov eax, dword [ebp - 0x1b0]
test eax, eax
je 0x46c41f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1b0], 0
mov ecx, dword [ebp - 0x118]
cmp ecx, 0x10
jb 0x46c43d
inc ecx
push ecx
push dword [ebp - 0x12c]
lea ecx, [ebp - 0x12c]
call fcn.004099a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret 8
call fcn.004a0c45
int3