Function at 0x435ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x47b485
mov eax, dword fs:[0]
push eax
mov eax, 0x1020
call fcn.004765d0
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x101c], eax
push ebx
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x1030]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1048]
push 0x1000
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x1044], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0x1000
call sub.MSVCR90.dll_memset
add esp, 0xc
push str.SYSTEMCurrentControlSetEnum_
lea ecx, [esp + 0x1c]
call fcn.00406310
mov eax, dword [esp + 0x1040]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
mov byte [esp + 0x1040], 1
call fcn.00401520
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea ecx, [esp + 0x14]
push ecx
mov byte [esp + 0x1040], 2
call fcn.0041d6a0
mov ecx, eax
mov byte [esp + 0x1040], 1
call fcn.0041a690
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
mov bl, 3
mov byte [esp + 0x1038], bl
test eax, eax
jne 0x435e53
mov edx, dword [esp + 0x1044]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0041d6a0
mov ecx, eax
call fcn.00416480
push eax
lea ecx, [esp + 0x1044]
mov byte [esp + 0x103c], 4
call fcn.00404460
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1038], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435dd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1040]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00401520
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x1040], 5
call fcn.0041d6a0
mov ecx, eax
mov byte [esp + 0x1040], bl
call fcn.0041a690
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x103c], 6
call fcn.00404460
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1038], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435e4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
mov esi, dword [sym.imp.MSVCR90.dll_wcsstr]
jl 0x435fdd
push str.VID_04E8PID_6663
push ecx
call esi
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x435e7f
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jg 0x435ed3
cmp dword [ecx - 0xc], 0
jl 0x435fdd
push str.VID_04E8PID_6784
push ecx
call esi
mov ecx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x435ea5
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jg 0x435ed3
cmp dword [ecx - 0xc], 0
jl 0x435fdd
push str.VID_04E8PID_6672
push ecx
call esi
add esp, 8
test eax, eax
je 0x435fdd
mov ecx, dword [esp + 0x10]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
jle 0x435fdd
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x436082
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004044e0
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00401520
lea ecx, [esp + 0x1c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00457200
add esp, 8
push eax
mov ecx, edi
mov byte [esp + 0x103c], 7
call fcn.00404460
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1038], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435f49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x435fdd
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1038], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435f7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1038], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435fa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1040]
add eax, 0xfffffff0
mov dword [esp + 0x1038], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435fd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4360fa
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436043
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push str.LocationInformation
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x436030
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00403480
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43603f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x436061
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1038], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x43609a
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1038], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x435f71
lea eax, [ecx - 0x10]
mov byte [esp + 0x1038], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4360a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x1038], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4360ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1040]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x1038], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4360f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1030]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x101c]
xor ecx, esp
call fcn.004764f6
add esp, 0x102c
ret