Function at 0x180008830
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x1800880b8]
xor rax, rsp
mov qword [rbp + 0x37], rax
call fcn.180008fd0
mov rcx, rax
lea rdx, [rbp + 0x17]
call fcn.1800060a0
nop
xor r15d, r15d
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov rdi, qword [rbp + 0x27]
lea rsi, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rsi, qword [rbp + 0x17]
movabs r12, 0x7ffffffffffffffe
cmp rdi, 8
jae 0x1800088b9
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x41], 7
jmp 0x1800088ef
mov rbx, rdi
or rbx, 7
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x59]
call fcn.180002780
mov qword [rbp - 0x59], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.180036660
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x49], rdi
lea rcx, [rbp - 0x59]
call fcn.1800040c0
mov r14, rax
call fcn.180008fd0
mov rcx, rax
lea rdx, [rbp - 9]
call fcn.180005960
nop
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov rdi, qword [rbp + 7]
lea rsi, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rsi, qword [rbp - 9]
cmp rdi, 8
jae 0x180008942
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x41], 7
jmp 0x180008978
mov rbx, rdi
or rbx, 7
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x59]
call fcn.180002780
mov qword [rbp - 0x59], rax
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.180036660
mov qword [rbp - 0x41], rbx
mov qword [rbp - 0x49], rdi
lea rcx, [rbp - 0x59]
call fcn.1800040c0
test rax, rax
jle 0x18000899a
mov rcx, rax
call fcn.1800144d0
test eax, eax
jne 0x180008ad0
test r14, r14
jg 0x1800089d2
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
xor ecx, ecx
call fcn.180041bb0
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.180003ec0
mov rbx, rax
call fcn.180008fd0
mov rcx, rax
mov rdx, rbx
call fcn.180006930
jmp 0x180008ad0
mov edx, 0xc
mov rcx, r14
call fcn.180014410
test eax, eax
je 0x180008ad0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
xor ecx, ecx
call fcn.180041bb0
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.180003ec0
mov rbx, rax
call fcn.180008fd0
mov rcx, rax
mov rdx, rbx
call fcn.180006930
call fcn.180008fd0
mov rcx, rax
lea rdx, [rbp - 0x29]
call fcn.1800056f0
nop
mov r8d, 0xd
lea rdx, str.WinUpdate.exe
lea rcx, [rbp - 0x29]
call fcn.1800027f0
lea rcx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rcx, qword [rbp - 0x29]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x180008a7e
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
mov dword [rsp + 0x20], r15d
mov r9d, 0xffffffff
xor r8d, r8d
lea rcx, str._8882471530
call fcn.1800141f0
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x180008abe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008ab9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b91
call fcn.180018774
movdqa xmm0, xmmword [0x180063aa0]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], r15w
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x180008b10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b97
call fcn.180018774
movdqa xmm0, xmmword [0x180063aa0]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r15w
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x180008b5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008b59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008b8b
call fcn.180018774
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180018f00
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.18003a194
nop
call fcn.18003a194
nop
call fcn.18003a194
int3