Function at 0x140082bcc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1401d3050]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
lea rcx, [rbp - 1]
call fcn.1400828b0
lea r8, str._bundle.js
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.14008270c
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140082c24
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov r14d, 0x1000
test eax, eax
jne 0x140082e4d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x21]
call fcn.14001f984
lea rcx, [rbp - 0x21]
mov r10, qword [rbp - 0x21]
mov r11, qword [rbp - 9]
cmp r11, 0x10
cmovae rcx, r10
or rsi, 0xffffffffffffffff
mov r9, qword [rbp - 0x11]
test r9, r9
je 0x140082c94
lea rax, [r9 - 1]
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
add r8, rcx
jmp 0x140082c89
cmp r8, rcx
je 0x140082c94
dec r8
cmp byte [r8], 0x2e
jne 0x140082c81
sub r8, rcx
jmp 0x140082c97
mov r8, rsi
lea rdx, [rbp - 0x21]
cmp r11, 0x10
cmovae rdx, r10
test r9, r9
je 0x140082ccd
lea rax, [r9 - 1]
mov rcx, rsi
cmp rax, rsi
cmovb rcx, rax
add rcx, rdx
jmp 0x140082cc3
cmp rcx, rdx
je 0x140082ccd
dec rcx
cmp byte [rcx], 0x5c
jne 0x140082cbb
sub rcx, rdx
jmp 0x140082cd0
mov rcx, rsi
cmp r8, rsi
je 0x140082d20
cmp rcx, rsi
je 0x140082cdf
cmp r8, rcx
jbe 0x140082d20
cmp r9, r8
jb 0x140082eaa
mov rax, r9
sub rax, r8
mov edx, 1
cmp rax, rdx
cmovb rdx, rax
lea rcx, [rbp - 0x21]
cmp r11, 0x10
cmovae rcx, r10
add rcx, r8
sub r9, rdx
mov qword [rbp - 0x11], r9
sub r9, r8
lea r8, [r9 + 1]
add rdx, rcx
call sub.VCRUNTIME140.dll_memmove
nop
lea r8, str._bundle.js
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.14008270c
mov rdx, rax
mov rcx, rbx
call fcn.14001f1a4
mov rax, qword [rbp + 0x37]
cmp rax, 0x10
jb 0x140082d77
mov rcx, qword [rbp + 0x1f]
mov rdx, rcx
inc rax
cmp rax, r14
jb 0x140082d70
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140082d70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140082d84
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140082e15
lea r8, str..bundle
lea rdx, [rbp - 1]
lea rcx, [rbp + 0x1f]
call fcn.14008270c
mov rdx, rax
mov rcx, rbx
call fcn.14001f1a4
mov rax, qword [rbp + 0x37]
cmp rax, 0x10
jb 0x140082de9
mov rcx, qword [rbp + 0x1f]
mov rdx, rcx
inc rax
cmp rax, r14
jb 0x140082de2
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140082de2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140082df6
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140082e15
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140082e0d
mov rax, qword [rbx]
and qword [rbx + 0x10], 0
mov byte [rax], 0
mov rax, qword [rbp - 9]
cmp rax, 0x10
jb 0x140082e4d
mov rcx, qword [rbp - 0x21]
mov rdx, rcx
inc rax
cmp rax, r14
jb 0x140082e46
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140082e46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x17]
cmp rax, 0x10
jb 0x140082e87
mov rcx, qword [rbp - 1]
mov rdx, rcx
inc rax
cmp rax, r14
jb 0x140082e80
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140082e80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140118d00
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r14
pop rsi
pop rbp
ret
call fcn.1400217cc
nop
jmp 0x140082eb4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401d3050]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x14017f2d0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rcx + 0x10]
lea rcx, [rbp - 0x28]
call fcn.140005de8
movdqa xmm0, xmmword [0x14017f2d0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbx + 8]
lea rcx, [rbp - 0x48]
call fcn.140005de8
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.1400827e0
mov ebx, 0x1000
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x140082f78
mov rcx, qword [rbp - 0x48]
mov rdx, rcx
inc rax
cmp rax, rbx
jb 0x140082f71
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140082f71
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14017f2d0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x140082fc1
mov rcx, qword [rbp - 0x28]
mov rdx, rcx
inc rax
cmp rax, rbx
jb 0x140082fba
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x140082fba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140118d00
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret