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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eccb5
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.f5__214:]
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x16c], 0x213a1503
movaps xmm0, xmmword [0x50c760]
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0x25030b07
mov dword [ebp - 0x164], 0xf000809
mov word [ebp - 0x160], 1
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 0x46dd92
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 0x46de1d
xor ecx, ecx
jmp 0x46de2f
lea ecx, [ebp - 0x15e]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46de26
sub ecx, edx
push ecx
lea eax, [ebp - 0x15e]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00409aa0
push 0x2d
lea eax, [ebp - 0x18b]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004b8fe0
push 0x104
xor ebx, ebx
mov dword [ebp - 0x2cc], 0
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.004b8fe0
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 0x46e05c
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 0x46e04b
nop dword [eax]
lea ecx, [ebp - 0x2c4]
call fcn.0046be40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c8]
cmp eax, 0x104
jae 0x46e098
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x46df15
xor eax, eax
jmp 0x46df29
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46df20
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x2ac]
call fcn.00409aa0
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x234], 0
jne 0x46df64
xor ecx, ecx
jmp 0x46df79
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46df70
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x234]
call fcn.00409aa0
lea eax, [ebp - 0x2c4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x21c]
call fcn.0046d200
lea edi, [esi + 0x1c]
mov byte [ebp - 4], 5
mov esi, dword [edi]
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.0046f310
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2d4]
push eax
call fcn.0046f3a0
push 0x46d1c0
push 1
push 0xa8
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
push eax
call fcn.004a01b2
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004b8fe0
add esp, 0xc
mov dword [ebp - 0x2c8], 0x104
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
inc ebx
call fcn.0046d370
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 0x46dee0
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x46e05c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x46e07a
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.00409950
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.0049fc55
mov esp, ebp
pop ebp
ret
call fcn.004a03c5
int3