Function at 0x431f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caae0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x524ee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x524ab0]
xor ebx, ebx
cmp byte [0x526b68], bl
mov ecx, 0x524ab0
sete bl
mov dword [ebp - 4], 1
add ebx, 0x80000001
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
or edi, 0xffffffff
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 2
je 0x432058
mov ecx, dword [0x526340]
mov eax, ecx
imul eax, ecx
cdq
mov esi, 0x12
idiv esi
cmp edx, 5
jne 0x431fc4
push 4
call fcn.004a834d
mov ecx, dword [0x526340]
mov dword [eax], ecx
mov ecx, dword [0x526340]
add esp, 4
cmp byte [0x52024c], 0
jne 0x43202d
mov eax, dword [0x526ce0]
cmp dword [eax - 0xc], 0
jne 0x431fdf
mov ebx, SysReAllocStringLen
jmp 0x43202d
push 0x4dfbc0
lea eax, [ebp - 0x14]
push 0x526ce0
push eax
mov ebx, VariantInit
call fcn.0040b6c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00402ab0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432027
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x526340]
mov eax, ecx
imul eax, ecx
cdq
mov esi, 0xc
idiv esi
cmp edx, 5
jne 0x432058
lea esi, [edx - 4]
cmp ecx, esi
jle 0x432052
mov eax, ecx
cdq
idiv esi
inc esi
add esi, edx
cmp esi, ecx
jl 0x432046
mov dword [0x526340], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, str.Software_
mov byte [ebp - 4], 5
test eax, 0xffff0000
jne 0x4320b2
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x4320bf
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.004074c0
jmp 0x4320bf
push str.Software_
lea ecx, [ebp - 0x14]
call fcn.0040b3b0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 6
call fcn.0040b600
push 0x526ce4
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 7
call fcn.0040b600
push 0x4dfbc0
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 8
call fcn.0040b6c0
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 9
call fcn.0040b600
add esp, 0x30
lea ecx, [ebp - 0x38]
push 0x20019
push dword [eax]
push ebx
call fcn.0040bf00
mov edx, dword [ebp - 0x20]
test eax, eax
setne bl
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432140
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432160
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432180
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4321a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4321c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x43226e
mov ecx, dword [0x526340]
mov dword [ebp - 0x1c], 0
lea edx, [ecx + 1]
mov eax, edx
imul eax, ecx
and eax, 0x8000000f
jns 0x4321ef
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 0xb
jne 0x43221a
sub ecx, 0
je 0x432210
dec ecx
je 0x432204
mov dword [0x526340], edx
jmp 0x43221a
mov dword [0x526340], 0
jmp 0x43221a
mov dword [0x526340], 2
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], 4
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x432263
cmp dword [ebp - 0x28], 4
jne 0x432263
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x432255
push esi
call ebx
xor esi, esi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov byte [ebp - 0xd], 1
jmp 0x432275
test esi, esi
je 0x432271
push esi
call ebx
xor esi, esi
jmp 0x432271
mov esi, dword [ebp - 0x38]
mov byte [ebp - 0xd], 0
test esi, esi
je 0x43227c
push esi
call ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43229c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4322bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4322dd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret