Function at 0x10012720
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1050
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x104c], eax
mov eax, dword [esp + 0x1054]
push ebx
push ebp
mov ebp, dword [esp + 0x1064]
push esi
mov esi, dword [esp + 0x106c]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1068]
push 0x1000
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0xc
call fcn.1003b014
mov edi, eax
add esp, 0x10
test edi, edi
je 0x10012ab9
lea eax, [edi + 8]
mov dword [edi + 4], 0
push esi
mov dword [esp + 0x1c], eax
mov dword [eax], 1
call fcn.1003b014
push 0xc
mov dword [esp + 0x28], eax
mov dword [edi], eax
call fcn.1003b014
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10012ab9
push ebp
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call fcn.1003b014
push 0xc
mov dword [esp + 0x2c], eax
mov dword [ebx], eax
call fcn.1003b014
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10012ab9
push dword [esp + 0x10]
mov dword [ebp + 4], 0
mov dword [ebp + 8], 1
call fcn.1003b014
push 0xc
mov dword [esp + 0x18], eax
mov dword [ebp], eax
call fcn.1003b014
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x10012ab9
push dword [esp + 0x20]
lea esi, [eax + 8]
mov dword [eax + 4], 0
mov dword [esi], 1
call fcn.1003b014
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
mov dword [ecx], eax
lea ecx, [esp + 0x70]
push ecx
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x34]
push eax
call fcn.10011f50
or ecx, 0xffffffff
add esp, 0x28
mov eax, ecx
lock xadd dword [esi], eax
dec eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x100128b2
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x10012887
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001289e
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003b014
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
or ecx, 0xffffffff
mov eax, ecx
lea edx, [ebp + 8]
lock xadd dword [edx], eax
dec eax
jne 0x100128f4
mov eax, dword [ebp]
test eax, eax
je 0x100128cf
push eax
call esi
mov dword [ebp], 0
mov eax, dword [ebp + 4]
test eax, eax
je 0x100128e6
push eax
call fcn.1003b898
add esp, 4
mov dword [ebp + 4], 0
push 0xc
push ebp
call fcn.1003b014
add esp, 8
or ecx, 0xffffffff
mov eax, ecx
lea edx, [ebx + 8]
lock xadd dword [edx], eax
dec eax
jne 0x10012934
mov eax, dword [ebx]
test eax, eax
je 0x1001290f
push eax
call esi
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x10012926
push eax
call fcn.1003b898
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.1003b014
add esp, 8
or ecx, 0xffffffff
mov eax, dword [esp + 0x18]
lock xadd dword [eax], ecx
dec ecx
jne 0x10012970
mov eax, dword [edi]
test eax, eax
je 0x1001294e
push eax
call esi
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10012965
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1003b014
add esp, 8
push 0x20019
xor esi, esi
mov dword [esp + 0x54], 0
xor ebx, ebx
mov dword [esp + 0x58], 0
push str.SOFTWARE
xor edi, edi
mov dword [esp + 0x60], 0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.10003a10
test eax, eax
jne 0x10012a6e
push 0x20019
push str.JavaSoft
push dword [esp + 0x58]
lea ecx, [esp + 0x50]
call fcn.10003a10
mov esi, dword [esp + 0x44]
test eax, eax
jne 0x10012a6e
push 0x20019
push str.Java_Plug_in
push esi
lea ecx, [esp + 0x44]
call fcn.10003a10
mov edi, dword [esp + 0x38]
test eax, eax
jne 0x10012a6e
push 0x20019
lea eax, [esp + 0x60]
push eax
push edi
lea ecx, [esp + 0x38]
call fcn.10003a10
test eax, eax
jne 0x10012a6a
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 4
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
mov ebx, dword [esp + 0x3c]
push str.UseJava2IExplorer
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10012a6e
cmp dword [esp + 0x14], 4
jne 0x10012a6e
cmp dword [esp + 0x1c], 1
sete al
mov dword [esp + 0x10], eax
jmp 0x10012a76
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10012a83
push ebx
call ebp
test edi, edi
je 0x10012a8a
push edi
call ebp
test esi, esi
je 0x10012a91
push esi
call ebp
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10012a9c
push eax
call ebp
mov ecx, dword [esp + 0x105c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1050
ret
push 0x8007000e
call fcn.1003b014
int3