Function at 0x412b80
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 0x509fb0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x258
mov eax, dword [0x546330]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x254], esi
xorps xmm0, xmm0
push 0
push 0x5339bc
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
call fcn.00405590
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x258], ecx
cmp ecx, 0x104
jb 0x412c44
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov dword [ebp - 0x228], 0x104
cmovae eax, dword [ebp - 0x238]
xor ecx, ecx
mov word [eax + 0x208], cx
jmp 0x412cb9
mov edi, dword [ebp - 0x224]
mov edx, 0x104
mov eax, edi
sub edx, ecx
sub eax, ecx
cmp edx, eax
ja 0x412ca4
cmp edi, 8
mov dword [ebp - 0x228], 0x104
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
mov dword [ebp - 0x25c], eax
lea edi, [eax + ecx*2]
test edx, edx
je 0x412c93
xor eax, eax
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp - 0x258]
lea eax, [ecx + edx]
mov ecx, dword [ebp - 0x25c]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x412cb9
push 0
push edx
push dword [ebp - 0x254]
lea ecx, [ebp - 0x238]
push edx
call fcn.00414720
mov edx, dword [ebp - 0x260]
lea ecx, [ebp - 0x238]
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x224], 8
mov dword [ebp - 0x254], eax
lea eax, [edx + 0x68]
cmovae ecx, dword [ebp - 0x238]
cmp dword [eax + 0x14], 8
jb 0x412cea
mov eax, dword [eax]
lea edi, [ebp - 0x254]
push edi
push ecx
push 0
push str.Channel
push eax
push dword [edx + 0x64]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [ebp - 0x224]
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 0x228]
cmp edi, 8
cmovae edx, dword [ebp - 0x238]
test eax, eax
je 0x412d5d
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0
lea eax, [edx + ecx*2]
jne 0x412d43
cmp eax, edx
je 0x412d5d
sub eax, 2
cmp word [eax], 0
je 0x412d36
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x412d5d
push 0
inc eax
lea ecx, [ebp - 0x238]
push eax
call fcn.00413eb0
jmp 0x412d7c
cmp edi, 8
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x250]
call fcn.004051b0
mov ecx, dword [ebp - 0x23c]
cmp ecx, 8
jb 0x412dce
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412dc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412ecc
push ecx
push edx
call fcn.004bd6ef
add esp, 8
cmp dword [ebp - 0x228], 0
je 0x412e07
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x238]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x228]
movq qword [esi + 0x10], xmm0
jmp 0x412eaa
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004e2580
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0x69
push 0
call dword [sym.imp.USER32.dll_LoadStringW]
xorps xmm0, xmm0
lea ecx, [ebp - 0x220]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edx, [ecx + 2]
mov dword [esi + 0x14], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412e50
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00405590
mov ecx, dword [ebp - 0x224]
cmp ecx, 8
jb 0x412eaa
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412ea0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412ecc
push ecx
push edx
call fcn.004bd6ef
add esp, 8
mov eax, esi
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.004bd6ac
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.004e61e1
int3