Function at 0x435250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f4cd
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x1c
mov ebx, ecx
mov esi, edx
call fcn.00450883
mov edi, eax
add esp, 4
test edi, edi
je 0x4352b3
push ecx
mov eax, esp
mov dword [ebp - 0x304], esp
call fcn.00402a24
mov eax, edi
call fcn.00401f4d
push 0
push 0
call fcn.004012f5
lea eax, [ebp - 0x308]
push eax
push 0x20019
push 0
mov eax, ebx
mov dword [ebp - 4], 0
call fcn.00401489
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x220]
test eax, eax
je 0x435384
push 0x479144
call fcn.00435590
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x290]
call fcn.00401cc7
mov esi, eax
push str.Registry_key
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.00401cc7
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.0042c890
push esi
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0042a770
add esp, 4
mov byte [ebp - 4], 4
call fcn.00401489
mov ecx, dword [0x494034]
push eax
push str.INFO
call fcn.00414290
mov ecx, ebx
call fcn.004012b8
lea ecx, [ebp - 0x258]
call fcn.004012b8
lea ecx, [ebp - 0x274]
call fcn.004012b8
lea ecx, [ebp - 0x290]
jmp 0x4354d3
lea ecx, [ebp - 0x314]
push ecx
push edx
lea eax, [ebp - 0x310]
push eax
push 0
mov eax, esi
mov dword [ebp - 0x314], 0x104
mov dword [ebp - 0x310], 1
call fcn.00401489
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4354dc
push 0x479144
lea edx, [ebp - 0x220]
call fcn.00435590
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x300]
call fcn.00401cc7
mov dword [ebp - 0x304], eax
push str.__value_name
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 5
call fcn.00401cc7
mov dword [ebp - 0x30c], eax
push str.Registry_key
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.00401cc7
mov edi, eax
mov eax, ebx
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.0042c890
mov edx, dword [ebp - 0x30c]
push edx
lea ebx, [ebp - 0x258]
mov byte [ebp - 4], 8
call fcn.0042a770
add esp, 4
mov edi, eax
mov eax, esi
lea ebx, [ebp - 0x274]
mov byte [ebp - 4], 9
call fcn.0042c890
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x304]
push ecx
lea ebx, [ebp - 0x290]
call fcn.0042a770
add esp, 4
mov byte [ebp - 4], 0xb
call fcn.00401489
mov ecx, dword [0x494034]
push eax
push str.INFO
call fcn.00414290
mov ecx, ebx
call fcn.004012b8
lea ecx, [ebp - 0x274]
call fcn.004012b8
lea ecx, [ebp - 0x258]
call fcn.004012b8
lea ecx, [ebp - 0x23c]
call fcn.004012b8
lea ecx, [ebp - 0x2ac]
call fcn.004012b8
lea ecx, [ebp - 0x2c8]
call fcn.004012b8
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0
call fcn.004012b8
push 0x1c
call fcn.00450883
add esp, 4
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x435504
lea edx, [ebp - 0x220]
push edx
call fcn.00401cc7
mov esi, eax
jmp 0x435506
xor esi, esi
mov eax, dword [ebp - 0x308]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret