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

Disassembly:
mov eax, 0x1628
call fcn.100378e0
mov eax, dword [0x1004f860]
xor eax, esp
mov dword [esp + 0x1624], eax
mov eax, dword [esp + 0x162c]
mov dword [esp + 4], eax
call fcn.10028050
test eax, eax
jne 0x1002b23b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll__wcsicmp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
xor edi, edi
cmp dword [esp + 0x1644], edi
je 0x1002b021
call fcn.1002a200
lea ecx, [esp + 0x634]
push ecx
call fcn.100294c0
add esp, 4
test eax, eax
jne 0x1002af5e
push 1
push edi
call fcn.1002a7a0
add esp, 8
jmp 0x1002b092
lea edx, [esp + 0x634]
push str.1.6.0_10
push edx
call ebp
add esp, 8
test eax, eax
jns 0x1002af7f
push 1
push edi
call fcn.1002a7a0
add esp, 8
call fcn.100288a0
mov dword [esp + 0x10], edi
test eax, eax
je 0x1002afbe
lea eax, [esp + 0x10]
push eax
push 0x2021f
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002aff0
push str.ScheduleId
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x1002afee
lea edx, [esp + 0x10]
push edx
push 0x2021f
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002aff0
push str.ScheduleId
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x10]
push eax
call ebx
lea ecx, [esp + 0x634]
push ecx
push str.11.241.2
call ebp
add esp, 8
test eax, eax
jle 0x1002b092
call fcn.10027250
call fcn.1002a900
mov dword [esp + 0x1640], 1
jmp 0x1002b092
call fcn.100288a0
mov dword [esp + 0x10], edi
test eax, eax
je 0x1002b060
lea edx, [esp + 0x10]
push edx
push 0x2021f
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicyjucheck
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002b092
push str.ScheduleId
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [esp + 0x10]
push eax
jmp 0x1002b090
lea ecx, [esp + 0x10]
push ecx
push 0x2021f
push edi
push str.SOFTWAREJavaSoftJava_UpdatePolicy
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1002b092
push str.ScheduleId
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 0x10]
push edx
call ebx
push 0x400
lea eax, [esp + 0xe38]
push eax
lea ecx, [esp + 0x63c]
push ecx
call fcn.100290f0
add esp, 0xc
test eax, eax
je 0x1002b237
cmp dword [esp + 0x14], edi
jne 0x1002b0c8
lea edx, [esp + 0xe34]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x634]
push str.1.6.0_01
push eax
call ebp
add esp, 8
test eax, eax
js 0x1002b0fc
call fcn.1002a300
test eax, eax
je 0x1002b0fc
lea ecx, [esp + 0xe34]
push ecx
call fcn.1002ab40
add esp, 4
jmp 0x1002b237
lea edx, [esp + 0x18]
push edx
push 0x2021f
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x1002b237
lea eax, [esp + 0x10]
push eax
push 0x20219
push edi
push str.SOFTWAREJavaSoftAuto_Update
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x1002b197
push 0x206
lea edx, [esp + 0x432]
xor ecx, ecx
push edi
push edx
mov word [esp + 0x438], cx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [esp + 0x42c]
push eax
push edi
push edi
push 0x2c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.jusched.exe
lea ecx, [esp + 0x430]
push ecx
lea edx, [esp + 0x22c]
push str._sJavaJava_Update_s
push edx
call esi
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
call ebx
jmp 0x1002b1b9
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.jusched.exe
push ecx
lea edx, [esp + 0x22c]
push str._s_bin_s
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x20]
push str.__s_
push ecx
call esi
lea eax, [esp + 0x28]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1002b1d7
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x20]
push eax
push 1
push edi
push str.SunJavaUpdateSched
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 0x18]
push edx
call ebx
lea eax, [esp + 0x1c]
push eax
call fcn.10029730
add esp, 4
cmp dword [esp + 0x1640], edi
je 0x1002b237
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x22c]
push edx
call fcn.10027090
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1624]
xor ecx, esp
call fcn.1003779c
add esp, 0x1628
ret