Function at 0x14000c958
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xde8
mov r14, rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdx + 0x20]
mov rax, qword [rdx + 0xa8]
mov rdx, rcx
sub rdx, rax
jb 0x14000d32e
mov rbp, r9
mov r12, r8
mov qword [rsp + 0x68], rdx
cmp rdx, qword [r14 + 0x88]
jne 0x14000cad5
cmp rcx, rax
jbe 0x14000d32e
mov rsi, qword [r14 + 0x18]
imul rax, rax, 0x270
cmp dword [rsi + rax + 0x10], 3
je 0x14000cad5
add rsi, rax
lea rdi, [rsp + 0x4a0]
mov rcx, rdi
mov rdx, rsi
call fcn.14000a600
cmp dword [rdi], 3
jne 0x14000c9ea
mov edi, 8
xor eax, eax
xor ebx, ebx
jmp 0x14000caac
lea rdi, [rsp + 0x230]
mov edx, 4
mov rcx, rdi
call fcn.14000a6ce
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x4a0]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rdi]
lea r13, [rsp + 0x710]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 1
mov rcx, rdi
mov rdx, rsi
call fcn.14000a600
cmp dword [rsp + 0x230], 3
je 0x14000ca87
mov rbx, qword [rsp + 0x720]
cmp rbx, qword [rsp + 0x710]
jne 0x14000ca5d
mov rcx, r13
call fcn.14000a715
imul rcx, rbx, 0x90
add rcx, qword [rsp + 0x718]
mov r8d, 0x90
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
inc rbx
mov qword [rsp + 0x720], rbx
jmp 0x14000ca2e
lea rcx, [rsp + 0x230]
call fcn.14000a70b
mov rbx, qword [rsp + 0x710]
mov rdi, qword [rsp + 0x718]
mov rax, qword [rsp + 0x720]
imul r15, rax, 0x90
add r15, rdi
mov rcx, rsi
call fcn.14000aa8b
mov dword [rsi + 0x10], 3
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], r15
movabs r15, 0x8000000000000001
test rbp, rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], r12
je 0x14000cb79
lea rcx, [rsp + 0x70]
mov rdx, r12
mov r8, rbp
call fcn.140008b55
mov qword [rsp + 0x20], 1
lea r9, [0x1400130d0]
lea rdi, [rsp + 0x710]
mov rcx, rdi
mov rdx, r12
mov r8, rbp
call fcn.14000955d
mov rsi, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
lea r13, [rsp + 0x4a0]
mov rcx, r13
mov rdx, rsi
call fcn.140008e92
mov rdi, qword [r13]
mov r13, qword [r13 + 8]
lea rax, [r15 - 1]
cmp rdi, rax
jne 0x14000cbda
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140002e8f
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.140002e8f
jmp 0x14000cb83
movabs r13, 0x300000002
mov r12, qword [r14 + 0xb0]
lea rsi, [rsp + 0x238]
mov rcx, rsi
mov rdx, qword [rsp + 0x40]
mov r8, rbp
call fcn.140008b55
lea rax, [r15 - 1]
mov qword [rsi - 8], rax
mov qword [rsi + 0x20], r13
mov qword [rsi + 0x38], r12
lea rdi, [rsp + 0xc8]
lea rsi, [rsp + 0x230]
mov ecx, 0x12
rep movsd dword [rdi], dword [rsi]
mov rbp, 0xffffffffffffffff
mov ebx, 2
jmp 0x14000cd10
lea rbp, [rsp + 0x4a0]
mov r8d, 0x250
mov rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov ebx, 1
mov rcx, r13
mov edx, 1
mov r8, rbp
xor r9d, r9d
call qword [sym.imp.kernel32.dll_FindFirstFileExW]
cmp rax, 0xffffffffffffffff
je 0x14000cc64
mov rbp, rax
lea rcx, [rsp + 0x70]
call fcn.14000a5c8
mov r12, rax
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x4a0]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
mov rdx, r13
call fcn.1400079a9
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140002e8f
jmp 0x14000cca4
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x14000d2ed
lea rcx, [rsp + 0x70]
call fcn.14000a5c8
mov r12, rax
mov rcx, rdi
mov rdx, r13
call fcn.1400079a9
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140002e8f
mov rbp, 0xffffffffffffffff
xor ebx, ebx
mov r13, r12
lea rdi, [rsp + 0x710]
lea rsi, [rsp + 0x230]
mov ecx, 0x13
rep movsd dword [rdi], dword [rsi]
lea rdx, [rsp + 0x27c]
lea r12, [rsp + 0x4a0]
mov r8d, 0x208
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0xc4]
mov ecx, 0x13
lea rsi, [rsp + 0x710]
rep movsd dword [rdi], dword [rsi]
lea rcx, [rsp + 0xbe0]
mov r8d, 0x208
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov r12, qword [r14 + 0xb0]
lea rdi, [rsp + 0x984]
mov qword [rdi + 0x254], r12
mov qword [rdi - 0x14], r13
mov qword [rdi - 0xc], rbp
mov dword [rdi - 4], ebx
lea rsi, [rsp + 0xc4]
mov ecx, 0x13
rep movsd dword [rdi], dword [rsi]
lea rcx, [rsp + 0x9d0]
lea rdx, [rsp + 0xbe0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memcpy
cmp qword [r14 + 0x78], 0
mov rbp, qword [rsp + 0x30]
je 0x14000d118
lea rax, [r14 + 0x78]
mov qword [rsp + 0x48], rax
lea rsi, [rsp + 0x4a0]
lea rdx, [rsp + 0x970]
mov r8d, 0x270
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi + 0x10]
cmp eax, 2
je 0x14000cdd9
cmp eax, 3
jne 0x14000ce4a
mov rdx, qword [rsp + 0x4c0]
cmp rdx, qword [rsp + 0x4d0]
je 0x14000ce8a
lea rax, [rdx + 0x90]
mov qword [rsp + 0x4c0], rax
lea rcx, [rsp + 0x110]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000ce7c
mov rcx, qword [rsp + 0x4b8]
mov qword [rsp + 0x4b8], r15
mov eax, 3
cmp rcx, r15
je 0x14000ce40
mov qword [rsp + 0x118], rcx
movups xmm0, xmmword [rsp + 0xd0]
movups xmm1, xmmword [rsp + 0xe0]
movups xmm2, xmmword [rsp + 0xf0]
movups xmm3, xmmword [rsp + 0x100]
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm1
movups xmmword [rsp + 0x140], xmm2
movups xmmword [rsp + 0x150], xmm3
mov eax, 2
mov qword [rsp + 0x110], rax
jmp 0x14000ce84
lea rdx, [rsp + 0x4a0]
mov rsi, qword [rdx + 0x268]
lea rdi, [rsp + 0x230]
mov rcx, rdi
call fcn.1400093b9
lea rcx, [rsp + 0x110]
mov rdx, rdi
mov r8, rsi
call fcn.14000a80e
mov rax, qword [rsp + 0x110]
cmp rax, 3
jne 0x14000ceb9
lea rsi, [rsp + 0x4a0]
mov rcx, rsi
call fcn.14000aa8b
lea rax, [rsp + 0x48]
mov qword [rsi], rax
mov qword [rsp + 0x230], rsi
mov esi, 8
xor r12d, r12d
xor edi, edi
jmp 0x14000d0e3
lea rsi, [rsp + 0x230]
mov edx, 4
mov rcx, rsi
call fcn.14000a6ce
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x110]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rsi]
lea r13, [rsp + 0x50]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 1
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x4a0]
mov r8d, 0x270
call sub.VCRUNTIME140.dll_memcpy
lea r12, [rsp + 0x1b0]
lea rbp, [rsp + 0x1a0]
lea rdi, [rsp + 0x710]
mov eax, dword [rsp + 0x240]
cmp eax, 2
je 0x14000cf77
cmp eax, 3
jne 0x14000cfcf
mov rdx, qword [rsp + 0x250]
cmp rdx, qword [rsp + 0x260]
je 0x14000d039
lea rax, [rdx + 0x90]
mov qword [rsp + 0x250], rax
mov r8d, 0x90
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000cff0
mov rcx, qword [rsp + 0x248]
mov qword [rsp + 0x248], r15
mov eax, 3
cmp rcx, r15
je 0x14000cfc5
mov qword [rsp + 0x1a8], rcx
movups xmm0, xmmword [rsi + 0x20]
movups xmm1, xmmword [rsi + 0x30]
movups xmm2, xmmword [rsi + 0x40]
movups xmm3, xmmword [rsi + 0x50]
movups xmmword [r12 + 0x30], xmm3
movups xmmword [r12 + 0x20], xmm2
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
mov eax, 2
mov qword [rsp + 0x1a0], rax
jmp 0x14000cff8
mov rbx, qword [rsp + 0x498]
mov rcx, rdi
mov rdx, rsi
call fcn.1400093b9
mov rcx, rbp
mov rdx, rdi
mov r8, rbx
call fcn.14000a80e
mov rax, qword [rsp + 0x1a0]
cmp rax, 3
je 0x14000d045
mov rbx, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x50]
jne 0x14000d012
mov rcx, r13
call fcn.14000a715
imul rcx, rbx, 0x90
add rcx, qword [rsp + 0x58]
mov r8d, 0x90
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
inc rbx
mov qword [rsp + 0x60], rbx
jmp 0x14000cf2d
mov qword [rsp + 0x1a0], 3
lea rcx, [rsp + 0x1a0]
call fcn.14000a70b
lea rbx, [rsp + 0x230]
mov rcx, rbx
call fcn.14000aa8b
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x4a0], rax
lea rax, [rsp + 0x4a0]
mov qword [rbx], rax
cmp rdi, 2
jae 0x14000d096
mov rbp, qword [rsp + 0x30]
jmp 0x14000d0e3
cmp rdi, 0x15
mov rbp, qword [rsp + 0x30]
jae 0x14000d0d0
imul rbx, rdi, 0x90
mov r13d, 0x90
cmp rbx, r13
je 0x14000d0e3
lea rdx, [rsi + r13]
mov r8, qword [rsp + 0x230]
mov rcx, rsi
call fcn.14000ad72
add r13, 0x90
jmp 0x14000d0ae
lea r8, [rsp + 0x230]
mov rcx, rsi
mov rdx, rdi
call fcn.14000af4d
imul rax, rdi, 0x90
add rax, rsi
mov dword [rsp + 0x980], 3
mov qword [rsp + 0x988], rsi
mov qword [rsp + 0x990], rsi
mov qword [rsp + 0x998], r12
mov qword [rsp + 0x9a0], rax
cmp byte [r14 + 0xa0], 0
mov r12, qword [rsp + 0x40]
je 0x14000d274
mov rcx, r12
mov rdx, rbp
call fcn.14000ab74
mov rsi, rdx
test rax, rax
jne 0x14000d172
lea rdx, [rsp + 0x710]
mov qword [rdx], rsi
lea rdi, [rsp + 0x4a0]
mov rcx, rdi
call fcn.140006977
cmp dword [rdi], 1
jne 0x14000d1a2
mov rdi, qword [rsp + 0x4a8]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rsi, rdi
mov rax, qword [r14 + 0xb0]
dec r15
mov rcx, qword [rsp + 0x38]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x40], rax
lea rcx, [rsp + 0x970]
call fcn.14000aa8b
jmp 0x14000d2d9
mov ebx, dword [rsp + 0x4c0]
mov rdx, r12
mov r12d, dword [rsp + 0x4d0]
mov eax, dword [rsp + 0x4d4]
shl r12, 0x20
or r12, rax
lea rdi, [rsp + 0x258]
mov rcx, rdi
mov r8, rbp
call fcn.140008b55
mov qword [rdi - 0x18], r12
mov qword [rdi - 0x10], 2
mov qword [rsp + 0xa0], rsi
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x90], rax
mov rax, qword [rdi - 0x10]
mov qword [rsp + 0x98], rax
mov r12, qword [rdi]
movups xmm0, xmmword [rdi + 8]
movaps xmmword [rsp + 0xb0], xmm0
mov rdi, qword [rdi + 0x18]
mov rsi, qword [r14 + 0x38]
cmp rsi, qword [r14 + 0x28]
jne 0x14000d227
lea rcx, [r14 + 0x28]
call fcn.14000bd20
mov rax, qword [r14 + 0x30]
imul rcx, rsi, 0x48
mov qword [rax + rcx], 1
mov qword [rax + rcx + 8], rbx
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rax + rcx + 0x10], xmm0
mov rdx, qword [rsp + 0xa0]
mov qword [rax + rcx + 0x20], rdx
mov qword [rax + rcx + 0x28], r12
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rax + rcx + 0x30], xmm0
mov qword [rax + rcx + 0x40], rdi
inc rsi
mov qword [r14 + 0x38], rsi
mov rsi, qword [r14 + 0x20]
cmp rsi, qword [r14 + 0x10]
jne 0x14000d287
lea rcx, [r14 + 0x10]
call fcn.14000bd6a
imul rcx, rsi, 0x270
add rcx, qword [r14 + 0x18]
lea rdx, [rsp + 0x970]
mov r8d, 0x270
call sub.VCRUNTIME140.dll_memcpy
inc rsi
mov qword [r14 + 0x20], rsi
mov rax, qword [rsp + 0x68]
cmp rax, qword [r14 + 0x88]
jne 0x14000d2d1
mov rax, qword [r14 + 0xa8]
cmp rax, 0xffffffffffffffff
je 0x14000d32e
inc rax
mov qword [r14 + 0xa8], rax
mov rax, qword [rsp + 0x38]
mov qword [rax], r15
add rsp, 0xde8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rdi
mov rdx, r13
call fcn.1400079a9
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140002e8f
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.140002e8f
mov r13, rbp
mov rbp, qword [rsp + 0x30]
jmp 0x14000cb83
ud2