Function at 0x6d1b5030
Capabilities:
Delete registry value
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc3c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0xc38], eax
mov eax, dword [esp + 0xc54]
mov ecx, dword [esp + 0xc58]
mov edx, dword [esp + 0xc5c]
push ebx
mov ebx, dword [esp + 0xc44]
push ebp
mov ebp, dword [esp + 0xc54]
push esi
mov esi, dword [esp + 0xc54]
mov dword [esp + 0x18], eax
mov al, byte [esp + 0xc6c]
push edi
mov edi, dword [esp + 0xc60]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], edx
mov byte [esp + 0x13], al
test esi, esi
je 0x6d1b5441
test ebp, ebp
je 0x6d1b5441
call fcn.6d1b2ed0
push 0x400
cmp eax, 1
jne 0x6d1b50bf
lea ecx, [esp + 0x44c]
push ecx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
jmp 0x6d1b50cd
lea edx, [esp + 0x44c]
push edx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x448]
push eax
lea ecx, [esp + 0x84c]
push str._sjavaws.exe
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [ebx]
mov eax, dword [edx + 0x294]
add esp, 0xc
push 0
push esi
push ebx
call eax
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x294]
push 0
push ebp
push ebx
mov esi, eax
call edx
push esi
mov ebp, eax
call fcn.6d1b4240
push ebp
mov dword [esp + 0x1c], eax
call fcn.6d1b4240
mov esi, eax
xor ebp, ebp
add esp, 8
lea eax, [esp + 0x848]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], eax
cmp edi, ebp
je 0x6d1b514f
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x294]
push ebp
push edi
push ebx
call edx
push eax
call fcn.6d1b4240
add esp, 4
mov dword [esp + 0x18], eax
push ebp
xor eax, eax
cmp byte [esp + 0x17], 1
push ebp
push 0x2001f
sete al
push ebp
push ebp
push 0x6d1cba00
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
add eax, 0x80000001
push eax
mov dword [esp + 0x4c], ebp
call fcn.6d1b3d80
test eax, eax
jne 0x6d1b5432
mov ecx, dword [esp + 0x28]
push ebp
push ebp
push 0x2001f
push ebp
push ebp
push esi
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
call fcn.6d1b3d80
test eax, eax
jne 0x6d1b5423
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x4c]
push eax
push ebp
push ebp
push str.UninstallString
push esi
mov edi, str._s__uninstall__prompt__s
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d1b5209
lea ecx, [esp + 0x48]
push 0x6d1cbbf4
push ecx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
jne 0x6d1b5209
lea ecx, [esp + 0x34]
call fcn.6d1b31a0
lea ecx, [esp + 0x28]
call fcn.6d1b31a0
jmp 0x6d1b5441
cmp byte [esp + 0x13], 1
jne 0x6d1b5215
mov edi, str._s__system__uninstall__prompt__s
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x84c]
push eax
lea ecx, [esp + 0x50]
push edi
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc eax
push eax
lea eax, [esp + 0x4c]
push eax
push 1
push ebp
push str.UninstallString
push esi
call edi
mov ebp, eax
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x6d1b5268
push 0x80004005
call fcn.6d1b1d60
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [esp + 0x24]
inc eax
push eax
push ecx
push 1
push 0
push str.DisplayName
push esi
call edi
or ebp, eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x6d1b5296
push 0x80004005
call fcn.6d1b1d60
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [esp + 0x18]
inc eax
push eax
push edx
push 1
push 0
push str.DisplayIcon
push esi
call edi
push 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.NoModify
push esi
mov dword [esp + 0x2c], 1
call edi
or eax, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.NoRepair
push esi
or ebp, eax
mov dword [esp + 0x2c], 1
call edi
or ebp, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6d1b5341
mov edx, dword [ebx]
push 0
push eax
mov eax, dword [edx + 0x294]
push ebx
call eax
push eax
call fcn.6d1b4240
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x6d1b5323
push 0x80004005
call fcn.6d1b1d60
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [esp + 0x1c]
inc eax
push eax
push ecx
push 1
push 0
push str.Publisher
push esi
call edi
or ebp, eax
jmp 0x6d1b534d
push str.Publisher
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6d1b539c
mov edx, dword [ebx]
push 0
push eax
mov eax, dword [edx + 0x294]
push ebx
call eax
push eax
call fcn.6d1b4240
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x6d1b537e
push 0x80004005
call fcn.6d1b1d60
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [esp + 0x20]
inc eax
push eax
push ecx
push 1
push 0
push str.Comments
push esi
call edi
or ebp, eax
jmp 0x6d1b53a8
push str.Comments
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x6d1b53f1
mov edx, dword [ebx]
push 0
push eax
mov eax, dword [edx + 0x294]
push ebx
call eax
push eax
call fcn.6d1b4240
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x6d1b53d7
push 0x80004005
call fcn.6d1b1d60
push ebx
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
push eax
push ebx
push 1
push 0
push str.URLInfoAbout
push esi
call edi
or ebp, eax
jmp 0x6d1b53fd
push str.URLInfoAbout
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 0x34]
call fcn.6d1b2d10
test ebp, ebp
je 0x6d1b5418
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
call fcn.6d1b4e00
lea ecx, [esp + 0x28]
call fcn.6d1b2d10
xor ebp, ebp
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x6d1b5432
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x6d1b5441
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0xc3c
ret 0x24