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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecc02
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 [0x50c960]
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 [0x50c920]
movups xmmword [ebp - 0x2f4], xmm0
mov dword [ebp - 0x30c], ebx
movaps xmm0, xmmword [0x50c940]
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d4], 0x28282530
mov word [ebp - 0x2d0], 0x18
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 0x468d70
push edx
lea eax, [ebp - 0x2ce]
mov byte [ebp - 0x29a], 0
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0040e8a0
push 0x35
lea eax, [ebp - 0x303]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004b9880
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 0x468e3c
lea ecx, [ebp - 0x294]
call fcn.004095a0
jmp 0x4692b5
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b9880
mov dword [ebp - 0x230], 0x7b6c4919
mov bh, 0x7c
mov al, 0x49
mov byte [ebp - 0x305], bh
xor al, byte [ebp - 0x230]
mov bh, 0x6b
mov byte [ebp - 0x225], al
add esp, 0xc
mov al, byte [ebp - 0x230]
mov cl, 0x6c
xor cl, al
mov byte [ebp - 0x306], bh
mov bh, byte [ebp - 0x305]
mov dl, 0x7b
xor dl, al
mov dword [ebp - 0x30c], 0x103
xor bh, al
mov byte [ebp - 0x115], 0
mov ah, 0x70
mov dword [ebp - 0x22c], 0x716a7075
xor ah, al
mov word [ebp - 0x228], 0x6b7c
mov ch, 0x6a
mov byte [ebp - 0x221], ah
xor ch, al
mov byte [ebp - 0x226], 0
mov dh, 0x71
mov byte [ebp - 0x224], cl
xor dh, al
mov byte [ebp - 0x223], dl
mov bl, 0x75
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 0x4692a8
mov dword [ebp - 0x268], 0xf
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x27c], al
cmp byte [ebp - 0x218], al
jne 0x468f66
xor ecx, ecx
jmp 0x468f79
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x468f70
sub ecx, edx
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00409af0
mov byte [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x50cab0]
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x254], 0x494a4d45
mov dword [ebp - 0x250], 0x504a41
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 0x468fc0
cmp byte [ebp - 0x24c], 0
mov byte [ebp - 0x236], 0
jne 0x469004
xor esi, esi
jmp 0x469019
lea esi, [ebp - 0x24c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x469010
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.00413f70
add esp, 0xc
test eax, eax
jne 0x46929d
cmp ebx, esi
jb 0x46929d
ja 0x46929d
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004b9880
add esp, 0xc
mov dword [ebp - 0x30c], 0x103
mov byte [ebp - 0x11], 0
mov dl, 0x7e
mov dword [ebp - 0x250], 0xd173a7e
xor ecx, ecx
mov dword [ebp - 0x24c], 0x71f120e
mov dword [ebp - 0x248], 0x10111d37
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 0x4690ce
mov dl, byte [ebp - 0x250]
jmp 0x4690b0
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 0x46929d
mov eax, dword [ebp - 0x30c]
cmp eax, 0x104
jae 0x469298
mov byte [ebp + eax - 0x114], 0
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004c333f
add esp, 8
cmp eax, 0xffffffff
je 0x46923d
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jne 0x469162
xor ecx, ecx
jmp 0x469179
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469170
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.00409af0
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24c]
call fcn.0042a180
mov esi, eax
cmp edi, esi
je 0x4691df
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x4691ba
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004099a0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x4691d2
mov eax, dword [edi]
jmp 0x4691d4
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x238]
cmp eax, 0x10
jb 0x4691fd
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.004099a0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], 0
mov byte [ebp - 0x24c], 0
cmp eax, 0x10
jb 0x469236
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004099a0
mov ebx, 1
jmp 0x46923f
xor ebx, ebx
mov eax, dword [ebp - 0x268]
cmp eax, 0x10
jb 0x46925d
inc eax
lea ecx, [ebp - 0x27c]
push eax
push dword [ebp - 0x27c]
call fcn.004099a0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x268], 0xf
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x27c], 0
cmp eax, 0x10
jb 0x4692b5
inc eax
lea ecx, [ebp - 0x294]
push eax
push dword [ebp - 0x294]
call fcn.004099a0
jmp 0x4692b5
call fcn.004a0be5
lea ecx, [ebp - 0x27c]
call fcn.004095a0
lea ecx, [ebp - 0x294]
call fcn.004095a0
xor ebx, ebx
mov ecx, dword [ebp - 0x310]
test ecx, ecx
je 0x4692c6
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.004a0475
mov esp, ebp
pop ebp
ret 8