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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3aa7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x659bc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 0x1e0], esi
xor edx, edx
cmp dword [0x665d98], 2
movups xmm0, xmmword [str.fyqlniyaip]
mov ax, word [0x64a558]
mov word [ebp - 0x194], ax
mov al, byte [0x64a55a]
movups xmmword [ebp - 0x1bc], xmm0
mov byte [ebp - 0x192], al
movups xmm0, xmmword [0x64a540]
mov dword [ebp - 0x1d8], edx
movups xmmword [ebp - 0x1ac], xmm0
movq xmm0, qword [0x64a550]
movq qword [ebp - 0x19c], xmm0
jl 0x462b96
movaps xmm0, xmmword [0x64a720]
lea edi, [ebp - 0x1b8]
movaps xmm4, xmmword [0x64a650]
movaps xmm3, xmmword [0x64a6f0]
movaps xmm5, xmmword [0x64a670]
movaps xmmword [ebp - 0x200], xmm0
mov ecx, dword [ebp - 0x200]
nop word [eax + eax]
movd xmm0, edx
lea eax, [edx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [ebp + edx - 0x1bc]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + edx - 0x1bc], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, ecx
paddb xmm1, xmm0
movd xmm0, dword [edi + edx]
xorps xmm1, xmm0
movd dword [edi + edx], xmm1
add edx, 8
cmp edx, 0x28
jl 0x462a90
mov dword [ebp - 0x1d8], edx
cmp edx, 0x2b
jge 0x462bcc
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1d8]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1bc], cl
inc edx
mov dword [ebp - 0x1d8], edx
cmp edx, 0x2b
jl 0x462b96
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x1bc]
mov dword [ebp - 0x11c], 0
movups xmmword [ebp - 0x130], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462bf3
sub ecx, edx
lea eax, [ebp - 0x1bc]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00472fb0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x130]
cmp dword [ebp - 0x11c], 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x148], xmm0
cmova edx, dword [ebp - 0x130]
mov ecx, edx
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462c50
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x148]
call fcn.00472fb0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x11c]
cmp ecx, 0xf
jbe 0x462ca4
mov edx, dword [ebp - 0x130]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462c9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46321f
push ecx
push edx
call fcn.005ce99e
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1c4], 0
movups xmmword [ebp - 0x1d4], xmm0
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
mov dword [ebp - 0x1fc], 0
mov dword [ebp - 0x1f8], 0
mov dword [ebp - 0x1f4], 0
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x134], 0xf
lea eax, [ebp - 0x148]
push ecx
cmova eax, dword [ebp - 0x148]
push 0x20019
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4631f3
mov dword [ebp - 0x1e4], eax
xor edx, edx
mov ax, word [0x64a3c0]
mov word [ebp - 0x1d8], ax
mov al, byte [0x64a3c2]
mov byte [ebp - 0x1d6], al
mov dword [ebp - 0x1dc], edx
nop word [eax + eax]
mov eax, 0x29e4129f
mul edx
mov eax, dword [ebp - 0x1dc]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x1dc]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x37
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x1d8], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 3
jl 0x462d50
xorps xmm0, xmm0
mov dword [ebp - 0x168], 0
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x164], 0
movups xmmword [ebp - 0x178], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462db3
sub ecx, edx
lea eax, [ebp - 0x1d8]
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.00472fb0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x178]
cmp dword [ebp - 0x164], 0xf
cmova edx, dword [ebp - 0x178]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x462df0
sub ecx, edi
mov eax, accept
mov edi, dword [ebp - 0x138]
sub eax, edi
cmp eax, ecx
jb 0x46324d
cmp dword [ebp - 0x134], 0xf
lea eax, [ebp - 0x148]
push ecx
cmova eax, dword [ebp - 0x148]
push edx
push edi
push eax
push ecx
push dword [ebp - 0x1e8]
lea ecx, [ebp - 0x160]
call fcn.00474bd0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x164]
cmp ecx, 0xf
jbe 0x462e76
mov edx, dword [ebp - 0x178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x462e6c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4631e3
push ecx
push edx
call fcn.005ce99e
add esp, 8
cmp dword [ebp - 0x14c], 0xf
lea ecx, [ebp - 0x1e0]
lea eax, [ebp - 0x160]
cmova eax, dword [ebp - 0x160]
push ecx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4631b7
push 0xff
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x1e4], 0xff
push eax
call sub.VCRUNTIME140.dll_memset
movq xmm0, qword [str.XDLXVWlJW_Y_T_WI_]
add esp, 0xc
cmp byte [0x64a11f], 0
mov eax, dword [0x64a11c]
movq qword [ebp - 0x124], xmm0
mov dword [ebp - 0x11c], eax
je 0x46303a
xor edx, edx
cmp dword [0x665d98], 2
mov dword [ebp - 0x1dc], edx
jl 0x463004
movaps xmm2, xmmword [0x64a650]
mov edx, 8
movaps xmm4, xmmword [0x64a6f0]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
mov eax, dword [0x64a720]
movaps xmm0, xmm1
mov dword [ebp - 0x1dc], edx
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a670]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x64a660]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [str.XDLXVWlJW_Y_T_WI_]
xorps xmm1, xmm0
movaps xmm0, xmm2
movd dword [ebp - 0x124], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x64a670]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x64a6d0]
packuswb xmm1, xmm1
movd xmm0, eax
paddb xmm1, xmm0
movd xmm0, dword [ebp - 0x120]
xorps xmm1, xmm0
movd dword [ebp - 0x120], xmm1
mov eax, 0x94f2095
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1dc]
movsx eax, al
mov cl, dl
imul eax, eax, 0x37
sub cl, al
add cl, 0x35
xor byte [ebp + edx - 0x124], cl
inc edx
mov dword [ebp - 0x1dc], edx
cmp edx, 0xc
jl 0x463004
xorps xmm0, xmm0
mov dword [ebp - 0x180], 0
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x17c], 0
movups xmmword [ebp - 0x190], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463061
sub ecx, edx
lea eax, [ebp - 0x124]
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.00472fb0
cmp dword [ebp - 0x17c], 0xf
lea ecx, [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x118]
push ecx
push 0
lea eax, [ebp - 0x190]
cmova eax, dword [ebp - 0x190]
push 0
push eax
push dword [ebp - 0x1e0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x17c]
mov edi, eax
cmp ecx, 0xf
jbe 0x4630ee
mov edx, dword [ebp - 0x190]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4630e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4630e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce99e
add esp, 8
test edi, edi
jne 0x4631b7
xorps xmm0, xmm0
lea ecx, [ebp - 0x118]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], edi
lea edx, [ecx + 1]
mov dword [esi + 0x14], edi
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463110
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
mov ecx, esi
call fcn.00472fb0
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x463162
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x463158
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4631e3
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], 0
cmp ecx, 0xf
jbe 0x4631b3
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4631a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4631e3
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov eax, esi
jmp 0x46322f
mov ecx, dword [ebp - 0x14c]
cmp ecx, 0xf
jbe 0x4631f3
mov edx, dword [ebp - 0x160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4631e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4631e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x46322f
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x463225
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x463225
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005ce99e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ce5ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00447700
int3