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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed765
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.p_6_1_5_]
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x16c], 0x372c0315
movaps xmm0, xmmword [0x50c8c0]
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0x33151d11
mov dword [ebp - 0x164], 0x19161e1f
mov word [ebp - 0x160], 0x17
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 0x46e632
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 0x46e6bd
xor ecx, ecx
jmp 0x46e6cf
lea ecx, [ebp - 0x15e]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e6c6
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.004b9930
push 0x104
xor ebx, ebx
mov dword [ebp - 0x2cc], 0
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004b9930
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 0x46e8fc
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 0x46e8eb
nop dword [eax]
lea ecx, [ebp - 0x2c4]
call fcn.0046c6e0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c8]
cmp eax, 0x104
jae 0x46e938
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x46e7b5
xor eax, eax
jmp 0x46e7c9
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e7c0
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 0x46e804
xor ecx, ecx
jmp 0x46e819
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e810
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.0046daa0
lea edi, [esi + 0x1c]
mov byte [ebp - 4], 5
mov esi, dword [edi]
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.0046fbb0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2d4]
push eax
call fcn.0046fc40
push 0x46da60
push 1
push 0xa8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
call fcn.004a0a82
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b9930
add esp, 0xc
mov dword [ebp - 0x2c8], 0x104
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
inc ebx
call fcn.0046dc10
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 0x46e780
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x46e8fc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x46e91a
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.004a0525
mov esp, ebp
pop ebp
ret
call fcn.004a0c95
int3