Function at 0x14002a550
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1880
call fcn.140068770
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x18b8], rbx
mov qword [rsp + 0x18c0], rsi
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rsp + 0x1870], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov rax, qword [rcx + 8]
lea r8, str.BEGIN_thread_installJreFunc
lea rdx, str.INFO
mov rcx, qword [rax + 0x8e40]
call fcn.140018920
nop
mov rcx, qword [rdi + 8]
add rcx, 0x9000
lea rdx, str.installJreFunc_start_
call fcn.140002680
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x178]
call fcn.140001678
nop
xor bl, bl
mov r12d, 3
xor r14d, r14d
lea r15, str.SUCCESS
lea r13, vtable.std::ios_base.0
nop dword [rax]
test r12d, r12d
jle 0x14002a880
test bl, bl
jne 0x14002a880
lea rcx, [rsp + 0x50]
call fcn.1400082d0
nop
lea rdx, str.____Start_download_jre_attemptRemind
lea rcx, [rsp + 0x60]
call fcn.14002c020
mov edx, r12d
mov rcx, rax
call fcn.14002bb70
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x50]
call fcn.140008470
nop
mov rcx, qword [rdi + 8]
mov rbx, qword [rcx + 0x8e40]
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, rbx
call fcn.140018920
nop
lea rcx, [rsp + 0x150]
call fcn.140001624
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1f8]
call fcn.140001678
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x220]
call fcn.140001678
mov qword [rsp + 0x248], r14
lea rdx, str.http:__dl.upzona.net_jre2_packed.ebz
lea rcx, [rsp + 0x1f8]
call fcn.1400026b0
nop
mov rax, qword [rdi + 8]
mov r9, rdi
mov r8, qword [rdi]
mov rdx, qword [rax + 0x8e40]
lea rcx, [rsp + 0x1d0]
call fcn.140054da0
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 8]
mov r8, qword [rax + 0x8e40]
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x30]
call fcn.1400551a0
mov rbx, rax
lea rax, [rsp + 0x178]
cmp rax, rbx
je 0x14002a792
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x178]
call fcn.140001678
cmp qword [rbx + 0x18], 8
jae 0x14002a764
mov r8, qword [rbx + 0x10]
inc r8
mov rdx, rbx
lea rcx, [rsp + 0x178]
call fcn.14000195c
jmp 0x14002a772
mov rax, qword [rbx]
mov qword [rsp + 0x178], rax
mov qword [rbx], r14
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x188], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x190], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
lea rcx, [rsp + 0x150]
call fcn.140001624
cmp qword [rsp + 0x188], 0
je 0x14002a7cd
lea rcx, [rsp + 0x178]
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002a7cd
test al, 0x10
jne 0x14002a7cd
mov bl, 1
jmp 0x14002a7cf
xor bl, bl
dec r12d
lea rdx, str.___End_download_jre_result
lea rcx, [rsp + 0x150]
call fcn.14000264c
nop
mov rcx, qword [rdi + 8]
mov rsi, qword [rcx + 0x8e40]
lea rdx, str.FAILED
test bl, bl
cmovne rdx, r15
mov rcx, rax
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, rsi
call fcn.140018920
nop
lea rcx, [rsp + 0x150]
call fcn.140001624
nop
lea rcx, [rsp + 0x220]
call fcn.140001624
lea rcx, [rsp + 0x1f8]
call fcn.140001624
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
lea rcx, [rsp + 0xe8]
call fcn.1400083a0
mov qword [rsp + 0xe8], r13
lea rcx, [rsp + 0xe8]
call fcn.140074548
jmp 0x14002a600
mov rsi, qword [rdi + 8]
lea r12, [rsi + 0x94c]
cmp word [r12], 0
jne 0x14002a8d3
cmp word [rsi + 0x744], 0
jne 0x14002a8a5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov r8d, 0x104
mov rdx, r12
lea rcx, [rsi + 0x744]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test eax, eax
jne 0x14002a8c4
mov word [r12], r14w
cmp word [r12], 0
jne 0x14002a8d3
lea r12, [rsi + 0x744]
lea rcx, [rsp + 0x178]
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002ab68
test al, 0x10
jne 0x14002ab68
test bl, bl
je 0x14002ab50
mov rcx, qword [rdi + 0x18]
cmp qword [rcx + 0x10], 0
je 0x14002a927
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
movss xmm3, dword [0x14009219c]
mov edx, 2
lea r8d, [rdx - 1]
call qword [rax]
lea rdx, str.unpackJre
lea rcx, [rsp + 0x150]
call fcn.14000264c
nop
mov rbx, qword [rdi + 8]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rsi, [rbx + 0xc80]
lea rdx, [rsp + 0x150]
mov rcx, rsi
call fcn.14004ad80
cmp qword [rax], 0
jne 0x14002a9d7
mov ecx, 0x30
call fcn.14005baec
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002a9c1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140001678
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x150]
mov rcx, rbx
call fcn.1400028b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], eax
jmp 0x14002a9c4
mov rbx, r14
lea rdx, [rsp + 0x150]
mov rcx, rsi
call fcn.14004ad80
mov qword [rax], rbx
lea rcx, [rsp + 0x150]
call fcn.140001624
lea rcx, [rsp + 0x178]
call fcn.1400018c0
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14000264c
nop
lea rdx, [0x14008a670]
mov rcx, rax
call fcn.140002680
mov rdx, r12
mov rcx, rax
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
lea rcx, vtable.CommandWithOneArg.0
mov qword [rsp + 0x250], rcx
mov word [rsp + 0x258], r14w
mov r8, rax
mov edx, 0x208
lea rcx, [rsp + 0x258]
call fcn.14005c0fc
lea r11, vtable.UnEbzCommand.0
mov qword [rsp + 0x250], r11
lea rcx, [rsp + 0x150]
call fcn.140001624
mov r11, qword [rdi + 8]
mov rcx, qword [r11 + 0x8e50]
mov rax, qword [rcx]
mov r9d, 0x100
lea r8, [rsp + 0x670]
lea rdx, [rsp + 0x250]
call qword [rax]
lea rdx, str.unpackJre
lea rcx, [rsp + 0x150]
call fcn.14000264c
nop
mov rbx, qword [rdi + 8]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 0xc80]
lea rdx, [rsp + 0x150]
call fcn.14004ad80
mov rbx, qword [rax]
test rbx, rbx
je 0x14002aaeb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2c], eax
lea rcx, [rsp + 0x150]
call fcn.140001624
mov rcx, qword [rdi + 8]
add rcx, 0x9000
lea rdx, str.ebz_
call fcn.140002680
lea rdx, [rsp + 0x670]
mov rcx, rax
call fcn.140002680
lea rdx, [0x14008a1a0]
mov rcx, rax
call fcn.140002680
mov rcx, qword [rdi + 0x18]
cmp qword [rcx + 0x10], 0
je 0x14002ab50
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
movss xmm3, dword [0x140091d40]
xor edx, edx
lea r8d, [rdx + 0x64]
call qword [rax]
lea rcx, [rsp + 0x178]
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14002ab8e
mov rcx, qword [rdi + 8]
add rcx, 0x8fb0
lea rdx, str.ebzDownloadFail
call fcn.140002680
lea rdx, [0x14008a1a0]
mov rcx, rax
call fcn.140002680
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x1a0]
call fcn.140001678
nop
mov word [rsp + 0x870], r14w
mov r9b, 1
lea r8, [rsp + 0x1a0]
lea rdx, [rsp + 0x870]
mov rcx, qword [rdi + 8]
call fcn.14002c7c0
cmp qword [rsp + 0x1b0], 0
je 0x14002ac31
lea rdx, [0x140088638]
lea rcx, [0x1400882a8]
call fcn.140007130
mov rcx, qword [rdi + 8]
add rcx, 0x9000
mov rdx, rax
call fcn.140002680
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x1a0]
mov rcx, rax
call fcn.14000272c
mov rbx, rax
lea rdx, [0x14008a1a0]
lea rcx, [0x1400882a8]
call fcn.140007130
mov rdx, rax
mov rcx, rbx
call fcn.140002680
jmp 0x14002ac4d
mov rcx, qword [rdi + 8]
add rcx, 0x9000
lea rdx, str.install_fail_
call fcn.140002680
call fcn.14002fdb0
mov rcx, qword [rdi + 8]
mov rbx, qword [rcx + 0x8e40]
add rcx, 0x9000
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, rbx
call fcn.140018920
mov rcx, qword [rdi + 8]
add rcx, 0x9000
lea rdx, str.installJreFunc_finish_
call fcn.140002680
mov rax, qword [rdi + 8]
lea r8, str._____END_thread_installJreFunc
lea rdx, str.INFO
mov rcx, qword [rax + 0x8e40]
call fcn.140018920
mov rcx, rdi
call fcn.14005ba88
nop
lea rcx, [rsp + 0x1a0]
call fcn.140001624
nop
lea rcx, [rsp + 0x178]
call fcn.140001624
xor eax, eax
jmp 0x14002acd8
mov rcx, qword [rsp + 0x1870]
xor rcx, rsp
call fcn.14005ba60
lea r11, [rsp + 0x1880]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret