Function at 0x456190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xd4]
sub esp, 0xd4
push 0xffffffffffffffff
push 0x648b4b
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
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 0x678e18
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x4561f8
mov ecx, dword [0x75dbe4]
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 [0x75f494]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
test eax, eax
je 0x456253
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x34]
push ecx
push ebx
push ebx
mov edx, dword [0x75f494]
push edx
mov eax, dword [0x75dbe4]
push eax
call esi
test eax, eax
je 0x456253
mov ecx, dword [str.default]
mov dword [ebp + 0x34], ecx
mov edx, dword [0x6842b8]
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 [0x75f498]
push edx
mov eax, dword [ebp - 0x18]
push eax
call esi
test eax, eax
je 0x4562a2
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0x68]
push edx
push ebx
push ebx
mov eax, dword [0x75f498]
push eax
mov ecx, dword [0x75dbe4]
push ecx
call esi
test eax, eax
je 0x4562a2
mov edx, dword [str.default]
mov dword [ebp + 0x68], edx
mov eax, dword [0x6842b8]
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 [0x75f49c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call esi
test eax, eax
je 0x4562fd
mov dword [ebp - 0x14], edi
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp + 0x9c]
push eax
push ebx
push ebx
mov ecx, dword [0x75f49c]
push ecx
mov edx, dword [0x75dbe4]
push edx
call esi
test eax, eax
je 0x4562fd
mov eax, dword [str.default]
mov dword [ebp + 0x9c], eax
mov ecx, dword [0x6842b8]
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 [0x75f490]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call esi
test eax, eax
je 0x456372
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
push ecx
push ebx
push ebx
mov edx, dword [0x75f490]
push edx
mov eax, dword [0x75dbe4]
push eax
call esi
test eax, eax
je 0x456372
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x75dbe4]
je 0x45634d
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.0062016f
add ebp, 0xd4
mov esp, ebp
pop ebp
ret
push 0x558
call fcn.005f43f8
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x456395
mov ecx, eax
call fcn.0051cac0
mov esi, eax
jmp 0x456397
xor esi, esi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x34]
push ecx
mov ecx, esi
call fcn.0051cd00
lea edx, [ebp + 0x68]
push edx
mov ecx, esi
call fcn.0051cd30
lea eax, [ebp + 0x9c]
push eax
mov ecx, esi
call fcn.0051cd60
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.0051cd90
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x198]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.0051f0c0
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x75dbe4]
je 0x4563ee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
jmp 0x45634d