Function at 0x41a460
Capabilities:
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 0x50890b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x460
mov eax, dword [0x566040]
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, edx
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x458]
push 0x2d
xorps xmm0, xmm0
mov dword [ebp - 0x448], 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
movups xmmword [ebp - 0x458], xmm0
mov dword [ebp - 0x444], 0
call fcn.00416e10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x458]
cmp dword [ebp - 0x444], 7
mov dword [ebp - 0x460], 0
cmova eax, dword [ebp - 0x458]
sub esp, 8
push 0xf003f
sub esp, 8
push eax
push ecx
lea ecx, [ebp - 0x470]
call fcn.00417330
mov edi, dword [ebp - 0x470]
test eax, eax
jne 0x41a6e2
push 0x410
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.004d8410
add esp, 0xc
cmp dword [esi + 0x14], 7
jbe 0x41a55e
mov esi, dword [esi]
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x45c], 0x410
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x464]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a6e2
mov eax, dword [ebp - 0x464]
cmp eax, 1
je 0x41a5a3
cmp eax, 2
jne 0x41a6e2
mov ecx, dword [ebp - 0x45c]
test ecx, ecx
je 0x41a5ca
test cl, 1
jne 0x41a6e2
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x42a], 0
je 0x41a5d3
jmp 0x41a6e2
xor eax, eax
mov word [ebp - 0x428], ax
shr ecx, 1
je 0x41a6e2
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x440], xmm0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a602
sub ecx, edx
lea eax, [ebp - 0x428]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00416e10
mov edx, dword [ebp - 0x430]
test edx, edx
jne 0x41a66c
mov ecx, dword [ebp - 0x42c]
cmp ecx, 7
jbe 0x41a6e2
mov edx, dword [ebp - 0x440]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a668
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a7b5
push ecx
push edx
jmp 0x41a6da
cmp dword [0x571bcc], 7
lea ecx, [ebp - 0x440]
push dword [0x571bc8]
mov esi, dword [ebp - 0x440]
mov eax, 0x571bb8
cmova eax, dword [0x571bb8]
cmp dword [ebp - 0x42c], 7
push eax
cmova ecx, esi
call fcn.0041bbd0
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x42c]
je 0x41a729
cmp eax, 7
jbe 0x41a6e2
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x41a6d8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a7b5
push ecx
push esi
call fcn.004d37a1
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x41a6f1
push edi
call esi
xor edi, edi
mov ecx, dword [ebp - 0x444]
cmp ecx, 7
jbe 0x41a768
mov edx, dword [ebp - 0x458]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41a75e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a7b0
jmp 0x41a75e
mov dword [ebp - 0x460], 1
cmp eax, 7
jbe 0x41a6e2
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x41a6d8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a7b5
jmp 0x41a6d8
push ecx
push edx
call fcn.004d37a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 7
mov word [ebp - 0x458], ax
test edi, edi
je 0x41a78c
push edi
call esi
mov eax, dword [ebp - 0x460]
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.004d378e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2f6c
call fcn.004e2f6c
int3