Function at 0x452680
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xd4]
sub esp, 0xd4
push 0xffffffffffffffff
push 0x64080b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x74f8a0]
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 0x66fe18
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4526e8
mov ecx, dword [0x754bec]
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 [0x75645c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
je 0x452743
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x34]
push ecx
push ebx
push ebx
mov edx, dword [0x75645c]
push edx
mov eax, dword [0x754bec]
push eax
call esi
test eax, eax
je 0x452743
mov ecx, dword [str.default]
mov dword [ebp + 0x34], ecx
mov edx, dword [0x67af28]
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 [0x756460]
push edx
mov eax, dword [ebp - 0x18]
push eax
call esi
test eax, eax
je 0x452792
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x68]
push edx
push ebx
push ebx
mov eax, dword [0x756460]
push eax
mov ecx, dword [0x754bec]
push ecx
call esi
test eax, eax
je 0x452792
mov edx, dword [str.default]
mov dword [ebp + 0x68], edx
mov eax, dword [0x67af28]
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 [0x756464]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call esi
test eax, eax
je 0x4527ed
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x9c]
push eax
push ebx
push ebx
mov ecx, dword [0x756464]
push ecx
mov edx, dword [0x754bec]
push edx
call esi
test eax, eax
je 0x4527ed
mov eax, dword [str.default]
mov dword [ebp + 0x9c], eax
mov ecx, dword [0x67af28]
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 [0x756458]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call esi
test eax, eax
je 0x452862
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push ebx
push ebx
mov edx, dword [0x756458]
push edx
mov eax, dword [0x754bec]
push eax
call esi
test eax, eax
je 0x452862
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x754bec]
je 0x45283d
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.0061807e
add ebp, 0xd4
mov esp, ebp
pop ebp
ret
push 0x558
call fcn.005ec308
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x452885
mov ecx, eax
call fcn.005173f0
mov esi, eax
jmp 0x452887
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x34]
push ecx
mov ecx, esi
call fcn.00517630
lea edx, [ebp + 0x68]
push edx
mov ecx, esi
call fcn.00517660
lea eax, [ebp + 0x9c]
push eax
mov ecx, esi
call fcn.00517690
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.005176c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x198]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.005193f0
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x754bec]
je 0x4528de
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
jmp 0x45283d