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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecc72
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 [0x50ca10]
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 [0x50ca60]
movups xmmword [ebp - 0x2f4], xmm0
mov dword [ebp - 0x30c], ebx
movaps xmm0, xmmword [0x50ca30]
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d4], 0x21212c39
mov word [ebp - 0x2d0], 0x11
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 0x468dd0
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.004b98e0
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 0x468e9c
lea ecx, [ebp - 0x294]
call fcn.004095a0
jmp 0x469315
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b98e0
mov dword [ebp - 0x230], 0x6e795c0c
mov bh, 0x69
mov al, 0x5c
mov byte [ebp - 0x305], bh
xor al, byte [ebp - 0x230]
mov bh, 0x7e
mov byte [ebp - 0x225], al
add esp, 0xc
mov al, byte [ebp - 0x230]
mov cl, 0x79
xor cl, al
mov byte [ebp - 0x306], bh
mov bh, byte [ebp - 0x305]
mov dl, 0x6e
xor dl, al
mov dword [ebp - 0x30c], 0x103
xor bh, al
mov byte [ebp - 0x115], 0
mov ah, 0x65
mov dword [ebp - 0x22c], 0x647f6560
xor ah, al
mov word [ebp - 0x228], 0x7e69
mov ch, 0x7f
mov byte [ebp - 0x221], ah
xor ch, al
mov byte [ebp - 0x226], 0
mov dh, 0x64
mov byte [ebp - 0x224], cl
xor dh, al
mov byte [ebp - 0x223], dl
mov bl, 0x60
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 0x469308
mov dword [ebp - 0x268], 0xf
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x27c], al
cmp byte [ebp - 0x218], al
jne 0x468fc6
xor ecx, ecx
jmp 0x468fd9
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x468fd0
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 [0x50c940]
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x254], 0x3a393e36
mov dword [ebp - 0x250], 0x233932
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 0x469020
cmp byte [ebp - 0x24c], 0
mov byte [ebp - 0x236], 0
jne 0x469064
xor esi, esi
jmp 0x469079
lea esi, [ebp - 0x24c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x469070
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 0x4692fd
cmp ebx, esi
jb 0x4692fd
ja 0x4692fd
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004b98e0
add esp, 0xc
mov dword [ebp - 0x30c], 0x103
mov byte [ebp - 0x11], 0
mov dl, 0x76
mov dword [ebp - 0x250], 0x51f3276
xor ecx, ecx
mov dword [ebp - 0x24c], 0xf171a06
mov dword [ebp - 0x248], 0x1819153f
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 0x46912e
mov dl, byte [ebp - 0x250]
jmp 0x469110
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 0x4692fd
mov eax, dword [ebp - 0x30c]
cmp eax, 0x104
jae 0x4692f8
mov byte [ebp + eax - 0x114], 0
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004c339f
add esp, 8
cmp eax, 0xffffffff
je 0x46929d
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jne 0x4691c2
xor ecx, ecx
jmp 0x4691d9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4691d0
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 0x46923f
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x46921a
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 0x469232
mov eax, dword [edi]
jmp 0x469234
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x238]
cmp eax, 0x10
jb 0x46925d
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 0x469296
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004099a0
mov ebx, 1
jmp 0x46929f
xor ebx, ebx
mov eax, dword [ebp - 0x268]
cmp eax, 0x10
jb 0x4692bd
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 0x469315
inc eax
lea ecx, [ebp - 0x294]
push eax
push dword [ebp - 0x294]
call fcn.004099a0
jmp 0x469315
call fcn.004a0c45
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 0x469326
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.004a04d5
mov esp, ebp
pop ebp
ret 8