Function at 0x4578d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d496d
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x68a140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0xac], eax
mov edi, ecx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xa8], edi
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x24], 0
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x80
push ecx
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x4579a7
push dword [ebp - 0x20]
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00440b40
mov ecx, dword [ebp - 0x1c]
mov eax, edi
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [edi], ecx
mov ecx, dword [ebp - 0x24]
mov dword [edi + 4], edx
mov dword [edi + 8], esi
mov dword [edi + 0xc], ecx
jmp 0x457aff
cmp edx, 0xea
je 0x4579ee
mov eax, dword [ebp + 8]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, esp
mov dword [ebp - 0xb0], ecx
mov ecx, edx
mov dword [ebp - 0xbc], str.Cannot_query_registry_value_size
mov dword [ebp - 0xb8], 0
movups xmm0, xmmword [ebp - 0xbc]
movups xmmword [eax], xmm0
call fcn.00455390
add esp, 0x10
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x457a13
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov eax, edi
jmp 0x457aff
xor edi, edi
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, dword [ebp - 0x1c]
sub edx, ecx
mov dword [ebp - 0xa8], eax
cmp esi, edx
jae 0x457a2e
lea eax, [ecx + esi]
jmp 0x457a66
jbe 0x457a69
mov eax, dword [ebp - 0x14]
sub eax, ecx
cmp esi, eax
jbe 0x457a48
push ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.00440e80
mov ecx, dword [ebp - 0x1c]
jmp 0x457a69
sub esi, edx
push esi
push 0
push dword [ebp - 0xa8]
call fcn.0059bcc0
mov eax, dword [ebp - 0xa8]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
add eax, esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0xac]
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp edx, 0xea
jne 0x457aa1
inc edi
cmp edi, 5
jge 0x457b1a
mov esi, dword [ebp - 0x20]
jmp 0x457a15
mov eax, dword [ebp + 8]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, esp
mov dword [ebp - 0xb0], ecx
mov ecx, edx
mov dword [ebp - 0xbc], str.Cannot_query_registry_value_data
mov dword [ebp - 0xb8], 0
movups xmm0, xmmword [ebp - 0xbc]
movups xmmword [eax], xmm0
call fcn.00455390
mov esi, dword [ebp - 0xc0]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599e5b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
call fcn.00407bd0
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xbc]
lea eax, [ebp - 0xac]
push eax
push 0x3e
push str.Cannot_query_registry_data_due_to__value_changed_too_often
call fcn.00458130
push 0x6866b8
lea eax, [ebp - 0xbc]
push eax
call fcn.0059b61b
int3