Function at 0x457550
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 0x5d304d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x689140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x13c], eax
mov edi, ecx
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
xor ecx, ecx
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x1c], 0x100
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push dword [ebx + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x457675
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x34]
shr esi, 1
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x138]
push esi
cmova edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
cmova edx, dword [ebp - 0x34]
sub edi, edx
push eax
sar edi, 1
push edi
call fcn.00421660
mov esi, dword [ebp - 0x150]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [esi + 0x14], 0
mov word [ebp - 0x34], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
call fcn.00428f60
mov eax, esi
jmp 0x4577c4
cmp edx, 0xea
je 0x4576bc
mov eax, dword [ebx + 8]
sub esp, 0x10
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x144], eax
mov eax, esp
mov dword [ebp - 0x140], ecx
mov ecx, edx
mov dword [ebp - 0x14c], str.Cannot_query_registry_value_size
mov dword [ebp - 0x148], 0
movups xmm0, xmmword [ebp - 0x14c]
movups xmmword [eax], xmm0
call fcn.004555c0
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45777b
xor esi, esi
nop dword [eax]
mov ecx, dword [ebp - 0x24]
shr eax, 1
cmp eax, ecx
ja 0x4576ef
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], eax
cmova ecx, dword [ebp - 0x34]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x4576fc
sub eax, ecx
lea ecx, [ebp - 0x34]
push 0
push eax
call fcn.00428730
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x13c]
push 0
push dword [ebx + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp edx, 0xea
jne 0x45773c
inc esi
cmp esi, 5
jge 0x4577e2
mov eax, dword [ebp - 0x1c]
jmp 0x4576d0
mov eax, dword [ebx + 8]
sub esp, 0x10
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x144], eax
mov eax, esp
mov dword [ebp - 0x140], ecx
mov ecx, edx
mov dword [ebp - 0x14c], str.Cannot_query_registry_value_data
mov dword [ebp - 0x148], 0
movups xmm0, xmmword [ebp - 0x14c]
movups xmmword [eax], xmm0
call fcn.004555c0
add esp, 0x10
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x18]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov dword [edi + 0x18], eax
call fcn.00428f60
mov eax, edi
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.0059860b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebx + 8]
call fcn.00407c10
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x14c]
lea eax, [ebp - 0x13c]
push eax
push 0x3e
push str.Cannot_query_registry_data_due_to__value_changed_too_often
call fcn.00458360
push 0x685890
lea eax, [ebp - 0x14c]
push eax
call fcn.00599dcb
int3