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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed725
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 [0x50c960]
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x16c], 0x100b2432
movaps xmm0, xmmword [0x50c9c0]
movups xmmword [ebp - 0x17c], xmm0
mov dword [ebp - 0x168], 0x14323a36
mov dword [ebp - 0x164], 0x3e313938
mov word [ebp - 0x160], 0x30
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 0x46e602
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 0x46e68d
xor ecx, ecx
jmp 0x46e69f
lea ecx, [ebp - 0x15e]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e696
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 0x46e8cc
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 0x46e8bb
nop dword [eax]
lea ecx, [ebp - 0x2c4]
call fcn.0046c6b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c8]
cmp eax, 0x104
jae 0x46e908
mov byte [ebp + eax - 0x114], 0
cmp byte [ebp - 0x114], 0
jne 0x46e785
xor eax, eax
jmp 0x46e799
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e790
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 0x46e7d4
xor ecx, ecx
jmp 0x46e7e9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46e7e0
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.0046da70
lea edi, [esi + 0x1c]
mov byte [ebp - 4], 5
mov esi, dword [edi]
lea eax, [ebp - 0x234]
push eax
mov ecx, edi
call fcn.0046fb80
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x2d4]
push eax
call fcn.0046fc10
push 0x46da30
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.0046dbe0
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 0x46e750
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x46e8cc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x46e8ea
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