Function at 0x4195b7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov edx, 0xe
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4195bd
call fcn.004310a0
mov edx, dword [esp + 0x40]
lea ecx, [esp]
call fcn.0041e000
mov edx, dword [esp + 0x44]
lea ecx, [esp + 4]
call fcn.0041e000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 8]
call fcn.0041e000
mov dword [esp + 0x1c], 0
call fcn.00430e40
push eax
push eax
push dword [esp + 8]
call fcn.0041e3c0
call fcn.00430ff0
mov edx, str.hklm
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x419637
mov dword [esp + 0x24], 0x80000002
jmp 0x419717
mov edx, str.hkcr
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41965c
mov dword [esp + 0x24], 0x80000000
jmp 0x419717
mov edx, str.hkcu
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x419681
mov dword [esp + 0x24], 0x80000001
jmp 0x419717
mov edx, 0x437e94
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x4196a3
mov dword [esp + 0x24], 0x80000003
jmp 0x419717
mov edx, str.hkcc
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x4196c5
mov dword [esp + 0x24], 0x80000005
jmp 0x419717
mov edx, str.hklm64
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x4196ef
mov dword [esp + 0x24], 0x80000002
mov dword [esp + 0x20], 0x100
jmp 0x419717
mov edx, str.hkcu64
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x419717
mov dword [esp + 0x24], 0x80000001
mov dword [esp + 0x20], 0x100
call fcn.00430f40
mov edx, 0x434032
lea ecx, [esp + 0x24]
call fcn.0041e008
call fcn.00430e40
push eax
push eax
push 1
push dword [esp + 0x10]
call fcn.0041e7e0
call fcn.00430ff0
mov edx, 0x434770
call fcn.00431060
mov ecx, eax
call fcn.00431020
je 0x41977e
call fcn.00430e40
push eax
push eax
push dword [esp + 0xc]
call fcn.0041f200
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0x10]
call fcn.0041e550
lea eax, [esp + 8]
push eax
call fcn.00430eb0
push dword [esp + 0x24]
mov edx, 0x434032
pop ecx
call fcn.00431020
je 0x4197b7
lea eax, [esp + 0xc]
push eax
mov ebx, dword [esp + 0x20]
or ebx, 0x20019
push ebx
push 0
push dword [esp + 0x10]
push dword [esp + 0x30]
call sub.ADVAPI32.DLL_RegOpenKeyExW
mov dword [esp + 0x10], eax
jmp 0x4197ed
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x24]
push dword [esp + 0x2c]
call sub.ADVAPI32.DLL_RegConnectRegistryW
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push dword [esp + 0x10]
push dword [esp + 0x24]
call sub.ADVAPI32.DLL_RegOpenKeyExW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x41985e
push dword [esp + 8]
mov edx, 0x434032
pop ecx
call fcn.00431020
jne 0x419847
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x20]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x41983d
mov dword [esp + 0x34], 1
jmp 0x419845
mov dword [esp + 0x34], 0
jmp 0x41984f
mov dword [esp + 0x34], 1
push dword [esp + 0xc]
call sub.ADVAPI32.DLL_RegCloseKey
mov dword [esp + 0x10], eax
jmp 0x419866
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
jmp 0x41986e
push dword [esp + 0x24]
call fcn.00431170
push dword [esp + 8]
call fcn.00431170
push dword [esp]
call fcn.00431170
push dword [esp + 0x2c]
call fcn.00431170
push dword [esp + 4]
call fcn.00431170
add esp, 0x38
pop ebx
ret 0xc