Function at 0x46a080
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee3c2
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x52910c]
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 [0x50e920]
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 [0x50e900]
movups xmmword [ebp - 0x2f4], xmm0
mov dword [ebp - 0x30c], ebx
movaps xmm0, xmmword [0x50e910]
movups xmmword [ebp - 0x2e4], xmm0
mov dword [ebp - 0x2d4], 0x36363b2e
mov word [ebp - 0x2d0], 6
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 0x46a110
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.004bac20
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 0x46a1dc
lea ecx, [ebp - 0x294]
call fcn.004095a0
jmp 0x46a655
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bac20
mov dword [ebp - 0x230], 0x57406535
mov bh, 0x50
mov al, 0x65
mov byte [ebp - 0x305], bh
xor al, byte [ebp - 0x230]
mov bh, 0x47
mov byte [ebp - 0x225], al
add esp, 0xc
mov al, byte [ebp - 0x230]
mov cl, 0x40
xor cl, al
mov byte [ebp - 0x306], bh
mov bh, byte [ebp - 0x305]
mov dl, 0x57
xor dl, al
mov dword [ebp - 0x30c], 0x103
xor bh, al
mov byte [ebp - 0x115], 0
mov ah, 0x5c
mov dword [ebp - 0x22c], 0x5d465c59
xor ah, al
mov word [ebp - 0x228], 0x4750
mov ch, 0x46
mov byte [ebp - 0x221], ah
xor ch, al
mov byte [ebp - 0x226], 0
mov dh, 0x5d
mov byte [ebp - 0x224], cl
xor dh, al
mov byte [ebp - 0x223], dl
mov bl, 0x59
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 0x46a648
mov dword [ebp - 0x268], 0xf
mov dword [ebp - 0x26c], 0
mov byte [ebp - 0x27c], al
cmp byte [ebp - 0x218], al
jne 0x46a306
xor ecx, ecx
jmp 0x46a319
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a310
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 [0x50ea60]
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x254], 0x5251565e
mov dword [ebp - 0x250], 0x4b515a
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 0x46a360
cmp byte [ebp - 0x24c], 0
mov byte [ebp - 0x236], 0
jne 0x46a3a4
xor esi, esi
jmp 0x46a3b9
lea esi, [ebp - 0x24c]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x46a3b0
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 0x46a63d
cmp ebx, esi
jb 0x46a63d
ja 0x46a63d
push 0x104
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004bac20
add esp, 0xc
mov dword [ebp - 0x30c], 0x103
mov byte [ebp - 0x11], 0
mov dl, 0x3b
mov dword [ebp - 0x250], 0x48527f3b
xor ecx, ecx
mov dword [ebp - 0x24c], 0x425a574b
mov dword [ebp - 0x248], 0x55545872
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 0x46a46e
mov dl, byte [ebp - 0x250]
jmp 0x46a450
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 0x46a63d
mov eax, dword [ebp - 0x30c]
cmp eax, 0x104
jae 0x46a638
mov byte [ebp + eax - 0x114], 0
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004c46e4
add esp, 8
cmp eax, 0xffffffff
je 0x46a5dd
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jne 0x46a502
xor ecx, ecx
jmp 0x46a519
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a510
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 0x46a57f
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x46a55a
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 0x46a572
mov eax, dword [edi]
jmp 0x46a574
mov eax, edi
push esi
mov ecx, edi
mov byte [eax], 0
call fcn.00407660
mov eax, dword [ebp - 0x238]
cmp eax, 0x10
jb 0x46a59d
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 0x46a5d6
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004099a0
mov ebx, 1
jmp 0x46a5df
xor ebx, ebx
mov eax, dword [ebp - 0x268]
cmp eax, 0x10
jb 0x46a5fd
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 0x46a655
inc eax
lea ecx, [ebp - 0x294]
push eax
push dword [ebp - 0x294]
call fcn.004099a0
jmp 0x46a655
call fcn.004a1fa4
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 0x46a666
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.004a1845
mov esp, ebp
pop ebp
ret 8