Function at 0x42e050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0c59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f4
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov ecx, 0x524a5a
call fcn.004c6bbd
mov dword [ebp - 0x18], SysStringLen
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x42e0a4
mov dword [ebp - 0x18], reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00405fd0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
mov ecx, 0x53
mov word [ebp - 0xb8], cx
mov edx, 0x4f
mov word [ebp - 0xb6], dx
mov eax, 0x46
mov word [ebp - 0xb4], ax
mov ecx, 0x54
mov word [ebp - 0xb2], cx
mov edx, 0x57
mov word [ebp - 0xb0], dx
mov eax, 0x41
mov word [ebp - 0xae], ax
mov ecx, 0x52
mov word [ebp - 0xac], cx
mov edx, 0x45
mov word [ebp - 0xaa], dx
mov eax, 0x5c
mov word [ebp - 0xa8], ax
mov ecx, 0x4d
mov word [ebp - 0xa6], cx
mov edx, 0x69
mov word [ebp - 0xa4], dx
mov eax, 0x63
mov word [ebp - 0xa2], ax
mov ecx, 0x72
mov word [ebp - 0xa0], cx
mov edx, 0x6f
mov word [ebp - 0x9e], dx
mov eax, 0x73
mov word [ebp - 0x9c], ax
mov ecx, 0x6f
mov word [ebp - 0x9a], cx
mov edx, 0x66
mov word [ebp - 0x98], dx
mov eax, 0x74
mov word [ebp - 0x96], ax
mov ecx, 0x5c
mov word [ebp - 0x94], cx
mov edx, 0x57
mov word [ebp - 0x92], dx
mov eax, 0x69
mov word [ebp - 0x90], ax
mov ecx, 0x6e
mov word [ebp - 0x8e], cx
mov edx, 0x64
mov word [ebp - 0x8c], dx
mov eax, 0x6f
mov word [ebp - 0x8a], ax
mov ecx, 0x77
mov word [ebp - 0x88], cx
mov edx, 0x73
mov word [ebp - 0x86], dx
mov eax, 0x5c
mov word [ebp - 0x84], ax
mov ecx, 0x43
mov word [ebp - 0x82], cx
mov edx, 0x75
mov word [ebp - 0x80], dx
mov eax, 0x72
mov word [ebp - 0x7e], ax
mov ecx, 0x72
mov word [ebp - 0x7c], cx
mov edx, 0x65
mov word [ebp - 0x7a], dx
mov eax, 0x6e
mov word [ebp - 0x78], ax
mov ecx, 0x74
mov word [ebp - 0x76], cx
mov edx, 0x56
mov word [ebp - 0x74], dx
mov eax, 0x65
mov word [ebp - 0x72], ax
mov ecx, 0x72
mov word [ebp - 0x70], cx
mov edx, 0x73
mov word [ebp - 0x6e], dx
mov eax, 0x69
mov word [ebp - 0x6c], ax
mov ecx, 0x6f
mov word [ebp - 0x6a], cx
mov edx, 0x6e
mov word [ebp - 0x68], dx
mov eax, 0x5c
mov word [ebp - 0x66], ax
mov ecx, 0x55
mov word [ebp - 0x64], cx
mov edx, 0x6e
mov word [ebp - 0x62], dx
mov eax, 0x69
mov word [ebp - 0x60], ax
mov ecx, 0x6e
mov word [ebp - 0x5e], cx
mov edx, 0x73
mov word [ebp - 0x5c], dx
mov eax, 0x74
mov word [ebp - 0x5a], ax
mov ecx, 0x61
mov word [ebp - 0x58], cx
mov edx, 0x6c
mov word [ebp - 0x56], dx
mov eax, 0x6c
mov word [ebp - 0x54], ax
mov ecx, 0x5c
mov word [ebp - 0x52], cx
xor edx, edx
mov word [ebp - 0x50], dx
lea ecx, [ebp - 0x1d]
call fcn.004063b0
push eax
lea eax, [ebp - 0x4e]
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xf0]
call fcn.00406b20
mov edx, dword [eax + 4]
push edx
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00406d10
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xc0]
call fcn.00415e30
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406160
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xdc]
call fcn.00407960
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004089c0
lea eax, [ebp - 0x24]
push eax
push 0x20119
push 0
lea ecx, [ebp - 0x1c]
call fcn.004084d0
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e3f0
mov dword [ebp - 0x18], SysStringLen
lea edx, [ebp - 0x24]
push edx
push 0x20119
push 0
lea ecx, [ebp - 0x1c]
call fcn.004084d0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e3f0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00407640
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x42e3d9
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407640
mov eax, dword [ebp + 8]
jmp 0x42e58e
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xc4], 0x104
push 0x208
push 0
lea edx, [ebp - 0x300]
push edx
call fcn.004cb140
add esp, 0xc
mov eax, 0x49
mov word [ebp - 0x4c], ax
mov ecx, 0x6e
mov word [ebp - 0x4a], cx
mov edx, 0x73
mov word [ebp - 0x48], dx
mov eax, 0x74
mov word [ebp - 0x46], ax
mov ecx, 0x61
mov word [ebp - 0x44], cx
mov edx, 0x6c
mov word [ebp - 0x42], dx
mov eax, 0x6c
mov word [ebp - 0x40], ax
mov ecx, 0x4c
mov word [ebp - 0x3e], cx
mov edx, 0x6f
mov word [ebp - 0x3c], dx
mov eax, 0x63
mov word [ebp - 0x3a], ax
mov ecx, 0x61
mov word [ebp - 0x38], cx
mov edx, 0x74
mov word [ebp - 0x36], dx
mov eax, 0x69
mov word [ebp - 0x34], ax
mov ecx, 0x6f
mov word [ebp - 0x32], cx
mov edx, 0x6e
mov word [ebp - 0x30], dx
xor eax, eax
mov word [ebp - 0x2e], ax
lea ecx, [ebp - 0xc4]
push ecx
lea edx, [ebp - 0x300]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0
lea ecx, [ebp - 0x1e]
call fcn.004063b0
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0xf8]
call fcn.00406b20
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea ecx, [ebp - 0xe8]
call fcn.00406d10
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.00415e30
push eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e515
mov dword [ebp - 0x28], 1
jmp 0x42e51c
mov dword [ebp - 0x28], 0
mov cl, byte [ebp - 0x28]
mov byte [ebp - 0x11], cl
lea ecx, [ebp - 0xe8]
call fcn.00407960
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x42e544
lea eax, [ebp - 0x300]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407f70
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00407640
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x42e57c
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00407640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8