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

Disassembly:
sub esp, 0xa18
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0xa14], eax
mov eax, dword [esp + 0xa1c]
mov dword [esp + 4], eax
call fcn.6d2d5450
test eax, eax
jne 0x6d2d8d63
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 0x6d2d8b9c
call fcn.6d2d42f0
lea ecx, [esp + 0x220]
push ecx
call fcn.6d2d6650
add esp, 4
test eax, eax
jne 0x6d2d8ae2
lea edx, [esp + 0x18]
push pe_nt_image_headers32
push edx
mov dword [esp + 0x14], pe_nt_image_headers32
call fcn.6d2d8ef8
add esp, 8
test eax, eax
je 0x6d2d8bd7
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d2d5ad0
lea eax, [esp + 0x28]
push eax
push str.ScheduleId
push 0
call fcn.6d2d4190
add esp, 0x1c
jmp 0x6d2d8bd7
push str.1.6.0_10
lea ecx, [esp + 0x224]
push ecx
call ebp
test eax, eax
jns 0x6d2d8b37
lea edx, [esp + 0x18]
push pe_nt_image_headers32
push edx
mov dword [esp + 0x14], pe_nt_image_headers32
call fcn.6d2d8ef8
add esp, 8
test eax, eax
je 0x6d2d8b37
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.6d2d5ad0
lea eax, [esp + 0x28]
push eax
push str.ScheduleId
push 0
call fcn.6d2d4190
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push 0x6d2ddf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6d2d8b72
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 0x6d2d8bd7
call fcn.6d2d47a0
call fcn.6d2d7270
mov dword [esp + 0xa2c], 1
jmp 0x6d2d8bd7
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push 0x6d2ddf5c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6d2d8bd7
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.6d2d62a0
add esp, 0xc
test eax, eax
je 0x6d2d8d60
cmp dword [esp + 0x10], 0
jne 0x6d2d8c0e
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 0x6d2d8c52
call fcn.6d2d71c0
test eax, eax
je 0x6d2d8c52
lea ecx, [esp + 0x620]
push ecx
call fcn.6d2d8830
add esp, 4
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.6d2d932c
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 0x6d2d8d60
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 0x6d2d8ce1
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 0x6d2d8d01
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.6d2d6890
add esp, 4
cmp dword [esp + 0xa2c], 0
je 0x6d2d8d60
lea ecx, [esp + 0x11c]
push 1
push ecx
call fcn.6d2d45e0
add esp, 8
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xa14]
xor ecx, esp
call fcn.6d2d932c
add esp, 0xa18
ret