Function at 0x458570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xd4]
sub esp, 0xd4
push 0xffffffffffffffff
push 0x63c1eb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x7496c8]
xor eax, ebp
mov dword [ebp + 0xd0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
push 1
push ebx
push 0x66ae08
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4585d8
mov ecx, dword [0x74ea0c]
mov dword [ebp - 0x18], ecx
mov edi, 0x32
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x34]
push eax
push ebx
push ebx
mov ecx, dword [0x75027c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
je 0x458633
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x34]
push ecx
push ebx
push ebx
mov edx, dword [0x75027c]
push edx
mov eax, dword [0x74ea0c]
push eax
call esi
test eax, eax
je 0x458633
mov ecx, dword [str.default]
mov dword [ebp + 0x34], ecx
mov edx, dword [0x676494]
mov dword [ebp + 0x38], edx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x68]
push ecx
push ebx
push ebx
mov edx, dword [0x750280]
push edx
mov eax, dword [ebp - 0x18]
push eax
call esi
test eax, eax
je 0x458682
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x68]
push edx
push ebx
push ebx
mov eax, dword [0x750280]
push eax
mov ecx, dword [0x74ea0c]
push ecx
call esi
test eax, eax
je 0x458682
mov edx, dword [str.default]
mov dword [ebp + 0x68], edx
mov eax, dword [0x676494]
mov dword [ebp + 0x6c], eax
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x9c]
push edx
push ebx
push ebx
mov eax, dword [0x750284]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call esi
test eax, eax
je 0x4586dd
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x9c]
push eax
push ebx
push ebx
mov ecx, dword [0x750284]
push ecx
mov edx, dword [0x74ea0c]
push edx
call esi
test eax, eax
je 0x4586dd
mov eax, dword [str.default]
mov dword [ebp + 0x9c], eax
mov ecx, dword [0x676494]
mov dword [ebp + 0xa0], ecx
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp]
push eax
push ebx
push ebx
mov ecx, dword [0x750278]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call esi
test eax, eax
je 0x458752
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push ebx
push ebx
mov edx, dword [0x750278]
push edx
mov eax, dword [0x74ea0c]
push eax
call esi
test eax, eax
je 0x458752
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x74ea0c]
je 0x45872d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xd0]
xor ecx, ebp
call fcn.00613241
add ebp, 0xd4
mov esp, ebp
pop ebp
ret
push 0x558
call fcn.005e7678
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x458775
mov ecx, eax
call fcn.00514440
mov esi, eax
jmp 0x458777
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x34]
push ecx
mov ecx, esi
call fcn.00514680
lea edx, [ebp + 0x68]
push edx
mov ecx, esi
call fcn.005146b0
lea eax, [ebp + 0x9c]
push eax
mov ecx, esi
call fcn.005146e0
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.00514710
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x198]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.00516440
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x74ea0c]
je 0x4587ce
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
jmp 0x45872d