Function at 0x6d1c8a30
Capabilities:
Delete registry value
Get common file path
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0xa18
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0xa14], eax
mov eax, dword [esp + 0xa1c]
mov dword [esp + 4], eax
call fcn.6d1c5450
test eax, eax
jne 0x6d1c8d63
push ebp
mov ebp, dword [sym.imp.kernel32.dll_lstrcmpiA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xa30], eax
je 0x6d1c8b9c
call fcn.6d1c42f0
lea ecx, [esp + 0x220]
push ecx
call fcn.6d1c6650
add esp, 4
test eax, eax
jne 0x6d1c8ae2
lea edx, [esp + 0x18]
push pe_nt_image_headers32
push edx
mov dword [esp + 0x14], pe_nt_image_headers32
call fcn.6d1c8ef8
add esp, 8
test eax, eax
je 0x6d1c8bd7
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d1c5ad0
lea eax, [esp + 0x28]
push eax
push str.ScheduleId
push 0
call fcn.6d1c4190
add esp, 0x1c
jmp 0x6d1c8bd7
push str.1.6.0_10
lea ecx, [esp + 0x224]
push ecx
call ebp
test eax, eax
jns 0x6d1c8b37
lea edx, [esp + 0x18]
push pe_nt_image_headers32
push edx
mov dword [esp + 0x14], pe_nt_image_headers32
call fcn.6d1c8ef8
add esp, 8
test eax, eax
je 0x6d1c8b37
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d1c5ad0
lea eax, [esp + 0x28]
push eax
push str.ScheduleId
push 0
call fcn.6d1c4190
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6d1c8b72
push str.ScheduleId
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0xc]
push edx
call edi
lea eax, [esp + 0x220]
push eax
push str.10.0.0
call ebp
test eax, eax
jle 0x6d1c8bd7
call fcn.6d1c47a0
call fcn.6d1c7270
mov dword [esp + 0xa2c], 1
jmp 0x6d1c8bd7
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push 0x6d1cdf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6d1c8bd7
push str.ScheduleId
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0xc]
push edx
call edi
push 0x400
lea eax, [esp + 0x624]
push eax
lea ecx, [esp + 0x228]
push ecx
call fcn.6d1c62a0
add esp, 0xc
test eax, eax
je 0x6d1c8d60
cmp dword [esp + 0x10], 0
jne 0x6d1c8c0e
lea edx, [esp + 0x620]
mov dword [esp + 0x10], edx
push str.1.6.0_01
lea eax, [esp + 0x224]
push eax
call ebp
test eax, eax
js 0x6d1c8c52
call fcn.6d1c71c0
test eax, eax
je 0x6d1c8c52
lea ecx, [esp + 0x620]
push ecx
call fcn.6d1c8830
add esp, 4
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.6d1c932c
add esp, 0xa18
ret
lea edx, [esp + 0x14]
push edx
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x6d1c8d60
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SOFTWAREJavaSoftAuto_Update
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x6d1c8ce1
push 0x103
push eax
lea ecx, [esp + 0x21]
push ecx
mov byte [esp + 0x24], al
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.jusched.exe
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x124]
push str.__sJavaJava_Update_s_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call edi
jmp 0x6d1c8d01
mov eax, dword [esp + 0x10]
push str.jusched.exe
push eax
lea ecx, [esp + 0x124]
push str.__s_bin_s_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [esp + 0x14]
inc eax
push eax
lea eax, [esp + 0x120]
push eax
push 1
push 0
push str.SunJavaUpdateSched
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
call edi
lea eax, [esp + 0x11c]
push eax
call fcn.6d1c6890
add esp, 4
cmp dword [esp + 0xa2c], 0
je 0x6d1c8d60
lea ecx, [esp + 0x11c]
push 1
push ecx
call fcn.6d1c45e0
add esp, 8
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.6d1c932c
add esp, 0xa18
ret