Function at 0x140015598
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x708]
sub rsp, 0x7e0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140048f50]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
mov edi, r8d
mov ebx, edx
mov rsi, rcx
mov byte [rbp + 0x70], 0
mov r15d, 0x103
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x71]
call fcn.14001e2f0
mov byte [rbp + 0x4b0], 0
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x4b1]
call fcn.14001e2f0
mov byte [rbp + 0x180], 0
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x181]
call fcn.14001e2f0
mov byte [rsp + 0x60], 0
mov r8d, r15d
xor edx, edx
lea rcx, [rsp + 0x61]
call fcn.14001e2f0
mov byte [rbp + 0x290], 0
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x291]
call fcn.14001e2f0
lea r13d, [r15 + 1]
mov edx, r13d
lea rcx, [rbp + 0x290]
call fcn.14001374c
test eax, eax
jne 0x14001567c
lea rcx, str.Error:_InstallAutoUpdate____couldnt_find_WIPath
call fcn.1400113f8
mov eax, 0xfffffffd
jmp 0x1400158ee
call fcn.140013b98
test eax, eax
je 0x1400158dd
lea rcx, [rbp + 0x180]
call fcn.14000fa34
lea r8, str.SunJavaAU_
mov rdx, r13
lea rcx, [rbp + 0x180]
call fcn.140021074
xor edx, edx
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea r11, [rbp + 0x180]
mov qword [rsp + 0x20], r11
lea r9, str._sau.msi
or r14, 0xffffffffffffffff
mov r8, r14
mov rdx, r13
lea rcx, [rbp + 0x70]
call fcn.14001f9bc
lea r11, [rbp + 0x180]
mov qword [rsp + 0x20], r11
lea r9, str._sau.cab
mov r8, r14
mov rdx, r13
lea rcx, [rbp + 0x4b0]
call fcn.14001f9bc
lea r9, [rbp + 0x4b0]
lea r8, str.JAVA_INSTALLER
mov edx, 0x1f42
mov rcx, rsi
call fcn.1400138cc
lea r9, [rbp + 0x70]
lea r8, str.JAVA_INSTALLER
mov edx, 0x1f41
mov rcx, rsi
call fcn.1400138cc
test eax, eax
je 0x140015822
call fcn.14001491c
test eax, eax
je 0x14001574e
call fcn.140014998
lea rax, [rbp + 0x70]
mov r8, r14
mov rdx, r13
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x290]
mov qword [rsp + 0x20], rax
test ebx, ebx
lea r9, str.__s___i___s__ALLUSERS1_OEMUPDATE1__qn
jne 0x140015780
lea r9, str.__s___i___s__ALLUSERS1__qn
call fcn.14001f9bc
lea rcx, str.szExecutableNameCommand_is
call fcn.1400113f8
lea rcx, [rsp + 0x60]
call fcn.1400113f8
test edi, edi
je 0x1400157b1
lea rdx, str._REBOOTReallySuppress
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x290]
call fcn.140015460
mov ebx, eax
mov r9d, eax
lea r8, [rbp + 0x70]
lea rdx, str.install_au.msi___s_nAU_Install_Return_Code:__d
lea rcx, [rsp + 0x38]
call fcn.14001a9cc
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call fcn.1400113f8
test ebx, ebx
je 0x140015810
cmp qword [rsp + 0x50], 0x10
jb 0x140015809
mov rcx, qword [rsp + 0x38]
call fcn.14001e00c
mov eax, ebx
jmp 0x1400158ee
cmp qword [rsp + 0x50], 0x10
jb 0x140015822
mov rcx, qword [rsp + 0x38]
call fcn.14001e00c
mov byte [rbp + 0x5c0], 0
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x5c1]
call fcn.14001e2f0
mov byte [rbp + 0x3a0], 0
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x3a1]
call fcn.14001e2f0
lea r11, [rbp + 0x5c0]
mov qword [rsp + 0x20], r11
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x2b]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1400158d9
lea rax, [rbp + 0x5c0]
mov qword [rsp + 0x20], rax
lea r9, str._sJavaJava_Updatejaureg.exe
mov r8, r14
mov rdx, r13
lea rcx, [rbp + 0x3a0]
call fcn.14001f9bc
lea r11, str.1.7.0_76_b13
mov qword [rsp + 0x28], r11
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x20], rax
lea r9, str.__s___r_jre__s
mov r8, r14
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14001f9bc
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x3a0]
call fcn.140015460
xor eax, eax
jmp 0x1400158ee
lea rcx, str.AU_is_not_upgradable___Installed_version___the_bundled_version._n
call fcn.1400113f8
mov eax, 0xfffffffe
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.14001eba0
lea r11, [rsp + 0x7e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret