Function at 0x180079a90
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x440]
sub rsp, 0x540
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x590], rbx
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x30], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov qword [rdx + 0x10], r13
mov r12d, 1
mov dword [rsp + 0x20], r12d
mov rbx, qword [rcx + 0x70]
test rbx, rbx
je 0x180079c51
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x30]
call fcn.1800c61d0
call rbx
mov rbx, rax
test rax, rax
je 0x180079c24
mov r8, rax
mov edx, 0x400
lea rcx, [rbp + 0x30]
call fcn.1800df3ec
mov rcx, rbx
call qword [r15 + 0x58]
movdqa xmm0, xmmword [0x1801018d0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r13w
mov r8d, r12d
lea rdx, [0x18010860c]
lea rcx, [rsp + 0x38]
call fcn.18001b400
nop
mov r8d, 0xfde9
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.180098320
nop
mov r9, r14
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r15
call fcn.18007eb50
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180079bce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079bc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079f60
call fcn.1800965cc
movdqa xmm0, xmmword [0x1801018d0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r13w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180079c24
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079c1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079f66
call fcn.1800965cc
mov rax, r14
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.180096b80
mov rbx, qword [rsp + 0x590]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp qword [rcx + 0xe0], 0
jbe 0x180079c24
mov rdi, qword [rcx + 0xd8]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x180079c24
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x20]
call fcn.180027510
nop
lea rdx, [rbx + 0x40]
lea rcx, [rbp]
call fcn.180075400
nop
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
xor r8d, r8d
lea rdx, [0x1800ffaf8]
lea rcx, [rbp - 0x68]
call fcn.18000c340
nop
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov r8d, 0xa
lea rdx, str.product_id
lea rcx, [rsp + 0x78]
call fcn.18000c340
nop
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x48]
lea rcx, [rbp]
call fcn.180076070
nop
cmp qword [rax + 0x18], 0x10
jb 0x180079cf4
mov rax, qword [rax]
mov r8d, 0xfde9
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180098320
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x180079d43
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079f6c
call fcn.1800965cc
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x180079d8f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079d8a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079f72
call fcn.1800965cc
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180079ddb
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079dd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079f78
call fcn.1800965cc
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
lea r9, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r9, qword [rsp + 0x38]
mov r8d, 1
lea rdx, [rsp + 0x58]
mov rcx, r15
call fcn.180079580
or r12d, 2
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180079e73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079e6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079f54
call fcn.1800965cc
test esi, esi
je 0x180079ea6
mov rax, qword [r14 + 8]
cmp qword [r14 + 0x10], rax
je 0x180079e95
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.180027510
add qword [r14 + 8], 0x20
jmp 0x180079ea6
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r14
call fcn.18002e5d0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x180079ee5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180079edf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180079f5a
call fcn.1800965cc
nop
lea rcx, [rbp]
call fcn.180072930
lea rcx, [rbp - 0x20]
call fcn.18000bef0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180079f2b
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180079f23
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x180079f23
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180079f10
mov rbx, rax
jmp 0x180079c65
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x180079c65
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180079f40
jmp 0x180079c65
call fcn.1800c9338
nop
call fcn.1800c9338
nop
call fcn.1800c9338
nop
call fcn.1800c9338
nop
call fcn.1800c9338
nop
call fcn.1800c9338
nop
call fcn.1800c9338
int3