Function at 0x14004cfe0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov qword [rsp + 0x40], rdx
xor r12d, r12d
cmp r8d, r9d
jb 0x14004d3ba
mov eax, r9d
and eax, 0x1f
jne 0x14004d3ba
mov rsi, rcx
add r8d, 0xfffffff0
mov eax, r9d
mov qword [rsp + 0x58], rax
lea rcx, [rax + 0x28]
xor r12d, r12d
mov rax, r8
xor edx, edx
div rcx
cmp rcx, r8
ja 0x14004d3ba
mov rcx, qword [rsp + 0x40]
mov qword [rsi], rcx
mov qword [rcx], 0
lea rcx, [rax + rax*4]
lea rdi, [rcx*8 + 0x10]
lea rcx, [rsi + 8]
mov qword [rsp + 0x50], rcx
xorps xmm6, xmm6
xor r14d, r14d
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], r9d
mov qword [rsp + 0x68], rax
mov r15, qword [rsi]
mov ecx, 0x48
call fcn.14017b1d8
mov r13, rax
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.14017b1d8
mov qword [rax + 0x10], r13
mov rcx, qword [rsp + 0x50]
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 [r13], rax
mov qword [rsp + 0x60], rdi
je 0x14004d10c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rax, qword [r13]
inc rax
cmp rax, 2
jae 0x14004d26d
mov rax, rbp
inc rax
cmp rax, 2
jb 0x14004d0ff
mov qword [r13], rbp
call fcn.140105b90
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [r13]
mov rdi, r15
lea rbx, [r15 + r14]
add rbx, 0x20
mov r15, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
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 0x14004d3ba
xor ecx, ecx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
cmp qword [r13 + 8], rax
je 0x14004d1a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rax, qword [r13 + 8]
inc rax
cmp rax, 2
jae 0x14004d2a3
mov rax, rbp
inc rax
cmp rax, 2
jb 0x14004d198
mov qword [r13 + 8], rbp
call fcn.140105b90
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [r13 + 8]
mov rbx, rdi
add rdi, r14
add rdi, 0x28
mov r15, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x100002
mov rcx, rax
mov rdx, rbp
mov r8, r15
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14004d3ba
lea rax, [rbx + r14]
add rax, 0x10
mov rdi, qword [rsp + 0x60]
mov qword [rax], rdi
mov dword [rax + 8], 1
mov rdx, qword [rsp + 0x40]
mov qword [r13 + 0x20], rdx
mov ecx, dword [rsp + 0x3c]
mov dword [r13 + 0x10], ecx
mov qword [r13 + 0x28], rax
mov rax, qword [rax]
add rax, rdx
mov qword [r13 + 0x18], rax
mov rax, qword [rsi + 0x38]
mov qword [r13 + 0x30], rax
mov rax, qword [rsi + 0x28]
mov qword [r13 + 0x38], rax
mov eax, dword [rsi + 0x30]
mov dword [r13 + 0x40], eax
add rdi, qword [rsp + 0x58]
mov rcx, qword [rsi + 0x20]
mov r8, qword [r13]
mov qword [rsp + 0x20], r13
mov rdx, rsi
lea r9, [0x140021c60]
call fcn.1400793d0
add r14, 0x28
mov rax, qword [rsp + 0x68]
dec rax
jne 0x14004d070
jmp 0x14004d369
call fcn.140105b90
mov rbx, qword [r13]
cmp qword [0x1402a45d0], 0
je 0x14004d2d9
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401e7f70.0]
mov qword [r13], 0
jmp 0x14004d0ea
call fcn.140105b90
mov rbx, qword [r13 + 8]
cmp qword [0x1402a45d0], 0
je 0x14004d30f
mov rcx, qword [0x1402a45d0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401e7f70.0]
mov qword [r13 + 8], 0
jmp 0x14004d183
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14027d081]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d361
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004d345
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
jmp 0x14004d349
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14027d081]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004d365
lea rcx, [sym.Maxthon.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004d353
call qword [case.0x1401e7f70.0]
mov rcx, rax
xor edx, edx
jmp 0x14004d357
xor ecx, ecx
mov dl, 1
call fcn.140005a10
jmp 0x14004d280
xor ecx, ecx
mov dl, 1
call fcn.140005a10
jmp 0x14004d2b6
xor ecx, ecx
jmp 0x14004d30b
xor ecx, ecx
jmp 0x14004d341
mov rdi, qword [rsi]
mov rbx, qword [rsi + 0x28]
add rdi, 8
mov r14, qword [0x1402a63f8]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x100002
mov rcx, rax
mov rdx, r14
mov r8, rbx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14004d3ba
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov r12b, 1
mov eax, r12d
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret