Function at 0x439c40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46efed
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x490654]
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.00453217
add esp, 4
test eax, eax
je 0x439c8e
call fcn.004025a5
lea eax, [ebp - 0x308]
push eax
push 0x20019
push 0
mov eax, esi
mov dword [ebp - 4], 0
call fcn.00402637
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [ebp - 0x220]
test eax, eax
je 0x439d61
push 0x4798cc
call fcn.00439f70
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x290]
call fcn.004025cc
mov ebx, eax
push str.Registry_key
lea eax, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.004025cc
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x258]
mov byte [ebp - 4], 2
call fcn.00430ae0
push ebx
mov esi, eax
lea ebx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0042e880
add esp, 4
mov byte [ebp - 4], 4
call fcn.00402637
mov ecx, dword [0x49519c]
push eax
push str.INFO
call fcn.00417780
mov ecx, ebx
call fcn.004025fd
lea ecx, [ebp - 0x258]
call fcn.004025fd
lea ecx, [ebp - 0x274]
call fcn.004025fd
lea ecx, [ebp - 0x290]
jmp 0x439eae
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.00402637
mov ecx, dword [ebp - 0x308]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x439eb7
push 0x4798cc
lea edx, [ebp - 0x220]
call fcn.00439f70
add esp, 4
push str._could_not_be_opened.
lea eax, [ebp - 0x300]
call fcn.004025cc
mov dword [ebp - 0x304], eax
push str.__value_name
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 5
call fcn.004025cc
mov ebx, eax
push str.Registry_key
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.004025cc
mov edi, eax
mov eax, esi
lea esi, [ebp - 0x23c]
mov byte [ebp - 4], 7
call fcn.00430ae0
push ebx
mov esi, eax
lea ebx, [ebp - 0x258]
mov byte [ebp - 4], 8
call fcn.0042e880
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x30c]
lea esi, [ebp - 0x274]
mov byte [ebp - 4], 9
call fcn.00430ae0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x304]
push edx
mov esi, eax
lea ebx, [ebp - 0x290]
call fcn.0042e880
add esp, 4
mov byte [ebp - 4], 0xb
call fcn.00402637
mov ecx, dword [0x49519c]
push eax
push str.INFO
call fcn.00417780
mov ecx, ebx
call fcn.004025fd
lea ecx, [ebp - 0x274]
call fcn.004025fd
lea ecx, [ebp - 0x258]
call fcn.004025fd
lea ecx, [ebp - 0x23c]
call fcn.004025fd
lea ecx, [ebp - 0x2ac]
call fcn.004025fd
lea ecx, [ebp - 0x2c8]
call fcn.004025fd
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0
call fcn.004025fd
push 0x1c
call fcn.00453217
add esp, 4
mov dword [ebp - 0x304], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x439edf
lea ecx, [ebp - 0x220]
push ecx
call fcn.004025cc
mov esi, eax
jmp 0x439ee1
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.00452c94
mov esp, ebp
pop ebp
ret