Function at 0x456a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9580
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x672014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor bl, bl
mov byte [ebp - 0x11], bl
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
lea ecx, [eax - 0x10]
mov edi, dword [ecx]
cmp dword [ecx + 4], 0
je 0x456b69
lea edx, [ecx + 0xc]
cmp dword [edx], 0
jge 0x456afc
cmp dword [eax - 8], 0
jge 0x456aec
push 0x80070057
call fcn.004021c2
mov dword [eax - 0xc], 0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x456b69
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x456b4b
mov edx, dword [ecx]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x18], esi
cmp eax, vtable.ATL::CAtlStringMgr.0
mov esi, dword [ebp + 0x14]
push ecx
jne 0x456b46
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
mov dword [ebp - 0x18], esi
cmp eax, vtable.ATL::CWin32Heap.0
mov esi, dword [ebp + 0x14]
jne 0x456b3f
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x456b4b
mov ecx, edx
call dword [ebp - 0x18]
jmp 0x456b4b
mov ecx, edx
call dword [ebp - 0x18]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x456b60
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
jmp 0x456b64
mov ecx, edi
call edx
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x456dcb
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x456bea
cmp word [eax], 0
je 0x456bea
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
push 0x20019
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00435b20
test eax, eax
jne 0x456bca
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edi
jmp 0x456bcd
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0
test eax, eax
je 0x456be3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], 2
mov dword [ebp + 0xc], 0x3e8
push 0x3e8
call fcn.0046f3d6
add esp, 4
mov esi, eax
mov dword [ebp - 0x28], esi
push 0x3e8
push 0
push esi
call fcn.005ba0f0
add esp, 0xc
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x48]
call fcn.00435c20
test eax, eax
jne 0x456c93
test esi, esi
jne 0x456c65
xor ecx, ecx
push ecx
push esi
mov ecx, dword [ebp + 0x14]
call fcn.00401fc3
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x456d96
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456c70
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, dword [ebp + 0x14]
call fcn.00401fc3
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x456d96
lea eax, [ebp + 0xc]
push eax
push esi
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x48]
call fcn.0045a590
test eax, eax
jne 0x456cbb
push esi
mov ecx, dword [ebp + 0x14]
call fcn.0040d560
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x456d96
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x456d01
cmp dword [ebp + 0xc], 4
jne 0x456d01
push dword [ebp - 0x18]
push 0x63b784
push dword [ebp + 0x14]
call fcn.004425b0
add esp, 0xc
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x456d96
mov dword [ebp - 0x24], 8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x456d47
cmp dword [ebp + 0xc], 0xb
jne 0x456d47
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str._I64
push dword [ebp + 0x14]
call fcn.004425b0
add esp, 0x10
mov bl, 1
mov byte [ebp - 0x11], bl
jmp 0x456d96
call fcn.0041d300
cmp dword [eax + 4], 1
jl 0x456d96
push 1
push ecx
call fcn.0041d300
add esp, 4
mov ecx, eax
call fcn.0041d580
mov esi, eax
call fcn.0041d300
mov edx, esi
mov ecx, eax
call fcn.00413350
mov edx, str.Cant_handle_Registry_value_for:
mov ecx, eax
call fcn.00412d50
mov edx, dword [ebp + 0x10]
mov ecx, eax
call fcn.00412d50
push eax
call fcn.00414150
add esp, 4
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push esi
call fcn.0046f3d1
add esp, 4
cmp edi, dword [ebp + 8]
je 0x456dc0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
jmp 0x456e26
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10