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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4351d7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x4e0
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x424], edi
xor eax, eax
mov dword [ebp - 0x4c0], edi
xor ecx, ecx
mov dword [ebp - 4], 0
push ebx
cpuid
mov esi, ebx
pop ebx
lea edi, [ebp - 0x4b4]
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x4f0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x4b0]
add eax, dword [ebp - 0x4b4]
add eax, dword [ebp - 0x4ac]
add eax, dword [ebp - 0x4a8]
add eax, dword [ebp - 0x4b2]
add eax, dword [ebp - 0x4ae]
add eax, dword [ebp - 0x4aa]
add eax, dword [ebp - 0x4a6]
movzx eax, ax
inc eax
mov edx, eax
mov dword [ebp - 0x424], eax
call fcn.00402390
mov edi, dword [ebp - 0x498]
mov edx, eax
mov dword [ebp - 0x4a0], edx
mov byte [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x443a30]
movups xmmword [ebp - 0x4b8], xmm0
mov dword [ebp - 0x4a8], 0x2e06141d
mov byte [ebp - 0x4a4], 0
nop word [eax + eax]
mov al, byte [ebp - 0x4b8]
xor byte [ebp + ecx - 0x4b7], al
inc ecx
cmp ecx, 0x13
jb 0x4085d0
lea esi, [ebp - 0x4b7]
mov byte [ebp - 0x4a4], 0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4085f3
mov eax, dword [edx + 0x14]
sub esi, ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x498], eax
sub eax, ecx
mov dword [ebp - 0x4bc], ecx
cmp esi, eax
ja 0x4086f5
cmp dword [ebp - 0x498], 0x10
lea eax, [ecx + esi]
mov dword [edx + 0x10], eax
mov ecx, edx
mov dword [ebp - 0x49c], edx
jb 0x408637
mov ecx, dword [edx]
mov dword [ebp - 0x49c], ecx
lea eax, [ebp - 0x4b7]
add eax, esi
cmp eax, ecx
jbe 0x408689
mov eax, dword [ebp - 0x4bc]
lea edx, [ebp - 0x4b7]
add eax, ecx
cmp edx, eax
mov edx, dword [ebp - 0x4bc]
ja 0x40868f
lea eax, [ebp - 0x4b7]
cmp ecx, eax
ja 0x408671
mov dword [ebp - 0x498], 0
jmp 0x408695
lea edx, [ebp - 0x4b7]
mov eax, ecx
sub eax, edx
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x498], eax
jmp 0x408695
mov edx, dword [ebp - 0x4bc]
mov dword [ebp - 0x498], esi
lea eax, [edx + 1]
add ecx, esi
push eax
push dword [ebp - 0x49c]
push ecx
call fcn.00415bc0
add esp, 0xc
lea eax, [ebp - 0x4b7]
push dword [ebp - 0x498]
push eax
push dword [ebp - 0x49c]
call fcn.00415640
mov edx, dword [ebp - 0x498]
add esp, 0xc
mov ecx, dword [ebp - 0x49c]
mov eax, esi
sub eax, edx
add ecx, edx
push eax
lea eax, [edx + esi]
lea edx, [ebp - 0x4b7]
add eax, edx
push eax
push ecx
call fcn.00415640
mov eax, dword [ebp - 0x4a0]
add esp, 0xc
jmp 0x408713
push esi
lea eax, [ebp - 0x4b7]
mov byte [ebp - 0x4a0], 0
push eax
push ecx
push dword [ebp - 0x4a0]
mov ecx, edx
push esi
call fcn.00410980
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4d8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x4d8]
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x498], eax
cmp ecx, 0x10
jb 0x408789
mov esi, dword [ebp - 0x4d8]
inc ecx
mov dword [ebp - 0x498], esi
mov edx, esi
cmp ecx, 0x1000
jb 0x40877f
mov edx, dword [esi - 4]
mov eax, esi
sub eax, edx
add ecx, 0x23
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d8c
push ecx
push edx
call fcn.004143ed
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4dc]
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0xf
mov byte [ebp - 0x4d8], 0
cmp edx, 0x10
jb 0x4087e2
mov ecx, dword [ebp - 0x4f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4087d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d8c
push edx
push ecx
call fcn.004143ed
add esp, 8
push 0x400
lea eax, [ebp - 0x420]
mov dword [ebp - 0x4e0], 0
push 0
push eax
mov dword [ebp - 0x4dc], 0xf
mov byte [ebp - 0x4f0], 0
call fcn.00416150
mov edx, dword [ebp - 0x424]
lea ecx, [ebp - 0x4b8]
add esp, 0xc
shr edx, 1
call fcn.00402390
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x408830
mov esi, dword [esi]
lea eax, [ebp - 0x49c]
mov dword [ebp - 0x428], 0x400
push eax
push 1
push 0
push dword [ebp - 0x498]
mov dword [ebp - 0x424], 3
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408898
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push esi
push dword [ebp - 0x49c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40889e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x4a4]
cmp edx, 0x10
jb 0x4088d8
mov ecx, dword [ebp - 0x4b8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4088ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d91
push edx
push ecx
call fcn.004143ed
add esp, 8
mov edx, dword [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x420]
lea edx, [edx - 1]
call fcn.004053a0
add esp, 4
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x488]
push 0x44387c
push eax
call fcn.00405190
add esp, 0xc
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
push eax
call fcn.0041c522
mov ecx, eax
add esp, 4
mov eax, 0x55555556
mov dword [ebp - 0x424], ecx
imul ecx
lea ecx, [ebp - 0x470]
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, eax
call fcn.004022e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x458]
mov eax, dword [ebp - 0x424]
cdq
and edx, 3
add eax, edx
sar eax, 2
cdq
xor eax, edx
sub eax, edx
mov edx, eax
call fcn.004022e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x458]
cmp dword [ebp - 0x444], 0x10
lea ecx, [ebp - 0x498]
push ecx
cmovae eax, dword [ebp - 0x458]
cmp dword [ebp - 0x45c], 0x10
mov dword [ebp - 0x4a0], eax
lea eax, [ebp - 0x470]
cmovae eax, dword [ebp - 0x470]
push 1
push 0
push eax
push 0x80000001
mov dword [ebp - 0x428], 0x400
mov dword [ebp - 0x424], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4089fd
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push dword [ebp - 0x4a0]
push dword [ebp - 0x498]
call esi
push dword [ebp - 0x498]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x420]
lea edx, [edx - 1]
call fcn.004053a0
add esp, 4
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x440]
push 0x44387c
push eax
call fcn.00405190
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x440]
mov esi, dword [ebp - 0x42c]
cmp esi, 0x10
mov edx, dword [ebp - 0x430]
cmovae ecx, dword [ebp - 0x440]
push 1
push 0x443880
push 0
call fcn.0040ef30
add esp, 0xc
cmp eax, 0xffffffff
je 0x408bc9
mov dword [edi + 0x10], 0
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
push 0x44367b
mov byte [edi], 0
call fcn.0040c5e0
mov edx, dword [ebp - 0x42c]
cmp edx, 0x10
jb 0x408ac3
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408ab9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d96
push edx
push ecx
call fcn.004143ed
add esp, 8
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
cmp edx, 0x10
jb 0x408b18
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d96
push edx
push ecx
call fcn.004143ed
add esp, 8
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
cmp edx, 0x10
jb 0x408b6d
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d96
push edx
push ecx
call fcn.004143ed
add esp, 8
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
cmp edx, 0x10
jb 0x408bc2
mov ecx, dword [ebp - 0x488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408bb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d96
push edx
push ecx
call fcn.004143ed
add esp, 8
mov eax, edi
jmp 0x408d6e
mov edx, dword [ebp - 0x430]
lea ecx, [ebp - 0x440]
push 1
cmp esi, 0x10
push 0x443884
cmovae ecx, dword [ebp - 0x440]
push 0
call fcn.0040ef30
add esp, 0xc
mov dword [edi + 0x10], 0
cmp eax, 0xffffffff
jne 0x408a71
movups xmm0, xmmword [ebp - 0x440]
mov edx, dword [ebp - 0x444]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x440], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x430]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
cmp edx, 0x10
jb 0x408c73
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408c69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d96
push edx
push ecx
call fcn.004143ed
add esp, 8
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
cmp edx, 0x10
jb 0x408cc8
mov ecx, dword [ebp - 0x470]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408cbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d96
push edx
push ecx
call fcn.004143ed
add esp, 8
mov edx, dword [ebp - 0x474]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
cmp edx, 0x10
jb 0x408bc2
mov ecx, dword [ebp - 0x488]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408bb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d96
jmp 0x408bb8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00413f5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0041cfb6
call fcn.0041cfb6
call fcn.0041cfb6
int3