Function at 0x439b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f0bd
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x491654]
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.00453347
add esp, 4
test eax, eax
je 0x439bbe
call fcn.004025a7
lea eax, [ebp - 0x308]
push eax
push 0x20019
push 0
mov eax, esi
mov dword [ebp - 4], 0
call fcn.00402639
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x220]
test eax, eax
je 0x439c91
push 0x47a8cc
call fcn.00439ea0
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x290]
call fcn.004025ce
mov ebx, eax
push str.Registry_key
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.004025ce
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.00430a50
push ebx
mov esi, eax
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 4
call fcn.00402639
mov ecx, dword [0x49619c]
push eax
push str.INFO
call fcn.00417c10
mov ecx, ebx
call fcn.004025ff
lea ecx, [ebp - 0x258]
call fcn.004025ff
lea ecx, [ebp - 0x274]
call fcn.004025ff
lea ecx, [ebp - 0x290]
jmp 0x439dde
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.00402639
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x439de7
push 0x47a8cc
lea edx, [ebp - 0x220]
call fcn.00439ea0
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x300]
call fcn.004025ce
mov dword [ebp - 0x304], eax
push str.__value_name
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 5
call fcn.004025ce
mov ebx, eax
push str.Registry_key
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.004025ce
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.00430a50
push ebx
mov esi, eax
lea ebx, [ebp - 0x258]
mov byte [ebp - 4], 8
call fcn.0042e7f0
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x30c]
lea esi, [ebp - 0x274]
mov byte [ebp - 4], 9
call fcn.00430a50
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x304]
push edx
mov esi, eax
lea ebx, [ebp - 0x290]
call fcn.0042e7f0
add esp, 4
mov byte [ebp - 4], 0xb
call fcn.00402639
mov ecx, dword [0x49619c]
push eax
push str.INFO
call fcn.00417c10
mov ecx, ebx
call fcn.004025ff
lea ecx, [ebp - 0x274]
call fcn.004025ff
lea ecx, [ebp - 0x258]
call fcn.004025ff
lea ecx, [ebp - 0x23c]
call fcn.004025ff
lea ecx, [ebp - 0x2ac]
call fcn.004025ff
lea ecx, [ebp - 0x2c8]
call fcn.004025ff
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0
call fcn.004025ff
push 0x1c
call fcn.00453347
add esp, 4
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x439e0f
lea ecx, [ebp - 0x220]
push ecx
call fcn.004025ce
mov esi, eax
jmp 0x439e11
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.00452dc2
mov esp, ebp
pop ebp
ret