Function at 0x457320
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 0x5d48ed
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x68a140]
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 0x457445
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.00421610
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.00428f30
mov eax, esi
jmp 0x457594
cmp edx, 0xea
je 0x45748c
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.00455390
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45754b
xor esi, esi
nop dword [eax]
mov ecx, dword [ebp - 0x24]
shr eax, 1
cmp eax, ecx
ja 0x4574bf
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 0x4574cc
sub eax, ecx
lea ecx, [ebp - 0x34]
push 0
push eax
call fcn.004286f0
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 0x45750c
inc esi
cmp esi, 5
jge 0x4575b2
mov eax, dword [ebp - 0x1c]
jmp 0x4574a0
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.00455390
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.00428f30
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.00599e5b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebx + 8]
call fcn.00407bd0
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.00458130
push 0x6866b8
lea eax, [ebp - 0x14c]
push eax
call fcn.0059b61b
int3