Function at 0x140102730
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm6
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x1c8], rax
mov qword [rcx + 0x38], 0
lea r13, [rdx + 8]
mov eax, dword [rdx + 8]
cmp eax, 1
jne 0x140102948
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x190], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
xor eax, eax
mov qword [rsp + 0x70], rax
mov r15, qword [rdi]
mov qword [rdi], rax
cmp r15, 0xffffffffffffffff
je 0x1401027c7
test r15, r15
je 0x1401027eb
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1401027e3
mov qword [rsp + 0x70], r15
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
lea rdx, [rsp + 0x70]
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 8], xmm0
lea r15, [rsp + 0x170]
mov rcx, r15
call fcn.140102ed0
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r12, [rsp + 0x110]
mov rcx, r15
mov rdx, r12
mov r8, r14
mov r9, rbx
call fcn.140131450
mov r8, qword [rsi + 0x38]
mov rcx, rsi
mov rdx, r12
call fcn.140102da0
mov rcx, r12
call fcn.1400bc5e0
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov rdx, r15
call fcn.1401313c0
lea r14, [rsp + 0x110]
mov rcx, r14
mov rdx, rbx
call fcn.140102e30
mov r15, qword [r14]
mov qword [r14], rbp
lea r14, [r15 + 1]
cmp r14, 2
jb 0x140102881
call fcn.1400a6030
cmp qword [rdi], r15
je 0x1401028b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14010292f
cmp r14, 2
jb 0x1401028ac
mov qword [rdi], r15
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsp + 0x118]
movups xmm1, xmmword [rsp + 0x128]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [r13], xmm0
mov rax, qword [rsp + 0x110]
inc rax
cmp rax, 2
jae 0x14010291b
lea rcx, [rsp + 0x170]
call fcn.140131390
mov rcx, qword [rsp + 0x1c8]
xor rcx, rsp
call fcn.14013d520
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400a6030
mov rcx, qword [rsp + 0x110]
call fcn.1400ccd80
jmp 0x1401028df
call fcn.1400a6030
mov rcx, qword [rdi]
call fcn.1400ccd80
mov qword [rdi], 0
jmp 0x14010289e
cmp eax, 2
je 0x140102ae8
test eax, eax
je 0x140102958
int3
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x190], rax
movaps xmm0, xmmword [0x1402e6d80]
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
xor eax, eax
mov qword [rsp + 0x148], rax
mov r15, qword [rdi]
mov qword [rdi], rax
test r15, r15
je 0x1401029c8
cmp r15, 0xffffffffffffffff
je 0x1401029a1
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r15 + 1]
cmp rax, 2
jb 0x1401029c0
mov qword [rsp + 0x148], r15
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
lea rdx, [rsp + 0x148]
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 8], xmm0
lea r15, [rsp + 0x170]
mov rcx, r15
call fcn.1400f2b70
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r12, [rsp + 0x110]
mov rcx, r15
mov rdx, r12
mov r8, r14
mov r9, rbx
call fcn.1400ea080
mov r8, qword [rsi + 0x38]
mov rcx, rsi
mov rdx, r12
call fcn.1401b7c90
mov rcx, r12
call fcn.1400bc5e0
lea rbx, [rsp + 0xe8]
mov rcx, rbx
mov rdx, r15
call fcn.14010a160
lea r14, [rsp + 0x110]
mov rcx, r14
mov rdx, rbx
call fcn.140102e30
mov r15, qword [r14]
mov qword [r14], rbp
lea r14, [r15 + 1]
cmp r14, 2
jb 0x140102a64
call fcn.1400a6030
cmp qword [rdi], r15
je 0x140102a97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140102d6d
cmp r14, 2
jb 0x140102a8f
mov qword [rdi], r15
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsp + 0x118]
movups xmm1, xmmword [rsp + 0x128]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [r13], xmm0
mov rax, qword [rsp + 0x110]
inc rax
cmp rax, 2
jae 0x140102ad4
lea rcx, [rsp + 0x170]
call fcn.1400dae10
jmp 0x1401028ec
call fcn.1400a6030
mov rcx, qword [rsp + 0x110]
call fcn.1400ccd80
jmp 0x140102ac2
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x190], rax
movaps xmm6, xmmword [0x1402e6d80]
movaps xmmword [rsp + 0x180], xmm6
movaps xmmword [rsp + 0x170], xmm6
xor eax, eax
mov qword [rsp + 0xc0], rax
mov r15, qword [rdi]
mov qword [rdi], rax
test r15, r15
je 0x140102b58
cmp r15, 0xffffffffffffffff
je 0x140102b31
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140102b50
mov qword [rsp + 0xc0], r15
call fcn.1400a6030
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
lea rdx, [rsp + 0xc0]
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 8], xmm0
lea r15, [rsp + 0x170]
mov rcx, r15
call fcn.1400bc340
mov rcx, r15
call fcn.1400e5430
test al, al
je 0x140102d86
lea r15, [rsp + 0x1a0]
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x170]
mov rdx, r15
mov r8, r14
mov r9, rbx
call fcn.140098b20
cmp byte [r15], 0
je 0x140102d86
lea r9, [rsp + 0x188]
movups xmm0, xmmword [rsp + 0x1a8]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x110]
mov r8, rbx
call fcn.1400ec690
mov r8, qword [rsi + 0x38]
lea rbx, [rsp + 0x110]
mov rcx, rsi
mov rdx, rbx
call fcn.140102da0
mov rcx, rbx
call fcn.1400bc5e0
xor eax, eax
mov qword [rsp + 0x98], rax
mov r14, qword [rsp + 0x170]
mov qword [rsp + 0x170], rax
test r14, r14
je 0x140102c6d
cmp r14, 0xffffffffffffffff
je 0x140102c46
call fcn.1400a6030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140102c65
mov qword [rsp + 0x98], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsp + 0x178]
movups xmm1, xmmword [rsp + 0x188]
lea rdx, [rsp + 0x98]
movups xmmword [rdx + 0x18], xmm1
movups xmmword [rdx + 8], xmm0
lea rbx, [rsp + 0x110]
mov rcx, rbx
call fcn.1400d0090
mov r14, qword [rbx]
mov qword [rbx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x140102cb6
call fcn.1400a6030
cmp qword [rdi], r14
je 0x140102ce9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140102d54
cmp r15, 2
jb 0x140102ce1
mov qword [rdi], r14
call fcn.1400a6030
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rsp + 0x118]
movups xmm1, xmmword [rsp + 0x128]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [r13], xmm0
mov rax, qword [rsp + 0x110]
inc rax
cmp rax, 2
jae 0x140102d40
mov rax, qword [rsp + 0x170]
inc rax
cmp rax, 2
jb 0x1401028ec
call fcn.1400a6030
mov rcx, qword [rsp + 0x170]
call fcn.1400ccd80
jmp 0x1401028ec
call fcn.1400a6030
mov rcx, qword [rsp + 0x110]
call fcn.1400ccd80
jmp 0x140102d14
call fcn.1400a6030
mov rcx, qword [rdi]
call fcn.1400ccd80
mov qword [rdi], 0
jmp 0x140102cd3
call fcn.1400a6030
mov rcx, qword [rdi]
call fcn.1400ccd80
mov qword [rdi], 0
jmp 0x140102a81
lea rcx, [rsp + 0x110]
call fcn.1400bd390
jmp 0x140102bfd