Function at 0x4292a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5896cd
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x848], 0
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x840]
call fcn.00401600
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x844], 0
lea ecx, [ebp - 0x18]
push ecx
push 0x20119
push 0
push 0x59682c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
je 0x429365
lea edx, [ebp - 0x840]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403680
mov eax, dword [ebp - 0x848]
or eax, 1
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x429530
lea ecx, [ebp - 0x820]
push ecx
push 0x20119
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
je 0x4293cf
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x840]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403680
mov eax, dword [ebp - 0x848]
or eax, 1
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x429530
lea ecx, [ebp - 0x844]
push ecx
push 0x20119
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x820]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
je 0x42944c
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x844]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x840]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403680
mov ecx, dword [ebp - 0x848]
or ecx, 1
mov dword [ebp - 0x848], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x429530
mov word [ebp - 0x81c], 0
push 0x7fe
push 0
lea edx, [ebp - 0x81a]
push edx
call fcn.0049e690
add esp, 0xc
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x844]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x844]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x81c]
push ecx
call fcn.0049e752
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x429500
lea edx, [ebp - 0x840]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403680
mov eax, dword [ebp - 0x848]
or eax, 1
mov dword [ebp - 0x848], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
jmp 0x429530
lea ecx, [ebp - 0x81c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00401600
mov edx, dword [ebp - 0x848]
or edx, 1
mov dword [ebp - 0x848], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x840]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret