Function at 0x456200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd2ba
mov eax, dword fs:[0]
push eax
sub esp, 0xb50
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa2c], eax
mov ebx, ecx
mov dword [ebp - 0xa44], ebx
xor edi, edi
mov dword [ebp - 0xa24], edi
mov dword [ebp - 0xa34], 0xffffffff
mov dword [ebp - 0xa38], edi
mov dword [ebp - 0xa30], edi
mov dword [ebp - 0xa28], edi
mov dword [ebp - 4], edi
cmp edx, edi
je 0x4562c9
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x456272
sub eax, esi
sar eax, 1
je 0x4562c9
mov dword [ebp - 0xa50], 0x20019
lea ecx, [ebp - 0xa24]
push ecx
push 0x20019
push edi
push edx
mov edx, dword [ebp - 0xa2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xa20], eax
cmp eax, edi
je 0x4562d5
mov dword [ebp - 0xa48], eax
push 0x5042a0
lea eax, [ebp - 0xa48]
push eax
call fcn.004abd6e
mov ecx, dword [ebp - 0xa2c]
mov dword [ebp - 0xa24], ecx
push edi
push edi
push edi
push edi
lea edx, [ebp - 0xa34]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
mov eax, dword [ebp - 0xa24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0xa20], eax
cmp eax, edi
je 0x456314
mov dword [ebp - 0xa40], eax
push 0x5042a0
lea ecx, [ebp - 0xa40]
push ecx
call fcn.004abd6e
mov dword [ebp - 0xa3c], edi
cmp edi, dword [ebp - 0xa34]
jge 0x456509
push 0x800
push 0
lea edx, [ebp - 0xa1c]
push edx
call fcn.004ab450
push 0x200
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004ab450
add esp, 0x18
mov dword [ebp - 0xa38], 0x400
mov dword [ebp - 0xa30], 0x100
mov dword [ebp - 0xa28], 0
lea ecx, [ebp - 0xa38]
push ecx
lea edx, [ebp - 0xa1c]
push edx
lea eax, [ebp - 0xa28]
push eax
push 0
lea ecx, [ebp - 0xa30]
push ecx
lea edx, [ebp - 0x21c]
push edx
push edi
mov eax, dword [ebp - 0xa24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4564fb
mov eax, dword [ebp - 0xa28]
cmp eax, 4
jne 0x45644b
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0xa70]
call fcn.00411be0
mov byte [ebp - 4], 1
movzx ecx, word [ebp - 0xa1c]
push ecx
lea edx, [ebp - 0xac4]
push edx
mov edx, 0x4dd578
call fcn.00450a60
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xa70]
push eax
lea ecx, [ebp - 0xb5c]
push ecx
call fcn.00411350
mov byte [ebp - 4], 3
push eax
push ebx
lea ebx, [ebp - 0xa98]
call fcn.00411220
mov byte [ebp - 4], 2
lea edx, [ebp - 0xb5c]
push edx
call fcn.004113d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xac4]
push eax
call fcn.004114d0
mov byte [ebp - 4], 0
lea esi, [ebp - 0xa70]
call fcn.00411bb0
add edi, 1
mov ebx, dword [ebp - 0xa44]
jmp 0x456314
cmp eax, 1
jne 0x4564e1
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0xa8c]
call fcn.00411be0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xae4]
push ecx
lea edx, [ebp - 0xa1c]
call fcn.00411450
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0xa8c]
push edx
lea eax, [ebp - 0xb20]
push eax
call fcn.00411350
mov byte [ebp - 4], 6
push eax
push ebx
lea ebx, [ebp - 0xaa4]
call fcn.00411220
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb20]
push ecx
call fcn.004113d0
mov byte [ebp - 4], 4
lea edx, [ebp - 0xae4]
push edx
call fcn.004114d0
mov byte [ebp - 4], 0
lea esi, [ebp - 0xa8c]
call fcn.00411bb0
add edi, 1
mov ebx, dword [ebp - 0xa44]
jmp 0x456314
push eax
lea eax, [ebp - 0x21c]
push eax
push str.__Enum_Entries__unsupported_type___s__d_
mov ecx, 0x527b30
call fcn.00449000
add esp, 0xc
add edi, 1
mov ebx, dword [ebp - 0xa44]
jmp 0x456314
mov dword [ebp - 0xa20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xa24]
test eax, eax
je 0x456533
cmp eax, dword [ebp - 0xa2c]
je 0x456533
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xa20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a998e
mov esp, ebp
pop ebp
ret