Function at 0x42ee10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430fcf
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.004184a0
mov eax, dword [0x441cc0]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x103c], ecx
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x800
mov eax, dword [ebp - 0x103c]
add eax, 0xc
push eax
lea ecx, [ebp - 0x20]
call fcn.00402d10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00413c4a
add esp, 4
test eax, eax
je 0x42ef14
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [ebp - 0x1030]
call fcn.004024e0
mov dword [ebp - 0x1040], eax
mov eax, dword [ebp - 0x1040]
mov dword [ebp - 0x1044], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1044]
push ecx
push 0x43a12c
lea edx, [ebp - 0x1034]
push edx
call fcn.004012d0
add esp, 0xc
mov dword [ebp - 0x1048], eax
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x104c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x104c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1034]
call fcn.00402ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1030]
call fcn.00402ac0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x103c]
call fcn.0042e7d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
je 0x42ef68
cmp dword [ebp - 0x14], 2
je 0x42ef68
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004024e0
mov edx, dword [ebp - 0x1038]
or edx, 1
mov dword [ebp - 0x1038], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402ac0
mov eax, dword [ebp + 8]
jmp 0x42f0c1
mov ecx, dword [ebp - 0x103c]
call fcn.0042dda0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0x20019
mov eax, dword [ebp - 0x103c]
cmp dword [eax + 0x14], 0
je 0x42ef95
mov ecx, dword [ebp - 0x28]
or ecx, 0x100
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.004055d0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x103c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x103c]
cmp dword [eax + 4], 0
je 0x42f008
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x103c]
call fcn.0042dc30
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004024e0
mov eax, dword [ebp - 0x1038]
or eax, 1
mov dword [ebp - 0x1038], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402ac0
mov eax, dword [ebp + 8]
jmp 0x42f0c1
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x102c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x103c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x103c]
cmp dword [edx + 4], 0
je 0x42f043
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x103c]
call fcn.0042dc30
cmp dword [ebp - 0x24], 0
jne 0x42f091
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004024e0
mov eax, dword [ebp - 0x1038]
or eax, 1
mov dword [ebp - 0x1038], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402ac0
mov eax, dword [ebp + 8]
jmp 0x42f0c1
lea ecx, [ebp - 0x102c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004024e0
mov edx, dword [ebp - 0x1038]
or edx, 1
mov dword [ebp - 0x1038], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402ac0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.00413af2
mov esp, ebp
pop ebp
ret 0x10