Function at 0x10006ba0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc58
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0xc54], eax
mov ecx, dword [esp + 0xc6c]
mov eax, dword [esp + 0xc5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0xc70]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xc74]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xc78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc64]
mov dword [esp + 0xc], ecx
mov cl, byte [esp + 0xc7c]
mov dword [esp + 0x24], eax
mov byte [esp + 3], cl
mov dword [esp + 0x34], 0
push ebx
mov ebx, dword [esp + 0xc6c]
test eax, eax
je 0x10006f03
test ebx, ebx
je 0x10006f03
push 0x208
lea eax, [esp + 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [esp + 0x260]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0
push 0x104
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.10017650
add esp, 0x2c
test eax, eax
je 0x10006f03
push esi
push edi
push 0xc
call fcn.1003c33a
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
add esp, 4
test esi, esi
je 0x10006ca8
lea eax, [esp + 0x50]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x1000740d
jmp 0x10006caa
xor esi, esi
mov dword [esp + 0x10], esi
test esi, esi
je 0x1000740d
push 0xc
call fcn.1003c33a
mov esi, eax
add esp, 4
test esi, esi
je 0x10006ce7
push 0x1003fff0
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x1000740d
jmp 0x10006ce9
xor esi, esi
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1000740d
push ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.10003700
or ebp, 0xffffffff
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x10006d46
mov eax, dword [esi]
test eax, eax
je 0x10006d24
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10006d3b
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
push 0
push 0
push 0x2001f
xor eax, eax
mov dword [esp + 0x54], 0
cmp byte [esp + 0x1f], 1
lea ecx, [esp + 0x54]
push 0
push 0
push dword [0x10053084]
sete al
mov dword [esp + 0x64], 0
add eax, 0x80000001
mov dword [esp + 0x68], 0
push eax
call fcn.10006260
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x100073b8
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], 0
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.10003580
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x10006dcc
mov eax, dword [eax]
jmp 0x10006dce
xor eax, eax
mov ebx, dword [esp + 0x48]
lea ecx, [esp + 0x24]
push 0
push 0
push 0x2001f
push 0
push 0
push eax
push ebx
call fcn.10006260
test eax, eax
jne 0x10007354
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x468]
mov dword [esp + 0x48], 0x400
push eax
push 0
push 0
push str.UninstallString
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006f1b
lea eax, [esp + 0x464]
push str.javaws.exe
push eax
call sub.VCRUNTIME140.dll_wcsstr
add esp, 8
test eax, eax
jne 0x10006f1b
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10006ea7
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x10006e97
test esi, esi
je 0x10006e97
mov eax, dword [esi]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x10006e6b
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10006e82
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov dword [esp + 0x18], 0
jmp 0x10006ead
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x18], 0
jmp 0x10006ead
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x24]
call fcn.100036e0
lea ecx, [esp + 0x48]
call fcn.100036e0
mov esi, dword [esp + 0x14]
test esi, esi
je 0x10006f00
lock xadd dword [esi + 8], ebp
dec ebp
jne 0x10006f00
mov eax, dword [esi]
test eax, eax
je 0x10006ede
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10006ef5
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
pop ebp
pop edi
pop esi
mov ecx, dword [esp + 0xc58]
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0xc58
ret 0x24
push dword [esp + 0x34]
cmp byte [esp + 0x17], 1
mov eax, str._s__system__uninstall__prompt__s
push dword [esp + 0x24]
mov esi, str._s__uninstall__prompt__s
cmove esi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.10003580
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
je 0x10006f4c
mov ecx, dword [ecx]
jmp 0x10006f4e
xor ecx, ecx
test edi, edi
je 0x10006f56
mov eax, dword [edi]
jmp 0x10006f58
xor eax, eax
push ecx
push eax
lea eax, [esp + 0x46c]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [esp + 0x44]
add esp, 0x10
test esi, esi
je 0x10006fbd
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x10006fbd
test esi, esi
je 0x10006fbd
mov eax, dword [esi]
test eax, eax
je 0x10006f9b
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call ebx
mov ebx, dword [esp + 0x24]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10006fb2
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
lea ecx, [esp + 0x464]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006fc7
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x468]
push eax
push 1
push 0
push str.UninstallString
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0x18]
mov esi, eax
test ecx, ecx
je 0x10007004
mov ecx, dword [ecx]
jmp 0x10007006
xor ecx, ecx
push 0xffffffffffffffff
push 0
push str.DisplayName
push ecx
lea ecx, [esp + 0x34]
call fcn.10006370
mov ebx, eax
mov eax, dword [esp + 0x38]
or ebx, esi
test eax, eax
je 0x10007045
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x40]
push eax
call fcn.10003580
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov dword [esp + 0x14], 1
jmp 0x1000705f
mov esi, edi
mov dword [esp + 0x30], esi
test edi, edi
je 0x10007053
lock inc dword [edi + 8]
lea eax, [esp + 0x30]
mov dword [esp + 0x14], 2
mov eax, dword [eax]
test eax, eax
je 0x10007069
mov eax, dword [eax]
jmp 0x1000706b
xor eax, eax
push 0xffffffffffffffff
push 0
push str.DisplayIcon
push eax
lea ecx, [esp + 0x34]
call fcn.10006370
mov ecx, dword [esp + 0x14]
or ebx, eax
test cl, 2
je 0x100070d7
and ecx, 0xfffffffd
mov dword [esp + 0x14], ecx
test esi, esi
je 0x100070d7
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x100070d7
mov eax, dword [esi]
test eax, eax
je 0x100070b1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100070c8
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
mov ecx, dword [esp + 0x1c]
add esp, 8
test cl, 1
je 0x10007127
mov esi, dword [esp + 0x38]
test esi, esi
je 0x10007127
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x10007127
test esi, esi
je 0x10007127
mov eax, dword [esi]
test eax, eax
je 0x10007105
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000711c
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
push str.NoModify
push 1
lea ecx, [esp + 0x2c]
call fcn.10006340
push str.NoRepair
push 1
lea ecx, [esp + 0x2c]
or ebx, eax
call fcn.10006340
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
or ebx, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10007209
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x10007179
mov eax, dword [eax]
jmp 0x1000717b
xor eax, eax
push 0xffffffffffffffff
push 0
push str.Publisher
push eax
lea ecx, [esp + 0x34]
call fcn.10006370
mov esi, dword [esp + 0x3c]
or ebx, eax
test esi, esi
je 0x100071db
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x100071db
test esi, esi
je 0x100071db
mov eax, dword [esi]
test eax, eax
je 0x100071b9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100071d0
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100072a6
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x48]
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x10007216
mov eax, dword [eax]
jmp 0x10007218
push str.Publisher
push dword [esp + 0x28]
call esi
jmp 0x100071e1
xor eax, eax
push 0xffffffffffffffff
push 0
push str.Comments
push eax
lea ecx, [esp + 0x34]
call fcn.10006370
mov esi, dword [esp + 0x40]
or ebx, eax
test esi, esi
je 0x10007278
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x10007278
test esi, esi
je 0x10007278
mov eax, dword [esi]
test eax, eax
je 0x10007256
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000726d
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10007317
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
call fcn.10003580
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x100072b3
mov eax, dword [eax]
jmp 0x100072b5
push str.Comments
push dword [esp + 0x28]
call esi
jmp 0x1000727e
xor eax, eax
push 0xffffffffffffffff
push 0
push str.URLInfoAbout
push eax
lea ecx, [esp + 0x34]
call fcn.10006370
mov esi, dword [esp + 0x1c]
or ebx, eax
test esi, esi
je 0x10007322
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x10007322
test esi, esi
je 0x10007322
mov eax, dword [esi]
test eax, eax
je 0x100072f3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000730a
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
jmp 0x10007322
push str.URLInfoAbout
push dword [esp + 0x28]
call esi
lea ecx, [esp + 0x24]
call fcn.10003820
test ebx, ebx
je 0x10007347
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1000733b
mov eax, dword [eax]
jmp 0x1000733d
xor eax, eax
push eax
lea ecx, [esp + 0x4c]
call fcn.10003b40
lea ecx, [esp + 0x48]
call fcn.10003820
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100073a7
mov eax, ebp
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000739f
test esi, esi
je 0x1000739f
mov eax, dword [esi]
test eax, eax
je 0x1000737d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10007394
push eax
call fcn.1003b898
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1003c33a
add esp, 8
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100073bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100073bc
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x100073c7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x10006f00
lock xadd dword [edi + 8], ebp
dec ebp
jne 0x10006f00
mov eax, dword [edi]
test eax, eax
je 0x100073ee
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x10007405
push eax
call fcn.1003b898
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
jmp 0x10006ef8
push 0x8007000e
call fcn.1003c33a
int3