Function at 0x43de20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47678d
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x49b3d4]
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
mov edi, edx
push 0x1c
mov esi, ecx
mov dword [ebp - 0x30c], edi
call fcn.00459337
add esp, 4
test eax, eax
je 0x43de6e
call fcn.004025a9
lea eax, [ebp - 0x308]
push eax
push 0x20019
push 0
mov eax, esi
mov dword [ebp - 4], 0
call fcn.0040263b
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x220]
test eax, eax
je 0x43df41
push 0x484020
call fcn.0043e150
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x290]
call fcn.004025d0
mov ebx, eax
push str.Registry_key
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.004025d0
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.00434d20
push ebx
mov esi, eax
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.00432a90
add esp, 4
mov byte [ebp - 4], 4
call fcn.0040263b
mov ecx, dword [0x4a113c]
push eax
push str.INFO
call fcn.00416a80
mov ecx, ebx
call fcn.00402601
lea ecx, [ebp - 0x258]
call fcn.00402601
lea ecx, [ebp - 0x274]
call fcn.00402601
lea ecx, [ebp - 0x290]
jmp 0x43e08e
lea ecx, [ebp - 0x314]
push ecx
push edx
lea eax, [ebp - 0x310]
push eax
push 0
mov eax, edi
mov dword [ebp - 0x314], 0x104
mov dword [ebp - 0x310], 1
call fcn.0040263b
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43e097
push 0x484020
lea edx, [ebp - 0x220]
call fcn.0043e150
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x300]
call fcn.004025d0
mov dword [ebp - 0x304], eax
push str.__value_name
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 5
call fcn.004025d0
mov ebx, eax
push str.Registry_key
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.004025d0
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.00434d20
push ebx
mov esi, eax
lea ebx, [ebp - 0x258]
mov byte [ebp - 4], 8
call fcn.00432a90
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x30c]
lea esi, [ebp - 0x274]
mov byte [ebp - 4], 9
call fcn.00434d20
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x304]
push edx
mov esi, eax
lea ebx, [ebp - 0x290]
call fcn.00432a90
add esp, 4
mov byte [ebp - 4], 0xb
call fcn.0040263b
mov ecx, dword [0x4a113c]
push eax
push str.INFO
call fcn.00416a80
mov ecx, ebx
call fcn.00402601
lea ecx, [ebp - 0x274]
call fcn.00402601
lea ecx, [ebp - 0x258]
call fcn.00402601
lea ecx, [ebp - 0x23c]
call fcn.00402601
lea ecx, [ebp - 0x2ac]
call fcn.00402601
lea ecx, [ebp - 0x2c8]
call fcn.00402601
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0
call fcn.00402601
push 0x1c
call fcn.00459337
add esp, 4
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x43e0bf
lea ecx, [ebp - 0x220]
push ecx
call fcn.004025d0
mov esi, eax
jmp 0x43e0c1
xor esi, esi
mov edx, dword [ebp - 0x308]
push edx
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.00458db6
mov esp, ebp
pop ebp
ret