Function at 0x1400463b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x38], rdx
xor edi, edi
cmp r8d, r9d
jb 0x1400467a7
mov eax, r9d
and eax, 0x1f
jne 0x1400467a7
mov rsi, rcx
add r8d, 0xfffffff0
mov eax, r9d
mov qword [rsp + 0x68], rax
lea rcx, [rax + 0x28]
xor edi, edi
mov rax, r8
xor edx, edx
div rcx
cmp rcx, r8
ja 0x1400467a7
movabs r8, 0xfffffffc00000000
mov rdx, qword [rsp + 0x38]
mov qword [rsi], rdx
mov qword [rdx], 0
lea rcx, [rax + rax*4]
lea r15, [rcx*8 + 0x10]
lea rcx, [rsi + 8]
mov qword [rsp + 0x60], rcx
and rdx, r8
mov qword [rsp + 0x58], rdx
mov r14d, 0x10
mov ebx, 0x28
xorps xmm6, xmm6
mov qword [rsp + 0x50], rax
mov rdi, rax
mov dword [rsp + 0x4c], r9d
mov qword [rsp + 0x78], r15
mov r13, qword [rsi]
mov ecx, 0x48
call fcn.14012aa30
mov r12, rax
movups xmmword [rax], xmm6
movups xmmword [rax + 0x18], xmm6
movups xmmword [rax + 0x28], xmm6
mov ecx, 0x18
call fcn.14012aa30
test rax, rax
je 0x140046936
mov qword [rsp + 0x70], rdi
mov qword [rax + 0x10], r12
mov rcx, qword [rsp + 0x60]
mov qword [rax + 8], rcx
mov rcx, qword [rsi + 8]
mov qword [rax], rcx
mov qword [rcx + 8], rax
mov qword [rsi + 8], rax
inc qword [rsi + 0x18]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
cmp qword [r12], rax
je 0x140046509
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [r12]
inc rax
cmp rax, 2
jae 0x14004680b
mov rax, rbp
inc rax
cmp rax, 2
jb 0x1400464fd
mov qword [r12], rbp
call fcn.1400b28a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [r12]
mov qword [rsp + 0x40], rbx
lea r15, [rbx + r13]
add r15, 0xfffffffffffffff8
mov rbx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x100002
mov rcx, rax
mov rdx, rbp
mov r8, rbx
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400467a7
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
cmp qword [r12 + 8], rax
je 0x1400467c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [r12 + 8]
inc rax
cmp rax, 2
mov rbx, qword [rsp + 0x40]
jae 0x1400467cf
mov rax, rbp
inc rax
cmp rax, 2
jb 0x14004659f
mov qword [r12 + 8], rbp
call fcn.1400b28a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [r12 + 8]
add rbx, r13
mov r15, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x100002
mov rcx, rax
mov rdx, rbp
mov r8, r15
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400467a7
mov r15, qword [rsp + 0x78]
mov qword [r13 + r14], r15
mov dword [r13 + r14 + 8], 1
mov rcx, qword [r12 + 0x20]
mov rax, qword [0x1402336c8]
mov rdx, rcx
movabs rbx, 0xfffffffc00000000
and rdx, rbx
cmp rdx, rax
mov edi, dword [rsp + 0x4c]
je 0x1400468ef
cmp qword [rsp + 0x58], rax
je 0x140046900
mov rax, qword [rsp + 0x38]
mov qword [r12 + 0x20], rax
mov dword [r12 + 0x10], edi
mov rcx, qword [r12 + 0x28]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x1402336c8]
je 0x1400468ce
add r13, r14
mov rax, r13
and rax, rbx
cmp rax, qword [0x1402336c8]
je 0x14004690f
mov qword [r12 + 0x28], r13
mov rcx, qword [r12 + 0x20]
mov rdi, qword [r13]
add rdi, rcx
mov rax, rcx
and rax, rbx
cmp rax, qword [0x1402336c8]
je 0x140046949
mov rax, rdi
and rax, rbx
cmp rax, qword [0x1402336c8]
je 0x1400468ec
mov rax, rdi
and rax, rbx
cmp rax, qword [0x1402336c8]
je 0x14004691c
mov rax, r12
add rax, 0x18
mov rcx, qword [rax]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x1402336c8]
je 0x1400468d8
mov qword [r12 + 0x18], rdi
mov rdi, qword [rsi + 0x38]
mov rcx, qword [r12 + 0x30]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x1402336c8]
je 0x1400468e2
mov rax, rdi
and rax, rbx
cmp rax, qword [0x1402336c8]
mov r13, qword [rsp + 0x70]
je 0x140046929
mov qword [r12 + 0x30], rdi
mov rax, qword [rsi + 0x28]
mov qword [r12 + 0x38], rax
mov eax, dword [rsi + 0x30]
mov dword [r12 + 0x40], eax
add r15, qword [rsp + 0x68]
mov rcx, qword [rsi + 0x20]
mov r8, qword [r12]
mov qword [rsp + 0x20], r12
mov rdx, rsi
lea r9, [0x14004f010]
call fcn.140046970
add r14, 0x28
mov rbx, qword [rsp + 0x40]
add rbx, 0x28
dec r13
mov rdi, r13
jne 0x14004645e
mov rbx, qword [rsi]
mov r14, qword [rsi + 0x28]
add rbx, 8
mov r15, qword [0x14024a608]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x100002
mov rcx, rax
mov rdx, r15
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400467a7
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov dil, 1
mov eax, edi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [rsp + 0x40]
jmp 0x1400465ac
call fcn.1400b28a0
mov r15, qword [r12 + 8]
cmp qword [0x140243970], 0
je 0x140046886
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [0x1402233e0]
mov qword [r12 + 8], 0
jmp 0x140046589
call fcn.1400b28a0
mov r15, qword [r12]
cmp qword [0x140243970], 0
je 0x140046841
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r15
call qword [0x1402233e0]
mov qword [r12], 0
jmp 0x1400464e8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004695c
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140046880
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14004681e
xor ecx, ecx
mov dl, 1
jmp 0x140046879
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140046963
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400468c8
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x1400467e7
xor ecx, ecx
mov dl, 1
jmp 0x1400468be
call fcn.1400a3600
jmp 0x140046653
call fcn.14009b9a0
jmp 0x1400466d0
call fcn.1400a3600
jmp 0x1400466f1
int3
call fcn.14009b9a0
mov rax, qword [0x1402336c8]
jmp 0x140046621
mov rcx, qword [rsp + 0x38]
call fcn.14009b840
jmp 0x14004662c
mov rcx, r13
call fcn.1400a3490
jmp 0x140046669
mov rcx, rdi
call fcn.14009b840
jmp 0x1400466b3
mov rcx, rdi
call fcn.1400a3490
jmp 0x140046709
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140164a90
mov r8d, 1
mov rdx, rdi
call fcn.1401672c0
jmp 0x1400466a0
xor ecx, ecx
jmp 0x140046877
xor ecx, ecx
jmp 0x1400468bc