Function at 0x46e550
Capabilities:
Encode data using xor
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed715
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
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 esi, ecx
mov dword [ebp - 0x2d0], esi
movaps xmm0, xmmword [str.j9___8_6]
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x16c], 0x2d36190f
movaps xmm0, xmmword [0x50c840]
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0x290f070b
mov dword [ebp - 0x164], 0x30c0405
mov word [ebp - 0x160], 0xd
mov dword [ebp - 4], 0
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x18b]
xor al, byte [ebp - 0x18c]
mov byte [ebp + ecx - 0x15e], al
movzx eax, byte [ebp + ecx - 0x18a]
xor al, byte [ebp - 0x18c]
mov byte [ebp + ecx - 0x15d], al
movzx eax, byte [ebp + ecx - 0x189]
xor al, byte [ebp - 0x18c]
mov byte [ebp + ecx - 0x15c], al
movzx eax, byte [ebp + ecx - 0x188]
xor al, byte [ebp - 0x18c]
mov byte [ebp + ecx - 0x15b], al
add ecx, 4
cmp ecx, 0x2c
jb 0x46e5d2
cmp byte [ebp - 0x15e], 0
mov byte [ebp - 0x132], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x46e65d
xor ecx, ecx
jmp 0x46e66f
lea ecx, [ebp - 0x15e]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e666
sub ecx, edx
push ecx
lea eax, [ebp - 0x15e]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00409af0
push 0x2d
lea eax, [ebp - 0x18b]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004b98e0
push 0x104
xor ebx, ebx
mov dword [ebp - 0x2cc], 0
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004b98e0
add esp, 0x18
mov dword [ebp - 0x2c8], 0x104
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x2cc]
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push ecx
push 0x20119
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46e89c
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp - 0x2cc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x46e88b
nop dword [eax]
lea ecx, [ebp - 0x2c4]
call fcn.0046c680
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c8]
cmp eax, 0x104
jae 0x46e8d8
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x46e755
xor eax, eax
jmp 0x46e769
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e760
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00409af0
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
jne 0x46e7a4
xor ecx, ecx
jmp 0x46e7b9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e7b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x234]
call fcn.00409af0
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x21c]
call fcn.0046da40
lea edi, [esi + 0x1c]
mov byte [ebp - 4], 5
mov esi, dword [edi]
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.0046fb50
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2d4]
push eax
call fcn.0046fbe0
push 0x46da00
push 1
push 0xa8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
call fcn.004a0a32
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b98e0
add esp, 0xc
mov dword [ebp - 0x2c8], 0x104
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
inc ebx
call fcn.0046dbb0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp - 0x2cc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, dword [ebp - 0x2d0]
test eax, eax
je 0x46e720
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x46e89c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x46e8ba
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.004099a0
mov al, 1
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.004a04d5
mov esp, ebp
pop ebp
ret
call fcn.004a0c45
int3