Function at 0x456c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x54990d
push eax
mov dword fs:[0], esp
sub esp, 0x68c
cmp byte [0x5cc2dc], 0
je 0x456c99
mov dword [ebp - 0x30], 0x2acb7f4
mov eax, dword [ebp - 0x30]
sub eax, 0x256bf70
push 0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004babc0
add esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x1c], 0
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
movzx edi, byte [ebp + 0xc]
xor edi, 1
mov dword [ebp - 4], esi
add edi, 0x80000001
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
call fcn.00435140
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push ecx
push 0x20019
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x456d0c
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x456d73
cmp byte [0x5cc2dc], 0
je 0x456d42
mov dword [ebp + 0xc], 0x2ae1a00
mov eax, dword [ebp + 0xc]
sub eax, 0x2582140
push 0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004babc0
mov ebx, dword [ebp - 0x2c]
add esp, 0xc
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ebx, ebx
je 0x456d66
push ebx
call esi
lea ecx, [ebp - 0x5c]
call fcn.00416700
jmp 0x456f67
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.00518890
add esp, 0xc
mov dword [ebp - 0x38], 0x104
lea eax, [ebp - 0x90]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0x200
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x456eff
cmp byte [0x5cc2dc], 0
je 0x456e1b
mov dword [ebp + 0xc], 0x2b3f040
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x10]
sub eax, 0x25df720
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004bad80
mov esi, dword [ebp - 0x18]
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
xor edi, edi
test eax, eax
je 0x456eff
xor eax, eax
mov dword [ebp - 0x20], 0x200
push eax
push eax
push eax
push eax
mov word [ebp - 0x698], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x698]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x456ef5
lea ecx, [ebp - 0x698]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x64], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456e70
sub ecx, edx
lea eax, [ebp - 0x698]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0041ffd0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 5
push eax
cmp esi, dword [ebp - 0x14]
je 0x456eab
mov ecx, esi
call fcn.004153e0
add esi, 0x18
mov dword [ebp - 0x18], esi
jmp 0x456eb7
push esi
lea ecx, [ebp - 0x1c]
call fcn.00442250
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x60]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x456ef5
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456eeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f86
push edx
push ecx
call fcn.004b9160
add esp, 8
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x456e25
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi + 8], eax
test ebx, ebx
je 0x456f1d
push ebx
call esi
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x456f53
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x456f49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456f86
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x456f71
push eax
call esi
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call fcn.0051bb5f
int3